summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* Issue #1647 - Part 1: Implement percentage for CSS opacity keywordsathenian2002020-09-21-14/+29
| | | | | This preliminary step allows percentages to be computed and display correctly, but unfortunately it fails a test after changing VARIANT_HN to VARIANT_HPN because that allows values to be serialized as percentages. However, not doing this means percentages are rejected as valid values for the user to input. The way the style system is setup makes it hard to change this for opacity without changing it for everything else, especially since some code-saving speed hacks in Bug 636029 and Bug 441367 that make a lot of assumptions about this stuff very rigid.
* Issue #1653 - Part 2: Stop indirectly loading DWM functions through WinUtils.Moonchild2020-09-21-86/+25
|
* Issue #1653 - Part 1: Remove WinUtils::SHGetKnownFolderPathMoonchild2020-09-21-47/+5
| | | | | Instead of doing the whole dll-load, replace function dance, we can just use the shlobj.h version of Windows.
* Issue #1643 - Part 4: Hook up all the plumbing.Moonchild2020-09-21-2/+46
|
* Issue #1643 - Part 3: Implement ResizeObserverControllerMoonchild2020-09-21-0/+365
|
* Issue #1643 - Part 2: Implement ResizeObserver APIMoonchild2020-09-21-0/+618
| | | | Implements ResizeObserver, ResizeObserverEntry and ResizeObservation
* Issue #1643 - Part 1: Add GetNodeDepth() to nsContentUtils.Moonchild2020-09-21-1/+23
|
* [widget] Clean up Windows widget code some.Moonchild2020-09-21-70/+10
|
* Issue #618 - Clear the module map - Debug FollowupGaming4JC2020-09-21-0/+1
| | | | | | An assertion was added to dom/script/ScriptLoader.cpp but fails to compile on debug builds due it not being included in the namespace. Ref: BZ 1529203
* Fix usage of a macro in a cocoa widget (#1649)adeshkp2020-09-21-2/+2
| | | * Issue #457 - Fix usage of a macro in a cocoa widget
* Issue #1650 - Add null check.Moonchild2020-09-21-1/+1
| | | | | | There are situations where nsCSSClipPathinstance->CreateClipPath(dt) returns null. We need to check for this before trying to use its functions. If there is no clip path, then always return "no hit".
* Issue #1280 - Remove hostname parameter to trust domain.adeshkp2020-09-21-19/+12
| | | | | | Host name was purely being used for HPKP and since HPKP is killed, this can also go. Currently it doesn't do anything other than generating build warnings.
* Issue #1629 - Part 5: Remove pointless local variables.athenian2002020-09-21-8/+7
| | | | Since the local variable is always initialized to false, we don't actually need to declare it and can just pass "false" directly as a parameter to the PrepareSheet function's bool. I was worried about code readability at first, but some well-placed comments took care of that.
* Issue #1629 - Part 4: Ensure isExplicitlyEnabled is false upon sheet creation.athenian2002020-09-21-2/+5
| | | | This clarifies the assumptions the code is making and the order in which the variables pass through the loading process. The new variable is set after the sheet is created and prepared, and is assumed to be false in the beginning.
* Issue #618 - Clear the module map when changing a Document's global and addMoonchild2020-09-08-3/+17
| | | | release build assertions for mismatching compartments.
* Issue #618 - Make ES6 modules work for resource: URIsMoonchild2020-09-08-1/+23
|
* Issue #618 - Implement preloading of module scripts.Moonchild2020-09-08-22/+63
| | | | This hooks up module scripts to the existing preload mechanism.
* Issue #1644 - Remove plugin checking code leftoversMoonchild2020-09-08-30/+2
|
* Clobber for CSS flow-root implementationMoonchild2020-09-08-1/+1
|
* Issue #1641 - Implement CSS flow-root keywordathenian2002020-09-08-16/+68
| | | | This is just a clean port of 1322191 and follow-up 1325970. It really seems to add create a new way to access existing code relating to block formatting and floating elements rather than implementing new functionality, and it is mercifully straightforwards.
* Issue #1639 - Implement object.fromEntries()Moonchild2020-09-06-2/+21
| | | | | Adds a self-hosted implementation of this map->object conversion. This resolves #1639.
* Fix build error.Moonchild2020-09-05-4/+0
|
* Regenerate the HTML Parser code for nomodule changes.Gaming4JC2020-09-05-326/+333
|
* Issue #618 - Don't preload nomodule scripts when modules are enabled (uplift)Gaming4JC2020-09-05-17/+56
|
* Regenerate Parser for Marquee RemovalGaming4JC2020-09-05-127/+122
|
* Issue #1525 - Kill marquee element (uplift)Moonchild2020-09-05-3903/+18
|
* Update old.configure for --enable-phoenix-extensionsMatt A. Tobin2020-09-01-0/+1
|
* Remove unsupported CE keyword from HTMLLinkElement.webidlMoonchild2020-08-30-1/+1
|
* Clobber for NSS updateMoonchild2020-08-30-1/+0
|
* [NSS] Version and build bumpMoonchild2020-08-30-6/+7
|
* [NSS] Prevent slotLock race in NSC_GetTokenInfoJ.C. Jones2020-08-30-2/+4
| | | | | Basically, NSC_GetTokenInfo doesn't lock slot->slotLock before accessing slot after obtaining it, even though slotLock is defined as its lock.
* Issue #1587 followup - Improve resilience of AbortSignals.Moonchild2020-08-30-2/+9
|
* [misc/mar] Don't use a signed type for a length parameter.Moonchild2020-08-30-1/+1
|
* [DOM] Only construct JS-implemented objects if inner window is current.Kris Maglione2020-08-30-1/+6
|
* [media] Only include source error details in debugging scenarios.Moonchild2020-08-30-1/+21
| | | | | | | Unless a user is debugging media errors, this detail is unnecessary to report and could include sensitive data which could be abused by third-party requesters. This aligns it with the standard success/error paradigms in normal browsing situations.
* Issue #618 - Implement async attribute for inline module scripts. (uplift)Moonchild2020-08-30-41/+73
| | | | | | | | | | This commit does several things: - Moves the pref check from ScriptLoader to ns[I]Document so it can be called on the document. - Changes the atrribute freezing function to a better name that takes the document as a parameter. - Sets the proper async/defer attributes on HTML script elements based on keywords and whether they are module scripts or not.
* Issue #618 - (async) Keep track of script modes in a single mode state.Moonchild2020-08-30-17/+61
| | | | | | This simplifies handling of combinations of async/defer by assigning one and only one state to scripts. If async then always async > if defer or module then defer > otherwise blocking.
* Issue #618 - (async, preload) Correctly pass info about async/defer to parser.Moonchild2020-08-30-15/+53
| | | | | | This makes sure we don't block body-referred sub-resources by head-referenced defer and async scripts. This is important for all script loads, not just modules, but is added here because it was run into while implementing modules.
* Issue #618 - (async) Split out function to add async request.Moonchild2020-08-30-23/+31
|
* Issue #618 - Rename some script load request flags to be more descriptive.Moonchild2020-08-30-11/+11
|
* Issue #618 - Make document.currentScript null in modules.Moonchild2020-08-30-4/+7
| | | | Because the spec says so.
* 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-74/+76
| | | | | 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.