gecko-dev/dom/xhr
Nika Layzell 11b083d72c Bug 1477432 - Part 9: Switch to using plain JS objects for nsIJS[IC]ID, r=mccr8
This is a complete rewrite of the interface while maintaining the same APIs.
Each ID is fully-contained within a single object, does not require a finalizer,
and is cheap to create.

Beyond using reserved slots, this code avoids using custom ClassOps, instead
preferring Symbol.hasInstance and eager constants.

One major change which occurred in this patch was the move from storing a nsCID
to storing the ContractID for JSCID objects. This eliminates the need for the
'refreshCID' method, and hopefully shouldn't have performance implications.

If we discover that there are performance problems there, we can look into
stashing the CID, and re-introduce 'refreshCID', despite its surprising
behaviour.

Differential Revision: https://phabricator.services.mozilla.com/D2286
2018-11-16 17:27:44 -05:00
..
tests Bug 1472212 - Load `http://example.org/` instead of `about:home` for some tests. r=Gijs 2018-07-20 18:49:59 -04:00
XMLHttpRequest.cpp
XMLHttpRequest.h Bug 1477432 - Part 6: Stop using nsIJSID inside of WebIDL bindings, r=mccr8 2018-11-16 17:27:39 -05:00
XMLHttpRequestEventTarget.cpp Bug 792808 - Purge nsIXMLHttpRequest, nsIXMLHttpRequestUpload, nsIXMLHttpRequestEventTarget, nsIXHRSendable XPCOM interfaces; r=baku 2017-11-19 17:11:41 -05:00
XMLHttpRequestEventTarget.h Bug 1449631 part 13. Remove now-unnecessary forwarding macros. r=smaug 2018-04-05 13:42:42 -04:00
XMLHttpRequestMainThread.cpp Bug 1477432 - Part 9: Switch to using plain JS objects for nsIJS[IC]ID, r=mccr8 2018-11-16 17:27:44 -05:00
XMLHttpRequestMainThread.h Bug 1477432 - Part 6: Stop using nsIJSID inside of WebIDL bindings, r=mccr8 2018-11-16 17:27:39 -05:00
XMLHttpRequestString.cpp Bug 1484990 - Use BulkWrite instead of write past length via BeginWriting() in XHR. r=baku 2018-08-30 14:24:58 +00:00
XMLHttpRequestString.h Bug 1484990 - Use BulkWrite instead of write past length via BeginWriting() in XHR. r=baku 2018-08-30 14:24:58 +00:00
XMLHttpRequestUpload.cpp Bug 1470325 - s/FooBinding/Foo_Binding/g - r=qdot 2018-06-26 17:05:01 -07:00
XMLHttpRequestUpload.h Bug 1449631 part 13. Remove now-unnecessary forwarding macros. r=smaug 2018-04-05 13:42:42 -04:00
XMLHttpRequestWorker.cpp Bug 1502599: XHR should allow just "GET" method for blob URLs, r=smaug 2018-10-30 22:07:32 +01:00
XMLHttpRequestWorker.h Bug 1477432 - Part 6: Stop using nsIJSID inside of WebIDL bindings, r=mccr8 2018-11-16 17:27:39 -05:00
moz.build Bug 792808 - Purge nsIXMLHttpRequest, nsIXMLHttpRequestUpload, nsIXMLHttpRequestEventTarget, nsIXHRSendable XPCOM interfaces; r=baku 2017-11-19 17:11:41 -05:00