Commit Graph

632 Commits

Author SHA1 Message Date
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
1d6f011995 Bug 1173912 Fail opaque responses for client requests. r=ehsan 2015-07-14 13:11: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
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
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
Geoff Brown
f8e98ea39a Bug 1026290 - Update mochitest-chrome manifests for android; r=jgriffin 2015-07-10 14:41:59 -06:00
Carsten "Tomcat" Book
c199dd4f4c Backed out changeset ab0df10f86e2 (bug 1178233) 2015-07-09 10:52:24 +02:00
Jose Antonio Olivera Ortega
c3b0ab3c70 Bug 1178233 - [non-e10s] The update process doesn't work within about:serviceworkers in non-e10s mode. Test. r=baku 2015-07-09 09:26:04 +02:00
Ehsan Akhgari
97034701ff Bug 1180887 - Part 2: Split test_request_context.html into one test file per chunk; r=baku 2015-07-07 09:07:13 -04:00
Ehsan Akhgari
4893ee2ba2 Bug 1180887 - Part 1: Separate out the JS code inside test_request_context.html; r=baku 2015-07-07 09:06:15 -04:00
Fernando Jimenez
09b235e8ed Bug 1171651 - Disable the interception of app:// URIs in service workers on release builds. r=baku 2015-07-03 18:41:01 +02:00
Ben Kelly
3dfe061a07 Bug 1167808 P4 Test that respondWith() for a browser load reads the body correctly. r=ehsan 2015-07-02 20:09:21 -07:00
Wes Kocher
c444dc2a0d Backed out 4 changesets (bug 1167808) for mulet mochitest-4 permafail in test_fetch_cors_sw_reroute.html
Backed out changeset 1c9c72d93973 (bug 1167808)
Backed out changeset 9c94c759a0fb (bug 1167808)
Backed out changeset e8ac89eafb1d (bug 1167808)
Backed out changeset 48abf470ef5b (bug 1167808)
2015-07-02 15:30:29 -07:00
Ben Kelly
373c10f542 Bug 1167808 P4 Test that respondWith() for a browser load reads the body correctly. r=ehsan 2015-07-02 14:34:01 -07:00
Ehsan Akhgari
2d6aada293 Bug 1179753 - Use pushPrefEnv more in worker tests; r=baku 2015-07-02 12:22:48 -04:00
Ehsan Akhgari
d91f02ec18 Bug 1179548 - Close the windows opened in private browsing worker tests; r=baku 2015-07-02 12:22:47 -04:00
Ehsan Akhgari
18a06cc62d Mark test_bug883784.jsm as a support file, no bug 2015-07-01 20:45:12 -04:00
Wes Kocher
2d84390989 Backed out changeset c3d3ec68482b (bug 1163410) 2015-07-01 17:18:00 -07:00
Ehsan Akhgari
25b15343ab Bug 1163410 - Ensure that JSAPI is properly initialized before calling ServiceWorkerClientPostMessageRunnable::DispatchDOMEvent; r=nsm 2015-07-01 16:15:02 -04:00
Ehsan Akhgari
00d760e6ba Bug 1148935 - Correctly reflect worker and sharedworker RequestContext values; r=smaug 2015-06-30 18:52:42 -04:00
Ryan VanderMeulen
6a611e7f72 Backed out changeset 07bf31cca660 (bug 1148935) for Werror bustage.
CLOSED TREE
2015-06-30 15:53:43 -04:00
Ehsan Akhgari
c4e1fafc6c Bug 1148935 - Correctly reflect worker and sharedworker RequestContext values; r=smaug 2015-06-30 15:30:08 -04:00
Carsten "Tomcat" Book
c0d1c199e1 merge mozilla-inbound to mozilla-central a=merge 2015-06-29 14:17:02 +02:00
Andrew Osmond
d54c98cf44 Bug 1167650 - Expose DOMRequest and DOMCursor to workers. r=bent 2015-06-28 09:34:01 -07:00
Ben Kelly
a045d1505b Bug 1175138 P4 Enable dom.caches.testing.enabled in existing tests. r=ehsan 2015-06-27 23:19:24 -04:00
Nikhil Marathe
870def21e1 Bug 916893 - Patch 1 - Notification on workers. r=khuey,wchen
Does not implement the Service Worker API - https://notifications.spec.whatwg.org/#service-worker-api
***
Folded:
Bug 916893 - Better ownership model. r=khuey
Fix for bug found by ASan where we were touching the NotificationFeature after releasing it.
2015-06-25 18:53:02 -07:00
Ehsan Akhgari
cb9acf7054 Bug 1177816 - Dump a message when the service worker for test_request_context receives an unexpected context value; r=baku 2015-06-27 12:38:55 -07:00
Ryan VanderMeulen
beb2b187f5 Backed out 11 changesets (bug 916893, bug 1114554) for various mochitest and Gij failures.
Backed out changeset 247ca4bf258e (bug 1114554)
Backed out changeset 5578d5c280a6 (bug 1114554)
Backed out changeset 404830c1ecf7 (bug 1114554)
Backed out changeset 15bdf9c78e6e (bug 1114554)
Backed out changeset f92abe5ec784 (bug 1114554)
Backed out changeset 75324b6862a8 (bug 1114554)
Backed out changeset ce8a768782f2 (bug 1114554)
Backed out changeset 0d860fd12534 (bug 1114554)
Backed out changeset 7dc2448065a9 (bug 916893)
Backed out changeset c3b07f0d1a60 (bug 916893)
Backed out changeset 61c3f24cc908 (bug 916893)

CLOSED TREE
2015-06-25 19:52:40 -04:00
Andrea Marchesini
eff254e96b Bug 1177621 - SharedWorkers should not be shared between a private and a non-private documents, r=nsm 2015-06-26 11:18:18 -07:00
Nikhil Marathe
ae34b42c7f Bug 1114554 - Patch 6 - ServiceWorkerRegistration.getNotifications() tests. r=wchen 2015-05-04 19:10:53 -07:00
Nikhil Marathe
fc6c5fd22e 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 15:01:01 -07:00
Nikhil Marathe
137854b7b3 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-05-06 13:52:41 -07:00
Nikhil Marathe
5aa559655d Bug 916893 - Patch 1 - Notification on workers. r=khuey,wchen
Does not implement the Service Worker API - https://notifications.spec.whatwg.org/#service-worker-api
***
Folded:
Bug 916893 - Better ownership model. r=khuey
Fix for bug found by ASan where we were touching the NotificationFeature after releasing it.
2015-06-25 11:36:53 -07:00
Andrea Marchesini
df0b5aac61 Bug 1168933 - Send referrer when downloading worker script. r=khuey 2015-06-04 16:20:13 -07:00
Andrea Marchesini
9b4c082329 Bug 1174731 - patch 1 - Make searchParams attribute readonly, r=smaug 2015-06-24 12:15:59 -07:00
Ryan VanderMeulen
b8973fdf10 Bug 1163410 - Skip test_request_context.html on Android for frequent crashes. 2015-06-21 21:14:53 -04:00
Valentin Gosu
94c872bed1 Bug 1093611 - Stage 2 - Tests that hash getters don't do percent decoding r=smaug 2015-06-10 03:31:36 +03:00
Nikhil Marathe
daba37f19e Bug 1173389 - Disable ServiceWorker network interception by default. r=ehsan 2015-06-12 16:28:13 -07:00
Andrea Marchesini
4e917c2b87 Bug 1168411 - Disable test_sharedWorker_performance_user_timing.html on B2G debug for intermittent failures. r=RyanVM
CLOSED TREE
2015-06-19 07:58:00 -04:00
Andrea Marchesini
084407f17e Bug 1134224 - Disable test_bug1132395.html due to frequent intermittent failures. r=RyanVM 2015-06-19 06:36:00 -04:00
Carsten "Tomcat" Book
91f1e05385 Backed out changeset 7b09594541f3 (bug 1148935) 2015-06-18 09:48:01 +02:00
Ehsan Akhgari
ea3ccc550c Bug 1148935 - Correctly reflect worker and sharedworker RequestContext values; r=smaug 2015-06-17 17:48:45 -04:00
Ryan VanderMeulen
bc49aaf845 Backed out changeset 439e1f841ea2 (bug 1148935) for Werror bustage.
CLOSED TREE
2015-06-17 15:48:16 -04:00
Ehsan Akhgari
8012b28031 Bug 1148935 - Correctly reflect worker and sharedworker RequestContext values; r=smaug 2015-06-17 15:09:07 -04:00
Jose Antonio Olivera Ortega
84f3dd3076 Bug 1160458 - Part 2: Test. r=nsm 2015-06-16 09:42:57 +02:00
Andrea Marchesini
0aca3cea52 Bug 952139 - Enable MessagePort/MessageChannel by default, r=smaug 2015-06-17 11:45:17 +01:00
Andrea Marchesini
949d2bb91b Bug 911972 - MessagePort and MessageChannel in workers, r=smaug, r=bent 2015-06-17 11:44:27 +01:00
Fernando Jimenez
90fa30c54a Bug 1174078 - Calling "fetch" inside Service Worker's "onfetch" handler in b2g causes "onfetch" again that leads to an infinite loop. Test. r=nsm 2015-06-17 11:50:07 +02:00