I am checking out the "Promises/A+" Specification, but could not understand the following things:  On Section 1. Terminology,  1.1. "promise” is an object or function with a then method whose behavior conforms to this specification....
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...
I've recently been playing with the Javascript Fetch API. As far as I understand, by default all redirects are handled transparently and in the end I get a response from the last call in the redirect chain.  However, I could invoke fetch with {re...
Using prompt() I am generating some html to and need to know the maximum length that I can put in the popup.  I can't find anything in the spec about this, wondering if someone can help...
Today I tested what happens when you use getBoundingClientRect() on an SVG element that has been rotated.   Test: http://phrogz.net/svg/getBoundingClientRect-on-rotated-elements.html  The result is that:   Chrome, Safari, Opera, and IE appear to calc...
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...
I received an issue on GitHub about my ES2015 module import/export validating plugin for ESLint not recognizing the default export in the following syntax:  export {      foo as default,     bar }   where my plugin will lint the following (equivalent...
I am wondering about this topic for quite a while. The methods in question are the following:   getElementsByTagName getElementsByClassName getElementsByName querySelectorAll   As far as I know, those DOM methods are the only methods which are able t...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.