Gijs Kruitbosch
e82f42a175
Bug 1717833 - reorder asserting for non-external protocols and checking external prefs disallowing registering some schemes, r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D118715
2021-06-24 17:03:51 +00:00
Nika Layzell
078b4f35fc
Bug 1715144 - Part 1: Stop adding /ipc/glue to LOCAL_INCLUDES when including chromium-config.mozbuild, r=ipc-reviewers,necko-reviewers,mccr8,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D117103
2021-06-09 04:56:48 +00:00
Marcos Cáceres
d40e7b3730
Bug 1704005 - Add SecureContext and Permissions Policy to Gamepad API r=johannh,emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D111360
2021-06-04 15:04:33 +00:00
Butkovits Atila
3c914d7300
Backed out changeset e4e70f6b0108 (bug 1704005) for causing failures in Event-timestamp-high-resolution.html. CLOSED TREE
2021-06-04 10:01:31 +03:00
Marcos Cáceres
5279673d83
Bug 1704005 - Add SecureContext and Permissions Policy to Gamepad API r=johannh,emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D111360
2021-06-04 04:28:50 +00:00
Csoregi Natalia
509b23ff1f
Backed out changeset 039d90d5ec6b (bug 1704005) for failures on test_hide_gamepad_info.html. CLOSED TREE
2021-06-02 10:45:13 +03:00
Marcos Cáceres
76a6ca8722
Bug 1704005 - Add SecureContext and Permissions Policy to Gamepad API r=johannh,emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D111360
2021-06-02 01:54:07 +00:00
Henrik Skupin
e193bc7644
Bug 1695031 - Combine build flags --disable-marionette and --enable-cdp as --disable-webdriver. r=firefox-build-system-reviewers,Gijs,smaug,keeler,jdescottes,glandium
...
Differential Revision: https://phabricator.services.mozilla.com/D115583
2021-05-25 09:13:28 +00:00
Chris Peterson
f35d4e8ee6
Bug 1711628 - navigator.platform: Avoid unnecessary do_GetService("http") on Windows and macOS. r=hsivonen
...
Depends on D115332
Differential Revision: https://phabricator.services.mozilla.com/D115333
2021-05-19 05:40:45 +00:00
Karl Tomlinson
2f434f6f29
Bug 1709474 move mozGetUserMediaDevices from Navigator to GetUserMediaRequest r=jib,webidl,geckoview-reviewers,smaug,agi
...
Differential Revision: https://phabricator.services.mozilla.com/D111565
2021-05-06 05:16:49 +00:00
Karl Tomlinson
356631c13d
Bug 1709484 Move eUseCounter_custom_MozGetUserMediaInsec from mozGetUserMediaDevices to mozGetUserMedia r=jib
...
Differential Revision: https://phabricator.services.mozilla.com/D114291
2021-05-06 04:39:24 +00:00
Csoregi Natalia
11afa1c30e
Backed out 2 changesets (bug 1709484, bug 1709474) for geckoview fails on testDeviceRecordingEventAudioAndVideo. CLOSED TREE
...
Backed out changeset 069415280f6d (bug 1709474)
Backed out changeset 3853186911c9 (bug 1709484)
2021-05-06 03:38:52 +03:00
Karl Tomlinson
8bfa43a140
Bug 1709474 move mozGetUserMediaDevices from Navigator to GetUserMediaRequest r=jib,webidl,geckoview-reviewers,smaug,agi
...
Differential Revision: https://phabricator.services.mozilla.com/D111565
2021-05-05 23:04:13 +00:00
Karl Tomlinson
95e0cc35de
Bug 1709484 Move eUseCounter_custom_MozGetUserMediaInsec from mozGetUserMediaDevices to mozGetUserMedia r=jib
...
Differential Revision: https://phabricator.services.mozilla.com/D114291
2021-05-05 23:04:12 +00:00
Mayeul Cantan
eb6a81565f
Bug 1688030 - Safelist matrix scheme. r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D113023
2021-04-22 15:33:43 +00:00
Agi Sferro
f4825f907a
Bug 1696145 - Support Notification.silent and .vibrate on Android. r=smaug,droeh,aklotz
...
Differential Revision: https://phabricator.services.mozilla.com/D111924
2021-04-20 18:35:36 +00:00
Csoregi Natalia
932777215d
Backed out 2 changesets (bug 1696145) for causing build bustage on notifications. CLOSED TREE
...
Backed out changeset 2e18b65dd133 (bug 1696145)
Backed out changeset 6d302afe732f (bug 1696145)
2021-04-20 20:13:56 +03:00
Agi Sferro
b0e435b77a
Bug 1696145 - Support Notification.silent and .vibrate on Android. r=smaug,droeh,aklotz
...
Differential Revision: https://phabricator.services.mozilla.com/D111924
2021-04-20 16:38:45 +00:00
David Parks
83acccf881
Bug 1682030 - Reduce nsMimeTypeArray and nsPluginArray to "constants" r=jmathies
...
We still use these types so that the typing of these arrays in navigator follows the spec but they are never populated since we have removed all NPAPI plugin support. So these classes are greatly simplified.
Differential Revision: https://phabricator.services.mozilla.com/D107151
2021-04-06 19:28:16 +00:00
Csoregi Natalia
c1ab4757eb
Backed out 24 changesets (bug 1682030) for bustage on ProcessHangMonitor.cpp and nsCOMPtr.h. CLOSED TREE
...
Backed out changeset 5b1644096477 (bug 1682030)
Backed out changeset 35ae60eea3c7 (bug 1682030)
Backed out changeset 3eca76a6d639 (bug 1682030)
Backed out changeset 259c45447ad9 (bug 1682030)
Backed out changeset de9222dc8c31 (bug 1682030)
Backed out changeset 2986c7e14349 (bug 1682030)
Backed out changeset 6af3410bdb93 (bug 1682030)
Backed out changeset 42b0621c2927 (bug 1682030)
Backed out changeset 366e3e371858 (bug 1682030)
Backed out changeset 9adb2865adea (bug 1682030)
Backed out changeset 6af6af3bc03a (bug 1682030)
Backed out changeset da94a91b35ae (bug 1682030)
Backed out changeset 9143da258d0e (bug 1682030)
Backed out changeset 5e20d06952ba (bug 1682030)
Backed out changeset 6253d7e1ce7d (bug 1682030)
Backed out changeset 0e06ddeea3e2 (bug 1682030)
Backed out changeset 9c58d57c9e44 (bug 1682030)
Backed out changeset e90edd89430e (bug 1682030)
Backed out changeset 5861b8166b10 (bug 1682030)
Backed out changeset b4b88cdc7993 (bug 1682030)
Backed out changeset b80054e9805c (bug 1682030)
Backed out changeset 580d857674c0 (bug 1682030)
Backed out changeset a9cdf93c2662 (bug 1682030)
Backed out changeset 9c9c8b4998e2 (bug 1682030)
2021-04-06 03:54:12 +03:00
David Parks
0e50c9fd85
Bug 1682030 - Reduce nsMimeTypeArray and nsPluginArray to "constants" r=jmathies
...
We still use these types so that the typing of these arrays in navigator follows the spec but they are never populated since we have removed all NPAPI plugin support. So these classes are greatly simplified.
Differential Revision: https://phabricator.services.mozilla.com/D107151
2021-04-05 23:48:39 +00:00
Tim Huang
3b1312ca91
Bug 1701813 - Fix Navigator::CookieEnabled r=dimi
...
Differential Revision: https://phabricator.services.mozilla.com/D110202
2021-03-30 13:16:17 +00:00
Karl Tomlinson
5970669404
Bug 1698238 remove unused mozGetUserMediaDevices() constraints parameter r=pehrsons,webidl,smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D108372
2021-03-30 07:52:12 +00:00
Alexandru Michis
a57de04bc6
Backed out 7 changesets (bug 1698238) for causing mda failures in mozGetUserMediaDevices.
...
CLOSED TREE
Backed out changeset ced3a595578f (bug 1698238)
Backed out changeset 9fbbeadcb724 (bug 1698238)
Backed out changeset 90315eae4c9d (bug 1698238)
Backed out changeset ef9119db5670 (bug 1698238)
Backed out changeset 936e27e7b234 (bug 1698238)
Backed out changeset 6f32420b1ca5 (bug 1698238)
Backed out changeset 39d307ba24d4 (bug 1698238)
2021-03-30 07:20:46 +03:00
Karl Tomlinson
cf7087be1d
Bug 1698238 remove unused mozGetUserMediaDevices() constraints parameter r=pehrsons,webidl,smaug
...
Depends on D108371
Differential Revision: https://phabricator.services.mozilla.com/D108372
2021-03-29 23:42:49 +00:00
Tim Huang
0470c65b89
Bug 1695050 - Part 2: Modify CookieJarSettings::Create() to be able to creat cookieJarSettings according to the browsing mode. r=dimi,preferences-reviewers
...
This patch modifies the current CookieJarSettings::Create() function.
It removes the current function and adds two variants. One takes the
nsIPrincipal as input and another takes the enum value. The new
functions will test if the input is for the private browsing window to
create the corresponding cookieJarSettings.
Differential Revision: https://phabricator.services.mozilla.com/D109045
2021-03-29 11:01:51 +00:00
Kagami Sascha Rosylight
cab0096c32
Bug 1697680 - Remove Presentation API implementation r=smaug,agi
...
Differential Revision: https://phabricator.services.mozilla.com/D108574
2021-03-16 18:21:12 +00:00
Horst
49140de222
Bug 1685883 - building with --disable-marionette fails with compile error r=keeler,whimboo,smaug
...
building firefox 84.0.2 from source (https://archive.mozilla.org/pub/firefox/releases/84.0.2/source/ ) fails when using `ac_add_options --disable-marionette` because of missing header
Differential Revision: https://phabricator.services.mozilla.com/D101390
2021-03-04 11:56:54 +00:00
Henrik Skupin
fcc53c54cc
Bug 1632821 - [dom] Base navigator.webdriver on nsIMarionette::running instead of marionette.enabled perference. r=smaug
...
The "marionette.enabled" preference will be removed because it
should no longer be used to determine if Marionette enabled or not.
As such the enabled / running state can be retrieved via the
nsIMarionette XPCOM service.
Differential Revision: https://phabricator.services.mozilla.com/D106779
2021-03-02 13:45:33 +00:00
Alexis Beingessner
75fb3d61d0
Bug 1686616 - make IO use Components instead of Services. r=kmag
...
Differential Revision: https://phabricator.services.mozilla.com/D105530
2021-02-18 13:26:32 +00:00
Alexis Beingessner
8318b261c4
Bug 1686616 - make PermissionManager use Components instead of Services. r=kmag
...
Differential Revision: https://phabricator.services.mozilla.com/D105528
2021-02-18 13:26:31 +00:00
Simon Giesecke
e9ec81a5b1
Bug 1679987 - Use nsTokenizedRange where easily possible. r=xpcom-reviewers,nika
...
Differential Revision: https://phabricator.services.mozilla.com/D98308
2020-12-16 19:10:34 +00:00
Karl Tomlinson
d1f585ea94
Bug 1675891 move input validation to implement already-rejected Promise return values for getUserMedia() r=jib
...
The navigator.mozGetUserMedia() fully active test is merged into the existing single-level
active test with a synchronous exception. The async error dispatch for empty constraints,
which aligns with the spec, is retained.
Differential Revision: https://phabricator.services.mozilla.com/D96519
2020-11-17 04:04:25 +00:00
Sylvestre Ledru
68b806d604
Bug 1674637 - Use nested namespaces in dom/ r=sg,andi
...
Also add some missing namespace qualifications
Done with:
./mach static-analysis check --checks="-*,modernize-concat-nested-namespaces" --fix dom/
./mach clang-format -p $(hg status dom/|grep ^M|awk '{print $2}')
Differential Revision: https://phabricator.services.mozilla.com/D95456
2020-11-04 17:04:01 +00:00
Butkovits Atila
a6e7dcc53f
Backed out changeset c0adbf7522dc (bug 1674637) for bustage on GMPParent.cpp. CLOSED TREE
2020-11-04 10:54:36 +02:00
Sylvestre Ledru
8f709b39e8
Bug 1674637 - Use nested namespaces in dom/ r=sg,andi
...
Also add some missing namespace qualifications
Done with:
./mach static-analysis check --checks="-*,modernize-concat-nested-namespaces" --fix dom/
./mach clang-format -p $(hg status dom/|grep ^M|awk '{print $2}')
Differential Revision: https://phabricator.services.mozilla.com/D95456
2020-11-04 08:29:00 +00:00
Frederic Wang
914c96f355
Bug 1631464 Remove the title argument from registerProtocolHandler() r=smaug
...
See https://groups.google.com/g/mozilla.dev.platform/c/T633aemFPJU/m/dbv5_iB8AgAJ
Differential Revision: https://phabricator.services.mozilla.com/D71714
2020-10-27 14:10:22 +00:00
Marcos Cáceres
77f83a4fa0
Bug 1661174 - restrict schemes supported by Web Share API r=edgar,ckerschb
...
Restrict to "loadable" URLs. Also exclude blob URLs.
Differential Revision: https://phabricator.services.mozilla.com/D88371
2020-09-23 01:10:11 +00:00
Bogdan Tara
c79ddf8ce9
Backed out changeset 697a0ad573c6 (bug 1661174) for PromptDelegateTest failures CLOSED TREE
2020-09-06 14:21:38 +03:00
Marcos Cáceres
848ba17020
Bug 1661174 - restrict schemes supported by Web Share API r=edgar
...
Restrict to "loadable" URLs. Also exclude blob URLs.
Edgar,
This includes Marcos' fix. Apparently I can push revisions without commandeering it, so the last few are mine alone. What appears to have happened is that the fix bounced due to Windows builders not being configured to support sharing (I ran these locally and they pass). Including these as expected failures on Windows seems to work (I ran this on try, and missed a test, as you can see from history).
Try run here: https://treeherder.mozilla.org/#/jobs?repo=try&revision=3ebecf71d5732d4dc0438f4d7b714f94b881353a (I since added wss to the expected failures).
Differential Revision: https://phabricator.services.mozilla.com/D88371
2020-09-02 11:52:16 +00:00
Mihai Alexandru Michis
26ec4afd71
Backed out changeset a2f86092c968 (bug 1661174) for causing wpt failures in share-url-invalid.https.html
...
CLOSED TREE
2020-08-31 17:12:24 +03:00
Marcos Cáceres
22775b90d7
Bug 1661174 - restrict schemes supported by Web Share API r=mt
...
Restrict to "loadable" URLs. Also exclude blob URLs.
Differential Revision: https://phabricator.services.mozilla.com/D88371
2020-08-27 06:11:54 +00:00
Marcos Cáceres
549f8af37f
Bug 1657788 - Refactor SendShare() to use promise instead of callback r=jya
...
Differential Revision: https://phabricator.services.mozilla.com/D85986
2020-08-07 02:38:41 +00:00
Marcos Cáceres
2063b1e7ca
Bug 1657071 - Restrict getGamepads() to secure contexts for Beta r=kip
...
release SecureContext restriction to 81 beta channel.
Differential Revision: https://phabricator.services.mozilla.com/D85830
2020-08-07 02:30:25 +00:00
Simon Giesecke
1fbb2b245e
Bug 1654992 - Use std::move instead of SwapElements where possible. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D84807
2020-08-04 11:27:07 +00:00
Marcos Cáceres
b4657441ba
Bug 1653199 - Add web-share permission policy r=ckerschb
...
Restrict navigator.share() to web-share permission policy
Differential Revision: https://phabricator.services.mozilla.com/D83903
2020-08-04 05:30:35 +00:00
Noemi Erli
c5adcfe981
Backed out 4 changesets (bug 1654992, bug 1654991) for causing timeous in mask-opacity-1e.html
...
Backed out changeset 11f0f54c6e0a (bug 1654992)
Backed out changeset a353dd5b3f08 (bug 1654991)
Backed out changeset 6a7964ba549f (bug 1654991)
Backed out changeset cf3bfb91d98c (bug 1654991)
2020-08-03 22:09:36 +03:00
Simon Giesecke
9d2e516112
Bug 1654992 - Use std::move instead of SwapElements where possible. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D84807
2020-08-03 14:54:18 +00:00
Chris Peterson
e5e503fb2f
Bug 1655285 - Part 2: Return an "Intel" User-Agent string on ARM64 macOS. r=smaug
...
Safari returns an "Intel" User-Agent string (and "MacIntel" navigator.platform) on ARM64 macOS (presumably for web compat) and on iPadOS (so sites serve desktop page layouts). We should follow Safari's lead for Firefox on ARM64 macOS.
Note that I do not have an Apple Silicon DTK so I have not personally tested this change on ARM64 macOS. Based on visual inspection of our User-Agent string code, I expect Firefox's current User-Agent string on ARM64 macOS is "Mozilla/5.0 (Macintosh; Mac OS X 10.16; rv:80.0) Gecko/20100101 Firefox/80.0" (and navigator.oscpu is " Mac OS X 10.16"). Note the missing "Intel" and extra space before "Mac OS X".
Example webcompat breakage even in mozilla-central: the Octane JS benchmark assumes Firefox's macOS navigator.platform will never return any values other than "MacIntel" or "MacPPC":
https://searchfox.org/mozilla-central/rev/dcd9c2d2bc19d96d487825eb70c2333a4d60994e/js/src/octane/gbemu-part1.js#659-669
Differential Revision: https://phabricator.services.mozilla.com/D84912
2020-08-01 06:04:33 +00:00
Chris Peterson
d6de5ea766
Bug 1655285 - Part 1: Remove dead code for Mac PPC User-Agent string. r=necko-reviewers,smaug,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D84911
2020-08-01 06:04:10 +00:00