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 Bug 1316619. Add a [NeedsCallerType] WebIDL annotation. r=bholley 2016-11-11 16:09:05 -05:00
mozwebidlcodegen Bug 1317970 - Use manifestparser manifests for python unit tests, r=chmanchester 2016-11-16 09:59:22 -05:00
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 Bug 1285134 part 1 - Move the runtime private to the context. r=efaust 2016-07-18 14:36:13 +02:00
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 Bug 1283636 - Use CallbackPreserveColor() less. r=bz 2016-07-13 13:28:00 +02:00
CallbackInterface.h Bug 1326105 part 5. Move the getting of the incumbent global to the finish-slow-js codepath too, since it's not needed if no one will ever call our callback. r=smaug 2016-12-29 13:19:26 -08:00
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 Bug 1290021 - Implement a prototype version of Houdini "Worklets Level 1" spec - part 2 - WorkletGlobalScope, r=smaug 2016-11-06 09:54:29 +01:00
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 Bug 1294100 - Part 3: Modify Codegen to generate including FakeString's binding files and fix build errors. r=bz 2016-09-01 18:10:54 +08:00
GenerateCSS2PropertiesWebIDL.py Bug 1299919 - Set CPP/CXXCPP from python configure. r=chmanchester 2016-09-13 13:25:18 +09:00
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 Bug 1292892 part 5 - Replace most nsContentUtils::RootingCx calls with dom::RootingCx. r=bz,terrence 2016-08-11 14:39:23 +02:00
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 Bug 1323721 part 3. Remove the vestigial mention of Promise from TypedArray.h. r=till 2016-12-19 15:38:42 -08:00
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 Bug 1297658 - Avoid unnecessary checking in memory reporters. r=erahm. 2016-08-24 15:23:45 +10:00
WebIDLGlobalNameHash.h
XrayExpandoClass.h Bug 946906 part 3. Create a macro for declaring Xray expando classes, and move the default Xray expand class definition to bindings code. r=bholley 2016-10-10 18:16:25 -04:00
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