Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Issue #1224 - Remove constant expressions from /dom | Moonchild | 2020-09-21 | -54/+53 |
| | | | | | This excludes DOMProxy handlers in dom bindings because that's intertwined with codegen and js that needs to be handled together. | |||
* | Issue #1647 - Part 2: Implement VARIANT_OPACITY to correctly serialize. | athenian200 | 2020-09-21 | -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 keywords | athenian200 | 2020-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. | Moonchild | 2020-09-21 | -86/+25 |
| | ||||
* | Issue #1653 - Part 1: Remove WinUtils::SHGetKnownFolderPath | Moonchild | 2020-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. | Moonchild | 2020-09-21 | -2/+46 |
| | ||||
* | Issue #1643 - Part 3: Implement ResizeObserverController | Moonchild | 2020-09-21 | -0/+365 |
| | ||||
* | Issue #1643 - Part 2: Implement ResizeObserver API | Moonchild | 2020-09-21 | -0/+618 |
| | | | | Implements ResizeObserver, ResizeObserverEntry and ResizeObservation | |||
* | Issue #1643 - Part 1: Add GetNodeDepth() to nsContentUtils. | Moonchild | 2020-09-21 | -1/+23 |
| | ||||
* | [widget] Clean up Windows widget code some. | Moonchild | 2020-09-21 | -70/+10 |
| | ||||
* | Issue #618 - Clear the module map - Debug Followup | Gaming4JC | 2020-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) | adeshkp | 2020-09-21 | -2/+2 |
| | | | * Issue #457 - Fix usage of a macro in a cocoa widget | |||
* | Issue #1650 - Add null check. | Moonchild | 2020-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. | adeshkp | 2020-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. | athenian200 | 2020-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. | athenian200 | 2020-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 add | Moonchild | 2020-09-08 | -3/+17 |
| | | | | release build assertions for mismatching compartments. | |||
* | Issue #618 - Make ES6 modules work for resource: URIs | Moonchild | 2020-09-08 | -1/+23 |
| | ||||
* | Issue #618 - Implement preloading of module scripts. | Moonchild | 2020-09-08 | -22/+63 |
| | | | | This hooks up module scripts to the existing preload mechanism. | |||
* | Issue #1644 - Remove plugin checking code leftovers | Moonchild | 2020-09-08 | -30/+2 |
| | ||||
* | Clobber for CSS flow-root implementation | Moonchild | 2020-09-08 | -1/+1 |
| | ||||
* | Issue #1641 - Implement CSS flow-root keyword | athenian200 | 2020-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() | Moonchild | 2020-09-06 | -2/+21 |
| | | | | | Adds a self-hosted implementation of this map->object conversion. This resolves #1639. | |||
* | Fix build error. | Moonchild | 2020-09-05 | -4/+0 |
| | ||||
* | Regenerate the HTML Parser code for nomodule changes. | Gaming4JC | 2020-09-05 | -326/+333 |
| | ||||
* | Issue #618 - Don't preload nomodule scripts when modules are enabled (uplift) | Gaming4JC | 2020-09-05 | -17/+56 |
| | ||||
* | Regenerate Parser for Marquee Removal | Gaming4JC | 2020-09-05 | -127/+122 |
| | ||||
* | Issue #1525 - Kill marquee element (uplift) | Moonchild | 2020-09-05 | -3903/+18 |
| | ||||
* | Update old.configure for --enable-phoenix-extensions | Matt A. Tobin | 2020-09-01 | -0/+1 |
| | ||||
* | Remove unsupported CE keyword from HTMLLinkElement.webidl | Moonchild | 2020-08-30 | -1/+1 |
| | ||||
* | Clobber for NSS update | Moonchild | 2020-08-30 | -1/+0 |
| | ||||
* | [NSS] Version and build bump | Moonchild | 2020-08-30 | -6/+7 |
| | ||||
* | [NSS] Prevent slotLock race in NSC_GetTokenInfo | J.C. Jones | 2020-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. | Moonchild | 2020-08-30 | -2/+9 |
| | ||||
* | [misc/mar] Don't use a signed type for a length parameter. | Moonchild | 2020-08-30 | -1/+1 |
| | ||||
* | [DOM] Only construct JS-implemented objects if inner window is current. | Kris Maglione | 2020-08-30 | -1/+6 |
| | ||||
* | [media] Only include source error details in debugging scenarios. | Moonchild | 2020-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) | Moonchild | 2020-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. | Moonchild | 2020-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. | Moonchild | 2020-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. | Moonchild | 2020-08-30 | -23/+31 |
| | ||||
* | Issue #618 - Rename some script load request flags to be more descriptive. | Moonchild | 2020-08-30 | -11/+11 |
| | ||||
* | Issue #618 - Make document.currentScript null in modules. | Moonchild | 2020-08-30 | -4/+7 |
| | | | | Because the spec says so. | |||
* | Issue #618 - Fix processing of non-parser-generated module scripts. | Jon Coppeard | 2020-08-30 | -23/+32 |
| | ||||
* | Issue #618 - Handle errors for inline module scripts and ensure we update the | Jon Coppeard | 2020-08-30 | -12/+18 |
| | | | | module map after fetch errors. | |||
* | Issue #618 - Split SRI verification out from OnStreamComplete. | Moonchild | 2020-08-30 | -19/+35 |
| | ||||
* | Issue #618 - Split handling of load errors out from OnStreamComplete. | Moonchild | 2020-08-30 | -59/+67 |
| | ||||
* | Issue #618 - Integrity for descendant module scripts should be the empty string | Moonchild | 2020-08-30 | -4/+4 |
| | | | | Because the spec says so. | |||
* | Issue #618 - Don't mute errors for module scripts because they always use CORS | Jon Coppeard | 2020-08-30 | -4/+4 |
| | ||||
* | Issue #618: Pass down referrer and referrer policy when fetching modules. | Moonchild | 2020-08-30 | -25/+42 |
| | | | | Because the spec says so. |