gecko-dev/dom/bindings
Kris Maglione 761a458cda Bug 1356546: Part 1 - Add a StructuredCloneHolder JS helper to hold opaque structured clone blobs. r=billm
There are several places in the WebExtensions framework where we currently
need to repeatedly serialize and deserialize structured clone data as it
passes through message managers, which can lead to significant performance
issues.

This helper class lets us serialize a value directly from the source extension
context into an opaque blob, and then directly deserialize it into the target
context on the other end, with no X-ray overhead or clones into privileged
scopes in-between.

MozReview-Commit-ID: 4QzHi89onxc

--HG--
extra : rebase_source : 2ec196ca9ce9be90b7eadf136c938373ac7d3fdd
2017-05-20 15:09:24 -07:00
..
crashtests Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws. 2017-01-17 11:50:25 +01:00
docs
mozwebidlcodegen
parser Bug 1360557. Fix the Web IDL parser to report more useful errors when extended attributes are used on constructs that don't allow them. r=qdot 2017-05-01 13:25:47 -04:00
test Bug 1237503. Add support for [Cached] and [StoreInSlot] things on DOM proxies. r=qdot 2017-05-19 09:24:30 -04:00
AtomList.h
BindingDeclarations.h Bug 1335368 part 6. Add a SystemCallerGuarantee class that we use for [ChromeOnly, NeedsCallerType] cases. r=bholley 2017-02-01 15:43:36 -05:00
BindingUtils.cpp Bug 1368296 - Renaming WorkerProxyToMainThreadRunnable::RunBackOnWorkerThread to RunBackOnWorkerThreadForCleanup and improving the description for this method, r=asuth 2017-06-02 11:05:27 +02:00
BindingUtils.h Bug 1237504 - Refactor proxy slot layout to allow proxies to have more than 2 slots. r=bz,jonco 2017-04-28 14:12:28 +02:00
Bindings.conf Bug 1356546: Part 1 - Add a StructuredCloneHolder JS helper to hold opaque structured clone blobs. r=billm 2017-05-20 15:09:24 -07:00
CallbackFunction.h Bug 1273251: Part 3 - Allow CallbackObject to contain a null callable. r=peterv 2016-11-14 21:25:37 -08:00
CallbackInterface.cpp
CallbackInterface.h
CallbackObject.cpp Bug 1331434 - Part 5: Mark some Throw calls in /dom/bindings as having custom cleanup, r=baku 2017-03-07 19:06:48 -05:00
CallbackObject.h Bug 1338623 - Add a slower but more exact gray marking check for checking correctness r=sfink r=mccr8 2017-03-02 10:22:47 +00:00
Codegen.py Bug 1369367. DOM callbacks can now store a null object; teach codegen to handle that. r=qdot 2017-06-02 16:37:02 -04:00
Configuration.py Bug 1330699 part 9. Rename "MozMap" to "record" in our IDL parser and IDL files. r=qdot 2017-02-15 00:00:17 -05:00
DOMJSClass.h
DOMJSProxyHandler.cpp Bug 1189822 part 5. Remove the now-unnecessary DOMProxyHandler::ClearExternalRefsForWrapperRelease function. r=peterv 2017-05-17 00:52:53 -04:00
DOMJSProxyHandler.h Bug 1189822 part 5. Remove the now-unnecessary DOMProxyHandler::ClearExternalRefsForWrapperRelease function. r=peterv 2017-05-17 00:52:53 -04:00
DOMString.h Bug 1330759 part 3. Add a "stringbuffer we own" mode to DOMString. r=froydnj 2017-01-18 22:20:14 -05:00
Date.cpp
Date.h
ErrorIPCUtils.h
ErrorResult.h Bug 1338272 - Require that the return value of MaybeSetPendingException is used. r=bz 2017-02-14 16:17:02 -08:00
Errors.msg Backed out changeset 437d6df1859c (bug 1345361) for ESLint failures. 2017-05-25 18:05:15 -04:00
Exceptions.cpp Bug 1331977 - CreateException doesn't use JSContext argument, r=qdot 2017-01-19 09:03:03 +01:00
Exceptions.h Bug 1331977 - CreateException doesn't use JSContext argument, r=qdot 2017-01-19 09:03:03 +01:00
FakeString.h
GenerateCSS2PropertiesWebIDL.py
IterableIterator.cpp
IterableIterator.h
JSSlots.h
Makefile.in
NonRefcountedDOMObject.h
Nullable.h Bug 1331495 - Add an operator<< overload for Nullable. r=Ehsan 2017-01-16 16:55:29 -05:00
PrimitiveConversions.h
Record.h Bug 1330699 part 13. Implement the spec provision for handling repeated keys in records by updating the existing value. r=qdot 2017-02-15 00:01:41 -05:00
RootedDictionary.h
RootedOwningNonNull.h Bug 1325406 - Refactor rooting base class templates r=sfink r=mccr8 2017-01-10 10:12:14 +00:00
RootedRefPtr.h Bug 1325406 - Refactor rooting base class templates r=sfink r=mccr8 2017-01-10 10:12:14 +00:00
SimpleGlobalObject.cpp Bug 1352430 - Add barrier to wrapper cache to clear dying objects that have not yet been finalized r=bz r=sfink 2017-04-26 11:18:39 +01:00
SimpleGlobalObject.h Bug 1352430 - Add barrier to wrapper cache to clear dying objects that have not yet been finalized r=bz r=sfink 2017-04-26 11:18:39 +01:00
StructuredClone.cpp
StructuredClone.h
ToJSValue.cpp Bug 1338272 - Require that the return value of MaybeSetPendingException is used. r=bz 2017-02-14 16:17:02 -08:00
ToJSValue.h Bug 1273251: Part 3 - Allow CallbackObject to contain a null callable. r=peterv 2016-11-14 21:25:37 -08:00
TypedArray.h
UnionMember.h Bug 1339652 - Delete UnionMember's copy constructor, because it can't safely be used in the C++ object model. r=bz 2017-02-14 11:23:40 -08:00
WebIDLGlobalNameHash.cpp
WebIDLGlobalNameHash.h
XrayExpandoClass.h
mach_commands.py Bug 1335796 - Move WebIDL parser tests out of 'make check'; r=dustin,Ms2ger 2017-01-31 19:08:50 -05:00
moz.build Bug 1357323 - Remove support for gonk in the build system. r=gps 2017-04-18 16:56:09 +09:00
nsIScriptError.idl Bug 1283712 - Part 7: Add nsIScriptErrorNote and nsIScriptError.notes. r=bholley 2017-02-15 23:53:06 +09:00
nsScriptError.cpp Bug 1334278 - change JS_smprintf to return UniqueChars; r=froydnj 2017-03-03 15:10:11 -07:00
nsScriptError.h Bug 1283712 - Part 7: Add nsIScriptErrorNote and nsIScriptError.notes. r=bholley 2017-02-15 23:53:06 +09:00
nsScriptErrorWithStack.cpp Bug 1332245 - Move nsScriptError from js/xpconnect to dom/bindings. r=bz 2017-01-28 00:42:47 +09:00