Since the ECMA-262 specifications Javascript has gained the Object.freeze() method, which allows for objects, whose properties can not be changed, added or removed.  var obj = {'a':1, 'b:2'}; Object.freeze(obj); Object.isFrozen(obj);...
Our Angular.js Web App sometimes freezes on iOS8 Safari. When this issue happens, the ng-click callback is not triggered. If you replace ng-click with a regular javascript onclick, it would work. It doesn't happen in Chrome on iOS8 devices.  Has...
At very first launch of my app from the home screen, everything works fine - no freezing.  When I use the app at a later time, suddenly when I tap it from the home screen, sometimes it will freeze for 5 seconds (i.e. just stays on the home screen), a...
I need to freeze an object/array so it cannot be mutated in any way. Object.freeze() is almost perfect:  const arr = []; const obj = { foo: "bar" }; let frozenArr = Object.freeze(arr); let frozenObj = Object.freeze(obj);  // Uncaught TypeErro...
I execute user-provided javascript code inside iframes. It is possible that the executed code was submitted by a different user, so it needs to be sandboxed as much as possible. The sandbox attribute on the iframe helps a great deal, as does using a...
This is hard to debug because there is no activity in the chrome performance debugger when this freeze happens. A ScrollView still scrolls so it's not Android that's lagging. On the other hand, the Perf Monitor still shows 60fps for JS and it...
I have a Siverlight application, which needs to get something from the web page that hosts it.  So I'm using HtmlPage.Window.Invoke("JS_OpenProject") in Silverlight.  Here is the JavaScript code:  function JS_OpenProject() {     // window...
I have a news slideshow that was built in JavaScript for Joomla.  It works fine in Firefox, Chrome, and etc.  However, after two news segments in Internet Explorer it freezes for a long time.  Here is a link to the site: www.urbanclaim.com  How can I...
I can't create a working example, but the code is simple.    Configuration  IDE: Visual studio 2017  Target platform: Windows x64  System: Win 10  My project: Javascript // Blank App (Apache Cordova) // ver. 6.3.1    HTML // index.html  <!DOCT...
Everytime i open a javascript file and the editor opens up, my ram jumps until my computer runs out.  I disabled all 3rd party extensions and cleared my nuget cache, and restarted my computer.  Anyone have any pointers as to what might be happening?...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.