roytam1
2b0cdc7b62
Merge remote-tracking branch 'origin/tracking' into custom
2024-09-22 20:54:25 +08:00
FranklinDM
97a40adc75
Issue #2251 - Expose ghost window unlinking to release builds.
2024-09-22 20:43:48 +08:00
roytam1
8a8546f49f
Merge remote-tracking branch 'origin/tracking' into custom
2024-09-06 09:18:37 +08:00
Moonchild
b9e7ecd8bc
[DOM] Stop exposing NotifyPaintEvent to web content.
...
There's no reason this should be available to the web, as it's an
indicator of browser internals.
2024-09-06 09:16:23 +08:00
roytam1
2dea274c15
Merge remote-tracking branch 'origin/tracking' into custom
2024-08-21 10:49:11 +08:00
Moonchild
9d6ffb5814
Issue #1810 - Add DOMMatrix {get|set}Transform WebIDL interfaces
2024-08-21 10:48:36 +08:00
Moonchild
18f039543a
Issue #1810 - Allow superfluous [LenientFloat] extended attributes.
...
This changes the way the extended attribute [LenientFloat] behaves, so
that overloading functions can match extended attributes while not
having restricted float type arguments themselves.
2024-08-21 10:48:21 +08:00
Moonchild
71bd54891a
Issue #1810 - Implement {get|set}Transform with DOMMatrix arguments.
...
We already had part of the plumbing for other canvas manipulations, so
this is somewhat simplified.
This excludes the interface as that is breaking the build at this stage.
Some more research is required.
2024-08-21 10:48:06 +08:00
roytam1
fde09c8b49
Merge remote-tracking branch 'origin/tracking' into custom
2024-08-09 15:16:24 +08:00
Moonchild
314ba652f4
[DOM] Pass error up the chain in SetColorValue.
2024-08-09 15:16:03 +08:00
roytam1
d27ddaffd7
Merge remote-tracking branch 'origin/tracking' into custom
2024-08-05 10:39:53 +08:00
Moonchild
ec7351a5d4
Issue #1925 - Remove use of NS_SIDE_* macros.
2024-08-05 10:31:46 +08:00
Moonchild
bd439689e1
Issue #2515 - Clarify only dispatching in chrome.
2024-08-05 10:29:41 +08:00
Moonchild
7e3f0d53a2
Issue #2515 - Remove mForceContentDispatch and mNoContentDispatch
2024-08-05 10:29:26 +08:00
roytam1
a57b7e6ca4
Merge remote-tracking branch 'origin/tracking' into custom
2024-07-18 22:32:59 +08:00
FranklinDM
cac56b8e77
Issue #2486 - Part 1: Initial plumbing and CSSOM support for cascade layers
2024-07-18 22:31:18 +08:00
Moonchild
d0e568577f
Issue #2547 - Remove hidden network.dns.disablePrefetchFromHTTPS pref.
...
Resolves #2547
2024-07-18 22:31:03 +08:00
roytam1
ca56c33715
Merge remote-tracking branch 'origin/tracking' into custom
2024-07-10 21:58:30 +08:00
Moonchild
c94c6a5785
[Dom/network] Disable DNS prefetching if document nodePrincipal is systemPrincipal
2024-07-10 21:58:10 +08:00
roytam1
0d1cf674f0
Merge remote-tracking branch 'origin/tracking' into custom
2024-07-10 14:55:58 +08:00
Moonchild
7cc4dcb680
Issue #2546 - Part 6: Remove canvas.imagebitmap_extensions.enabled preference.
2024-07-10 14:51:38 +08:00
Moonchild
aaf2dd416c
Issue #2546 - Part 5: Remove tests
2024-07-10 14:51:18 +08:00
Moonchild
b1e5955ceb
Issue #2546 - Part 4: Remove mappedDataLength and findOptimalFormat
2024-07-10 14:50:59 +08:00
Moonchild
1bc0eda791
Issue #2546 - Part 3: Remove mapDataInto
2024-07-10 14:50:41 +08:00
Moonchild
2b8d75e136
Issue #2546 - Part 2: Remove special FoxEye CreateImageBitmap method.
2024-07-10 14:50:16 +08:00
Moonchild
60fbaa2155
Issue #2546 - Part 1: Remove BufferSource support in CreateImageBitmap.
2024-07-10 14:50:00 +08:00
Moonchild
fffe6c4996
Issue #2542 - Part 7: Move SecFetch.* to /netwerk where it belongs.
2024-07-10 14:49:06 +08:00
Moonchild
53149ed646
Issue #2542 - Part 6: Add Sec-Fetch-User header for all requests that are the direct result of a system principal request.
...
This means navigation resulting from interaction with the browser UI
should result in a -user header (address bar navigation, bookmarks, etc.)
2024-07-10 14:48:35 +08:00
Moonchild
0ef8b05101
Issue #2542 - Part 5: Assume browser-initiated requests for unspecified content types to always be user-triggered.
2024-07-10 14:48:15 +08:00
Moonchild
9846090a38
Issue #2542 - Part 4b: Fix pointer mess-up.
2024-07-10 14:47:58 +08:00
Moonchild
65a588ba17
Issue #2542 - Part 4: Use BasePrincipal's IsSameOrigin() in SecFetch.
2024-07-10 14:47:20 +08:00
Moonchild
8ee9e3bc52
Issue #2542 - Part 2b: Fix typo in pref check
2024-07-10 14:46:36 +08:00
Moonchild
8076de8965
Issue #2542 - Part 2: Base implementation of Sec-Fetch-* header code.
...
Currently following Mozilla putting stuff in /dom for additional porting,
but it's actually the wrong location since it belongs in /netwerk with
the other code that deals with http headers.
2024-07-10 14:45:39 +08:00
Moonchild
1f4b858be2
Issue #2542 - Part 1b: Fix dom.securecontext.whitelist code issues
...
Some minor bugfixes (wrong condition and string type)
2024-07-10 14:44:56 +08:00
Moonchild
0c71a6ada0
Issue #2542 - Part 1: Factor out Potentially Trustworthy URI checks.
...
For sake of ease of use, converted to boolean functions that just assume "false"
in case of errors.
Note: Mozilla makes special arrangements for .onion addresses as well but
we explicitly do not adopt that. TOR browser can do that all day if it wants.
2024-07-10 14:44:37 +08:00
roytam1
c416859636
Merge remote-tracking branch 'origin/tracking' into custom
2024-06-24 23:12:00 +08:00
Moonchild
af227c4574
Issue #2534 - Part 2: Update tests
2024-06-24 23:11:39 +08:00
Moonchild
fb16b1b4ae
Issue #2534 - Part 1: window.postMessage should provide a trusted MessageEvent
2024-06-24 23:11:25 +08:00
Moonchild
22f745761b
Issue #2536 - Re-implement plugin enumeration shuffle.
...
Resolves #2536
2024-06-24 23:11:06 +08:00
roytam1
a2f81bc791
Merge remote-tracking branch 'origin/tracking' into custom
2024-06-17 16:15:30 +08:00
Moonchild
6a200d5284
No Issue - Add navigator.webdriver attribute.
...
This patch adds an enumerable, configurable, readonly attribute "webdriver" to
the Navigator object. The attribute is always false because we do not support
WebDriver or scripted automation.
The navigator.webdriver attribute is meant as an indication to web authors that
a document is visited by WebDriver. It is important to stress that it is not
meant as a way to detect that a website is being visited by a browser automation
tool or bot, but as a tool for web documents to take alternate code paths.
On the off-chance exposing navigator.webdriver turns out to be catastrophic,
we put it behind a new preference dom.webdriver.enabled that controls its
exposure.
2024-06-17 16:14:48 +08:00
Moonchild
1db268ef50
Issue #2532 - Align dialog submission triggered by form.submit() with the spec.
...
Submission in click handler of submit button should not be deferred
per https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#submit-dialog
See Bug 1719872
2024-06-17 16:12:14 +08:00
Moonchild
f50948c82a
Issue #2532 - Fix a null pointer crash while doing dialog form submission
...
See Bug 1652699
2024-06-17 16:11:29 +08:00
Moonchild
f598fe63cd
Issue #2532 - Default pref check to true
2024-06-17 16:11:07 +08:00
Moonchild
6ee3f46900
Issue #2532 - Implement form[method=dialog]
...
See bug 1557303
2024-06-17 16:10:50 +08:00
roytam1
d835b252d7
Merge remote-tracking branch 'origin/tracking' into custom
2024-06-13 11:32:08 +08:00
Moonchild
a2417d573b
[DOM] Clone video info properly.
2024-06-13 11:28:58 +08:00
roytam1
a30e0e7448
Merge remote-tracking branch 'origin/tracking' into custom
2024-06-11 10:15:00 +08:00
Moonchild
359a4a2069
Issue #2524 - Implement smart granularity for canvas poisoning.
...
User-configurable time interval between 1s and 8h. Default 5 minutes.
Resolves #2524
2024-06-11 10:14:09 +08:00
roytam1
75b0995d95
Merge remote-tracking branch 'origin/tracking' into custom
2024-06-06 14:13:50 +08:00