Commit Graph

3185 Commits

Author SHA1 Message Date
Aryeh Gregor
e1f9227fe6 Bug 1191305 - Alphabetize some includes; r=froydnj 2015-08-06 15:45:21 +03:00
Nikhil Marathe
2ea8c203e0 Bug 1190703 - Relax scope resolution assertion in ServiceWorkerContainer::Register. r=bkelly 2015-08-05 14:33:50 -07:00
Aryeh Gregor
a3c0771347 Bug 1190823 - Move OwningNonNull.h to xpcom/base/; r=froydnj 2015-08-05 15:28:27 +03:00
Birunthan Mohanathas
9b6236a10a Bug 1191100 - Remove XPIDL signature comments in .cpp files. r=ehsan
Comment-only so DONTBUILD.
2015-08-04 16:17:36 -07:00
Ryan VanderMeulen
36cde7c131 Merge m-c to inbound. a=merge
CLOSED TREE
2015-07-31 15:05:02 -04:00
Boris Zbarsky
de15290127 Bug 983301 part 2. Change Promise to not be distinguishable from any other type. r=peterv 2015-07-31 13:30:55 -04:00
Boris Zbarsky
c6f4dbf8d9 Bug 983301 part 1. Handle JS-to-native conversion for Promise values via calling Promise::Resolve on whatever value was passed in (except if the type is nullable and the passed-in value is null or undefined). r=peterv 2015-07-31 13:30:55 -04:00
Boris Zbarsky
9161435478 Bug 1135961. Implement subclassing of DOM objects. r=peterv 2015-07-31 13:30:55 -04:00
Bruce Sun
6a8f411661 Bug 1181478 - Expose BluetoothGattServer object in BluetoothAdapter. r=btian, r=mrbkap, a=me 2015-07-24 16:32:35 +08:00
Bobby Holley
106e778c81 Bug 1188696 - Hoist nsRefPtr.h into MFBT. r=froydnj 2015-07-29 10:44:59 -07:00
Olli Pettay
3c777eeb7e Bug 1183604, add some more assertions to help implementing new cycle collectable classes, r=mccr8 2015-07-29 13:28:45 +03:00
Ryan VanderMeulen
fc4caa5c9c Backed out changeset 40c187d91db4 (bug 1183604) for hazard analysis failures.
CLOSED TREE
2015-07-28 21:20:34 -04:00
Olli Pettay
184a359153 Bug 1183604, add some more assertions to help implementing new cycle collectable classes, r=mccr8 2015-07-28 20:02:15 +03:00
Boris Zbarsky
bfa3e86d78 Bug 1186696. Event handlers on JS-implemented webidl interfaces should have the same behavior as other event handlers: accept all values, convert non-objects to null. r=smaug 2015-07-28 12:35:39 -04:00
Ehsan Akhgari
d891bf7618 Bug 1188207 - Fix more constructors in DOM; r=baku 2015-07-28 08:53:28 -04:00
Ryan VanderMeulen
044ba1a2ab Backed out changeset beed8e3e86d9 (bug 1181478) for B2G test_interfaces.html failures. 2015-07-27 15:51:54 -04:00
Ryan VanderMeulen
d7986de05e Merge inbound to m-c. a=merge 2015-07-27 15:34:42 -04:00
Tom Tromey
e469d3beb5 Bug 1148593 - Create async stack in callback objects. r=bz, r=fitzgen 2015-07-24 07:01:00 -04:00
Tom Tromey
8ab236df60 Bug 1148593 - Pass JSContext to CallbackObject constructor. r=bz 2015-07-24 07:00:00 -04:00
Bruce Sun
4998a6532a Bug 1181478 - Expose BluetoothGattServer object in BluetoothAdapter. r=btian, r=mrbkap 2015-07-24 16:32:35 +08:00
Nikhil Marathe
812956b4c1 Bug 1184574 - Allow access to PushManager on ServiceWorker. r=kitcambridge,smaug,catalinb
Refactoring to allow access to PushManager in ServiceWorkerGlobalScope. See comment in PushManager.h for details.
2015-07-23 08:30:15 -07:00
Andrea Marchesini
10626e4601 Bug 1185381 - Make FileList clonable - patch 1 - move code into FileList.h/.cpp, r=smaug 2015-07-22 17:03:07 +01:00
Boris Zbarsky
af8251d70c Bug 909154. Remove the prefixed mozRequestAnimationFrame and its accoutrements. r=bkelly 2015-07-20 10:14:24 -04:00
Boris Zbarsky
606682baf1 Bug 1185028. Fix GCJsonifierMethod to correctly handle worker descriptors. r=nsm
toBindingNamespace() should only be called on descriptor names, not interface names.
2015-07-20 10:14:21 -04:00
Ryan VanderMeulen
9f708a5c1b Backed out changesets fa9fe193778f and 3eaf867930dd (bug 1148593) for test_async_setTimeout_stack.html and test_async_setTimeout_stack_across_globals.html failures. 2015-07-17 12:37:24 -04:00
Tom Tromey
2e72ef5901 Bug 1148593 - Create async stack in callback objects. r=bz, r=fitzgen 2015-07-17 07:48:00 -04:00
Tom Tromey
daaa9b9288 Bug 1148593 - Pass JSContext to CallbackObject constructor. r=bz 2015-07-17 07:47:00 -04:00
Jan de Mooij
da8e291e1f Bug 1177892 part 6 - Remove UINT_TO_JSVAL. r=evilpie 2015-07-17 11:51:54 +02:00
Jan de Mooij
a2a69229c8 Bug 1177892 part 5 - Remove DOUBLE_TO_JSVAL. r=evilpie 2015-07-17 11:51:52 +02:00
Kan-Ru Chen
4d3a642058 Bug 1179718 - Rename CheckPermissions to CheckAnyPermissions. r=bz 2015-07-17 11:07:53 +08:00
Kan-Ru Chen
6d102fd754 Bug 1179718 - Add a CheckAllPermissions extended attribute to WebIDL. r=bz 2015-07-17 11:06:23 +08:00
Nicholas Nethercote
072a8b1aa1 Bug 1182973 - Use nsTHashtable::Iterator in dom/bindings/. r=bz.
Changing the return type of Enumerator from PLDHashOperator to void -- possible
because the only such functions always return PL_DHASH_NEXT -- is a double-win
here.

- It lets us remove the dependency on pldhash.h.

- It makes it easier to replace the enumeration with iteration.
2015-07-14 07:49:30 -07:00
Nikhil Marathe
e70c925298 Bug 1114554 - Patch 2 - ServiceWorkerRegistration.showNotification(). r=wchen,baku
Refactor creation and show dispatch so Notification constructor and showNotification can use it.
Move persistence to ShowInternal.
NotificationStorage calls callback async even when fetching from cache, simply to have similar semantics.
Calls to Notification::Get() are performed async since persistence is now async after being moved to ShowInternal().
Both are in accordance with the spec where the "append to list of notifications" operation is performed in the "show steps" which are performed in parallel from API invocations.
2015-06-25 18:50:24 -07:00
Nikhil Marathe
1c6b24d392 Bug 1114554 - Patch 1 - Notification ServiceWorker API stubs. r=wchen,baku 2015-06-25 18:50:24 -07:00
Birunthan Mohanathas
e52329c788 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
Bobby Holley
5f8e962b23 Bug 1180921 - Give Optional<T> Maybe<T>-like operator== semantics. r=bz 2015-07-11 10:32:54 -04:00
Boris Zbarsky
b2e0ce9897 Bug 1180851. Don't make ThrowMethodFailed an inline function, because there's no really good reason to and we might as well save the codesize. r=peterv 2015-07-09 22:51:28 -04:00
Boris Zbarsky
5e8858b2f6 Bug 1180770 part 2. Remove the unused ifaceName/memberName arguments of ThrowMethodFailedWithDetails and rename it to ThrowMethodFailed. r=peterv 2015-07-09 22:51:28 -04:00
Boris Zbarsky
cedf483593 Bug 1180770 part 1. Remove the unused ThrowNotEnoughArgsError. r=peterv 2015-07-09 22:51:28 -04:00
Wes Kocher
6e1dfb8407 Backed out 5 changesets (bug 1180921) for build failures in BasePrincipal.cpp
Backed out changeset d8c1a2e11a9a (bug 1180921)
Backed out changeset f4dd8c53df5f (bug 1180921)
Backed out changeset b272a0ebf5d8 (bug 1180921)
Backed out changeset 8e86b6a7d201 (bug 1180921)
Backed out changeset bbdebd7b8881 (bug 1180921)
2015-07-09 17:43:08 -07:00
Bobby Holley
0439296813 Bug 1180921 - Give Optional<T> Maybe<T>-like operator== semantics. r=bz 2015-07-09 17:21:42 -07:00
Chris Pearce
5f5c753dbd Bug 1174593 - Null check context compartment in GetCurrentJSStack(). r=bholley 2015-07-09 19:29:17 +12:00
Boris Zbarsky
b685437bbe Bug 1180525. Run callbacks whose window is no longer current as long as its document is the active document in the browsing context. r=bholley
The distinction only matters when document.open() makes a different
window current without changing the active document.
2015-07-07 17:38:07 -04:00
Martin Thomson
27259a8788 Bug 1172785 - Adding StaticClassOverride routing for JS implemented WebIDL, r=peterv 2015-07-06 10:40:03 -07:00
Michael Layzell
9e3f6f813b Bug 1167384 - Remove unused SelfRef class. r=ehsan 2015-05-21 14:16:00 +02:00
Boris Zbarsky
e1064c603b Bug 1176236. Make typed array arguments work for constructors of JS-implemented interfaces. r=peterv 2015-07-01 14:15:20 -04:00
Boris Zbarsky
1744262129 Bug 1177869. Fix example codegen to output the correct return type for WrapObject in the non-wrappercached case. r=peterv 2015-07-01 14:15:20 -04:00
Boris Zbarsky
e73189f7da Bug 1162956 part 2. Forward-declare things as needed in example codegen. Also, use js/TypeDecls.h for the JSContext declaration and include BindingDeclarations.h so we get things like Optional (which are a pain to forward-declare). r=peterv 2015-07-01 14:15:19 -04:00
Boris Zbarsky
16ceb55340 Bug 1162956 part 1. Move forwardDeclareForType to be a method on ForwardDeclarationBuilder. r=peterv 2015-07-01 14:15:19 -04:00
Terrence Cole
1eacda008a Bug 1178581 - Interning does not and should not imply infinite lifetime; r=sfink 2015-06-30 07:58:31 -07:00