Moonchild
27f4d0b5a5
Issue #618 - Check for failed instantiation when starting to fetch dependencies
...
If instantiation has failed, then also fail the load and don't fetch imports.
Ref BZ: 1358882
2020-07-10 22:17:34 +08:00
Moonchild
c04b682a88
Issue #1603 - Part 2: Split some classes out of ScriptLoader.cpp
...
This splits ScriptLoader up the same way Mozilla did with the exception of
ScriptRequest due to the fact that ScriptLoader and ScriptRequest are
interdependent and would create a circular dependency if split apart when not
using unified building.
2020-07-04 07:01:03 +08:00
Moonchild
f85b274e94
Issue #1603 - Part 1: Reorganize ScriptLoader/ScriptElement
...
- Moves scripting parts of DOM into 'dom/script'
- Renames nsScript{Loader/Element} to Script{Loader/Element}
- Adjusts all callers
2020-07-04 07:01:00 +08:00
wolfbeast
179fd7df8a
Issue #1602 - Make sure we have a JSObject before trying to get global.
...
Dynamic script loading/unloading (thank you modules) can yank the script
out from under us before the JS API for it is initialized, leading to
null deref crashes.
This adds a simple check if the passed-in object is sane and present.
Resolves #1602
2020-07-04 07:00:57 +08:00
Matt A. Tobin
90e9fd3550
Bug 1430299 - Add DocumentOrShadowRoot interface
...
Tag #1375
2020-06-20 06:43:51 +08:00
Matt A. Tobin
693a79ca08
Bug 1429656 - Implement ShadowRoot.activeElement
...
Tag #1375
2020-06-20 06:43:49 +08:00
Matt A. Tobin
db72493615
Bug 1426494 - Share more code between nsIDocument and ShadowRoot
...
Tag #1375
2020-06-20 06:43:47 +08:00
Matt A. Tobin
15f6d2efda
Bug 1355787 - nsIdentifierMapEntry should let one to use either strings or atoms as keys to avoid slow string assignments when possible.
...
Tag #1375
2020-06-20 06:43:45 +08:00
Matt A. Tobin
c21eecd1b3
Bug 1217436 - Make nsIdentifierMapEntry::mIdContentList an AutoTArray to save an allocation
...
Tag #1375
2020-06-20 06:43:43 +08:00
Moonchild
3d396386dc
Issue #1587 - Part 9: Immediately reject an already-aborted signal
2020-06-12 22:12:37 +08:00
Moonchild
8ac3ccd67a
Issue #1587 - Part 8: Remove controller follow/unfollow
...
Since it didn't end up being in the final spec after all.
2020-06-12 22:12:34 +08:00
Moonchild
b988c351ff
Issue #1587 - Part 7: Rename FetchController to AbortController
...
Also renames FetchSignal to AbortSignal. Includes renaming the various
controlling prefs to enable.
2020-06-12 22:12:32 +08:00
Moonchild
0c2404efa7
Issue #1587 - Part 6: Move FetchController/Signal to its own dir
...
Since it is specced separately from fetch.
2020-06-12 22:12:29 +08:00
Moonchild
3d2ca85edd
Issue #1587 - Part 5: Hook FetchObserver up to the Fetch API
2020-06-12 22:12:27 +08:00
Moonchild
6722d7f4b4
Issue #1587 - Part 4: Implement FetchObserver
2020-06-12 22:12:25 +08:00
Moonchild
78ff97aaf3
Issue #1587 - Part 3: Hook FetchSignal up to the Fetch API
2020-06-12 22:12:23 +08:00
Moonchild
7207793622
Issue #1587 - Part 2: Implement controller follow/unfollow
2020-06-12 22:12:20 +08:00
Moonchild
24087592ad
Issue #1587 - Part 1: Implement FetchController/FetchSignal interface
2020-06-12 22:12:18 +08:00
Gaming4JC
21f87c85ec
Issue #439 - Debug follow up to remove no longer existing headers
...
Although the headers were removed, they are still referenced in WebIDL causing compiler to fail for debug builds.
This removes TestFunctions.webidl and TestInterfaceJSMaplikeSetlikeIterable.webidl, with nit fix for existing incorrect whitespace.
2020-06-12 22:11:56 +08:00
Moonchild
7900742344
Issue #1585 - Replace node.rootNode with node.getRootNode()
...
This removes the (default disabled) node.rootNode readonly attribute
and replaces it with a node.getRootNode() function per WhatWG
spec discussion.
Based on work by John Dai <jdai@mozilla.com>
2020-06-10 21:00:36 +08:00
Moonchild
cd1c94480d
Issue #1560 - Always include speech synthesis IPDLs
...
This is entangled with the IPC messaging configuration so
we need these IPDLs even if sppech synthesis is otherwise
not being built.
This resolves #1560
2020-06-10 21:00:11 +08:00
Moonchild
594c930eca
Issue #439 - Remove, fix and clean up automated tests
...
With the big amount of code churn around DOM a lot of tests
broke severely enough that they caused build bustage.
This commit cleans up, removes or otherwise fixes tests
that are broken, no longer relevant or obsolete.
2020-06-10 21:00:09 +08:00
Gaming4JC
d9c487dfd1
Issue #1580 - Add missing MP3Demuxer.h to MediaDecoderReader.h
...
Follow up for dom/media work on Issue #80 . Fixes non-optimized build bustage.
2020-06-10 20:59:47 +08:00
Moonchild
179b6782d5
Fix missing include
2020-06-06 07:21:23 +08:00
Moonchild
b26dfcc543
Issue #80 - Re-land early dom/media de-unification with fixups.
...
For some reason these changes never got merged back to master
after reverting to work on a branch...
2020-06-06 07:21:21 +08:00
Moonchild
0ae2d2fb2e
Bug 1632717
2020-06-06 07:21:12 +08:00
wolfbeast
d2ec4693eb
Issue #1564 - Fix debug build dependencies
2020-05-30 07:13:05 +08:00
wolfbeast
5416b4294b
Issue #1564 - Split off nsIdentifierMapEntry in its own header
...
+ Fix dependency fallout from removing nsDocument.h from ShadowRoot.h
2020-05-30 07:13:02 +08:00
athenian200
f6b3f2c38b
Issue #1557 - Allow event dispatch on disabled form controls.
...
Based on https://bugzilla.mozilla.org/show_bug.cgi?id=329509
This seems to resolve #1356 without causing #1557 .
Also reverts previous changes as they no longer appear to serve a purpose.
2020-05-23 06:56:44 +08:00
Moonchild
5f14f0126f
Issue #1538 - remove speech recognition engine
...
This removes speech recognition, pocketsphinx, training models
and the speech automated test interface.
This also re-establishes proper use of MOZ_WEBSPEECH to work
for the speech API (synthesis part only) that was a broken mess
before, with some synth parts being always built, some parts
being built only with it enabled and recognition parts being
dependent on it. I'm pretty sure it'd be totally busted if you'd
ever have tried building without MOZ_WEBPEECH before.
Tested that synthesis still works as-intended.
This resolves #1538
2020-05-23 06:56:16 +08:00
Moonchild
db14a637c4
Issue #1543 - Align <img> with no src to the updated spec.
2020-05-16 06:49:14 +08:00
athenian200
7ae0c88c46
Issue #1540 - Stop MP3 demuxer from choking on very small files.
2020-05-16 06:48:09 +08:00
wolfbeast
84053aba97
Issue #1589 - Ensure computed length and data is always available
2020-05-16 06:48:05 +08:00
Moonchild
2d3f069ae8
Issue #1536 - Part 3: Parse content to decide whether it's an init segment.
2020-05-09 06:56:53 +08:00
wolfbeast
c604c8363d
Issue #1536 - Part 2: Parse content to decide whether it's a media segment.
2020-05-09 06:56:49 +08:00
wolfbeast
d71453cef3
Issue #1536 - Part 1: Add timecode checking for the WebM parser
2020-05-09 06:56:47 +08:00
Moonchild
2442d307b5
[dom] Reorder some calls to improve memory safety
2020-05-09 06:56:35 +08:00
adeshkp
587a2fcd63
Issue #457 - Fix warning about inline nsINode::GetFlattenedTreeParentNodeForStyle being undefined
2020-05-09 06:55:47 +08:00
Moonchild
d62f0a0dd2
Issue #1517 - Remove dom.event.highrestimestamp.enabled pref
...
This resolves #1517
2020-05-09 06:55:11 +08:00
Matt A. Tobin
0c44ae0a30
Issue #1449 - Implement URLSearchParams's sort()
2020-05-09 06:55:08 +08:00
Matt A. Tobin
e1b11805a7
Issue #80 - Resolve issues with compiling on insane gcc configurations with no optimizations in dom/
2020-05-02 08:28:18 +08:00
wolfbeast
ea1838aa6c
Issue #80 - Fix include in dom/quota
...
Reported by Luke.
2020-05-02 08:27:57 +08:00
adeshkp
3cae19f1c7
Issue #80 - Add Unused.h to dom/gamepad for Mac build
2020-05-02 08:27:45 +08:00
adeshkp
fb67c8b028
Issue #80 - Fix includes in dom/media/platfoms for Mac build
2020-05-02 08:27:39 +08:00
wolfbeast
2d7441fe5e
Issue #80 - Fix include in dom/media for Pale Moon builds.
2020-05-02 08:26:25 +08:00
New Tobin Paradigm
8378fccf31
Add Unused.h to dom/media/webrtc/MediaTrackConstraints.cpp
2020-05-02 08:26:03 +08:00
adeshkp
180745d3d9
Issue #80 - Include D3DMessageUtils.h in dom/plugins/ipc for Mac build
...
This should ideally not be needed on Mac but compilation fails due to
sizeof `DxgiAdapterDesc` not known.
Didn't face this issue on Linux though, probably due to a different include
chain which already has this file included somewhere along the way.
2020-05-02 08:25:36 +08:00
adeshkp
b788c64cea
Issue #80 - Fix includes in dom/media/platforms for Mac build
2020-05-02 08:25:32 +08:00
New Tobin Paradigm
f2d2f84a38
Issue #80 - Include nsIContentInlines.h in dom/svg/SVGTests.cpp to fix linux bustage
2020-05-02 08:25:29 +08:00
Moonchild
429b235e94
Issue #80 - De-unify dom/xul
2020-05-02 08:25:26 +08:00