Commit graph

1,328 commits

Author SHA1 Message Date
Matt A. Tobin
021bff6bf8 Follow-up to 4e2e9be6a - Move HeapSnapshot DevTools-only Modules back to DevTools
I am so done with this.

Resolves #316
2020-02-27 07:31:26 +08:00
Matt A. Tobin
95d5dcd8c5 Reclassify heapsnapshot and nsJSInspector as not part of devtools
This resolves Issue #316
2020-02-27 07:31:01 +08:00
Roy Tam
43b8e8fb16 Merge remote-tracking branch 'origin/master' into custom 2020-02-21 07:18:31 +08:00
Matt A. Tobin
49ea8c2f2d Issue #1053 - Remove android support from NPAPI 2020-02-21 07:05:45 +08:00
wolfbeast
10e1c09fec Issue #316 - Be more gentle with the CC and nursery. 2020-02-21 07:05:20 +08:00
wolfbeast
5b49170b58 Issue #316 - Pre-process Performance.webidl 2020-02-21 07:05:18 +08:00
wolfbeast
1e553d0e73 Issue #316 - Make the memory GC performance object conditional (WIP)
This was only added for GCubench and likely interfering with building
without devtools-server.
2020-02-21 07:05:16 +08:00
Matt A. Tobin
639a4913b3 Issue #1457 - Unfold sqlite3 from nss 2020-02-21 07:04:58 +08:00
Roy Tam
3a29482353 Merge remote-tracking branch 'origin/master' into custom 2020-02-14 22:49:37 +08:00
Simon Giesecke
2da1f51f91 [IndexedDB] Ensure that strong references to newly created cursors are
kept until the DOM Binding is created.

This fixes random crashes on websites that use IndexedDB cursors.
See also BZ bug 1599420
2020-02-14 22:46:13 +08:00
Roy Tam
46f3d1d2a3 Merge remote-tracking branch 'origin/master' into custom 2020-02-13 07:18:44 +08:00
wolfbeast
2537698cd2 [CSP] Allow not having a Port for RessourceURI if the Scheme has no
Default Port
2020-02-13 07:17:36 +08:00
Matt A. Tobin
a867e3a0c0 Issue #80 - Stop building non-generated dom/binding files as UNIFIED_SOURCES
Also fix deprot
2020-02-13 07:17:33 +08:00
Matt A. Tobin
cf9ac0b791 Directly assign PrimitiveConversions.h to the generated binding of KeyframeAnimationOptions.
This is a hack to deal UnifiedBindings trying to deal with an incomplete codegen implementation so it was worked around with a hack back in Firefox 30-something. If we have anymore of this non-sense crop up as stuff is added or removed from DOM then extend this conditional.

Least until something better comes along.
2020-02-13 07:17:31 +08:00
Roy Tam
29201b8059 Merge remote-tracking branch 'origin/master' into custom 2020-02-08 07:21:43 +08:00
win7-7
a05c6a317b Issue #1386 - Devirtualize GetRowSpan/GetColSpan
It's at ~1.5% on the perf log for the Netflix use case, which seems a bit too much.
2020-02-08 07:11:55 +08:00
Matt A. Tobin
2c6ab7ccd9 Issue #1395 - Part 2: Remove the /rest/ of FlyWeb 2020-02-08 07:11:39 +08:00
Matt A. Tobin
146d0aa2d2 Issue #1395 - Remove FlyWeb Service 2020-02-08 07:11:37 +08:00
Roy Tam
c9f0b81b06 Merge remote-tracking branch 'origin/master' into custom 2020-02-07 08:01:35 +08:00
Matt A. Tobin
eda1d47bc7 Issue #1390 - Get rid of the Presentation API 2020-02-07 08:00:30 +08:00
wolfbeast
8780b1f3d8 Issue #26 - Part 2c: Remove dependence on gmp/widevine-adapter/* 2020-02-07 07:59:11 +08:00
wolfbeast
995d48aa96 Issue #26 - Part 2b: Stub out GMPDecryptorProxy functions.
If EME isn't built, these functions would have no use and the callback
structures are unavailable. Stubbing these out will still allow the
callers to work unchanged, but in effect simply always return without
dispatching a promised task.
This fixes the dependency issue from part 2a.
2020-02-07 07:59:07 +08:00
wolfbeast
429f908af1 Issue #26 Part 2a: make more EME code conditional.
- Exclude missed MediaKey functions and CDMProxy code.
- Exclude EME APIs frm being built (webidl change)
- Fix tests in --disable-eme state
2020-02-07 07:59:01 +08:00
win7-7
51f5cb3576 Issue #1384 - Match standard for colSpan/rowSpan
HTML standardizes proper behavior of colSpan and rowSpan:

The main thing is that getting the .rowSpan and .colSpan IDL properties will now return the actual clamped value that we use.
2020-02-07 07:57:04 +08:00
Matt A. Tobin
6f34507144 Issue #65 - Remove AppConstants from dom/ 2020-02-07 07:52:28 +08:00
Roy Tam
65ca6d8036 Revert "[WebRequest] Remove AddonManagerPermissions leftovers" 2020-02-07 07:49:44 +08:00
Roy Tam
2b2df633f6 Revert "[WebRequest] Remove AddonManagerPermissions leftovers" 2020-01-31 08:14:25 +08:00
Roy Tam
c7bc87cff9 Merge remote-tracking branch 'origin/master' into custom 2020-01-31 07:59:13 +08:00
wolfbeast
690fb97392 [WebRequest] Remove AddonManagerPermissions leftovers
This was added as part of the WebExtension sec issue CVE-2017-5389.
Since we no longer have this interface, it needed to be removed to
prevent errors in the WebRequest channel callback.
2020-01-31 07:43:09 +08:00
Gaming4JC
57da7a1935 Bug 1430951 - Avoid element name atomizing to improve performance of LookupCustomElementDefinition
Since we are dealing with the element (nodeInfo->LocalName() and NameAtom() are the same value), we could use nodeInfo->NameAtom() instead.

Tag UXP Issue #1344
2020-01-31 07:40:59 +08:00
Gaming4JC
2cdd48f819 Bug 1430034 - Fix attributeChangedCallback isn't fired with correct newValue when the attribute value is an empty string;
Tag UXP Issue #1344
2020-01-31 07:40:56 +08:00
Gaming4JC
a6339bef90 Bug 1421544 - Lazy push/pop CustomElementReactionsStack entry;
Tag UXP Issue #1344
2020-01-31 07:40:53 +08:00
Gaming4JC
a9b3ebace0 Bug 1413815 - Convert 'observedAttributes' to a sequence<DOMString>
Tag UXP Issue #1344
2020-01-31 07:40:51 +08:00
Gaming4JC
f64c7135b4 Bug 1407669 - Fix custom element creation hides uncatchable exceptions from the constructor.
Tag UXP Issue #1344
2020-01-31 07:40:48 +08:00
Gaming4JC
506795f384 Bug 1419305 - Part 2: Keep processing remaining elements in ElementQueue even if some of elements are already unlinked
Tag UXP Issue #1344
2020-01-31 07:40:45 +08:00
Gaming4JC
8a0e7286e0 Bug 1419305 - Part 1: Use MicroTask on CustomElements correctly
Tag UXP Issue #1344
2020-01-31 07:40:42 +08:00
Gaming4JC
249667092c Bug 1406922 - Make CycleCollectedJSContext to handle microtasks and make MutationObserver to use them
Tag UXP Issue #1344
2020-01-31 07:40:39 +08:00
Gaming4JC
fb6f6ec903 Bug 1405821 - Move microtask handling to CycleCollectedJSContext
Tag UXP Issue #1344
2020-01-31 07:40:36 +08:00
Gaming4JC
5776911c05 Bug 1419643 - Don't need to lookup custom element definition for a non-custom element
Tag UXP Issue #1344
2020-01-31 07:40:33 +08:00
Gaming4JC
5db13d0f4b Bug 1415761 - Catch the exception and rethrow it after invoking custom elements reactions;
The spec was unclear on how CEReactions interact with thrown exceptions; see https://github.com/whatwg/html/issues/3217. The spec is now being clarified in https://github.com/whatwg/html/pull/3235.

Tag UXP Issue #1344
2020-01-31 07:40:30 +08:00
Gaming4JC
3639f0e2bd Bug 1396620 - Part 2: Fix compartment mismatch crash when doing old prototype swizzling for custom element
Tag UXP Issue #1344
2020-01-31 07:40:28 +08:00
Gaming4JC
baa035c5c4 Bug 1396620 - Part 1: Remove created callback for custom elements
Tag UXP Issue #1344
2020-01-31 07:40:25 +08:00
Gaming4JC
33693080a5 Bug 1400762 - Make dom.webcomponents.enabled pref doesn't control CustomElements feature
Tag UXP Issue #1344
2020-01-31 07:40:21 +08:00
Gaming4JC
b70a9b1d12 Bug 1405335 - Remove custom element attached and detached callbacks validation checks
Tag UXP Issue #1344
2020-01-31 07:39:56 +08:00
Gaming4JC
dba59f0317 Bug 1406325 - Part 5: Implement try to upgrade.
Tag UXP Issue #1344
2020-01-31 07:39:51 +08:00
Gaming4JC
db3b6b5884 Bug 1406325 - Part 4: Use mType for LookupCustomElementDefinition and also removing parts of v0.
Tag UXP Issue #1344
2020-01-31 07:39:47 +08:00
Gaming4JC
c4718c47bb Bug 1406325 - Part 3: Refactor custom elements clone a node.
Tag UXP Issue #1344
2020-01-31 07:39:44 +08:00
Gaming4JC
05b01709b8 Bug 1406325 - Part 2: Set CustomElementData when cloning a node.
Tag UXP Issue #1344
2020-01-31 07:39:41 +08:00
Gaming4JC
cce9b3379a Bug 1406325 - Part 1: Make sure custom element state is custom before sending callback.
Tag UXP Issue #1344
2020-01-31 07:39:37 +08:00
Gaming4JC
5d26d32825 Bug 1378079 - Part 3: Complete the steps related to custom elements in "create an element for a token".
With fixup for missing header due to unified builds.

Tag UXP Issue #1344
2020-01-31 07:39:34 +08:00