Commit Graph

383 Commits

Author SHA1 Message Date
Reuben Morais
14390e4e19 Bug 1009645 - Follow up, remove debug code. 2014-07-14 20:11:02 -03:00
Reuben Morais
92fc628721 Bug 1009645 - Implement [FeatureDetectible] extended attribute and hook it up to navigator.getFeature. r=bz 2014-07-14 20:08:45 -03:00
Olli Pettay
0f131dd546 Bug 1031226 - [vibration] navigator.vibrate([]) fails to cancel a pre-existing instance of the processing vibration patterns algorithm, r=mounir
--HG--
extra : rebase_source : a4a5d894ce010ebf6ac9d97b03b05986e0a42dd6
2014-07-10 17:31:36 +03:00
Fabrice Desré
81b6956801 Bug 900241 - Create an API for detecting manifest field/value support r=ehsan 2014-07-09 14:05:29 -07:00
Wes Kocher
e2352c67a8 Backed out changeset 93203c822307 (bug 900241) for mochitest failures 2014-07-09 15:17:09 -07:00
Fabrice Desré
ac1b740e2d Bug 900241 - Create an API for detecting manifest field/value support r=ehsan 2014-07-09 14:05:29 -07:00
Jan de Mooij
3c7459b21a Bug 1034191 - Make nsDependentJSString users work with Latin1 strings and nursery-allocated strings. r=bz 2014-07-05 17:30:54 +02:00
Birunthan Mohanathas
783094e166 Bug 1037269 - Use CheckPermissions instead of Func on more interfaces. r=smaug 2014-07-10 16:20:49 -07:00
Fernando Jiménez
124deb464a Bug 1022193 - Add a "forceIdSelection" to navigator.getMobileIdAssertion. Part 2: DOM. r=sicking 2014-06-27 01:18:21 +02:00
Fernando Jiménez
e4d30f24db Bug 1023266 - Make the Mobile ID API privileged. Part 1: Add mobileid permission. r=smaug, ehsan 2014-06-27 01:18:19 +02:00
Vicamo Yang
2d633be1d5 Bug 958782 - 2.b/3: WebIDL implementation. f=Ms2ger,bzbarsky,r=khuey 2014-06-25 11:57:16 +08:00
Boris Zbarsky
c6565944fa Bug 767924 part 2. Introduce both const and non-const versions of GetAs* methods on unions, with the former returning the public-facing type and the latter returning the internal type. r=peterv 2014-06-23 16:03:57 -04:00
Benoit Jacob
747dcfc8a0 Bug 1028588 - Fix dangerous public destructors in the rest of dom/ - r=ehsan 2014-06-23 15:56:07 -04:00
Fernando Jiménez
bf91e66eac Bug 1006237 - Unify permissions check in nsIDataStore.checkPermission. r=baku, ehsan 2014-06-19 16:03:54 +02:00
Bobby Holley
da5622f8f9 Bug 1022016 - Redesign nsDependentJSString API to be less of a footgun. r=gabor 2014-06-10 20:15:56 -07:00
Ryan VanderMeulen
c8ca0853e5 Merge m-c to b2g-inbound. a=merge 2014-06-07 14:16:54 -04:00
Fernando Jiménez
70a3cfc8c6 Bug 988469 - MSISDN verification API for privileged apps. Part 1: DOM API. r=sicking 2014-06-07 19:30:18 +02:00
Mounir Lamouri
8ab5cc0095 Bug 1014581 - Follow-up, fix typo. r=me 2014-06-07 13:40:20 +01:00
Boris Zbarsky
ce7efbba1f Bug 1016560. Remove the footgun of rejecting promises with arbitrary objects. r=khuey 2014-06-03 11:38:38 -04:00
Ryan VanderMeulen
a1fd06248a Backed out changesets 6d1c36585219 and bd403a727849 (bug 1016560) for mochitest-other failures.
CLOSED TREE
2014-06-03 13:48:49 -04:00
Boris Zbarsky
59db282a5f Bug 1016560. Remove the footgun of rejecting promises with arbitrary objects. r=khuey 2014-06-03 11:38:38 -04:00
Andrea Marchesini
5cd12928e4 Bug 957086 - patch 2 - DataStoreService in C++, r=ehsan, r=bz, r=janv 2014-06-03 15:36:46 +01:00
Ehsan Akhgari
c8fc679ea8 Backed out 3 changesets (bug 957086) for causing bug 1018406
Backed out changeset f8b6dab2f985 (bug 957086)
Backed out changeset b69bcaa24ab5 (bug 957086)
Backed out changeset 3b45335d4694 (bug 957086)

--HG--
rename : dom/datastore/DataStoreImpl.js => dom/datastore/DataStoreImpl.jsm
2014-06-02 10:19:19 -04:00
Andrea Marchesini
6d1733189b Bug 957086 - patch 2 - DataStoreService in C++, r=ehsan, r=bz, r=janv 2014-05-30 07:59:27 +01:00
Ryan VanderMeulen
e7c6eb241d Backed out changesets 083b9fb75e9a, 4cbc8cf0b619, and ef379607cff7 (bug 957086) for Win7/Win8 debug mochitest crashes.
--HG--
rename : dom/datastore/DataStoreImpl.js => dom/datastore/DataStoreImpl.jsm
2014-05-29 13:22:57 -04:00
Andrea Marchesini
e717179ace Bug 957086 - patch 2 - DataStoreService in C++, r=ehsan, r=bz, r=janv 2014-05-29 16:34:43 +01:00
Jeff Walden
2155f1cf29 Bug 999651, bug 995679, bug 1009952, bug 1011007, bug 991981. r=sfink, r=shu, r=jandem, r=jdm, r=luke, r=bbouvier, r=nmatsakis, r=bz, r=ehsan, r=jgilbert, r=smaug, r=sicking, r=terrence, r=bholley, r=bent, r=efaust, r=jorendorff 2014-05-27 14:32:41 -07:00
Mounir Lamouri
7160138d18 Bug 1014581 - Vibration API: clamp vibration lengths and array length to match platform restrictions. r=smaug 2014-05-27 21:54:03 +01:00
Mounir Lamouri
03fc50c2a6 Bug 887703 - navigator.doNotTrack returns { "0", "1", "unspecified" }. r=jlebar
--HG--
rename : dom/tests/mochitest/general/test_bug629535.html => dom/tests/mochitest/general/test_donottrack.html
2014-05-26 22:10:39 +01:00
Reuben Morais
7943a9dc65 Bug 952486 - Use CheckPermissions instead of Func for several interfaces. r=bz 2014-05-25 15:31:11 -03:00
Fabrice Desré
bed5c8c262 Bug 952486 - backout for breaking all device and emulator builds (keeping dom reviewer to land the backout...) r=bz 2014-05-26 12:11:52 -07:00
Reuben Morais
e77a142d67 Bug 952486 - Use CheckPermissions instead of Func for several interfaces. r=bz 2014-05-25 15:31:11 -03:00
Alphan Chen
3a1fce7214 Bug 996996 - Move fopen into non-sanboxed process. r=mrbkap 2014-05-21 13:49:36 +08:00
Nick Lebedev
b7223435b4 Bug 998002 - Rename nsContentUtils::Get{Subject,Object}Principal to nsContentUtils::{Subject,Object}Principal. r=bholley 2014-05-13 11:58:00 +02:00
Nikhil Marathe
62b18de392 Bug 930348 - window.navigator stubs for ServiceWorker. r=ehsan,bent
--HG--
extra : rebase_source : ac9bc321c679cbf7045c9d32d1001c5d87d68c69
2013-11-19 15:14:07 -08:00
Ryan VanderMeulen
bee2490325 Backed out changeset c189d09ec942 (bug 930348) for B2G desktop bustage.
CLOSED TREE
2014-05-13 15:33:58 -04:00
Nikhil Marathe
1bd5845efa Bug 930348 - window.navigator stubs for ServiceWorker. r=ehsan,bent
--HG--
extra : rebase_source : 291219bb284967790bdbbc1f456b88d5f6baacc1
2013-11-19 15:14:07 -08:00
Alphan Chen
55e2846c5c Bug 983502 - navigator.getFeature implementation (support hardware.memory). r=bz 2014-05-12 10:05:03 +08:00
Mounir Lamouri
ff3629d7e7 Bug 889335 - Implement navigator.languages and languagechange event. r=sicking,smaug 2014-05-12 13:48:15 +02:00
John Shih
7fbce92192 Bug 986837 - Part 1: Port MozNetworkStatsData to WebIDL. r=bzbarsky 2014-05-05 16:40:11 +08:00
Nathan Froyd
4c20a67b0d Bug 1003306 - part 2 - use services::GetPermissionManager everywhere that's appropriate; r=ehsan 2014-04-29 13:27:26 -04:00
Gene Lian
9adcf87187 Bug 949325 - C++ wrapper to support DataStore API on the worker (part 2-6, a proxy to run HasDataStoreSupport() on the main thread). r=khuey 2014-03-12 17:03:05 +08:00
Gene Lian
c9cca07e6c Bug 949325 - C++ wrapper to support DataStore API on the worker (part 2-3, dispatch tasks on the worker to the main thread). r=baku,khuey f=nsm 2014-02-24 21:57:15 +08:00
Yoshi Huang
58e3e284cb Bug 993946 - B2G NFC: Consistent naming between Nfc or NFC in WebIDL. r=dimi, sr=smaug
--HG--
rename : dom/webidl/MozNfc.webidl => dom/webidl/MozNFC.webidl
2014-04-29 11:50:25 +08:00
Birunthan Mohanathas
ff8ce9bd42 Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj 2014-04-27 03:06:00 -04:00
Jan-Ivar Bruaroey
2a3906470e Bug 907352 - Part 1: Update to most recent constraints syntax. r=mt 2014-04-18 14:00:16 -04:00
Ryan VanderMeulen
6c9a60d624 Backed out changesets d8d01c95be03 and 5fa0c8f5ccb2 (bug 907352) for Linux64 mochitest-3 crashes. 2014-04-18 11:22:21 -04:00
Jan-Ivar Bruaroey
a46b5ab059 Bug 907352 - Part 1: Update to most recent constraints syntax. r=mt 2014-04-18 03:23:29 -04:00
Thomas Zimmermann
24939db69b Bug 904588: Convert MozIccManager to WebIDL, r=htsai, r=smaug
--HG--
rename : dom/icc/interfaces/nsIDOMIccManager.idl => dom/webidl/MozIccManager.webidl
2014-04-16 09:30:28 +02:00
Thomas Zimmermann
386d694a68 Bug 904588: Fix whitespace errors, r=smaug 2014-04-16 09:30:26 +02:00
Peter Van der Beken
55e3ea6b39 Bug 993710 - Don't return names when enumerating Navigator/Window if they wouldn't be resolved. r=bz.
--HG--
extra : rebase_source : e7fe3b2da1c2e1a00c02828d220545c83dedd554
2014-02-15 22:12:34 +01:00
John Shih
8902a00c07 Bug 993435 - Not return null for navigator.connection. r=bz 2014-04-09 10:20:31 +08:00
Boris Zbarsky
893f2b3907 Bug 993889 part 6. Remove the "scope" argument of dom::WrapObject methods. r=bholley 2014-04-10 00:58:43 -04:00
Boris Zbarsky
3738611b99 Bug 993889 part 1. Remove "scope" argument from nsContentUtils::WrapNative. r=bholley 2014-04-10 00:58:41 -04:00
Boris Zbarsky
35fca5eeeb Bug 991742 part 8. Remove the "aScope" argument of WebIDL/nsWrapperCache WrapObject() methods. r=bholley
This patch was mostly generated with the following command:

find . -name "*.h" -o -name "*.cpp" | xargs sed -e '/WrapObject(JSContext/ {; N; s/\(WrapObject(JSContext *\* *a\{0,1\}[Cc]x\),\n\{0,1\} *JS::Handle<JSObject\*> a\{0,1\}[sS]cope/\1/ ; }' -i ""

and then reverting the changes that made to
dom/bindings/BindingUtils.h, since those WrapObject methods are not
the ones we're trying to change here, plus a bunch of manual fixups
for cases that this command did not catch (including all the callsites
of WrapObject()).
2014-04-08 18:27:18 -04:00
Boris Zbarsky
56f44fdf10 Bug 991742 part 6. Remove the "aScope" argument of binding Wrap() methods. r=bholley
This patch was mostly generated with this command:

find . -name "*.h" -o -name "*.cpp" | xargs sed -e 's/Binding::Wrap(aCx, aScope, this/Binding::Wrap(aCx, this/' -e 's/Binding_workers::Wrap(aCx, aScope, this/Binding_workers::Wrap(aCx, this/' -e 's/Binding::Wrap(cx, scope, this/Binding::Wrap(cx, this/' -i ""

plus a few manual fixes to dom/bindings/Codegen.py, js/xpconnect/src/event_impl_gen.py, and a few C++ files that were not caught in the search-and-replace above.
2014-04-08 18:27:17 -04:00
Yuan Xulei
5b6496ae96 Bug 986992 - Part 1: Merge navigator.mozKeyboard to navigator.mozInputMethod. r=fabrice 2014-03-31 10:38:45 +08:00
John Shih
6aa0595d71 Bug 960426 - Part 2: Modifications for IDL change. r=blassey 2014-03-05 11:54:55 +08:00
Ehsan Akhgari
82791d597e Bug 987387 - Make navigator.sendBeacon() respect private browsing mode; r=jdm 2014-03-26 00:15:14 -04:00
Phil Ringnalda
00cf841808 Back out 9a1c527eeafc (bug 987387) for non-unified bustage
CLOSED TREE
2014-03-25 21:06:21 -07:00
Ehsan Akhgari
ff93a255c9 Bug 987387 - Make navigator.sendBeacon() respect private browsing mode; r=jdm 2014-03-25 23:22:55 -04:00
Ehsan Akhgari
0b275ae564 Bug 985796 - Port the permission settings API to WebIDL; r=bzbarsky 2014-03-22 09:58:24 -04:00
Boris Zbarsky
59f8f0e2d4 Another bug 985827 followup. Make sure to not cache things wrapped in an Xray compartment on the navigator object. r=khuey 2014-03-21 03:25:21 -04:00
Boris Zbarsky
1e5414ed2f Bug 985827 followup. Remove shadowing variable that confuses things. r=bustage 2014-03-21 00:55:50 -04:00
Boris Zbarsky
571a9a2aa5 Bug 985827. Make Navigator::DoNewResolve not double-create objects no matter what JS is doing. r=khuey 2014-03-20 23:19:43 -04:00
Richard Barnes
70dae16942 Bug 936340 - Implement navigator.sendBeacon r=sicking 2014-03-06 10:51:23 -05:00
Ehsan Akhgari
65a4f26667 Backed out changeset 98cc8a50348f (bug 936340) because it misses the test_beaconElectrolysis.html file, which breaks the build 2014-03-06 09:04:45 -05:00
Richard Barnes
137fe8d659 Bug 936340 - Implement navigator.sendBeacon. r=sicking 2014-03-06 08:52:50 -05:00
Masayuki Nakano
d26caa0d74 Bug 975688 part.28 Rename nsDOMEvent to mozilla::dom::Event r=smaug
--HG--
rename : dom/events/nsDOMEvent.cpp => dom/events/Event.cpp
rename : dom/events/nsDOMEvent.h => dom/events/Event.h
2014-03-05 09:37:43 +09:00
John Schoenick
940c023e49 Bug 971279 - Add plugin.java.mime. r=bsmedberg 2014-02-25 13:30:03 -08:00
Carsten "Tomcat" Book
38c9d559f9 Backed out changeset 0cea4bded6f8 (bug 936340) for mochitest-3 bustage on a CLOSED TREE 2014-02-25 16:00:47 +01:00
Richard Barnes
a6c346f6cb Bug 936340 - Implement navigator.sendBeacon. r=sicking 2014-02-25 08:40:54 -05:00
Wes Kocher
a5dcf6f444 Backed out 7 changesets (bug 406541, bug 738396, bug 852315, bug 971273, bug 971279) for various java/plugin-related failures on a CLOSED TREE
Backed out changeset 13cc8a7ee925 (bug 852315)
Backed out changeset 23dfc36f99d4 (bug 852315)
Backed out changeset fb56bd7c0feb (bug 406541)
Backed out changeset b24d1437c6f3 (bug 738396)
Backed out changeset 5028e1290b45 (bug 971279)
Backed out changeset 34ecdab0cfc2 (bug 971279)
Backed out changeset 95b4aa01923d (bug 971273)
2014-02-20 16:19:30 -08:00
John Schoenick
d0fbe23ec1 Bug 971279 - Add plugin.java.mime. r=bsmedberg 2014-02-20 14:38:02 -08:00
Jan-Ivar Bruaroey
f609395190 Bug 949907 - GetUserMediaDevices cleanup + untie GetUserMediaRequest obj from DOM. r=jesup 2014-02-14 11:32:58 -08:00
Ryan VanderMeulen
dd78278d2d Backed out changeset e1d1542ff35c (bug 949907) for robocop failures.
CLOSED TREE
2014-02-14 13:38:04 -05:00
Jan-Ivar Bruaroey
1741cc3ce3 Bug 949907 - GetUserMediaDevices cleanup + untie GetUserMediaRequest obj from DOM. r=jesup 2014-02-13 15:32:17 -08:00
Andrew McCreight
e42c89316b Bug 733636, part 1 - Change the nsContentUtils::WrapNative aAllowWrapping default to true. r=bholley 2014-02-12 15:19:32 -08:00
Wes Kocher
85c4b8aea7 Backed out changeset 754428833970 (bug 936340) for mochitest-3 failures on a CLOSED TREE 2014-02-10 16:02:45 -08:00
Richard Barnes
00ef0132bd Bug 936340 - Implement navigator.sendBeacon. r=sicking 2014-01-17 14:09:38 -08:00
Ehsan Akhgari
b870bb3fe9 Bug 969757 - Remove the dead code in our tree which pretends to support OS/2; r=roc,mcmanus,gps,jorendorf,bsmedberg sr=bsmedberg 2014-02-10 17:57:01 -05:00
Andrea Marchesini
dc5e27836a Bug 968919 - Navigator::HasDataStoreSupport should not use IsCallerChrome(), r=bz 2014-02-07 19:39:45 +00:00
Henry Chang
22e7a7d2fc Bug 968090 - Move Navigator::HasWifiManagerSupport outside MOZ_B2G_RIL. r=gene 2014-02-05 17:52:25 +08:00
Andrea Marchesini
9f15cd31a6 Bug 967414 - Enable DataStore API in B2G for certified apps only by default, r=bz 2014-02-06 17:44:03 +00:00
Boris Zbarsky
8367dee14d Bug 965094. Reconcile the behavior of the JSObject* argument for Func on interfaces and on interface members. r=bholley 2014-02-05 13:38:18 -05:00
Nick Lebedev
a6d41db5bd Bug 822898. Add maxTouchPoints attribute to navigator. r=romaxa,smaug
--HG--
extra : rebase_source : e3f84cb38ee2a0c75bf775027c8a59e4f9e64908
2014-01-28 08:09:34 -08:00
Henry Chang
c0e64a6d2c Bug 811635 - Part 2: Implementation of WebIDLs/IDLs for WifiP2pManager and WifiP2pStatusChangeEvent. r=vchang 2014-01-27 15:48:10 +08:00
ISHIKAWA, Chiaki
9af64fcc37 Bug 963544 - Do not use NS_ENSURE_TRUE() in a few places and instead expand it to reduce WARNING messages. r=khuey 2014-01-27 15:40:50 -05:00
Ghislain 'Aus' Lacroix
dd08be1bd2 Bug 957592. Expose download API properties based on permission. r=bz 2014-01-24 11:53:05 -08:00
Andrea Marchesini
e4b52dd2a3 Bug 957893 - RequireWakeLock should not crash when the param is an empty string, r=ehsan 2014-01-24 09:40:40 +00:00
Boris Zbarsky
a52d37aa9b Bug 961208 part 2. Change the WebIDL DoNewResolve hook signature to take a JSPropertyDescriptor. r=bholley 2014-01-21 22:08:51 -05:00
Garner Lee
f1823ed0a2 Bug 952217 - Add NFC Manager permission check for NFC Manager APIs. r+sr=smaug 2014-01-15 17:47:43 -08:00
Edgar Chen
448b8bc80d Bug 956655 - Part 2: Move MobileConnection DOM classes to namespacing mozilla::dom. r=smaug 2014-01-02 11:06:17 +08:00
Edgar Chen
a2a54be377 Backed out changeset eb886e5b4250 (Bug 956655) 2014-01-17 13:07:52 +08:00
Edgar Chen
f04b08b790 Bug 956655 - Part 2: Move MobileConnection DOM classes to namespacing mozilla::dom. r=smaug 2014-01-02 11:06:17 +08:00
Andrea Marchesini
826b2527bb Bug 952084 - Porting nsIDOMMozConnection to WebIDL, r=ehsan, r=bz 2014-01-16 11:53:48 +01:00
Tom Schuster
e64b35e141 Bug 939294 - Change xpidl jsval to handles. r=gabor,bz,khuey,bsmedberg,terrence 2014-01-09 18:39:36 +01:00
Yoshi Huang
9598317cbb Bug 948850 - B2G NFC: to add onpeerready causes app to be killed. r=khuey 2014-01-13 17:33:12 +08:00
Nikhil Marathe
f66ca7634e Bug 959374 - Minor Navigator style and formatting fixes. r=bz 2014-01-13 14:28:40 -08:00
Andrea Marchesini
12742b5c15 Bug 952079 - Porting nsIDOMWakeLock to WebIDL, r=smaug 2014-01-07 13:16:07 +01:00