Commit Graph

420 Commits

Author SHA1 Message Date
Peter Van der Beken
962c9a5742 Bug 1078744 - Replace SetIsDOMBinding with SetIsNonDOMBinding, invert the flag for dom bindings in nsWrapperCache and add SetIsNotDOMBinding. r=bz.
--HG--
extra : rebase_source : 6ca1903658d3d6fe2634409cd39fa68c6b1219bd
2014-10-07 11:44:48 +02:00
Jan-Ivar Bruaroey
fe0422ec02 Bug 1033885 - minor refactor of MediaManager::GetUserMedia to figure out privileged state itself. r=jesup 2014-09-30 19:17:53 -04:00
Bevis Tseng
0ce3edef4c Bug 864484 - Part 5: Build CellBroadcast by default. r=vyang, r=smaug, r=ted
--HG--
extra : rebase_source : 73dcc868004c3e34c51806a34f88d25fc6c4c7c6
2014-08-25 17:24:03 +08:00
Vicamo Yang
ce2931cf92 Bug 833229 - 3.d/4: DOM implementation. r=smaug 2014-09-26 13:00:24 +08:00
Vicamo Yang
bdae0f605d Bug 833229 - 2.b/4: build voicemail by default. r=smaug 2014-09-26 13:00:23 +08:00
Andrea Marchesini
1d21930927 Bug 1069401 - UserAgent cannot be changed for specific websites in workers, r=khuey, r=bz 2014-09-24 17:09:50 +01:00
Carsten "Tomcat" Book
76043a5642 Backed out changeset 4bb508b6f0c5 (bug 1041180) for XPCshell test failures 2014-09-24 13:13:20 +02:00
Carsten "Tomcat" Book
7237bc85fb Backed out changeset 13028d2039e8 (bug 1069401) for b2g m1 test failures 2014-09-24 12:40:43 +02:00
Christoph Kerschbaumer
a2ecbd83dc Bug 1041180: Remove deprecated nsIChannelPolicy (r=sstamm,jduell,jst) 2014-09-24 01:01:07 -07:00
Andrea Marchesini
6763c7cf68 Bug 1069401 - UserAgent cannot be changed for specific websites in workers, r=khuey, r=bz 2014-09-23 22:26:00 +02:00
Wes Kocher
ff7c6d21cd Backed out 2 changesets (bug 1041180) for build bustage on a CLOSED TREE
Backed out changeset 1cfb645267a4 (bug 1041180)
Backed out changeset afc9903ff28f (bug 1041180)
2014-09-23 16:26:49 -07:00
Christoph Kerschbaumer
bc20780b98 Bug 1041180: Remove deprecated nsIChannelPolicy (r=sstamm,jduell,jst) 2014-09-23 09:46:54 -07:00
Andrea Marchesini
5d2981cbd7 Bug 1062920 - WorkerNavigator strings should honor general.*.override prefs, r=khuey 2014-09-23 20:11:18 +01:00
Christoph Kerschbaumer
dad0acb099 Bug 1038756: Callsites creating a channel in /dom/[base,xml,plugins] (r=jst)
* * *
Bug 1038756: Callsites creating a channel in /dom/[base,xbl,plugins] (r=jst)
2014-09-22 04:49:12 -07:00
Boris Zbarsky
5b37e56161 Bug 1066826. Remove navigator.mozIsLocallyAvailable API. r=peterv 2014-09-19 22:58:27 -04:00
Andrea Marchesini
d72123b13e Bug 925849 - WorkerNavigator implements NavigatorLanguage, r=khuey 2014-09-05 15:26:34 +01:00
Ehsan Akhgari
0653303071 Bug 1060987 - Fix more bad implicit constructors in DOM; r=baku
--HG--
extra : rebase_source : 01709017e97fdc96d1d53eb881efc1792118edc4
2014-09-01 20:49:25 -04:00
Phil Ringnalda
117bb1a341 Backed out 6 changesets (bug 1060982, bug 1061058, bug 1060987, bug 1061060, bug 1060930) for build bustage
CLOSED TREE

Backed out changeset c23b8418e6be (bug 1060987)
Backed out changeset a8cddc6bdffc (bug 1061060)
Backed out changeset b5af5cbdac3f (bug 1060982)
Backed out changeset 4912d451011a (bug 1060930)
Backed out changeset bdacbf453238 (bug 1061058)
Backed out changeset da6c71a8f5ae (bug 1060987)
2014-09-01 16:48:51 -07:00
Ehsan Akhgari
6c932dea6c Bug 1060987 - Fix more bad implicit constructors in DOM; r=baku 2014-09-01 18:00:53 -04:00
Kyle Machulis
93c0c45ea9 Bug 846200 - Support for granting settings permissions on a per-permission basis; r=bent
--HG--
extra : rebase_source : 941bc56c900d6eb96a49af80be2b328155c0ea45
2014-08-27 21:01:29 -07:00
Ryan VanderMeulen
a408d636f2 Backed out 11 changesets (bug 1059079, bug 1015518, bug 900551, bug 846200) for Gaia UI test failures on a CLOSED TREE.
Backed out changeset d85b4e48b3b4 (bug 1015518)
Backed out changeset 663b73ba69ec (bug 1015518)
Backed out changeset 5cf1cb5fa022 (bug 900551)
Backed out changeset b953dd5bfdaa (bug 900551)
Backed out changeset a2b6d7c84100 (bug 900551)
Backed out changeset ceb79fe83d15 (bug 900551)
Backed out changeset f6acf344fbf0 (bug 900551)
Backed out changeset fa269ea53937 (bug 846200)
Backed out changeset b89c84a850f9 (bug 846200)
Backed out changeset b7a7dfbe4e3f (bug 846200)
Backed out changeset c6f54d821c11 (bug 1059079)
2014-08-28 12:49:49 -04:00
Kyle Machulis
e82cbad302 Bug 846200 - Support for granting settings permissions on a per-permission basis; r=bent 2014-08-27 21:01:29 -07:00
Wes Kocher
d10230338d Backed out changeset 1ed271ffb59c (bug 786419) bug causing bug 786419 a=backout 2014-08-26 16:34:46 -07:00
Ryan VanderMeulen
81342753e0 Merge inbound to m-c. a=merge
CLOSED TREE
2014-08-25 11:49:37 -04:00
Yoshi Huang
f87ff1d618 Bug 1055477 - Part 1. Add CheckPermission. r=smaug
From 3c5b491a6dfeca7cd7e93b596f368f67b40d9632 Mon Sep 17 00:00:00 2001
---
 dom/base/Navigator.cpp   | 3 +--
 dom/webidl/MozNFC.webidl | 3 ++-
 2 files changed, 3 insertions(+), 3 deletions(-)
2014-08-19 18:43:57 +08:00
Kyle Machulis
de2e16fbcc Backed out d71120161e89 b5d49f1885af (bug 846200) due to missing xpc shell test fix patch 2014-08-20 12:01:18 -07:00
Kyle Machulis
86a6d3c36d Bug 846200 - Support for granting settings permissions on a per-permission basis 2014-08-20 10:40:37 -07:00
Andrea Marchesini
1355a04e72 Bug 1043004 - Update ServiceWorkerContainer API to spec. r=bkelly 2014-08-19 09:56:00 -04:00
Ed Morley
0f03572425 Backed out changeset a880d4e0d656 (bug 846200) for xpcshell failures in test_bug808734.js; CLOSED TREE 2014-08-19 09:17:30 +01:00
Kyle Machulis
0549181b4e Bug 846200 - Support for granting settings permissions on a per-permission basis; r=bent 2014-08-18 22:06:54 -07:00
Reuben Morais
62da4d3530 Bug 1009645 - Remove FeatureDetectible, add things with CheckPermissions or AvailableIn to the feature list instead. r=smaug 2014-07-24 16:57:02 -03:00
Sean Lin
5101141c0a Bug 1000829 - getDataStores() should be able to retrieve data stores by owner. r=baku sr=jst 2014-07-17 11:53:23 +08:00
Boris Zbarsky
92fb7dde3a Bug 1040263. Eagerly create and preserve Promise reflectors so we always have them available during unlink. r=nsm,bholley. 2014-07-18 21:31:11 -04:00
Steve Fink
0e87a94e07 Bug 1035395, r=bholley,smaug
--HG--
extra : rebase_source : 478200a62a5073177ae3c782e252fa9a804e5b01
2014-07-18 09:37:42 -07:00
Valentin Gosu
077e9036e0 Bug 786419 - Provide way to "set network offline" per app r=jduell 2014-08-23 06:05:56 +03:00
Reuben Morais
bb157707dd Bug 1009645 - Address additional comments. r=bz
--HG--
extra : rebase_source : c6befdd143ad15751182af10f80b03c2f23eea4d
2014-07-15 16:15:28 -03:00
Carsten "Tomcat" Book
4b4bf0951c merge mozilla-inbound to mozilla-central a=merge 2014-07-15 14:58:57 +02:00
Reuben Morais
cf6ba58a7c Bug 1009645 - Follow up, remove debug code. 2014-07-14 20:11:02 -03:00
Reuben Morais
90781169de 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
cff7d32b26 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é
a177fba748 Bug 900241 - Create an API for detecting manifest field/value support r=ehsan 2014-07-09 14:05:29 -07:00
Wes Kocher
63796c8a36 Backed out changeset 93203c822307 (bug 900241) for mochitest failures 2014-07-09 15:17:09 -07:00
Fabrice Desré
022733af7c Bug 900241 - Create an API for detecting manifest field/value support r=ehsan 2014-07-09 14:05:29 -07:00
Jan de Mooij
44da586636 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
ad03973670 Bug 1037269 - Use CheckPermissions instead of Func on more interfaces. r=smaug 2014-07-10 16:20:49 -07:00
Fernando Jiménez
f21c13baac Bug 1022193 - Add a "forceIdSelection" to navigator.getMobileIdAssertion. Part 2: DOM. r=sicking 2014-06-27 01:18:21 +02:00
Fernando Jiménez
d43c9a421f 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
27d8b0dafc Bug 958782 - 2.b/3: WebIDL implementation. f=Ms2ger,bzbarsky,r=khuey 2014-06-25 11:57:16 +08:00
Boris Zbarsky
a06ee077f0 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
ec742680c8 Bug 1028588 - Fix dangerous public destructors in the rest of dom/ - r=ehsan 2014-06-23 15:56:07 -04:00
Fernando Jiménez
87b8290faf Bug 1006237 - Unify permissions check in nsIDataStore.checkPermission. r=baku, ehsan 2014-06-19 16:03:54 +02:00
Bobby Holley
699946fc90 Bug 1022016 - Redesign nsDependentJSString API to be less of a footgun. r=gabor 2014-06-10 20:15:56 -07:00
Ryan VanderMeulen
875db4dc4a Merge m-c to b2g-inbound. a=merge 2014-06-07 14:16:54 -04:00
Fernando Jiménez
9b33d80899 Bug 988469 - MSISDN verification API for privileged apps. Part 1: DOM API. r=sicking 2014-06-07 19:30:18 +02:00
Mounir Lamouri
91664081b3 Bug 1014581 - Follow-up, fix typo. r=me 2014-06-07 13:40:20 +01:00
Boris Zbarsky
a0760577c7 Bug 1016560. Remove the footgun of rejecting promises with arbitrary objects. r=khuey 2014-06-03 11:38:38 -04:00
Ryan VanderMeulen
24cbfd735d Backed out changesets 6d1c36585219 and bd403a727849 (bug 1016560) for mochitest-other failures.
CLOSED TREE
2014-06-03 13:48:49 -04:00
Boris Zbarsky
0a69a27027 Bug 1016560. Remove the footgun of rejecting promises with arbitrary objects. r=khuey 2014-06-03 11:38:38 -04:00
Andrea Marchesini
095068b4df Bug 957086 - patch 2 - DataStoreService in C++, r=ehsan, r=bz, r=janv 2014-06-03 15:36:46 +01:00
Ehsan Akhgari
4b8e9c1f5c 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
21d0e1aef4 Bug 957086 - patch 2 - DataStoreService in C++, r=ehsan, r=bz, r=janv 2014-05-30 07:59:27 +01:00
Ryan VanderMeulen
f97a6f77b4 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
28ba788770 Bug 957086 - patch 2 - DataStoreService in C++, r=ehsan, r=bz, r=janv 2014-05-29 16:34:43 +01:00
Jeff Walden
96e2ce765d 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
9094d69df2 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
d219051569 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
6b28e6ff71 Bug 952486 - Use CheckPermissions instead of Func for several interfaces. r=bz 2014-05-25 15:31:11 -03:00
Fabrice Desré
2deb233e1d 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
df3026450e Bug 952486 - Use CheckPermissions instead of Func for several interfaces. r=bz 2014-05-25 15:31:11 -03:00
Alphan Chen
3682d6b662 Bug 996996 - Move fopen into non-sanboxed process. r=mrbkap 2014-05-21 13:49:36 +08:00
Nick Lebedev
c49e263d0f 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
9785376d60 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
82d24eb10c Backed out changeset c189d09ec942 (bug 930348) for B2G desktop bustage.
CLOSED TREE
2014-05-13 15:33:58 -04:00
Nikhil Marathe
b7f44d85a7 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
ccc8da0467 Bug 983502 - navigator.getFeature implementation (support hardware.memory). r=bz 2014-05-12 10:05:03 +08:00
Mounir Lamouri
bd7cae1e0e Bug 889335 - Implement navigator.languages and languagechange event. r=sicking,smaug 2014-05-12 13:48:15 +02:00
John Shih
94ed1cdba4 Bug 986837 - Part 1: Port MozNetworkStatsData to WebIDL. r=bzbarsky 2014-05-05 16:40:11 +08:00
Nathan Froyd
84041459a1 Bug 1003306 - part 2 - use services::GetPermissionManager everywhere that's appropriate; r=ehsan 2014-04-29 13:27:26 -04:00
Gene Lian
96ce5c1c53 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
1268aa20e8 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
13387ed757 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
5f1fde8824 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
412a6bc6ff Bug 907352 - Part 1: Update to most recent constraints syntax. r=mt 2014-04-18 14:00:16 -04:00
Ryan VanderMeulen
0ce621aabd Backed out changesets d8d01c95be03 and 5fa0c8f5ccb2 (bug 907352) for Linux64 mochitest-3 crashes. 2014-04-18 11:22:21 -04:00
Jan-Ivar Bruaroey
68500a88e9 Bug 907352 - Part 1: Update to most recent constraints syntax. r=mt 2014-04-18 03:23:29 -04:00
Thomas Zimmermann
b340776270 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
699fb909f8 Bug 904588: Fix whitespace errors, r=smaug 2014-04-16 09:30:26 +02:00
Peter Van der Beken
a5a294c6c5 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
2074c7670e Bug 993435 - Not return null for navigator.connection. r=bz 2014-04-09 10:20:31 +08:00
Boris Zbarsky
e74e09a7f2 Bug 993889 part 6. Remove the "scope" argument of dom::WrapObject methods. r=bholley 2014-04-10 00:58:43 -04:00
Boris Zbarsky
a0bb95a823 Bug 993889 part 1. Remove "scope" argument from nsContentUtils::WrapNative. r=bholley 2014-04-10 00:58:41 -04:00
Boris Zbarsky
79dab91ff6 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
d4bd64ee2c 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
5ef8a3a81b Bug 986992 - Part 1: Merge navigator.mozKeyboard to navigator.mozInputMethod. r=fabrice 2014-03-31 10:38:45 +08:00
John Shih
697caff053 Bug 960426 - Part 2: Modifications for IDL change. r=blassey 2014-03-05 11:54:55 +08:00
Ehsan Akhgari
2415f54dbc Bug 987387 - Make navigator.sendBeacon() respect private browsing mode; r=jdm 2014-03-26 00:15:14 -04:00
Phil Ringnalda
9cf3a317c0 Back out 9a1c527eeafc (bug 987387) for non-unified bustage
CLOSED TREE
2014-03-25 21:06:21 -07:00
Ehsan Akhgari
404ff699a8 Bug 987387 - Make navigator.sendBeacon() respect private browsing mode; r=jdm 2014-03-25 23:22:55 -04:00
Ehsan Akhgari
fccd52de29 Bug 985796 - Port the permission settings API to WebIDL; r=bzbarsky 2014-03-22 09:58:24 -04:00
Boris Zbarsky
7749df2777 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