Commit Graph

326 Commits

Author SHA1 Message Date
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
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