When using Promises, why can't triggers for resolve and reject be defined elsewhere in the codebase?  I don't understand why resolve and reject logic should be localized  where the promise is declared. Is this an oversight, or is there a be...
I tried to use document.querySelectorAll(), but IE8 throw error, that      Object doesn't support this property or method   var titleCheckBox = document.querySelectorAll("");   Here http://www.quirksmode.org/dom/w3c_core.html#t13 writte...
What can service workers do that web workers cannot? Or vice versa?  It seems that web workers are a subset of the functionality of service workers. Is this correct?...
A relative of mine who started to learn Web Development asked me this question.   Why <script src="min.js"></script> but <link rel="stylesheet" href="min.css"> why not <style href="min.css"><...
I'm trying to detect whether a custom element with a specific name was registered or not. Is there a way to make such check?  Or is there a way to get list of registered custom elements?  I do document.registerElement, but what else is there? Is...
Running new XMLHttpRequest().responseType = "json" in the console throws an "InvalidStateError" exception in Firefox 26 and IE11 but not in Chrome 31.  Why?  The Spec states that setting responseType     throws an "InvalidStateErr...
Can anyone explain me the size of window.localStorage (for example, 5MB in Firefox) is 5MB for each scope or only for all?...
I just started reading about svg and I came up with the following question  I am creating a simple svg with a text inside as shown below.   From my reading I understood that x and y of the text tag declares the position of the text inside the svg spa...
recently, I had the urgent requirement to give my server a notice, that a specific page of my webapp is about to get closed. "Easy peasy" I thought, beforeunload is available for quite a while. The HTML5 "thing" even refreshed the spe...
I'm wondering if there is any build-in support for the HTML5 Notification feature in Gecko browsers so far? Maybe some hidden developer thingy ?  I'm aware of WebKits window.webkitNotifications which works great, so, is there a Firefox implem...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.