Commit Graph

245 Commits

Author SHA1 Message Date
Kyle Huey
b98d3ef86c Bug 1259581: Remove MOZ_MEDIA_NAVIGATOR. r=jesup 2016-04-05 20:12:03 -07:00
Peter Van der Beken
f781f02ccd Bug 1245650 - remove JavaScript-navigator-property category support. r=bz.
Generate normal properties with getters for things marked as NavigatorProperty,
instead of defining these from a resolve hook.
2016-02-05 20:20:08 +01:00
Kyle Huey
2fc599905e Bug 1257355: Remove the worker descriptor for WorkerNavigator. r=bz
--HG--
rename : dom/workers/Navigator.cpp => dom/workers/WorkerNavigator.cpp
rename : dom/workers/Navigator.h => dom/workers/WorkerNavigator.h
2016-03-18 14:15:46 -07:00
Luke Wagner
6d089acee2 Bug 1008453. Add support for navigator.hardwareConcurrency. r=khuey 2016-03-16 15:41:38 -04:00
Carsten "Tomcat" Book
d115280c5f Backed out changeset a7040abce944 (bug 1008453) for w-p-t test failures on a CLOSED TREE 2016-03-18 08:21:42 +01:00
Luke Wagner
83bbb15353 Bug 1008453. Add support for navigator.hardwareConcurrency. r=khuey 2016-03-16 15:41:38 -04:00
Wes Kocher
ef118686fd Backed out changeset 057ffdc30f1e (bug 1257355) for build bustage CLOSED TREE
MozReview-Commit-ID: 6e53Rrv5mEz

--HG--
rename : dom/workers/WorkerNavigator.cpp => dom/workers/Navigator.cpp
rename : dom/workers/WorkerNavigator.h => dom/workers/Navigator.h
2016-03-17 15:38:39 -07:00
Kyle Huey
bee42d87b9 Bug 1257355: Remove the worker descriptor for WorkerNavigator. r=bz
--HG--
rename : dom/workers/Navigator.cpp => dom/workers/WorkerNavigator.cpp
rename : dom/workers/Navigator.h => dom/workers/WorkerNavigator.h
2016-03-17 15:06:14 -07:00
Peter Van der Beken
46af3ae4ab Bug 1027734 - Convert mozPay to WebIDL. r=bzbarsky.
--HG--
rename : dom/payment/interfaces/nsINavigatorPayment.idl => dom/payment/interfaces/nsIPaymentContentHelperService.idl
rename : testing/specialpowers/content/MockPaymentsUIGlue.jsm => dom/payment/tests/mochitest/MockPaymentsUIChromeScript.js
extra : rebase_source : 638fdf45b6a13ceee98c5e066505d8858abbfd3d
2016-01-26 18:38:03 +01:00
Kyle Huey
91efc5a86c Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug 2016-01-30 09:05:36 -08:00
Tom Schuster
4d6aaf2f25 Bug 1242214 - Rename JSPropertyDescriptor JS::PropertyDescriptor everywhere else. r=smaug 2016-01-28 11:28:04 +01:00
Jan-Ivar Bruaroey
d7d3df857d Bug 1224766 - forward callID to disambiguate multiple gUM requests from same window. r=jesup,smaug
--HG--
extra : rebase_source : 038e5b2eb6d2332da05c2c7dc44dc6ed3dde3d83
2016-01-07 17:30:10 -05:00
Kearwood (Kip) Gilbert
0c83ce5c05 Bug 1182048 - Part 2: Implement e10s support for WebVR,r=vlad 2015-09-17 14:23:13 -07:00
Tim Nguyen
cf7f672f1c Bug 1137681 - Per-tab user agent emulation. r=bz 2015-07-21 08:42:00 +02:00
Mantaroh Yoshinaga
b3bcc5326c Bug 1125477 - Part 2: Modify permission check of TV Manager API in order to remove dom.testing.tv_enabled_for_hosted_apps. r=seanlin;r=smaug 2015-11-15 14:48:48 +01:00
Chris Pearce
51df37a7c8 Bug 1189196 - Rename MediaKeySystemOptions to MediaKeySystemConfiguration and update WebIDL. r=bz 2015-10-27 14:10:51 +13:00
Sean Lin
4dce1c7f21 Bug 1215426 - [Presentation WebAPI] Grant access to browser receiving pages. r=smaug 2015-10-21 14:01:08 +08:00
Nathan Froyd
01583602a9 Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout.  The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.

CLOSED TREE makes big refactorings like this a piece of cake.

 # The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
    xargs perl -p -i -e '
 s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
 s/nsRefPtr ?</RefPtr</g;   # handle declarations and variables
'

 # Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h

 # Handle nsRefPtr.h itself, a couple places that define constructors
 # from nsRefPtr, and code generators specially.  We do this here, rather
 # than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
 # things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
     mfbt/nsRefPtr.h \
     xpcom/glue/nsCOMPtr.h \
     xpcom/base/OwningNonNull.h \
     ipc/ipdl/ipdl/lower.py \
     ipc/ipdl/ipdl/builtin.py \
     dom/bindings/Codegen.py \
     python/lldbutils/lldbutils/utils.py

 # In our indiscriminate substitution above, we renamed
 # nsRefPtrGetterAddRefs, the class behind getter_AddRefs.  Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
    xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'

if [ -d .git ]; then
    git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
    hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi

--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Josh Matthews
6d8316690f Bug 885982 - Part 1: Convert TCPSocket to WebIDL and rewrite in C++. r=asuth,mayhemer,bz 2015-03-25 10:35:59 -04:00
Tim Chien
594973b3d3 Bug 974770 - Get rid of dom.mozInputMethod.testing in test scripts. r=kanru, r=mrbkap
--HG--
extra : histedit_source : a47dc2f917d2cc53dfcf500df00e02052a2e4aff
2015-08-26 20:18:00 -04:00
Wei-Cheng Pan
78ad28ee88 Bug 1050749 - Expose BatteryManager via getBattery() returning a Promise. r=bz, r=baku, r=jgraham 2015-08-21 18:29:25 +08:00
Andrew Osmond
93a03d15bc Bug 1186273 - Part 2. Improve reuse of and releasing of device storage objects where appropriate. r=dhylands 2015-08-18 07:42:14 -04:00
Sean Lin
1da14adfbd Bug 1069230 - Presentation API implementation. Part 1 - WebIDL Bindings. r=smaug 2015-03-19 15:48:28 +08:00
Birunthan Mohanathas
08b842cc4e Bug 1105827 - Part 4: Add Navigator.permissions. r=baku 2015-07-28 06:33:46 -07:00
Birunthan Mohanathas
a8939590de Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
The bulk of this commit was generated by running:

  run-clang-tidy.py \
    -checks='-*,llvm-namespace-comment' \
    -header-filter=^/.../mozilla-central/.* \
    -fix
2015-07-13 08:25:42 -07:00
Kershaw Chang
5ac15a53f1 Bug 1126694 - Impl of DeviceStorageAreaListener. r=bz, dhylands 2015-05-04 08:11:00 +02:00
Andrew McCreight
9e8f4b219e Bug 1152551, part 2 - Fix mode lines in dom/. r=jst 2015-05-03 15:32:37 -04:00
Boris Zbarsky
864f723c0c Bug 1155946 part 2. Add mayResolve methods to DOM classes with resolve hooks. r=peterv 2015-04-28 12:25:55 -04:00
James Cheng
d7b40ea760 Bug 1026350 - Part 1: Inputport API implementation. r=baku 2015-04-08 03:07:00 -04:00
Chris Pearce
5d922e0e8e Bug 1146201 - Delay navigator.requestMediaKeySystemAccess if CDM not downloaded yet or needs update. r=jwwang,ehsan 2015-03-31 20:50:01 +13:00
Wes Kocher
18a6da0131 Merge m-c to inbound a=merge
--HG--
extra : rebase_source : 31afc1b4de1d4c9d48057dbbe0d96e7c385bf2dc
2015-03-27 17:31:19 -07:00
Bevis Tseng
48e31d5050 Bug 1114935 - Part 5.2: Build MozIccManager by default. r=echen, r=htsai, r=glandium
--HG--
extra : histedit_source : fb9d199f31d4d57d30d670d49044d54f71eba95a
2015-01-14 14:43:32 +08:00
Ehsan Akhgari
883849ee32 Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
This patch was automatically generated using the following script:

function convert() {
echo "Converting $1 to $2..."
find . \
       ! -wholename "*/.git*" \
       ! -wholename "obj-ff-dbg*" \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Boris Zbarsky
dc24477d79 Bug 1117172 part 3. Change the wrappercached WrapObject methods to allow passing in aGivenProto. r=peterv
The only manual changes here are to BindingUtils.h, BindingUtils.cpp,
Codegen.py, Element.cpp, IDBFileRequest.cpp, IDBObjectStore.cpp,
dom/workers/Navigator.cpp, WorkerPrivate.cpp, DeviceStorageRequestChild.cpp,
Notification.cpp, nsGlobalWindow.cpp, MessagePort.cpp, nsJSEnvironment.cpp,
Sandbox.cpp, XPCConvert.cpp, ExportHelpers.cpp, and DataStoreService.cpp.  The
rest of this diff was generated by running the following commands:

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObjectInternal\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObjectInternal\((?:aCx|cx|aContext|aCtx|js))\)/\1, aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapNode\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapNode\((?:aCx|cx|aContext|aCtx|js))\)/\1, aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObject\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(Binding(?:_workers)?::Wrap\((?:aCx|cx|aContext|aCtx|js), [^,)]+)\)/\1, aGivenProto)/g'
2015-03-19 10:13:33 -04:00
Gregor Wagner
fa698fe8a9 Backout Bug 1114935 for causing bug 1144567. 2015-03-18 11:48:52 -07:00
Bevis Tseng
5c120f9d5c Bug 1114935 - Part 5.2: Build MozIccManager by default. r=echen, r=htsai, r=glandium
--HG--
extra : rebase_source : b2ed1d0bbcdaeb64f71f9109855991f0335a68b2
extra : histedit_source : ead72cec784767a203a03aeb962946b9bd14b64e
2015-01-14 14:43:32 +08:00
Bill McCloskey
6af1b962fa Bug 1133099 - Add window.navigator.mozE10sEnabled flag (r=jst) 2015-02-17 14:10:45 -08:00
Andrea Marchesini
e6f385fb3d Bug 1148527 - Indentation fix after bug 1145631, r=ehsan 2015-03-27 18:52:19 +00:00
Andrea Marchesini
e2ecdca8a9 Bug 966439 - BroadcastChannel API - patch 3 - API disabled by pref, r=smaug 2015-01-15 16:58:41 +00:00
Ryan VanderMeulen
3a9ff448dc Backed out 11 changesets (bug 966439, bug 1121472) for causing widespread test failures and because inbound isn't Try and shouldn't be treated as such.
Backed out changeset e6cd15d43b5a (bug 1121472)
Backed out changeset 4f9788639f3f (bug 966439)
Backed out changeset ac9a967e5a10 (bug 966439)
Backed out changeset 14d322737871 (bug 966439)
Backed out changeset 8f941e519580 (bug 966439)
Backed out changeset b82d1010c6b4 (bug 966439)
Backed out changeset 2c29a52a03bd (bug 966439)
Backed out changeset e4b0802a3f06 (bug 966439)
Backed out changeset bdc9a0310034 (bug 966439)
Backed out changeset 6b3ae19628e6 (bug 966439)
Backed out changeset 3d23e775033a (bug 966439)

CLOSED TREE
2015-01-14 11:46:14 -05:00
Andrea Marchesini
1b2f40309e Bug 966439 - BroadcastChannel API - patch 3 - API disabled by pref, r=smaug 2015-01-14 11:50:35 +00:00
Andrea Marchesini
d6ae21b741 Bug 1018320 - RequestSync API - patch 5 - mozSetMessageHandlerPromise, r=fabrice 2015-01-13 09:53:22 +00:00
Vladimir Vukicevic
27e56b034e Bug 1036604 - Add VRDevice interfaces, navigator.getVRDevices call, and Oculus Rift gfxVR; r=bz,jrmuizel 2014-07-09 12:24:49 -07:00
Chris Pearce
bf9df9f607 Bug 1095257 - Implement Navigator.requestMediaKeySystemAccess(). r=edwin r=bz r=peterv 2014-11-18 22:13:02 +13:00
Carsten "Tomcat" Book
217db26a63 Backed out changeset 7fa6291d952d (bug 1095257) for suspicion of causing jit tests 2014-11-18 13:14:36 +01:00
Chris Pearce
20def217dc Bug 1095257 - Implement Navigator.requestMediaKeySystemAccess(). r=edwin r=bz r=peterv 2014-11-18 22:13:02 +13:00
Chris Pearce
84765b7b57 Bug 1095257 - backout 54f79521758b due to m3 failures. r=backout r=bz 2014-11-18 19:49:13 +13:00
Chris Pearce
c454eb7220 Bug 1095257 - Implement Navigator.requestMediaKeySystemAccess(). r=edwin r=bz 2014-11-18 17:20:02 +13:00
Tom Schuster
8a051a23e7 Bug 993026 - Rename NewResolve to Resolve in browser. r=bz 2014-11-08 01:07:12 +01:00
Carsten "Tomcat" Book
348b931e1c Merge mozilla-central to b2g-inbound on a CLOSED TREE 2014-10-29 13:42:47 +01:00