Chris Peterson
2ef77b9ac9
Bug 1472618 - Make navigator.platform return "Win32", even on Win64 OS. r=peterv
...
navigator.platform returns "Win64" in 64-bit Firefox and IE, but "Win32" in 64-bit Chrome and Edge. "Win32" appears to be the de facto platform value for Windows. This change doesn't hide the OS architecture from web content because navigator.userAgent still mentions "Win64; x64" in 64-bit Firefox, Chrome, Edge, and IE.
MozReview-Commit-ID: CplYnGDQgTe
--HG--
extra : rebase_source : c00a1a7462ea91d44700dd0581c88c1c4cad2346
extra : source : 1976c327f251702be255a9d0769121c6bc5303a1
2018-07-02 11:02:23 -07:00
Jan de Mooij
50c616a988
Bug 1473865 part 3 - Inline nsJSUtils::GetStaticScriptGlobal into its callers. r=bz
2018-07-09 12:26:59 +02: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
Jeff Gilbert
5b753da289
Bug 1470325 - s/FooBinding/Foo_Binding/g - r=qdot
...
MozReview-Commit-ID: JtTcLL5OPF0
2018-06-26 17:05:01 -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
Chris Peterson
6eae5519e2
Bug 1461243 - Part 4: Remove obsolete CHECK_JAVA_ENABLED telemetry probe. r=jimm r=chutten
...
MozReview-Commit-ID: Gzpuluq22pO
--HG--
extra : rebase_source : 46f1eb9ebfb60ea8b3782fb9bb905d24647009b1
extra : intermediate-source : 238978e95ca941094824d82e483e395a7964db65
extra : source : 0703de4e8568784e6ef1e58b13bebbfff147be65
2017-04-29 01:03:56 -07:00
Boris Zbarsky
4643230674
Bug 1455055 part 6. Clean up HandleEvent implementations in dom. r=masayuki
...
MozReview-Commit-ID: Ht7HQEhVS8E
2018-04-20 00:49:30 -04:00
Boris Zbarsky
2b6097ae6d
Bug 1455055 part 1. Convert nsIDOMEventListener to taking an Event, not an nsIDOMEvent. r=masayuki
...
This does no cleanup other than what's needed to compile. Cleanup coming up in
later patches.
MozReview-Commit-ID: 3sOnkj71n09
2018-04-20 00:49:29 -04:00
Kyle Machulis
14f66cea5d
Bug 1452826 - Simplify vibrate permission handling; r=johannh
...
Vibration is the last user of permissions helper functions in
navigation, these can be simplified into the vibrate functionality.
MozReview-Commit-ID: CGA5WL7nObS
--HG--
extra : rebase_source : bdab714b0bd3a5774300ad71c07090a9565b75ea
2018-04-09 19:20:36 -07:00
Kyle Machulis
d2bad2c5cc
Bug 1452826 - Remove unused permissions code from Navigator; r=johannh
...
Removing unused CheckPermission, HasWifiManagerSupport, and
HasWakeLockSupport calls from Navigator.
MozReview-Commit-ID: Ck4c9gS0sfA
--HG--
extra : rebase_source : 9b6e57f25da34afa20d1ac024b714ed1b607f47b
2018-04-09 18:31:13 -07:00
Ben Kelly
6c73c2345a
Bug 1448012 P1 Add ServiceWorkerContainer::Create() factory method. r=asuth
2018-03-22 13:03:22 -07:00
Boris Zbarsky
631e1b2354
Bug 1442360 part 3. Remove nsScriptNamespaceManager, since now it's all dead code. r=peterv
...
MozReview-Commit-ID: DHRz2frjmT5
2018-03-21 23:18:51 -04:00
Kyle Machulis
584f1f8b59
Bug 1201590
- WebMIDI Content implementation; r=baku,padenot
...
MozReview-Commit-ID: HmiGV9iqAeM
--HG--
extra : rebase_source : 27ae72adf4997bdc8c0810515165434b08f1d390
2017-11-15 11:18:58 -08:00
Ben Kelly
75bf35692e
Bug 1440407 P2 Remove some unnecessary nsPIDOMWindowInner QI to nsIGlobalObject. r=mystor
2018-02-22 14:28:39 -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
Thomas Wisniewski
bd0b3ab10a
Bug 792808 - Migrate BodyExtractor away from using nsIXHRSendable; r=baku
...
MozReview-Commit-ID: 1fNcm1mPJJB
--HG--
extra : rebase_source : 443ad7309f2e6a064b54466ece967ced0c3155ea
2017-09-19 21:32:12 -04: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
Boris Zbarsky
478687c2e8
Bug 1434686 part 4. Use IgnoreErrors() in dom/. r=mystor
...
MozReview-Commit-ID: GwVDrTLPTOb
2018-02-01 14:21:14 -05:00
Andrea Marchesini
26352bfee1
Bug 1432963 - Fixing workers headers - part 17 - no LIBS=[workers] in moz.build files, r=smaug
2018-01-31 08:25:30 +01:00
Andrea Marchesini
7e52540256
Bug 1432963 - Fixing workers headers - part 16 - JSSettings in a workerinternals namespace, r=smaug
2018-01-31 08:24:59 +01: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
Andrea Marchesini
c6da271117
Bug 1425458 - Resource timing entries Workers - part 0 - NS_NewChannel, r=smaug
...
* * *
Bug 1425458 - Resource timing entries Workers - part 10 - Correct parameters in NS_NewChannel in nsDataObj.cpp, r=me
2018-01-24 17:17:31 +01:00
Brindusan Cristian
368c3d5b6b
Backed out 12 changesets (bug 1425458) for mochitest failures on WorkerPrivate.cpp on a CLOSED TREE
...
Backed out changeset 11997de13778 (bug 1425458)
Backed out changeset 100b9d4f36bc (bug 1425458)
Backed out changeset a29e9dbb8c42 (bug 1425458)
Backed out changeset b96d58fd945c (bug 1425458)
Backed out changeset f140da44ba68 (bug 1425458)
Backed out changeset af56400233d9 (bug 1425458)
Backed out changeset 7034af4332e4 (bug 1425458)
Backed out changeset f70500179140 (bug 1425458)
Backed out changeset 793bbfc23257 (bug 1425458)
Backed out changeset 2efb375a8ffc (bug 1425458)
Backed out changeset 07e781e37451 (bug 1425458)
Backed out changeset e875f3702a5f (bug 1425458)
2018-01-24 20:47:48 +02:00
Andrea Marchesini
6480b95ba3
Bug 1425458 - Resource timing entries Workers - part 0 - NS_NewChannel, r=smaug
2018-01-24 17:17:31 +01: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
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
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
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
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
Nika Layzell
f1ac9bf744
Bug 1419597 - Part 18: Remove IsInnerWindow and IsOuterWindow methods, r=smaug
...
MozReview-Commit-ID: DAAm6tLubhJ
2017-11-23 13:12:13 -05: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
Nika Layzell
3409141758
Bug 1414974 - Part 2: Switch many consumers to nsGlobalWindow{Inner,Outer}, r=smaug
...
This is a large patch which tries to switch many of the external consumers of
nsGlobalWindow to instead use the new Inner or Outer variants.
MozReview-Commit-ID: 99648Lm46T5
2017-11-09 10:44:47 -05:00
Tooru Fujisawa
74722701b4
Bug 1412283 - Remove navigator.mozE10sEnabled r=billm
2017-11-01 22:45:17 +09:00
Amy Chung
3eec3617b1
Bug 1399590 - Modify the argument of nsICookiePermission::CanAccess for changing nsIURI to nsIPrincipal. r=jdm
2017-10-03 14:37:11 +08:00
Kearwood "Kip" Gilbert
017d4c4b91
Bug 1389220 - Prevent navigator.activeVRDisplays from activating VR hardware and runtimes r=daoshengmu
...
MozReview-Commit-ID: JYMiGyT0iVY
--HG--
extra : rebase_source : 4bbf0879c1b7234f59e4b503f9dfbd80aad47f76
2017-09-20 15:39:35 -07:00
Nicholas Nethercote
f5c5231809
Bug 1382955 (part 1) - Remove MozPowerManager and related things. r=bz,gsvelto.
...
This includes the FactoryReset stuff.
2017-08-02 10:04:36 +10:00
Nicholas Nethercote
d4f9aa5530
Bug 1384835 (part 2, attempt 2) - Remove the Preferences::Get*String() variants that return nsAdoptingString. r=froydnj.
...
--HG--
extra : rebase_source : 6c24fbacb03d4adebe5f22b5e7fc60b069913f20
2017-07-31 14:23:50 +10:00
Nicholas Nethercote
2ecfb44f0a
Bug 1382099 - Remove MOZ_WIDGET_GONK from dom/{base,ipc,plugins}. r=mccr8.
2017-07-21 10:52:30 +10:00
Nicholas Nethercote
f1364a75ea
Bug 1374580 (part 3) - Remove ns{,C}Substring typedefs. r=froydnj.
...
All the instances are converted as follows.
- nsSubstring --> nsAString
- nsCSubstring --> nsACString
--HG--
extra : rebase_source : cfd2238c52e3cb4d13e3bd5ddb80ba6584ab6d91
2017-06-20 19:19:52 +10:00
Tim Huang
b6286c46af
Bug 1333651 - Part 2: Spoofing Navigator object when 'privacy.resistFingerprinting' is true. r=arthuredelstein,Ehsan
...
This patch makes navigator object to return spoofed value for fields have fingerprintable
concerns. This changes the worker navigator as well.
MozReview-Commit-ID: E2SLNZRfuVP
--HG--
extra : rebase_source : 960bafbe41382eba891ad807c37a822ba6a758c8
2017-06-01 14:54:59 +08:00
David Keeler
838ea1425f
bug 1332681 - part 4/4 - convert authentication.getAssertion to credentials.get r=jcj,qdot
...
MozReview-Commit-ID: 13EqlQVQApx
--HG--
extra : rebase_source : 5790d61619e4d4a0d4039b9379bcf06169bd762f
2017-05-23 14:55:10 -07:00
David Keeler
abac00aea3
bug 1332681 - part 3/4 - convert authentication.makeCredential to credentials.create r=jcj,qdot
...
MozReview-Commit-ID: 1xfsQqGCEcl
--HG--
rename : dom/webauthn/WebAuthentication.cpp => dom/credentialmanagement/CredentialsContainer.cpp
rename : dom/webauthn/WebAuthentication.h => dom/credentialmanagement/CredentialsContainer.h
extra : rebase_source : d92546a7f6a3780c6ec8790dfabb23a9ea29efbe
2017-05-22 17:09:49 -07:00