Commit graph

948 commits

Author SHA1 Message Date
Benjamin VanderSloot
889a34c39e Bug 1857593 - Enable GPC in Private Browsing Mode by default - r=jewilde,anti-tracking-reviewers,necko-reviewers,valentin,timhuang
Differential Revision: https://phabricator.services.mozilla.com/D191095
2023-10-18 13:30:51 +00:00
Iulian Moraru
151633bf92 Backed out changeset 44247957cb7a (bug 1857593) for causing build bustages on nsHttpChannel.cpp. CLOSED TREE 2023-10-18 15:44:25 +03:00
Benjamin VanderSloot
62081e7036 Bug 1857593 - Enable GPC in Private Browsing Mode by default - r=jewilde,anti-tracking-reviewers,necko-reviewers,valentin,timhuang
Differential Revision: https://phabricator.services.mozilla.com/D191095
2023-10-18 12:05:05 +00:00
CanadaHonk
abbea4195b Bug 1791079 - Implement User Activation API r=dom-core,webidl,saschanaz,edgar
Rewrote internal user activation tree (spreading state to other elements)
logic to match HTML spec:
https://html.spec.whatwg.org/multipage/interaction.html#user-activation-processing-model

Added navigator.userActivation API to expose internal user activation.

Also fixed a WPT test to conform to spec (siblings are not activated),
see also spec issue: https://github.com/whatwg/html/issues/9831

Co-authored-by: Tom Schuster <evilpies@gmail.com>

Differential Revision: https://phabricator.services.mozilla.com/D185348
2023-10-07 23:12:29 +00:00
Narcis Beleuzu
ec7afb7956 Backed out changeset 73919dbff272 (bug 1791079) for bustages on Navigator.h . CLOSED TREE 2023-10-06 23:04:11 +03:00
CanadaHonk
6849880f19 Bug 1791079 - Implement User Activation API r=dom-core,webidl,saschanaz,edgar
Rewrote internal user activation tree (spreading state to other elements)
logic to match HTML spec:
https://html.spec.whatwg.org/multipage/interaction.html#user-activation-processing-model

Added navigator.userActivation API to expose internal user activation.

Also fixed a WPT test to conform to spec (siblings are not activated),
see also spec issue: https://github.com/whatwg/html/issues/9831

Co-authored-by: Tom Schuster <evilpies@gmail.com>

Differential Revision: https://phabricator.services.mozilla.com/D185348
2023-10-06 18:56:23 +00:00
Sandor Molnar
1b033bae69 Backed out changeset 7c84c5fc7d00 (bug 1791079) for causing mochitest process crashes at @ RefPtr<mozilla::dom::WindowContext>::operator-> CLOSED TREE 2023-10-06 16:18:00 +03:00
CanadaHonk
953794b454 Bug 1791079 - Implement User Activation API r=dom-core,webidl,saschanaz,edgar
Rewrote internal user activation tree (spreading state to other elements)
logic to match HTML spec:
https://html.spec.whatwg.org/multipage/interaction.html#user-activation-processing-model

Added navigator.userActivation API to expose internal user activation.

Also fixed a WPT test to conform to spec (siblings are not activated),
see also spec issue: https://github.com/whatwg/html/issues/9831

Co-authored-by: Tom Schuster <evilpies@gmail.com>

Differential Revision: https://phabricator.services.mozilla.com/D185348
2023-10-06 12:16:17 +00:00
dylan
d5a355d241 Bug 1156659 - Added set offline per tab to BrowsingContext. r=valentin,nika,necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D187704
2023-10-04 19:42:57 +00:00
Norisz Fay
338171a737 Backed out 2 changesets (bug 1156659) for causing dt failures on browser_net_throttle.js CLOSED TREE
Backed out changeset af64e5a0109a (bug 1156659)
Backed out changeset 7e9b86bce76b (bug 1156659)
2023-10-02 16:11:21 +03:00
dylan
3b39108bc7 Bug 1156659 - Added set offline per tab to BrowsingContext. r=valentin,nika,necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D187704
2023-10-02 04:13:43 +00:00
Sandor Molnar
e22024e42c Backed out 2 changesets (bug 1156659) for causing multiple dt failures on browser_jsterm_evaluation_context_selector_targets_update/browser_jsterm_file_load_save_keyboard_shortcut/browser_jsterm_focus_reload/etc CLOSED TREE
Backed out changeset 72676017aaf3 (bug 1156659)
Backed out changeset c5e205051938 (bug 1156659)
2023-09-26 19:54:00 +03:00
dylan
da3e3497c1 Bug 1156659 - Added set offline per tab to BrowsingContext. r=valentin,nika,necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D187704
2023-09-26 15:33:34 +00:00
Peter Van der Beken
9fba1d5220 Bug 1846277 - Remove nsGlobalWindow.h. r=dom-core,necko-reviewers,jesup,farre
Differential Revision: https://phabricator.services.mozilla.com/D184973
2023-08-02 20:41:48 +00:00
Tom Schuster
7906e7f340 Bug 1843841 - Make navigator.appName constant. r=dom-worker-reviewers,webidl,smaug,timhuang
This is supposed to constant per https://html.spec.whatwg.org/#client-identification.

Differential Revision: https://phabricator.services.mozilla.com/D183723
2023-07-19 17:00:53 +00:00
Kagami Sascha Rosylight
07b5d9905c Bug 1842289 - Part 2: Grab WorkerRef outside LockManager constructor r=dom-worker-reviewers,webidl,smaug
Differential Revision: https://phabricator.services.mozilla.com/D183048
2023-07-13 12:32:19 +00:00
Tom Schuster
6c51117086 Bug 1838415 - Use RFPTarget::PointerEvents for Navigator::MaxTouchPoints. r=tjr
Depends on D181202

Differential Revision: https://phabricator.services.mozilla.com/D181232
2023-06-21 07:01:24 +00:00
Tom Schuster
d25d725db1 Bug 1838415 - Introduce RFPTarget::NavigatorConnection. r=tjr
Differential Revision: https://phabricator.services.mozilla.com/D181202
2023-06-21 07:01:23 +00:00
Tom Schuster
3af5ec8111 Bug 1838415 - Don't spoof explicitly disabled pdfJS. r=tjr
I think we've discussed doing this, but I had trouble finding that again, so maybe this is not the right approach.

Differential Revision: https://phabricator.services.mozilla.com/D180938
2023-06-21 07:01:22 +00:00
Tom Schuster
e468e1cdc8 Bug 1837153 - Remove more RFPTarget::Unknown default parameters in classes inheriting from nsIGlobalObject. r=tjr
Differential Revision: https://phabricator.services.mozilla.com/D180198
2023-06-13 19:32:17 +00:00
Cristian Tuns
bc4cfd88c2 Backed out 4 changesets (bug 1837582, bug 1837153) for causing build bustages in nsGlobalWindowInner.cpp on Android CLOSED TREE
Backed out changeset e17bfa5f8959 (bug 1837153)
Backed out changeset 662b7f7504b9 (bug 1837582)
Backed out changeset 7c5fa154397d (bug 1837153)
Backed out changeset b447d95efe6e (bug 1837153)
2023-06-12 06:23:38 -04:00
Tom Schuster
d505c2c62e Bug 1837153 - Remove more RFPTarget::Unknown default parameters in classes inheriting from nsIGlobalObject. r=tjr
Differential Revision: https://phabricator.services.mozilla.com/D180198
2023-06-12 09:48:03 +00:00
Otto Länd
167c9b24e1 Bug 1834737: apply code formatting via Lando
# ignore-this-changeset
2023-05-31 09:50:18 +00:00
Tom Schuster
71b1d38bb8 Bug 1834737 - Make RFPTarget parameter of ShouldResistFingerprinting with DocShell non-optional. r=tjr
Differential Revision: https://phabricator.services.mozilla.com/D179228
2023-05-31 09:46:54 +00:00
Tom Schuster
67031335bb Bug 1834737 - Add RFPTargets for navigator. r=tjr
Differential Revision: https://phabricator.services.mozilla.com/D179207
2023-05-31 09:46:54 +00:00
Tom Schuster
b4c6e62b3c Bug 1834737 - Make RFPTarget parameter of Document::ShouldResistFingerprinting non-optional. r=tjr
Differential Revision: https://phabricator.services.mozilla.com/D178925
2023-05-31 09:46:54 +00:00
Jan-Ivar Bruaroey
bcb6abd9e9 Bug 1528042 - Fix navigator.mozGetUserMedia to also trigger device exposure. r=karlt
Differential Revision: https://phabricator.services.mozilla.com/D154175
2023-05-26 16:22:47 +00:00
Iulian Moraru
fd6836d5a1 Backed out 10 changesets (bug 1528042) for causing build bustages on MediaDevices.cpp.
Backed out changeset 04d9fa0993ab (bug 1528042)
Backed out changeset a20768227ca6 (bug 1528042)
Backed out changeset 94066f37c5a0 (bug 1528042)
Backed out changeset cb2b433b47bd (bug 1528042)
Backed out changeset d0bfd185f0e7 (bug 1528042)
Backed out changeset 59b9147c85f0 (bug 1528042)
Backed out changeset e864d7f810b3 (bug 1528042)
Backed out changeset c0373264c89b (bug 1528042)
Backed out changeset cf689822deaf (bug 1528042)
Backed out changeset 0ac40a8f40a0 (bug 1528042)
2023-05-16 09:35:29 +03:00
Jan-Ivar Bruaroey
9e5712e72f Bug 1528042 - Fix navigator.mozGetUserMedia to also trigger device exposure. r=karlt
Differential Revision: https://phabricator.services.mozilla.com/D154175
2023-05-16 03:55:45 +00:00
Makoto Kato
0326653229 Bug 1828607 - Remove remained old wakelock code. r=gsvelto
By bug 1369194, we have removed old wakelock implementation, but there is still old code yet.

Differential Revision: https://phabricator.services.mozilla.com/D175740
2023-04-18 11:32:32 +00:00
Andrew McCreight
3e6999e839 Bug 1809697 - Re-allow the gamepad test service in fuzzing builds. r=cmartin
Differential Revision: https://phabricator.services.mozilla.com/D166591
2023-01-13 00:31:55 +00:00
alwu
db2a9a2552 Bug 1773551 - part2 : implement the navigator autoplay policy API. r=media-playback-reviewers,webidl,smaug,padenot
Differential Revision: https://phabricator.services.mozilla.com/D164750
2022-12-19 20:57:55 +00:00
Andrew McCreight
9edebfc628 Bug 1805269 - Don't allow getting gamepad and VR test services outside of automation. r=smaug,cmartin
These interfaces are already disabled by prefs, but they are ironically
probably not well tested, so just add an extra check.

Differential Revision: https://phabricator.services.mozilla.com/D164496
2022-12-13 18:20:46 +00:00
Emilio Cobos Álvarez
44ef3b8685 Bug 1799435 - Make RFP checks faster. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D161447
2022-11-08 02:36:25 +00:00
Sandor Molnar
7a39c6eef3 Backed out changeset c7f5349824c4 (bug 1799435) for causing crashes in mozilla::dom::HTMLImageElement::LoadSelectedImage CLOSED TREE 2022-11-08 02:39:14 +02:00
Emilio Cobos Álvarez
68c342910f Bug 1799435 - Make RFP checks faster. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D161447
2022-11-07 22:23:50 +00:00
Iulian Moraru
2f0dd0e293 Backed out changeset 44cb21194dc0 (bug 1799435) for causing multiple resist fingerprint related failures. CLOSED TREE 2022-11-07 18:42:11 +02:00
Emilio Cobos Álvarez
bac0597c49 Bug 1799435 - Make RFP checks faster. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D161447
2022-11-07 14:40:57 +00:00
Olli Pettay
f872f9e140 Bug 1799453 - Remove unused Navigator::SetWindow, r=jjaschke
document.write doesn't change window anymore, that behavior was tweaked years ago.

Differential Revision: https://phabricator.services.mozilla.com/D161457
2022-11-07 14:15:36 +00:00
Mark Banner
42674415ed Bug 1795322 - Update toolkit modules references in dom code. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D160034
2022-10-26 08:06:37 +00:00
Csoregi Natalia
5f9da7b301 Backed out 12 changesets (bug 1795322) for causing multiple failures e.g. test_deletion_request_ping.py. CLOSED TREE
Backed out changeset aba25cbcda51 (bug 1795322)
Backed out changeset a4a35005ada9 (bug 1795322)
Backed out changeset 8e8d790eb0f4 (bug 1795322)
Backed out changeset db8903454bd3 (bug 1795322)
Backed out changeset 60cc71c61cad (bug 1795322)
Backed out changeset bc6a674994ad (bug 1795322)
Backed out changeset 6ac8a611f8c7 (bug 1795322)
Backed out changeset 9fb873ecfb31 (bug 1795322)
Backed out changeset c8a7a40c2a2f (bug 1795322)
Backed out changeset f2c118b6c6ce (bug 1795322)
Backed out changeset 38df43b4a70f (bug 1795322)
Backed out changeset 89aea8373411 (bug 1795322)
2022-10-25 23:47:58 +03:00
Mark Banner
a23bba4111 Bug 1795322 - Update toolkit modules references in dom code. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D160034
2022-10-25 19:49:27 +00:00
nchevobbe
5d8ed083ca Bug 1778959 - Don't expose requestMIDIAccess on file scheme. r=bholley.
This is done by adding Navigator::HasMidiSupport that we reference in
the Navigator.webidl `Func` extented attribute for `requestMIDIAccess`.

A test case is added to browser_midi_permission_gated.js to ensure this
works as expected.

Differential Revision: https://phabricator.services.mozilla.com/D157321
2022-09-30 22:07:19 +00:00
Olli Pettay
93acdfad59 Bug 1777574, automate CC zone handling, r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D155084
2022-09-07 11:22:51 +00:00
Jan Varga
efcf3c3af2 Bug 1786501 - Call StorageManager::Shutdown from Navigator::Invalidate; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D155370
2022-08-31 09:34:49 +00:00
Kagami Sascha Rosylight
e60f5b3f5d Bug 1784590 - Part 2: Add use counters for unsupported APIs in PBM r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D154579
2022-08-24 10:58:47 +00:00
Marian-Vasile Laza
e32b8c70e9 Backed out 2 changesets (bug 1784590) for causing mochitest failures on test_privateBrowsing.html. CLOSED TREE
Backed out changeset cd284ba05fbb (bug 1784590)
Backed out changeset 2f714355a8c8 (bug 1784590)
2022-08-23 01:26:37 +03:00
Kagami Sascha Rosylight
e2a0941795 Bug 1784590 - Part 2: Add use counters for unsupported APIs in PBM r=asuth
Depends on D154578

Differential Revision: https://phabricator.services.mozilla.com/D154579
2022-08-22 20:48:34 +00:00
Marian-Vasile Laza
b92a6b8396 Backed out 2 changesets (bug 1784590) for causing mochitest failures on test_privateBrowsing.html.
Backed out changeset 36d36e75930f (bug 1784590)
Backed out changeset 35dbbd6dbb70 (bug 1784590)
2022-08-22 22:50:41 +03:00
Kagami Sascha Rosylight
695e5e60df Bug 1784590 - Part 2: Add use counters for unsupported APIs in PBM r=asuth
Depends on D154578

Differential Revision: https://phabricator.services.mozilla.com/D154579
2022-08-22 18:48:12 +00:00