зеркало из https://github.com/mozilla/gecko-dev.git
11b083d72c
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 |
||
---|---|---|
.. | ||
tests | ||
AppData.jsm | ||
AppInfo.jsm | ||
Assert.jsm | ||
CoverageUtils.jsm | ||
FileTestUtils.jsm | ||
MockRegistrar.jsm | ||
MockRegistry.jsm | ||
StructuredLog.jsm | ||
TestUtils.jsm | ||
ajv-4.1.1.js | ||
moz.build | ||
sinon-2.3.2.js |