Eitan Isaacson
2eea07fc65
[layout] Process pairs in coord list in PolyArea.
...
Range -1 assures the array is even with a step size of 2, avoiding lone
value processing.
2024-02-23 10:52:22 +08:00
Jens Stutte
d1b0f59de4
[DOM] Check if WorkerRunnable::Run runs on top of WorkerThreadPrimaryRunnable::Run in a worker thread.
2024-02-23 10:51:36 +08:00
FranklinDM
58525f05f2
No issue - Replacing location might throw NS_ERROR_UNEXPECTED while the developer tools window is being destroyed
2024-02-23 10:50:38 +08:00
FranklinDM
6e1c585539
No issue - Remove leftover doorhanger code from the developer tools
...
Partially based on reverting https://bugzilla.mozilla.org/show_bug.cgi?id=1078539
2024-02-23 10:50:08 +08:00
Martok
0d51adc217
Issue #2453 - Follow-Up: Use hard-coded minimum timer interval in workers.
...
From the spec: "If nesting level is greater than 5, and timeout is less than 4, then set timeout to 4.",
therefore not having it user-configurable doesn't really break anything.
2024-02-23 10:49:39 +08:00
Moonchild
721ded9b48
Issue #2466 - Part 3: Implement style-src-elem and style-src-attr
2024-02-08 14:33:59 +08:00
Moonchild
ff01a35bdb
Issue #2466 - Part 2: Implement script-src-elem and script-src-attr
2024-02-08 14:33:43 +08:00
Moonchild
4ea2206c15
Issue #2466 - Part 1: Reduce nsContentPolicy type usage.
...
Use CSPDirective instead, since it directly deals with CSP anyway.
This cleanup prepares for the following changes.
2024-02-08 14:33:28 +08:00
Moonchild
6d1bf36717
Issue #2465 - Do not use our in-tree metrics hints if using system-cairo
...
Use a somewhat equivalent font-options instance when using the
system-supplied cairo lib, instead of our in-tree extension.
Resolves #2465
2024-02-08 14:30:30 +08:00
FranklinDM
b84a61605a
Issue #2158 - Follow-up: Add missing include
2024-01-29 15:30:58 +08:00
FranklinDM
6c53117699
Issue #2158 - Part 5: Guard preload links support with a preference
...
This is enabled by default.
2024-01-29 15:30:41 +08:00
FranklinDM
95490b25eb
Issue #2158 - Part 4: Dispatch load/error events upon parsing preload links
2024-01-29 15:30:15 +08:00
FranklinDM
b0d2af4e01
Issue #2158 - Part 3: Parse preload links as part of the HTML5 parser's speculative load queue
2024-01-29 15:29:57 +08:00
FranklinDM
24189770aa
Issue #2158 - Part 2: Handle and expose preload link destination to DOM
...
This also defines known preload destinations and ensures it is reflected in JS.
2024-01-29 15:29:43 +08:00
FranklinDM
8e1b3db048
Issue #2158 - Part 1: Add the 'as' attribute to the HTML Parser
2024-01-29 15:29:27 +08:00
Moonchild
9e3d38b642
Issue #618 - Follow-up: Fix missed constant refactor preventing ExportEntries from working.
2024-01-29 15:28:56 +08:00
FranklinDM
1116e8e137
No issue - Remove leftover reference to focus handler for dev edition doorhanger
...
Follow-up to 038774e52bb23bff1d323b5289c05fd677043337
2024-01-29 15:28:31 +08:00
Moonchild
462aac7d98
[HSTS] Let parent hosts determine whether HSTS subs should be applied.
...
This aligns with the wording in RFC 6797.
2024-01-25 12:14:06 +08:00
Moonchild
aa4419c2a9
Bug 1863083
2024-01-25 12:13:30 +08:00
John Schanck
266b96a53a
[NSS] add a defensive check for large ssl_DefSend return values.
2024-01-25 12:13:04 +08:00
Geoff Lang
580e04c8a8
[gfx] Cherry-pick chromium:1864587
2024-01-25 12:12:43 +08:00
Daniel Holbert
ce3cc6b74d
[gtk] Let printer enumeration run to completion, to avoid a GTK bug.
2024-01-25 12:12:28 +08:00
Moonchild
fd949d3245
No issue - Clean up some devtools comments and prefs.
2024-01-25 12:06:17 +08:00
Moonchild
eeff203318
No issue - Remove leftover beta-only dev edition promo in devtools.
2024-01-25 12:05:52 +08:00
Moonchild
b1c57e3b53
Issue #2388 - Part 3: Update tests
2024-01-18 12:01:51 +08:00
Moonchild
47ebb88310
Issue #2388 - Part 5: Make Selection::ToString flush frames
2024-01-18 10:16:36 +08:00
Moonchild
4a438e6607
Issue #2388 - Part 4: Align focus behavior more with Blink/Gecko
2024-01-18 10:16:05 +08:00
Moonchild
681193a256
Issue #2388 - Part 2: move focus at every selection change when it's called by JS
2024-01-18 10:15:43 +08:00
Moonchild
a83e4b6a34
Issue #2388 - Part 1: Mark Selection as "called by JS" when caused by a JS call to the selection API
2024-01-18 10:15:26 +08:00
Martok
a2c28b4268
Issue #2452 - Handle re-entrant Microtask checkpoints from Events dispatched by StableState callbacks
2024-01-18 10:15:06 +08:00
Martok
fbd829908e
Issue #2452 - Don't use WebVTTListener, JS wrapper, MediaShutdownManager in stable state
...
https://bugzilla.mozilla.org/show_bug.cgi?id=1443429
https://bugzilla.mozilla.org/show_bug.cgi?id=1515021
2024-01-18 10:14:46 +08:00
Martok
458f5eb385
Issue #2452 - Fix getter constness
...
https://bugzilla.mozilla.org/show_bug.cgi?id=1443429 Pt. 2
2024-01-18 10:09:43 +08:00
Martok
2a533c943d
Issue #2452 - Prevent nsDocShell access when it is already being destroyed
...
https://bugzilla.mozilla.org/show_bug.cgi?id=1432396
2024-01-18 10:09:22 +08:00
Martok
a9d7255ba1
Issue #2452 - Bail out from PresShell::Initialize if the pres shell is being destroyed in XBLConstructorRunner
...
https://bugzilla.mozilla.org/show_bug.cgi?id=1428694
2024-01-18 10:09:00 +08:00
Martok
0efbc454b6
Issue #2452 - Fire events after iterating ServiceWorkerManager::mControlledDocuments is done.
...
https://bugzilla.mozilla.org/show_bug.cgi?id=1413466
2024-01-18 10:08:45 +08:00
Martok
d6dd1f8133
Issue #2452 - Ensure DOM events aren't dispatched at unexpected time
...
https://bugzilla.mozilla.org/show_bug.cgi?id=1409985
https://bugzilla.mozilla.org/show_bug.cgi?id=1443746
2024-01-18 10:08:24 +08:00
Martok
728b8ad60b
Issue #2452 - Declare the NS_ERROR_DOCSHELL_DYING error
...
From https://bugzilla.mozilla.org/show_bug.cgi?id=1337537
2024-01-18 10:08:05 +08:00
Moonchild
aa2e80e571
Issue #2453 - Simplify CalculateTargetTime() code and fix typo.
...
We should always be on a worker thread so the MainThread call isn't
needed.
Also: DOMMinTimoutValue -> DOMMinTimeoutValue
2024-01-18 10:07:28 +08:00
Moonchild
8b7021f216
Issue #2458 - Make HTMLInputElement.files read-write
...
Resolves #2458
2024-01-18 10:07:06 +08:00
Moonchild
4f83e877a8
Issue #2453 - Don't try to directly access pref on worker thread.
2024-01-18 10:06:43 +08:00
Brian Smith
f44db6a28b
Issue #2456 - Intersection Observer - Accept a Document as an explicit root. https://bugzilla.mozilla.org/show_bug.cgi?id=1617154
2024-01-18 10:06:13 +08:00
Moonchild
79b4c36ef8
Issue #2451 - Send referrer headers with CORS preflight requests.
...
This is dependent on referrer policy.
Fixes #2451
2024-01-18 10:04:42 +08:00
Moonchild
bd723aac28
Issue #2401 - Part 3: Don't toggle focus-within state past the nearest common flattened tree ancestor.
...
Resolves #2401
2024-01-11 09:52:02 +08:00
Moonchild
d375578415
Issue #2401 - Part 2: Add GetCommonFlattenedTreeAncestor.
...
Passing GetFlattenedTreeParent() as the "get parent" function.
This way we can reduce the complexity in our EventStateManager by simply
calling out to the templatized function from Part 1.
2024-01-11 09:51:40 +08:00
Moonchild
a73c8e93d6
Issue #2401 - Part 1: Templatize GetCommonAncestor.
2024-01-11 09:51:25 +08:00
Brian Smith
b842a1937a
Issue #2402 - Fill in column in CSP Report.
2024-01-11 09:51:07 +08:00
Brian Smith
e21d466d13
Issue #2402 - Print Related JS-Line on CSP Violation (if any). https://bugzilla.mozilla.org/show_bug.cgi?id=1100630
2024-01-11 09:50:49 +08:00
Brian Smith
5b068f3726
Issue #2402 - CSP Violation events should have the correct sample for inline contexts. https://bugzilla.mozilla.org/show_bug.cgi?id=1473587 Add preference to increase max length of CSP report source sample. https://bugzilla.mozilla.org/show_bug.cgi?id=1415352 Return valid columnNumber value in CSP violation events. https://bugzilla.mozilla.org/show_bug.cgi?id=1418246
2024-01-11 09:50:12 +08:00
Brian Smith
e74612e23e
Issue #2402 - Workers.setTimeout/setInterval must handle CSP rejections. https://bugzilla.mozilla.org/show_bug.cgi?id=1490165 Has some namespace issues adding the files, so differs slightly.
2024-01-11 09:47:22 +08:00
Brian Smith
0e0ec8cb20
Issue #2402 - CSP should throw EvalError when blocking eval() and Function(). https://bugzilla.mozilla.org/show_bug.cgi?id=1473024 https://bugzilla.mozilla.org/show_bug.cgi?id=1490165
2024-01-11 09:47:08 +08:00