Commit graph

207 commits

Author SHA1 Message Date
Moonchild
7b6e3a2d4a Issue #2653 - Part 1: Initial cleanup of AppId and isolated mozbrowser.
This removes a lot of the plumbing for having the platform embed itself
through IPC which was required for B2G running the browser as both
shell and browser application.
2024-11-21 21:01:27 +08:00
Moonchild
7d978ccd71 Issue #2641 - Update Fetch to adhere to the updated spec (pass refpolicy)
Resolves #2641
2024-10-24 07:37:31 +08:00
Moonchild
f6f046930d Issue #2641 - Speculative load changes for referrerpolicy 2024-10-24 07:37:15 +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
Moonchild
9d6ffb5814 Issue #1810 - Add DOMMatrix {get|set}Transform WebIDL interfaces 2024-08-21 10:48:36 +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
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
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
7381521cf7 Issue #2518 - Make various arguments optional in XPathEvaluator/XPathExpression.
Resolves #2518
2024-06-04 10:16:17 +08:00
Moonchild
35d7a1fe5a Issue #2503 - Part 1: add CPU IS support flags to Navigator interface 2024-04-16 14:58:41 +08:00
Moonchild
7fb5d53a79 Issue #2490 - Part 19: Convert CSSCounterStyleRule to WebIDL. 2024-04-08 11:12:32 +08:00
Moonchild
b984856d8f Issue #2490 - Part 18: Convert CSSKeyframesRule to WebIDL. 2024-04-08 11:08:39 +08:00
Moonchild
89d96e0226 Issue #2490 - Part 17: Convert CSSKeyframeRule to WebIDL. 2024-04-08 11:08:06 +08:00
Moonchild
f0de637255 Issue #2490 - Part 16: Convert CSSFontFeatureValuesRule to WebIDL. 2024-04-08 11:07:44 +08:00
Moonchild
50f8c18757 Issue #2490 - Part 15: Convert CSSFontFaceRule to WebIDL.
The .style PutForwards bit is coming along for the ride here as a new feature.
2024-04-08 11:07:15 +08:00
Moonchild
74fdaed1fe Issue #2490 - Part 14: Convert CSSPageRule to WebIDL.
The .style PutForwards bit is coming along for the ride here as a new feature.
2024-04-08 11:05:31 +08:00
Moonchild
d1b6a584b8 Issue #2490 - Part 13: Convert media, supports, and moz-document rules to WebIDL.
This also converts the internal ConditionRule and GroupingRule classes.
2024-04-08 11:03:50 +08:00
Moonchild
6176bd62d9 Issue #2490 - Part 12: Convert CSSStyleRule to WebIDL.
The .style PutForwards bit is coming along for the ride here, aligning us with
the behavior of Blink and Gecko.
2024-04-08 11:01:02 +08:00
Moonchild
525606c15d Issue #2490 - Part 11: Convert CSSImportRule to WebIDL.
Note that the .media PutForwards is a new feature coming along for the ride, now
that we're using the spec IDL.
2024-04-08 10:59:42 +08:00
Moonchild
95642cb4e5 Issue #2490 - Part 10: Convert CSSNamespaceRule to WebIDL. 2024-04-08 10:58:54 +08:00
Moonchild
5a522d9145 Issue #2490 - WIP: part 9. Add a CSSRule Web IDL interface. 2024-04-08 10:56:20 +08:00
Moonchild
73edd3878f Issue #2495 - Implement webkitURL legacy window alias for URL
Resolves #2495
2024-04-08 10:33:06 +08:00
Daniel Jacobs
39f5c51c10 Issue #2483 - Support DOMMatrix2DInit for addPath 2024-04-02 22:17:40 +08:00
Moonchild
ff01a35bdb Issue #2466 - Part 2: Implement script-src-elem and script-src-attr 2024-02-08 14:33:43 +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
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
Moonchild
8b7021f216 Issue #2458 - Make HTMLInputElement.files read-write
Resolves #2458
2024-01-18 10:07:06 +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
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
ec29404083 Issue #2402 - Implement security policy violation event. https://bugzilla.mozilla.org/show_bug.cgi?id=1037335 2024-01-11 09:43:10 +08:00
Martok
65d72c5682 Issue #2435 - Add onrejectionhandled and onunhandledrejection EventHandler
Based-on: m-c 1362272
2024-01-09 12:00:14 +08:00
Martok
511a9376e3 Issue #2435 - Declare PromiseRejectionEvent WebIDL
Based-on: m-c 1338059
2024-01-09 11:59:55 +08:00
Moonchild
3478c01fc8 Issue #2361 - Base implementation of Navigator.Clipboard
This hard-refuses any reads from clipboard with a promise rejection.
2023-11-24 17:01:55 +08:00
Basilisk-Dev
9e6a0c089f No Issue - Implement crypto.randomUUID
We already have code in the platform to generate random UUIDs. This simply exposes that functionality via the crypto.UUID function
2023-10-26 10:55:10 +08:00
Basilisk-Dev
9f63203a43 Issue #2332 - Hyphenate rtc stats type as per spec
Backport of https://bugzilla.mozilla.org/show_bug.cgi?id=1322503
2023-10-21 11:03:07 +08:00
Moonchild
50ad087351 Issue #1721 - Implement GlobalPrivacyControl
(and get rid of failed DoNotTrack)
2023-10-18 10:17:23 +08:00
Moonchild
4ec7fa4f5f Clean up dom\webidl
Fix CRLF line endings in some files.
2023-10-16 09:33:24 +08:00
Moonchild
9cd7fd3bf4 Issue #2340 - Return an array (actually frozen sequence) for {border|content}BoxSize
Resolves #2340
2023-10-16 09:31:05 +08:00
Basilisk-Dev
6b713575c9 Issue #2332 - Have set(Local|Remote)Description take dictionaries
Backport of https://bugzilla.mozilla.org/show_bug.cgi?id=1263312 part 3
2023-10-11 11:53:59 +08:00
Basilisk-Dev
80a3c49ba2 Issue #2332 - Have addIceCandidate take a dictionary
Backport of https://bugzilla.mozilla.org/show_bug.cgi?id=1263312 part 2
2023-10-11 11:53:31 +08:00
Basilisk-Dev
ddf29677d9 Issue #2332 - Update RTCIceCandidate to spec
Backport of https://bugzilla.mozilla.org/show_bug.cgi?id=1263312 - part 1
2023-10-11 11:53:15 +08:00
Basilisk-Dev
f2dbc4c6ce Issue #2332 - Add deprecation warnings to writable RTCSessionDescription
Backport of https://bugzilla.mozilla.org/show_bug.cgi?id=1313966
2023-10-11 11:52:59 +08:00
Basilisk-Dev
7528b07555 Issue #2332 - Remove unimplemented and non-spec getStreamById from RTCPeerConnection
Backport of https://bugzilla.mozilla.org/show_bug.cgi?id=1318163
2023-10-06 09:14:48 +08:00
Basilisk-Dev
6fdb3ac961 No Issue - Remove deprecation errors for obsolete RTCOfferOptions
Backport of https://bugzilla.mozilla.org/show_bug.cgi?id=1197021
2023-10-05 10:30:23 +08:00
Brian Smith
ef550b2579 Issue #1442 - Part 13 - Implement FetchStreamReader. https://bugzilla.mozilla.org/show_bug.cgi?id=1329298 2023-10-04 10:01:12 +08:00
Brian Smith
a8a75090c0 Issue #1442 - Part 11 - Response.body handling. https://bugzilla.mozilla.org/show_bug.cgi?id=1329298 Use BufferSource in webIDL. https://bugzilla.mozilla.org/show_bug.cgi?id=1337722 2023-10-04 09:59:53 +08:00
Brian Smith
a4146b60a4 Issue #1442 - Part 10a - Unify body extraction in Fetch/Beacon/XHR. https://bugzilla.mozilla.org/show_bug.cgi?id=1329298 Pre-requisite for Part 11. 2023-10-04 09:57:38 +08:00