Commit Graph

1964 Commits

Author SHA1 Message Date
Ryan VanderMeulen
50d519f161 Backed out changeset c88d1138bc38 (bug 1188091) for Mulet test_serviceworker_interfaces.html failures.
CLOSED TREE
2015-07-28 13:28:39 -04:00
Ehsan Akhgari
1ebf85a7c8 Bug 1188091 - Fix the exposure of Push interfaces; r=dougt,bzbarsky
Currently we don't check the dom.push.enabled pref in some cases for
some of these interfaces.  This patch unifies how all of these
interfaces are exposed to Window, Worker, and ServiceWorker.
2015-07-28 12:28:53 -04:00
Andrea Marchesini
d5fb31ae84 Bug 1184995 - StructuredCloneHelper for BroadcastChannel and DataStore, r=smaug 2015-07-28 08:38:16 +01:00
dimi
4d9c3f6026 Bug 1158735 - FetchEvent.client asserting in onFetch when there's no document. r=bkelly 2015-07-27 19:01:37 +08:00
Anup Kumar
f9d8ec04fb Bug 1171941 - Removed an incorrect URL prefix from fetch_tests.js. r=jdm 2015-07-25 08:44:00 +02:00
Eitan Isaacson
bb2cf399f8 Bug 1184626 - Add a per-process push message listener. r=smaug 2015-07-17 14:54:38 -07:00
Nikhil Marathe
ad3e15032d 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
Josh Matthews
09e7c40780 Bug 1186589 - Ensure CORS preflight requests are never intercepted. r=sicking 2015-07-23 10:25:12 -04:00
Boris Zbarsky
1d8dfc5c28 Bug 1186489. Apply the performance.now() resolution clamping in workers as well. r=froydnj 2015-07-22 13:22:16 -04:00
Andrew McCreight
a495d23e46 Bug 1176341 - De-holder nsIXPConnect::CreateSandbox. r=baku,gabor 2015-07-21 11:31:44 -07:00
Ryan VanderMeulen
13755b4c04 Backed out changeset 553a3e1e7b18 (bug 1176341) for bustage.
CLOSED TREE
2015-07-21 13:00:55 -04:00
Andrew McCreight
c38a7a94b3 Bug 1176341 - De-holder nsIXPConnect::CreateSandbox. r=baku,gabor 2015-07-21 09:44:37 -07:00
Ehsan Akhgari
a7a9cae381 Bug 1148030 - Correctly reflect object and embed RequestContext values; r=smaug
Note that these elements cannot be intercepted for now.  See bug
1168676 for the background.
2015-07-18 16:44:28 -04:00
Jan de Mooij
38d21aa34b Bug 1184564 part 2 - Use Value instead of jsval in dom/ and storage/. r=bz 2015-07-18 21:45:35 +02:00
Ehsan Akhgari
b5537d8000 Bug 1148044 - Correctly reflect frame and iframe RequestContext values; r=smaug 2015-07-18 13:18:06 -04:00
Olli Pettay
f304f3cc12 Bug 1183882, properly implement wrapper caching on PushMessageData, r=nsm 2015-07-18 01:17:14 +03:00
Kyle Huey
343f18704f Bug 1182316: Part 3 - Add assertions to most other WebIDL entry points, clean up nsIDOMJSWindow cruft. r=peterv 2015-07-16 22:10:35 -07:00
Jason Orendorff
a5a65b4e53 Bug 987514, part 3 - Make every global have a (usually empty) Reflect object; rename JS_InitReflect -> JS_InitReflectParse. r=Waldo.
The bit in MIRGenerator.h fixes a straight-up bug in the code, masked until now by unified builds (and unmasked because this patch adds a .cpp file, perturbing the unified build boundaries).
2014-11-04 21:41:43 -06:00
Ehsan Akhgari
3c071b865e Bug 1180275 - Part 2: Disable test_app_protocol.html in release builds; r=ferjm 2015-07-16 14:47:53 -04:00
Ryan VanderMeulen
22d77db0ae Backed out changesets 9a048b598b1e and 56e9597b1257 (bug 1180275) for OSX test_android_eclipse.py failures.
CLOSED TREE
2015-07-15 23:40:06 -04:00
Ehsan Akhgari
808a631e23 Bug 1180275 - Part 2: Disable test_app_protocol.html in release builds; r=ferjm 2015-07-15 20:00:00 -04:00
Ben Kelly
421933ed98 Bug 1181887 Fall back to network if ServiceWorker script fails to load. r=ehsan r=khuey 2015-07-15 12:21:40 -07:00
Olli Pettay
c29e236ad5 Bug 1183907, properly wrappercache worker URL object, r=baku 2015-07-15 14:50:59 +03:00
Nikhil Marathe
327f4e3a85 Bug 1183813 - PushEvent.data should be same instance every time. r=smaug 2015-07-14 13:10:58 -07:00
Eric Rahm
c8e90324c3 Bug 1183894 - Remove warning if MessagePort::CloseInternal is called before start. r=khuey 2015-07-14 18:06:32 -07:00
Catalin Badea
ed1068a522 Bug 1179685 - Fix messageport assert in wpt service worker test. r=baku 2015-07-14 17:41:13 -07:00
Andrea Marchesini
3091ea400a Bug 1160890 - Part 2: ImportScripts() should return muted errors with 3rd party scripts. r=smaug 2015-07-14 16:08:38 +01:00
Andrea Marchesini
4a9cc35b4e Bug 1160890 - Part 1: Remove unneeded code from ImportScripts(). r=smaug 2015-07-14 16:08:36 +01:00
Ben Kelly
1d6f011995 Bug 1173912 Fail opaque responses for client requests. r=ehsan 2015-07-14 13:11:26 -07:00
Ben Kelly
7d248a15f8 Bug 1173934 Show a message if a docshell fails to load due to SW intercept failure. r=ehsan r=jdm 2015-07-14 13:11:26 -07:00
Nikhil Marathe
4215e2e637 Bug 1114554 - Patch 8 - Support waitUntil() on notificationclick event. r=baku
This was originally a part of Bug 1160527, separated due to changes in order of landing the patches.
2015-06-25 18:50:26 -07:00
Nikhil Marathe
d99d4d842e Bug 1114554 - Patch 6 - ServiceWorkerRegistration.getNotifications() tests. r=wchen 2015-06-25 18:50:25 -07:00
Nikhil Marathe
2ce316e71c Bug 1114554 - Patch 5 - getNotifications() on worker thread. r=wchen 2015-06-25 18:50:25 -07:00
Nikhil Marathe
c82f6f8cc8 Bug 1114554 - Patch 4 - ServiceWorkerRegistration.getNotifications() on main thread. r=wchen 2015-06-25 18:50:25 -07:00
Nikhil Marathe
40af10ec0b Bug 1114554 - Patch 3 - Fire notificationclick event on ServiceWorkerGlobalScope. r=wchen,baku
Bug 1114554 - Patch 3.1 - ServiceWorker principal fixes. r=baku

Bug 1162088 introduced origin attributes that ServiceWorkerManager callers have to use. This patch updates notificationclick events to work.

Folded:
Hide NotificationEvent behind pref
2015-06-25 18:50:25 -07:00
Nikhil Marathe
d7c89d1814 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
b043678543 Bug 1114554 - Patch 1 - Notification ServiceWorker API stubs. r=wchen,baku 2015-06-25 18:50:24 -07:00
Jose Antonio Olivera Ortega
4298df6a75 Bug 1178233 - [non-e10s] The update process doesn't work within about:serviceworkers in non-e10s mode. Test. r=baku 2015-07-14 15:44:15 +02:00
Jose Antonio Olivera Ortega
daea6febce Bug 1178233 - [non-e10s] The update process doesn't work within about:serviceworkers in non-e10s mode. r=baku 2015-07-14 15:44:13 +02:00
Ehsan Akhgari
b2d84799cc Bug 1183158 - Part 5: Get rid of RemoveAllEnumerator; r=baku 2015-07-13 22:42:10 -04:00
Ehsan Akhgari
10eb66850f Bug 1183158 - Part 4: Get rid of RemoveEnumerator; r=baku 2015-07-13 22:42:08 -04:00
Ehsan Akhgari
69a8bf5851 Bug 1183158 - Part 3: Get rid of UnregisterEnumerator; r=baku 2015-07-13 22:42:06 -04:00
Ehsan Akhgari
3fea9f7ebe Bug 1183158 - Part 2: Get rid of SoftUpdateEnumerator; r=baku 2015-07-13 22:42:05 -04:00
Ehsan Akhgari
1c9ff44332 Bug 1183158 - Part 1: Get rid of RegistrationEnumerator; r=baku 2015-07-13 22:42:03 -04:00
Ehsan Akhgari
544718bcdd Bug 1183141 - Use nsTHashtable::Iterator in ServiceWorkerManager::ClaimClients; r=catalinb 2015-07-13 22:42:01 -04:00
Ryan VanderMeulen
2f11bd6a1f Backed out changeset 57167b45c9d3 (bug 1183141) for wpt failures.
CLOSED TREE
2015-07-13 21:07:29 -04:00
Ryan VanderMeulen
19f79a0f75 Backed out 5 changesets (bug 1183158) for wpt failures.
Backed out changeset 2dad407995cc (bug 1183158)
Backed out changeset 5c7525b1e21c (bug 1183158)
Backed out changeset 2e6a27e72d83 (bug 1183158)
Backed out changeset db9953b220ae (bug 1183158)
Backed out changeset b0ea3f8b4512 (bug 1183158)
2015-07-13 21:07:01 -04:00
Ehsan Akhgari
a61f08bf74 Bug 1183158 - Part 5: Get rid of RemoveAllEnumerator; r=baku 2015-07-13 19:28:51 -04:00
Ehsan Akhgari
cd22a1b4e4 Bug 1183158 - Part 4: Get rid of RemoveEnumerator; r=baku 2015-07-13 19:28:49 -04:00
Ehsan Akhgari
4602f2663c Bug 1183158 - Part 3: Get rid of UnregisterEnumerator; r=baku 2015-07-13 19:28:48 -04:00