Граф коммитов

248 Коммитов

Автор SHA1 Сообщение Дата
Boris Zbarsky 3c20a5844b Bug 921496 part 1. Remove the one consumer of NavigatorProperty. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D40110

--HG--
extra : moz-landing-system : lando
2019-08-26 18:56:34 +00:00
Boris Zbarsky 19251f27ce Bug 1562680. Implement the new syntax for Web IDL dictionary defaulting. r=peterv
`= {}` can now be used to indicate that an optional dictionary should have the
default value of 'default-initialized dictionary'

Differential Revision: https://phabricator.services.mozilla.com/D36504

--HG--
extra : moz-landing-system : lando
2019-07-03 07:52:35 +00:00
Cosmin Sabou 3ef8d24958 Backed out changeset 8e16f13a88c8 (bug 1562680) for colliding with Bug 1366738 that was backed out. CLOSED TREE 2019-07-03 10:46:39 +03:00
Boris Zbarsky 73f095abc4 Bug 1562680. Implement the new syntax for Web IDL dictionary defaulting. r=peterv
`= {}` can now be used to indicate that an optional dictionary should have the
default value of 'default-initialized dictionary'

Differential Revision: https://phabricator.services.mozilla.com/D36504

--HG--
extra : moz-landing-system : lando
2019-07-03 06:44:36 +00:00
Mihai Alexandru Michis c7fc76c18f Backed out changeset 12653dd76667 (bug 1562680) for causing bustages in FuzzingFunctions.webidl CLOSED TREE 2019-07-03 09:34:48 +03:00
Boris Zbarsky 3a5c721abb Bug 1562680. Implement the new syntax for Web IDL dictionary defaulting. r=peterv
`= {}` can now be used to indicate that an optional dictionary should have the
default value of 'default-initialized dictionary'

Differential Revision: https://phabricator.services.mozilla.com/D36504

--HG--
extra : moz-landing-system : lando
2019-07-03 06:15:54 +00:00
Kearwood "Kip" Gilbert 816af12bb5 Bug 1466702 - Refactor / reimplement gfxVRPuppet and VRServiceTest to use gfxVRExternal r=daoshengmu,thomasmo,bzbarsky
gfxVRPuppet will be replaced with a fully asynchronous puppet automation that runs in the VR process.

Differential Revision: https://phabricator.services.mozilla.com/D26263

--HG--
extra : moz-landing-system : lando
2019-06-28 21:19:54 +00:00
Andrea Marchesini dbaf607895 Bug 1490044 - Remove DOMPrefs MACRO for WebIDL support. r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D33509

--HG--
extra : moz-landing-system : lando
2019-06-13 09:01:41 +00:00
Nico Grunbaum 705743fb99 Bug 1528078 - Adding WebRTC device access and deprecated interface telemetry r=jib,smaug
Adding telemetry for gUM, enumerate devices, and mozRTCPeerConnection

Differential Revision: https://phabricator.services.mozilla.com/D23103

--HG--
extra : moz-landing-system : lando
2019-05-03 23:50:22 +00:00
Boris Zbarsky 960ef74fa8 Bug 1535384 part 11. Remove MOZ_CAN_RUN_SCRIPT_BOUNDARY for getUserMedia callbacks. r=jib
nsIDOMGetUserMediaErrorCallback, nsIDOMGetUserMediaSuccessCallback,
and nsIGetUserMediaDevicesSuccessCallback were completely unused, so
they could just go away and all the code got simpler.

Differential Revision: https://phabricator.services.mozilla.com/D23782

--HG--
extra : moz-landing-system : lando
2019-03-19 04:36:46 +00:00
Boris Zbarsky a998830a71 Bug 1535124 part 2. Mark Web IDL callbacks MOZ_CAN_RUN_SCRIPT by default. r=qdot
We add a [MOZ_CAN_RUN_SCRIPT_BOUNDARY] opt-out for now to keep the tree
compiling.  The naming purposefully matches the C++ annotation that has a
similar effect, top make it easy to search for.

Differential Revision: https://phabricator.services.mozilla.com/D23520

--HG--
extra : moz-landing-system : lando
2019-03-19 12:59:54 +00:00
Boris Zbarsky fee4435d19 Bug 1532351. Remove idle observer API on navigator. r=farre
Differential Revision: https://phabricator.services.mozilla.com/D22029

--HG--
extra : moz-landing-system : lando
2019-03-05 08:32:57 +00:00
Gijs Kruitbosch 7ab8abdd16 Bug 1499092 - move bulk of registerProtocolHandler checks into compiled code so we don't need a dedicated component in the child process, r=nika
Differential Revision: https://phabricator.services.mozilla.com/D13697

--HG--
extra : moz-landing-system : lando
2018-12-13 13:47:39 +00:00
Tim Huang b88841d2fd Bug 1363508 - Part 3: Spoofing navigator.maxTouchPoints into 0 if fingerprinting resistance is enabled r=arthuredelstein,masayuki,smaug
The maxTouchPoints is going to review the detail of users' hardware. So,
we will spoof it into 0 if fingerprinting resistance is on.

Depends on D6004

Differential Revision: https://phabricator.services.mozilla.com/D6005

--HG--
extra : moz-landing-system : lando
2018-10-09 11:50:03 +00:00
Cosmin Sabou 679b5e2db1 Backed out 5 changesets (bug 1485040) for causing build bustages on test_mozwebidlcodegen. CLOSED TREE
Backed out changeset b417c2d937e8 (bug 1485040)
Backed out changeset c567c4c7438f (bug 1485040)
Backed out changeset 806c36cb2c4c (bug 1485040)
Backed out changeset 0fbb490ffc7f (bug 1485040)
Backed out changeset a9622e7761eb (bug 1485040)
2018-09-13 23:04:55 +03:00
Andrew McCreight 93b3b0138c Bug 1485040, part 5 - Automatically fix mode lines in WebIDL files r=qdot
This patch was generated by my modeline.py script.

MozReview-Commit-ID: EbVjPLwiUAT

Depends on D4159

Differential Revision: https://phabricator.services.mozilla.com/D4161

--HG--
extra : moz-landing-system : lando
2018-09-13 19:30:51 +00:00
Andrea Marchesini deaf03b28e Bug 1489844 - Port DOMPrefs to StaticPrefs - part 10 - dom.storageManager.enabled, r=ehsan 2018-09-10 20:36:16 +02:00
Anny Gakhokidze 469c8c4a94 Bug 1461465 - Implement async Clipboard APIs, r=nika,r=enndeakin
MozReview-Commit-ID: 3vCxbaGZtiv
2018-07-31 13:13:02 -04:00
Jean-Yves Avenard 83a8e7725c Bug 1409664 - P1. Add MediaCapabilities skeleton IDL. r=bz
Summary:
As per https://wicg.github.io/media-capabilities/#idl-index

Placed behind user pref media.mediacapabilities.enabled that is disabled by default

Tags: #secure-revision

Bug #: 1409664

Differential Revision: https://phabricator.services.mozilla.com/D1613
2018-07-03 11:45:15 -07:00
Chris Peterson a952ac2911 Bug 1461243 - Part 5: Stub out obsolete DOM API navigator.javaEnabled(). r=jimm r=bz
We can't remove navigator.javaEnabled() entirely because that would break any web content that tries to call the function.

MozReview-Commit-ID: KIOBrZuMu9r

--HG--
extra : rebase_source : 112ec5308d59e8d12a8ea540784ea157e575d09c
extra : intermediate-source : e9b145757c2f27440749408d9de31df7b5d60ff8
extra : source : 5fe4a7a8723bbd9cd954905cbf3937f45706d660
extra : histedit_source : a62c9571a53a834ef15778a01cb993d7e8dc3daa
2017-04-28 18:54:33 -07:00
Kyle Machulis 42ccaf67c7 Bug 1201590 - WebMIDI WebIDL files; r=baku
MozReview-Commit-ID: 8zpN6u0WmtA

--HG--
extra : rebase_source : c0e5a36f615a7d461fb243707c6fbf8954631b74
2017-11-14 22:02:57 -08:00
Jonathan Kingston 9f340d8168 Bug 1429732 - Use a pref to disable registerProtocolHandler in insecure contexts. r=baku,dao
MozReview-Commit-ID: 9NxFv57CyZO

--HG--
extra : rebase_source : 897ca40537493cc9df4bef7a538a5fdb04769889
2018-02-04 12:10:10 +00:00
Andreas Tolfsen 69ffb05558 Bug 1169290 - Guard navigator.webdriver behind dom.webdriver.enabled pref. r=bz,maja_zf
On the off chance exposing navigator.webdriver turns out
to be catastrophic, this patch introduces a new preference
dom.webdriver.enabled that controls its exposure.  This lets us
flip a pref on release without releasing an update.

MozReview-Commit-ID: KisaqPb0Y4V

--HG--
extra : rebase_source : 4000a1d283e70eda988262efc70de801eec3586a
2018-02-09 14:57:32 +00:00
Andreas Tolfsen fa29c293b1 Bug 1169290 - Add navigator.webdriver attribute. r=bz,maja_zf
This patch adds an enumerable, configurable, readonly attribute
"webdriver" to the Navigator object.  The attribute is true when the
-marionette flag has been passed to Firefox or the marionette.enabled
preference is true.  Otherwise it is false.

The definition of the interface is found in the WebDriver standard:

	https://w3c.github.io/webdriver/webdriver-spec.html#interface

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 fool-proof way to detect that
a website is being visited by a browser automation tool, but as a
tool for web documents to take alternate code paths.

MozReview-Commit-ID: D3qXVKqZG

--HG--
extra : rebase_source : ff6a1c5b281b5888f69aed6ffecee8b63ee81701
2018-01-27 19:42:17 +00:00
Sebastian Hengst 2154b22a29 Backed out changeset dcb60325f0cf (bug 1429732) for breaking uriloader/exthandler/tests/mochitest/mochitest.ini: runByManifest mode must be enabled to set the `prefs` key (fails at least on Android) 2018-02-08 19:02:48 +02:00
Jonathan Kingston cec85c2cae Bug 1429732 - Use a pref to disable registerProtocolHandler in insecure contexts. r=baku,dao
MozReview-Commit-ID: 9NxFv57CyZO

--HG--
extra : rebase_source : 59d21e85884c31aec88ed08300f0f3149ac075b7
2018-02-04 12:10:10 +00:00
Kyle Machulis ec22ae62ae Bug 1432271 - Remove dom/time; r=baku
dom/time contained the TimeService and TimeManager classes, used for
setting time via Gecko on FirefoxOS. Since FirefoxOS is no longer in
the code base, the directory can be removed.

MozReview-Commit-ID: 8PEk3e6HA67
2018-01-29 13:54:42 -08:00
Noemi Erli 97a87e010b Backed out 2 changesets (bug 1432271) for bustage in /builds/worker/workspace/build/src/obj-firefox/dist/include/mozilla/dom/Navigator.h:79:23 on a CLOSED TREE
Backed out changeset 7af7827525c8 (bug 1432271)
Backed out changeset 79b9d49e08db (bug 1432271)
2018-01-27 02:49:25 +02:00
Kyle Machulis 9c6223e5a0 Bug 1432271 - Remove dom/time; r=baku
dom/time contained the TimeService and TimeManager classes, used for
setting time via Gecko on FirefoxOS. Since FirefoxOS is no longer in
the code base, the directory can be removed.

MozReview-Commit-ID: 8PEk3e6HA67

--HG--
extra : rebase_source : 63a0a6c665792ab1885bd4f81261db9be887ffd1
2018-01-22 12:50:11 -08:00
Noemi Erli 52ab84dbf1 Backed out 4 changesets (bug 1381645) for failing in dom/tests/mochitest/general/test_interfaces.html on a CLOSED TREE
Backed out changeset 7b2482a5eb04 (bug 1381645)
Backed out changeset ef3252b0ba21 (bug 1381645)
Backed out changeset 7c022a5e28f2 (bug 1381645)
Backed out changeset 2f71c8989cc0 (bug 1381645)
2018-01-24 20:04:34 +02:00
Kearwood "Kip" Gilbert 3bd56e31c6 Bug 1381645 - Restrict access to WebVR to HTTPS only sites r=daoshengmu,smaug
MozReview-Commit-ID: BsqUzSH55nN

--HG--
extra : rebase_source : 054eca4ee6fb28c32534aa46d925beb49670899b
2017-11-22 15:57:23 -08:00
Boris Zbarsky bb72d7fd1d Bug 1431846 part 4. Remove nsIDOMNavigator and nsIMozNavigatorNetwork. r=mystor
MozReview-Commit-ID: LSgeY2dM6gv
2018-01-22 12:59:15 -05:00
Boris Zbarsky 2280e86208 Bug 1431846 part 1. Kill off unused attributes from nsIDOMNavigator. r=mystor
MozReview-Commit-ID: HUUYPLSjWpG
2018-01-22 12:59:15 -05:00
J.C. Jones e900b5ebc6 Bug 1430947 - Add [SecureContext] to navigator.credentials r=bz
It was neglected to mark navigator.credentials as [SecureContext], yet it
must be for spec compliance and powerful-features compliance.

MozReview-Commit-ID: BYKGqqhoS2L

--HG--
extra : rebase_source : 441be2ae91d51cfff1ed5a8d1e96db4f9a3c917c
2018-01-16 19:11:44 -07:00
Nika Layzell a0d1f16079 Bug 1383876 - Part 1: Remove GroupedSHistory and Prerendering logic from C++ code, r=freesamael, r=smaug
MozReview-Commit-ID: 2aHA6NcQPGk
2018-01-12 17:52:52 -05:00
Jonathan Kingston 76cec81940 Bug 1398169 - Use pref to disable registerContentHandler in non stable builds. r=baku,dao
MozReview-Commit-ID: Gbo1wFr8XU6

--HG--
extra : rebase_source : 422efb30dcf6d8f5da395fc50ccb36c0f4cc0cc6
2018-01-08 02:18:31 +00:00
Kyle Machulis 5cd6c64525 Bug 952453 - Remove mozNotification API; r=mattn r=baku
MozReview-Commit-ID: 3TMxnPRSh1j


--HG--
rename : dom/tests/mochitest/notification/desktop-notification/test_system_principal.xul => dom/notification/test/chrome/test_notification_system_principal.xul
rename : dom/tests/mochitest/notification/desktop-notification/create_notification.html => dom/notification/test/mochitest/create_notification.html
rename : dom/tests/mochitest/notification/desktop-notification/test_notification_tag.html => dom/notification/test/mochitest/test_notification_tag.html
2018-01-08 14:56:22 -08:00
Andrea Marchesini 01fd1fc62e Bug 1419771 - Introduce DOMPrefs, a thread-safe access to preferences for DOM - part 10 - StorageManager enabled, r=asuth 2018-01-08 14:05:04 +01:00
Kyle Machulis 7b2fb44f60 Backing out 8fd1d4a79a48 (Bug 952453) due to notification bustage on MacOS
MozReview-Commit-ID: BeziRSoUvh2
2018-01-04 14:50:21 -08:00
Kyle Machulis 4feebf20a1 Bug 952453 - Remove mozNotification; r=baku
MozReview-Commit-ID: 5wAa5mYFDq4
2017-12-10 12:40:05 -08:00
shindli 3dbeae82e5 Backed out 2 changesets (bug 1424571, bug 952453) for FATAL ERROR PROCESSING MOZBUILD FILE r=backout on a CLOSED TREE
Backed out changeset c05f6d6df510 (bug 1424571)
Backed out changeset 2e682c1841a1 (bug 952453)

--HG--
rename : dom/notification/test/mochitest/MockServices.js => dom/tests/mochitest/notification/MockServices.js
rename : dom/notification/test/mochitest/NotificationTest.js => dom/tests/mochitest/notification/NotificationTest.js
rename : dom/notification/test/mochitest/mochitest.ini => dom/tests/mochitest/notification/mochitest.ini
rename : dom/notification/test/mochitest/test_bug931307.html => dom/tests/mochitest/notification/test_bug931307.html
rename : dom/notification/test/mochitest/test_notification_basics.html => dom/tests/mochitest/notification/test_notification_basics.html
rename : dom/notification/test/mochitest/test_notification_storage.html => dom/tests/mochitest/notification/test_notification_storage.html
2017-12-10 07:46:19 +02:00
Kyle Machulis abd8d10b15 Bug 952453 - Remove mozNotification; r=baku
MozReview-Commit-ID: 5wAa5mYFDq4
2017-12-09 21:25:56 -08:00
Noemi Erli 1750c2726f Backed out changeset 8c5d173f19b4 (bug 1381645) for mochitest test failures e.g. dom/vr/test/mochitest/test_vrDisplay_exitPresent.html r=backout on a CLOSED TREE 2017-12-08 02:04:40 +02:00
Kearwood "Kip" Gilbert 40bf3186a0 Bug 1381645 - Restrict access to WebVR to HTTPS only sites r=daoshengmu,smaug
MozReview-Commit-ID: BsqUzSH55nN

--HG--
extra : rebase_source : 85ba09aea7bd050a14dc7853ac412c4f75bc3dc0
2017-11-22 15:57:23 -08:00
Boris Zbarsky 03a54660f0 Bug 1423079. Remove the now-unused navigator.cpuHasSSE2 property. r=mystor
MozReview-Commit-ID: 7Zx6xvwWjXZ
2017-12-05 16:03:18 -05:00
Cosmin Sabou 5c4663243d Backed out 23 changesets (bug 1419771) for frequently failing service workers related devtools tests, e.g. devtools/client/aboutdebugging/test/browser_service_workers_push.js. r=backout on a CLOSED TREE
Backed out changeset 2242edc902a5 (bug 1419771)
Backed out changeset 9cc3c29a9e36 (bug 1419771)
Backed out changeset c39ee002c825 (bug 1419771)
Backed out changeset caf7428013f2 (bug 1419771)
Backed out changeset c03970363433 (bug 1419771)
Backed out changeset 7f9de012861e (bug 1419771)
Backed out changeset ed146ac42a7f (bug 1419771)
Backed out changeset a8154698f782 (bug 1419771)
Backed out changeset 8a54c1c8d45d (bug 1419771)
Backed out changeset e32cd55b4c96 (bug 1419771)
Backed out changeset b7f342f436ef (bug 1419771)
Backed out changeset 60464b3e468f (bug 1419771)
Backed out changeset 108806f14ad8 (bug 1419771)
Backed out changeset 65998b0740f3 (bug 1419771)
Backed out changeset 0d23880842d8 (bug 1419771)
Backed out changeset 862aeaa2fefd (bug 1419771)
Backed out changeset cbc192478bf5 (bug 1419771)
Backed out changeset c58ef2a91bad (bug 1419771)
Backed out changeset 2b0a4bfd654f (bug 1419771)
Backed out changeset f182eba574f9 (bug 1419771)
Backed out changeset d9999a624097 (bug 1419771)
Backed out changeset 4050a1b8db2b (bug 1419771)
Backed out changeset a1a68e6500d9 (bug 1419771)
2017-11-30 22:35:32 +02:00
Andrea Marchesini cd7b81714c Bug 1419771 - Introduce DOMPreferences, a thread-safe access to preferences for DOM - part 11 - StorageManager enabled, r=asuth 2017-11-30 18:16:45 +01:00
Johann Hofmann d28b4dd837 Bug 1374574 - Remove the FlyWeb service and DOM interfaces. r=bz,djvj
MozReview-Commit-ID: 4hp9pLbMh4R

--HG--
extra : rebase_source : 82f417640211ede4fd7aa290c1f2609b07f38025
2017-11-22 15:00:10 +01:00
Adam Gashlin 516257bf9d Bug 1369194 - Remove navigator.requestWakeLock(). r=gsvelto, r=baku
--HG--
extra : histedit_source : b0e47d20d2064273759d387c55acf51ae749920c
2017-11-17 15:17:57 -08:00
Tooru Fujisawa 74722701b4 Bug 1412283 - Remove navigator.mozE10sEnabled r=billm 2017-11-01 22:45:17 +09:00