Commit Graph

309 Commits

Author SHA1 Message Date
Kyle Machulis
3d7e88f159 Bug 1201590 - WebMIDI Content implementation; r=baku,padenot
MozReview-Commit-ID: HmiGV9iqAeM
2017-11-15 11:18:58 -08:00
Andreas Tolfsen
011350e739 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
2018-01-27 19:42:17 +00:00
Kyle Machulis
0a53e994dd 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
62cc21febf 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
c46ce15107 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-22 12:50:11 -08:00
Boris Zbarsky
ae5ff5f5b6 Bug 1431846 part 4. Remove nsIDOMNavigator and nsIMozNavigatorNetwork. r=mystor
MozReview-Commit-ID: LSgeY2dM6gv
2018-01-22 12:59:15 -05:00
Boris Zbarsky
7ae65802f8 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
bad8b0e11f Bug 952453 - Remove mozNotification API; r=mattn r=baku
MozReview-Commit-ID: 3TMxnPRSh1j
2018-01-08 14:56:22 -08:00
Kyle Machulis
a28c2eeaf2 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
a2d6953beb Bug 952453 - Remove mozNotification; r=baku
MozReview-Commit-ID: 5wAa5mYFDq4
2017-12-10 12:40:05 -08:00
shindli
490bbfc5b2 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)
2017-12-10 07:46:19 +02:00
Kyle Machulis
a85e9841b3 Bug 952453 - Remove mozNotification; r=baku
MozReview-Commit-ID: 5wAa5mYFDq4
2017-12-09 21:25:56 -08:00
Boris Zbarsky
d7201f7837 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
14f7e20d7d Bug 1374574 - Remove the FlyWeb service and DOM interfaces. r=bz,djvj
MozReview-Commit-ID: 4hp9pLbMh4R
2017-11-22 15:00:10 +01:00
Adam Gashlin
705e63312f Bug 1369194 - Remove navigator.requestWakeLock(). r=gsvelto, r=baku 2017-11-17 15:17:57 -08:00
Tooru Fujisawa
e6dc71e344 Bug 1412283 - Remove navigator.mozE10sEnabled r=billm 2017-11-01 22:45:17 +09:00
Nicholas Nethercote
1dde4c33d7 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
David Keeler
27aafee2a1 bug 1332681 - part 4/4 - convert authentication.getAssertion to credentials.get r=jcj,qdot
MozReview-Commit-ID: 13EqlQVQApx
2017-05-23 14:55:10 -07:00
David Keeler
343544d847 bug 1332681 - part 3/4 - convert authentication.makeCredential to credentials.create r=jcj,qdot
MozReview-Commit-ID: 1xfsQqGCEcl
2017-05-22 17:09:49 -07:00
Kearwood Gilbert
a73a762350 Bug 1362213 - Implement chrome-only API to manage VR sessions r=daoshengmu,kanru,smaug
- Added new chrome-only webidl methods to be used by browser UI and WebExtensions
- Implemented bitmasked group visibility for VR sessions to enable switching
  between chrome and regular content presentations.
- Implemented throttling mechanism to avoid runaway, unthrottled render loops
  for VR sessions that are hidden by group visibility bitmasks or due to
  lower level platform VR events, such as during the Oculus
  "Health and Safety Warning".
- Simplified the PVRManager IPC protocol while extending it to support
  VR session groups and later WebVR content performance profiling API's.
- Removed the last WebVR related sync IPC call.


MozReview-Commit-ID: BMEIPyYeEbq
2017-05-08 16:01:36 -07:00
Mike Hommey
edfca7916a Bug 1357649 - Remove remnants of AudioChannelManager. r=bz 2017-04-19 15:55:28 +09:00
Ehsan Akhgari
647178393f Bug 1347425 - Part 1: Move site-specific Navigator.userAgent overrides to a more efficient C++ implementation; r=baku,schien
Necko computes this information in order to set the User-Agent header in
the parent process.  This header is set on all outgoing requests, and
therefore in the content process we can easily copy the value of this
header from the document channel object instead of the inefficient sync
IPC that currently happens in order to access the JavaScript
implementation living in the parent process.
2017-03-28 22:10:33 -04:00
Andrea Marchesini
c618efd482 Bug 1299500 - Get rid of DeviceStorage API - part 4 - Navigator, r=ehsan 2017-03-08 20:15:44 +01:00
Andrea Marchesini
69e47e72fb Bug 1299500 - Get rid of DeviceStorage API - part 3 - DeviceStorageAreaListener, r=ehsan 2017-03-08 20:15:44 +01:00
Daosheng Mu
efa5e454ad Bug 1323328 - Part 1: Implement VRServiceTest for helping insert VR test data; r=baku,kip
MozReview-Commit-ID: 9IoUL6MEVGj
2017-03-01 18:33:28 +08:00
Andrea Marchesini
5f1cbea616 Bug 1337722 - Use BufferSource in webIDL, r=qdot 2017-02-09 10:37:54 +01:00
Boris Zbarsky
a99f28770d Bug 1335368 part 16. Remove the use of IsCallerChrome in GetUserMedia. r=jib 2017-02-01 15:43:38 -05:00
Andrea Marchesini
d82cd5dbb5 Bug 1329298 - Part 3 - Use application/octet-stream for arrayBuffer in sendBeacon, r=smaug 2017-01-24 12:14:27 +01:00
Andrea Marchesini
cef12d2d65 Bug 1329298 - Part 1 - Unify body extraction in Fetch/Beacon/XHR, r=smaug 2017-01-24 12:13:31 +01:00
J.C. Jones
2e705f6864 Bug 1309284 - Implement W3C Web Authentication JS API [part 1] r=keeler,qdot
This patch implements the W3C Web Authentication API from
https://www.w3.org/TR/webauthn/, currently the 28 September 2016
working draft.

It utilizes a tentative binding of the U2F NSS Soft Token to provide
authentication services while waiting on Bug 1245527 to support USB HID-based
U2F tokens. This binding is not in the specification yet, so it should be
considered an experiment to help the specification move fowrard.

There are also a handful of deviations from the specification's WebIDL, which
are annotated with comments in WebAuthentication.webidl.

There are no tests in this commit; they are in Part 4 of this commit series.
There is a small script online at https://webauthn.bin.coffee/ to exercise this
code, but it doesn't do any automated checks.

There are also a handful of TODOS:
1) The algorithm to relax the same-origin restriction is in Part 3.
2) The use of AlgorithmIdentifier and having a way to coerce an object to a
   string is still missing.
3) Timeouts and deadlines aren't there, and are pending reworking how
   the nsIU2FToken interface works.

UPDATED:
- Address qdot, keeler review comments (thanks!)
- Address more qdot, keeler review comments (thanks!)

MozReview-Commit-ID: JITapI38iOh
2017-01-09 13:22:49 -07:00
Daosheng Mu
f565e6c7c7 Bug 1315896 - Part 1: Remove MOZ_GAMEPAD in DOM API; r=qdot
MozReview-Commit-ID: IgvMuXlE5BS
2016-12-08 12:59:06 -10:00
Boris Zbarsky
7ae24d74fb Bug 1324035 part 2. Stop using nsContentUtils::ThreadSafeIsCallerChrome in nsMimeTypeArray. r=qdot 2016-12-17 00:25:52 -05:00
Boris Zbarsky
2ec6a09bfd Bug 1317591. Get rid of IsCallerChrome usage in Navigator. r=bkelly
This restores the throwing behavior for .userAgent/appVersion/platform that was
incorrectly removed in bug 925847.
2016-11-15 17:44:43 -05:00
Michelangelo De Simone
ffa886adf2 Bug 1312800 - Remove dom/inputport. r=jst
MozReview-Commit-ID: BhvPV6lIWd3
2016-11-10 15:39:45 -08:00
Michelangelo De Simone
7afbfd107d Bug 1310864 - Remove DOM/(contacts, mobileconnection, icc) and related code. r=jst
MozReview-Commit-ID: Az4PTYFUKW8
2016-11-03 13:55:36 -07:00
Phil Ringnalda
4ef1e5747b Backed out changeset 27695ca9f8cd (bug 1310864) for failures in test_navigator_resolve_identity.html, test_bug707564.html, and test_dom_xrays.html 2016-10-31 19:39:06 -07:00
Michelangelo De Simone
3f59b09ce2 Bug 1310864 - Remove DOM/(contacts, mobileconnection, icc) and related code. r=jst
MozReview-Commit-ID: 2tWZc6hMtk5
2016-10-28 17:53:58 -07:00
Michelangelo De Simone
78f700fcaa Bug 1310020 - Remove DOM/bluetooth and related code. r=jst
MozReview-Commit-ID: IEhwzzBgb3x
2016-10-28 14:25:23 -07:00
Michelangelo De Simone
77c0bd03a9 Bug 1309719 - Remove DOM/telephony and related code. r=ehsan+251051
MozReview-Commit-ID: Gv3vnyH4Csi
2016-10-12 15:19:09 -07:00
Michelangelo De Simone
679e26c089 Bug 1310859 - Remove DOM/nfc and related code. r=jst
MozReview-Commit-ID: FiS7uGytipN
2016-10-18 15:16:56 -07:00
Ralph Giles
2784821ed8 Bug 1277359 - Add chrome-only navigator.cpuHasSSE2 api. r=smaug
Make the host's support for SSE2 instructions available to
javascript so we can report that status in update pings.

MozReview-Commit-ID: FhWPjLxKRZy
2016-10-07 16:23:39 -07:00
Michelangelo De Simone
74c25bed4b Bug 1310027 - Remove DOM/mobilemessage and related code. r=Ehsan
MozReview-Commit-ID: ENmSuOCdTnA
2016-10-17 17:26:51 -07:00
Michelangelo De Simone
e35496ee82 Bug 1309723 - Remove DOM/voicemail and related code. r=Ehsan
MozReview-Commit-ID: JDSqQnYD6xL
2016-10-13 15:11:41 -07:00
Sebastian Hengst
82cf47929c Bug 1306137 - remove b2g camera code: Remove dom/camera/ and code which depends on it. r=aosmond,bkelly
MozReview-Commit-ID: 7gvZrDtmcZP
2016-10-04 20:16:28 +02:00
Michelangelo De Simone
73f7d4d99a Bug 1306778 - Remove DOM/tv and related code. r=jst
MozReview-Commit-ID: 25Mch3xznlh
2016-09-30 16:38:03 -07:00
Michelangelo De Simone
1b1a45d83f Bug 1306779 - Remove DOM/fmradio and related code. r=jst
MozReview-Commit-ID: EAoALauFEco
2016-10-03 16:22:41 -07:00
Michelangelo De Simone
0bacfa5fa6 Bug 1306772 - Remove DOM/cellbroadcast and related code. r=jst
MozReview-Commit-ID: EWBjamnhAyC
2016-09-30 16:03:21 -07:00
James Cheng
42e8029df1 Bug 1300654 Part1-Remove MOZ_EME from code base. r=cpearce,smaug
MozReview-Commit-ID: JboGO0w4tcE
2016-09-08 18:06:20 +08:00
Shawn Huang
d789b79397 Bug 1267941 - Implement Storage API estimate() feature, r=janv,baku 2016-06-14 13:57:36 +01:00
Ehsan Akhgari
28b952324b Bug 1299493 - Remove Navigator.get/hasFeature(); r=baku 2016-08-31 18:02:46 -04:00