summaryrefslogtreecommitdiffstats
path: root/dom
Commit message (Collapse)AuthorAgeLines
* Issue #618 - Align error handling for module scripts with the spec (again)Moonchild2020-08-30-58/+79
| | | | | | | | This updates module implementation to match spec regarding handling of instantiation errors, after it was changed yet again, this time to not remember instantiation errors, but instead immediately rethrow applicable ones. Ref: BZ 1420420
* Issue #618 - Fix error events fired when loading JS module dependencies failMoonchild2020-08-30-9/+12
| | | | | | | When module dependencies fail, don't spam with errors for each import; only fire the error event once. Ref: BZ 1421259
* Follow up to eb28b1f32 - Correct inputmethod build file by putting ↵Matt A. Tobin2020-08-30-1/+2
| | | | | | Keyboard.jsm back in EXTRA_JS_MODULES JSMs are NOT Components.
* Issue #1629 - Uplift implementation of <link disabled> behavior for stylesheets.Moonchild2020-08-30-31/+87
|
* Issue #1620 - Enable Intrinsic Ratio by DefaultAndy2020-08-30-1/+1
| | | | A simpler name feels so much cleaner.
* Issue #1620 - Remove Development CommentsAndy2020-08-30-2/+0
|
* Issue #1620 - Use Intrinsic Aspect Ratio for Images (uplift)Andy2020-08-30-17/+54
|
* Pref and disable getRootNode()Moonchild2020-08-07-1/+1
| | | | | | | This is apparently used for fallback selection and if available it is "assumed" Shadow DOM is also available, while this is a utility function. Webcompat is a nightmare sometimes.
* [dom] Fix a spec compliance issue with the HTML LS regarding script loading.Moonchild2020-07-29-7/+9
| | | | This fixes a spec compliance issue with section 8.1.4.2 Fetching scripts.
* [network/dom] Improve sanitization of download filenames.Moonchild2020-07-29-0/+8
|
* Issue #1391 - Remove the DOM battery APIMoonchild2020-07-28-613/+0
|
* Fix line endings.Moonchild2020-07-28-714/+714
|
* Issue #1587 Part 12 (followup 2): Allow clearing of signal by setting to null.Moonchild2020-07-28-2/+7
|
* Issue #1587 Part 11 (followup 1): Implement multithreaded signals for workers.Moonchild2020-07-28-728/+823
|
* Issue #618 - Remove eager instantiation - Debug follow upGaming4JC2020-07-12-1/+2
| | | | | | | The added debug assertion did not take into account microtask refactoring done in BZ 1405821. Resulting in error: no member named 'IsInMicroTask' in 'nsContentUtils'. This resolves the error.
* Issue #618 - Slightly improve module scripting tests.Moonchild2020-07-10-16/+44
| | | | Ref: BZ 1388728
* Issue #618 - Further align error handling for module scripts with the specMoonchild2020-07-10-89/+280
| | | | Ref: BZ 1388728
* Issue #618 - Remove eager instantiationMoonchild2020-07-10-129/+10
| | | | | This backs out the stuff added in Bug 1295978. Ref: BZ 1295978, 1388728
* Issue #618 - Match JSAPI names with the changes in ↵Moonchild2020-07-10-12/+12
| | | | | | 9ca74147225eed305e28c7887f9b2251aeeb0f36 Ref: BZ 1388728
* Issue #618 - Add clarifying code comments.Moonchild2020-07-10-0/+12
|
* Issue #618 - Check for failed instantiation when starting to fetch dependenciesMoonchild2020-07-10-0/+6
| | | | | If instantiation has failed, then also fail the load and don't fetch imports. Ref BZ: 1358882
* Issue #1603 - Part 2: Split some classes out of ScriptLoader.cppMoonchild2020-07-10-534/+651
| | | | | | | 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.
* Issue #1603 - Part 1: Reorganize ScriptLoader/ScriptElementMoonchild2020-07-10-499/+539
| | | | | | - Moves scripting parts of DOM into 'dom/script' - Renames nsScript{Loader/Element} to Script{Loader/Element} - Adjusts all callers
* Issue #1602 - Make sure we have a JSObject before trying to get global.wolfbeast2020-06-27-1/+7
| | | | | | | | 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
* Issue #1587 - Part 9: Immediately reject an already-aborted signalMoonchild2020-06-13-1/+6
|
* Issue #1587 - Part 8: Remove controller follow/unfollowMoonchild2020-06-13-124/+1
| | | | Since it didn't end up being in the final spec after all.
* Issue #1587 - Part 7: Rename FetchController to AbortControllerMoonchild2020-06-13-142/+142
| | | | | Also renames FetchSignal to AbortSignal. Includes renaming the various controlling prefs to enable.
* Issue #1587 - Part 6: Move FetchController/Signal to its own dirMoonchild2020-06-13-7/+41
| | | | Since it is specced separately from fetch.
* Issue #1587 - Part 5: Hook FetchObserver up to the Fetch APIMoonchild2020-06-13-75/+399
|
* Issue #1587 - Part 4: Implement FetchObserverMoonchild2020-06-13-0/+223
|
* Issue #1587 - Part 3: Hook FetchSignal up to the Fetch APIMoonchild2020-06-13-30/+292
|
* Issue #1587 - Part 2: Implement controller follow/unfollowMoonchild2020-06-13-8/+202
|
* Issue #1587 - Part 1: Implement FetchController/FetchSignal interfaceMoonchild2020-06-13-0/+416
|
* Issue #1585 - Replace node.rootNode with node.getRootNode()Moonchild2020-06-13-6/+128
| | | | | | | 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>
* Issue #1560 - Always include speech synthesis IPDLsMoonchild2020-06-13-0/+6
| | | | | | | | 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
* Issue #1580 - Add missing MP3Demuxer.h to MediaDecoderReader.hGaming4JC2020-06-13-0/+1
| | | | Follow up for dom/media work on Issue #80. Fixes non-optimized build bustage.
* [DOM] Hard-disable webcomponents and customelements prefs (redwood)Moonchild2020-06-07-7/+11
|
* Fix missing includeMoonchild2020-06-03-0/+1
|
* Bug 1632717Moonchild2020-06-03-7/+24
|
* Issue #1557 - Allow event dispatch on disabled form controls. (uplift)athenian2002020-05-23-26/+35
|
* Revert "Merge pull request #1357 from athenian200/form-disabled-issue"athenian2002020-05-23-14/+40
| | | | | This reverts commit ed88b99849156004c04e4a0c87ea9b2360ef19b6, reversing changes made to c4b0715baaffc541670fd1158557aa7e61e521d3.
* Issue #1538 - remove speech recognition engineMoonchild2020-05-20-277606/+32
| | | | | | | | | | | | | | | 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
* Issue #1543 - Align <img> with no src to the updated spec.Moonchild2020-05-20-1/+2
|
* Issue #1540 - Stop MP3 demuxer from choking on very small files.athenian2002020-05-20-1/+4
|
* Issue #1589 - Ensure computed length and data is always availablewolfbeast2020-05-20-4/+6
|
* Issue #1536 - Part 3: Parse content to decide whether it's an init segment.Moonchild2020-05-20-18/+8
|
* Issue #1536 - Part 2: Parse content to decide whether it's a media segment.wolfbeast2020-05-20-23/+27
|
* Issue #1536 - Part 1: Add timecode checking for the WebM parserwolfbeast2020-05-20-0/+13
|
* [dom] Reorder some calls to improve memory safetyMoonchild2020-05-06-4/+2
|
* Issue #457 - Fix warning about inline ↵adeshkp2020-05-06-0/+1
| | | | nsINode::GetFlattenedTreeParentNodeForStyle being undefined