summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* Merge pull request #1654 from athenian200/opacity_percentageMoonchild2020-09-18-25/+38
|\ | | | | Implement percentage for CSS opacity keywords
| * Issue #1647 - Part 2: Implement VARIANT_OPACITY to correctly serialize.athenian2002020-09-17-35/+33
| | | | | | | | Even though percentages are already treated as floats internally by the style system for computation purposes, you have to go out of your way to stop them from being read back out as percentages. What I do here amounts to storing the percentage token in the "wrong" container, the one normally used for floats. This allows a value that was read in as a percentage to be read back out as something else, which is normally prevented by the design of the style system.
| * Issue #1647 - Part 1: Implement percentage for CSS opacity keywordsathenian2002020-09-16-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 #1224 - Remove constant expressions from /domMoonchild2020-09-17-57/+54
| | | | | | | | | | This excludes DOMProxy handlers in dom bindings because that's intertwined with codegen and js that needs to be handled together.
* | Issue #1653 - Part 2: Stop indirectly loading DWM functions through WinUtils.Moonchild2020-09-17-86/+25
| |
* | Issue #1653 - Part 1: Remove WinUtils::SHGetKnownFolderPathMoonchild2020-09-17-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-16-2/+46
| |
* | Issue #1643 - Part 3: Implement ResizeObserverControllerMoonchild2020-09-16-0/+365
| |
* | Issue #1643 - Part 2: Implement ResizeObserver APIMoonchild2020-09-16-0/+618
| | | | | | | | Implements ResizeObserver, ResizeObserverEntry and ResizeObservation
* | Issue #1643 - Part 1: Add GetNodeDepth() to nsContentUtils.Moonchild2020-09-16-0/+22
| |
* | [widget] Clean up Windows widget code some.Moonchild2020-09-14-70/+10
| |
* | Merge pull request #1652 from g4jc/618Moonchild2020-09-14-0/+1
|\ \ | | | | | | Clear the module map - Debug Followup
| * | Issue #618 - Clear the module map - Debug FollowupGaming4JC2020-09-13-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
* | Merge pull request #1651 from athenian200/link_element_disabledMoonchild2020-09-13-5/+7
|\| | | | | Clean up local variables from <link> disabled issue.
| * Issue #1629 - Part 5: Remove pointless local variables.athenian2002020-09-09-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-06-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.
* | Fix usage of a macro in a cocoa widget (#1649)adeshkp2020-09-13-2/+2
| | | | | | * Issue #457 - Fix usage of a macro in a cocoa widget
* | Issue #1650 - Add null check.Moonchild2020-09-12-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".
* | Merge pull request #1648 from adeshkp/hpkp-hostname-cleanupMoonchild2020-09-12-19/+12
|\ \ | | | | | | Remove hostname parameter to trust domain.
| * | Issue #1280 - Remove hostname parameter to trust domain.adeshkp2020-09-12-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.
* | Merge branch 'es-modules-work'Moonchild2020-09-08-26/+103
|\ \
| * | 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
| | |
| * | Revert "Issue #618 - Add JS API to associate scripts with DOM elements after ↵Moonchild2020-08-27-45/+12
| | | | | | | | | | | | | | | | | | compilation" This reverts commit 22f300f7c431bbf4de20437d2ebd7bff38284efb.
| * | Issue #618 - Implement preloading of module scripts.Moonchild2020-08-27-22/+63
| | | | | | | | | | | | This hooks up module scripts to the existing preload mechanism.
| * | Issue #618 - Add JS API to associate scripts with DOM elements after compilationJon Coppeard2020-08-27-12/+45
| | | | | | | | | | | | Ref BZ 1342416
* | | Issue #1639 - Implement object.fromEntries()Moonchild2020-09-06-2/+21
| | | | | | | | | | | | | | | Adds a self-hosted implementation of this map->object conversion. This resolves #1639.
* | | Issue #1644 - Remove plugin checking code leftoversMoonchild2020-09-05-30/+2
| | |
* | | Clobber for CSS flow-root implementationMoonchild2020-09-04-1/+1
| | |
* | | Merge pull request #1642 from athenian200/display_flow_rootMoonchild2020-09-04-16/+68
|\ \ \ | | | | | | | | Implement CSS flow-root keyword
| * | | Issue #1641 - Implement CSS flow-root keywordathenian2002020-09-03-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.
* | | Clobber for NSS updateMoonchild2020-08-29-1/+0
| | |
* | | [NSS] Version and build bumpMoonchild2020-08-29-6/+7
| | |
* | | [NSS] Prevent slotLock race in NSC_GetTokenInfoJ.C. Jones2020-08-29-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-28-2/+9
| | |
* | | [misc/mar] Don't use a signed type for a length parameter.Moonchild2020-08-28-1/+1
| | |
* | | [DOM] Only construct JS-implemented objects if inner window is current.Kris Maglione2020-08-28-1/+6
| | |
* | | [media] Only include source error details in debugging scenarios.Moonchild2020-08-28-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.
* | | Merge branch 'es-modules-work'Moonchild2020-08-27-1460/+1783
|\| |
| * | Merge pull request #1637 from g4jc/618Moonchild2020-08-27-734/+780
| |\ \ | | | | | | | | Don't preload nomodule scripts when modules are enabled
| | * | Issue #618 - Regenerate the HTML Parser code for nomodule changesGaming4JC2020-08-26-717/+724
| | | | | | | | | | | | | | | | Ref: BZ 1446082
| | * | Issue #618 - Don't preload nomodule scripts when modules are enabledGaming4JC2020-08-26-18/+57
| |/ / | | | | | | | | | Ref: BZ 1382020
| * | Issue #618 - (async) Implement async attribute for inline module scripts.Moonchild2020-08-25-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-25-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-24-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-24-23/+31
| | |
| * | Issue #618 - Rename some script load request flags to be more descriptive.Moonchild2020-08-24-11/+11
| | |
| * | Issue #618 - Make document.currentScript null in modules.Moonchild2020-08-23-4/+7
| | | | | | | | | | | | Because the spec says so.
| * | Issue #618 - Fix processing of non-parser-generated module scripts.Jon Coppeard2020-08-22-23/+32
| | |
| * | Issue #618 - Handle errors for inline module scripts and ensure we update theJon Coppeard2020-08-22-12/+18
| | | | | | | | | | | | module map after fetch errors.