summaryrefslogtreecommitdiffstats
path: root/dom
Commit message (Collapse)AuthorAgeLines
* Issue #618 - Fix processing of non-parser-generated module scripts.Jon Coppeard2020-08-30-23/+32
|
* Issue #618 - Handle errors for inline module scripts and ensure we update theJon Coppeard2020-08-30-12/+18
| | | | module map after fetch errors.
* Issue #618 - Split SRI verification out from OnStreamComplete.Moonchild2020-08-30-19/+35
|
* Issue #618 - Split handling of load errors out from OnStreamComplete.Moonchild2020-08-30-59/+67
|
* Issue #618 - Integrity for descendant module scripts should be the empty stringMoonchild2020-08-30-4/+4
| | | | Because the spec says so.
* Issue #618 - Don't mute errors for module scripts because they always use CORSJon Coppeard2020-08-30-4/+4
|
* Issue #618: Pass down referrer and referrer policy when fetching modules.Moonchild2020-08-30-25/+42
| | | | Because the spec says so.
* Issue #618: Ignore 'event' and 'for' attributes for module scripts.Moonchild2020-08-30-23/+30
| | | | Because the spec says so.
* Issue #618 - Simplify module resolve hook to be a function pointerMoonchild2020-08-30-31/+19
| | | | | This is an ahead-of time port to try and address #1624. This is based on BZ 1461751 and Jon Coppeard's work in it.
* Issue #618 - Keep track of which modules in a graph have been fetched using ↵Gaming4JC2020-08-30-72/+92
| | | | | | a visited set Ref: BZ 1365187
* Issue #618 - Simplify module map interfaceGaming4JC2020-08-30-14/+14
| | | | Ref: BZ 1365187
* Issue #618 - Record module dependency before starting fetch so that errorJon Coppeard2020-08-30-1/+1
| | | | | | handling works correctly Ref BZ 1395896
* 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
|