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
Ehsan Akhgari
eff9f3e100
Bug 1183158 - Part 2: Get rid of SoftUpdateEnumerator; r=baku
2015-07-13 19:28:46 -04:00
Ehsan Akhgari
f47d8fadff
Bug 1183158 - Part 1: Get rid of RegistrationEnumerator; r=baku
2015-07-13 19:28:44 -04:00
Ehsan Akhgari
4d41f439fc
Bug 1183141 - Use nsTHashtable::Iterator in ServiceWorkerManager::ClaimClients; r=catalinb
2015-07-13 19:28:43 -04:00
Birunthan Mohanathas
47ed3a3675
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
Michael Layzell
e01ad73eaf
Bug 1181321 - Eliminate duplicate mRefCnt members in PromiseNativeHandler subclasses. r=baku
2015-07-09 08:56:00 +02:00
Wes Kocher
781244249b
Backed out changeset adf95d1cd0aa (bug 1173934) for fetch-frame-resource.https.html WPT orange and test_synthesized_response.js S4 orange CLOSED TREE
2015-07-10 15:59:01 -07:00
Wes Kocher
f2c450e6c8
Backed out changeset df6593df027b (bug 1173912)
2015-07-10 15:58:24 -07:00
Ben Kelly
44931bb4b8
Bug 1173912 Fail opaque responses for client requests. r=ehsan
2015-07-10 14:28:32 -07:00
Ben Kelly
6ff3ab6e72
Bug 1173934 Show a message if a docshell fails to load due to SW intercept failure. r=ehsan r=jdm
2015-07-10 14:28:32 -07:00
Ben Kelly
ea56470171
Bug 1181871 P2 Fix ServiceWorkerManager usage of stack-based ErrorResult. r=ehsan
2015-07-10 13:56:06 -07:00
Geoff Brown
f8e98ea39a
Bug 1026290 - Update mochitest-chrome manifests for android; r=jgriffin
2015-07-10 14:41:59 -06:00
Wes Kocher
502ddcea03
Backed out changeset 74293125739a (bug 1176341)
2015-07-10 12:48:20 -07:00
Andrew McCreight
206afa0d7f
Bug 1176341 - De-holder nsIXPConnect::CreateSandbox. r=baku,gabor
2015-07-10 07:41:33 -07:00
Randell Jesup
bc8df67fb5
Bug 1155059: Patch 5 - clean up ServiceWorkers and avoid leaks r=nikhil
2015-07-09 23:21:46 -04:00
Randell Jesup
cb8f0924d3
Bug 1155059: Patch 1&2 - Convert Dispatch() and friends to already_AddRefed<> r=froydnj
...
Modify Dispatch IDL and code to deal with MSVC issues with overloaded templates r=froydnj
2015-07-09 23:21:46 -04:00
Carsten "Tomcat" Book
cb003fe84c
Backed out changeset 2db7f8ad8c8f (bug 1178233) on request by jaoo
2015-07-09 10:53:26 +02: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
Jose Antonio Olivera Ortega
8b1be4c285
Bug 1178233 - [non-e10s] The update process doesn't work within about:serviceworkers in non-e10s mode. r=baku
2015-07-09 09:25:55 +02:00
Michael Layzell
3c86897cc3
Bug 1181318 - Eliminate duplicate mRefCnt members in nsRunnable subclasses. r=ehsan
2015-07-07 14:03:00 +02:00
Wes Kocher
9514270c46
Backed out changeset 35aee276e08f (bug 1179685) for wpt failures CLOSED TREE
2015-07-07 12:29:21 -07:00
Catalin Badea
9b37187787
Bug 1179685 - Fix messageport assert in wpt service worker test. r=baku
2015-07-07 11:11:34 -07: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
Dragana Damjanovic
e3003eee82
Bug 905127 - Part 2 - remove unnecessary nsNetUtil.h includes r=jduell
2015-07-06 07:55:00 +02:00
Emanuel Hoogeveen
e1b03075a7
Bug 905127 - Part 1 - Make some functions from nsNetUtil not inline. r=jduell
2015-07-07 04:17:00 +02:00
Andrea Marchesini
6ce3addf33
Bug 1176034 - Implement JSAutoStructuredCloneBuffer::clear(with callbacks and closure), r=sfink
2015-07-06 12:22:08 +01:00
Juan Gomez
01df2f691b
Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
2015-07-03 18:29:00 -07: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
Hiroyuki Ikezoe
4a1b0ba58a
Bug 1179982 - Fix all compile errors in dom/workers on non-unified build. r=mrbkap
2015-07-02 14:54:00 +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
Ben Kelly
d4fa5f7631
Bug 1167808 P3 FetchEvent.respondWith() should use opaque response internal body. r=nsm
2015-07-02 20:09:21 -07:00
Ben Kelly
c5ae961a65
Bug 1167808 P2 Block opaque response interception if pref is disabled. r=ehsan
2015-07-02 20:09:21 -07:00
Ben Kelly
9b0d642c00
Bug 1167808 P1 Add dom.serviceWorkers.interception.opaque.enabled pref. r=ehsan
2015-07-02 20:09:20 -07:00
Ehsan Akhgari
d0d2389e74
Bug 1179489 - Don't count service workers towards an origin's max worker quota; r=nsm
...
This is a follow-up to bug 1178339.
2015-07-02 18:48:48 -04: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
Ben Kelly
4b1446345f
Bug 1167808 P3 FetchEvent.respondWith() should use opaque response internal body. r=nsm
2015-07-02 14:34:00 -07:00
Ben Kelly
f630afd0da
Bug 1167808 P2 Block opaque response interception if pref is disabled. r=ehsan
2015-07-02 14:34:00 -07:00
Ben Kelly
95c1667dc5
Bug 1167808 P1 Add dom.serviceWorkers.interception.opaque.enabled pref. r=ehsan
2015-07-02 14:34:00 -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
Ben Kelly
48b6df87c0
Bug 1178508 ServiceWorker scripts should never be intercepted. r=baku
2015-07-02 07:30:06 -07:00
Ehsan Akhgari
01d300654e
Bug 1179567 - Make ServiceWorker keep its document and window alive; r=baku
...
Without this, ServiceWorker::PostMessage won't work when the window has
been cleaned up, since at that time the event targets are disconnected
from their owners and GetParentObject() will return null.
2015-07-02 09:48:27 -04:00
Ehsan Akhgari
7b92bd521c
Bug 1163410 - Ensure that JSAPI is properly initialized before calling ServiceWorkerClientPostMessageRunnable::DispatchDOMEvent; r=nsm
2015-07-01 20:45:13 -04:00
Ehsan Akhgari
18a06cc62d
Mark test_bug883784.jsm as a support file, no bug
2015-07-01 20:45:12 -04:00
Ehsan Akhgari
a1dac2f3e3
Bug 1178339 - Account for service workers separately in WorkerDomainInfo; r=nsm
2015-07-01 20:37:40 -04:00
Wes Kocher
e14a7d847c
Backed out changeset c0cfb1a32d09 (bug 1178339) for being the likely causes of a spike in serviceworker intermittent failures
2015-07-01 17:18:17 -07: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
4dbb0627ee
Bug 1178339 - Account for service workers separately in WorkerDomainInfo; r=nsm
2015-07-01 16:12:43 -04:00
Jan de Mooij
708e28e6b7
Bug 1177892 part 3 - Remove OBJECT_TO_JSVAL. r=evilpie
2015-06-30 21:09:46 -07:00
Jan de Mooij
c3dfaeab46
Bug 1177892 part 1 - Remove BOOLEAN_TO_JSVAL and STRING_TO_JSVAL. r=evilpie
2015-06-30 11:20:56 -07: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
Ryan VanderMeulen
9b6df02fe8
Backed out changesets ad58c270ce87 and 849151330d60 (bug 1177892) for B2G bustage.
...
CLOSED TREE
2015-06-30 15:48:11 -04:00
Ehsan Akhgari
c4e1fafc6c
Bug 1148935 - Correctly reflect worker and sharedworker RequestContext values; r=smaug
2015-06-30 15:30:08 -04:00
Jan de Mooij
ae8d5d837c
Bug 1177892 part 1 - Remove BOOLEAN_TO_JSVAL and STRING_TO_JSVAL. r=evilpie
2015-06-30 11:20:56 -07:00
Birunthan Mohanathas
ea4049b137
Bug 1174803 - Simplify RuntimeService::WorkerPrefChanged. r=bent
2015-06-30 11:16:03 -07:00
Jan de Mooij
c42999b66d
Bug 1177825 - Remove JSVAL_* constants. r=evilpie
2015-06-29 18:36:44 -07:00
Andrea Marchesini
c509bedefc
Bug 1177916 - URL should be a nsWrapperCache object, r=smaug
2015-06-29 17:03:47 +01:00
Andrea Marchesini
d390df7880
Bug 1177916 - URLSearchParams::GetParentObject should not return nullptr, r=smaug
2015-06-29 17:02:53 +01: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
3f01155885
Bug 1175138 P5 Make CacheStorage reject on untrusted origins. r=ehsan
2015-06-27 23:19:24 -04: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
Ben Kelly
eaa1c823dd
Bug 1175138 P3 Expose the devtools SW testing flag on workers. r=ehsan
2015-06-27 23:19:24 -04:00
Ben Kelly
a95586914c
Bug 1175138 P2 Expose dom.serviceWorkers.testing.enabled to workers. r=ehsan
2015-06-27 23:19:24 -04:00
Ben Kelly
6c39923dc3
Bug 1175138 P1 Make the dom.caches.testing.enabled pref available in workers. r=ehsan
2015-06-27 23:19:23 -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
Ben Kelly
98bc56b658
Bug 1173467 P3 Pass private browsing flag into CacheStorage factory methods. r=ehsan
2015-06-26 19:36:40 -07:00
Cameron McCormack
b5051cd9ca
Back out bug 1177916 (changeset d4c34d7fb112) for test_urlSearchParams.html failure.
2015-06-27 12:18:19 +10:00
Cameron McCormack
b78c4941a5
Back out bug 1173467 (changesets a20799ebf48c, 9312c5cb756e, c0e8bba17067, af075443ab21, 30cefdf8d020) for assertion failures in test_app_protocol.html.
2015-06-27 11:57:17 +10:00
Andrea Marchesini
7be71af0bf
Bug 1177916 - URLSearchParams::GetParentObject should not return nullptr, r=smaug
2015-06-26 17:44:34 -07:00
Ben Kelly
4f9723651e
Bug 1173467 P3 Pass private browsing flag into CacheStorage factory methods. r=ehsan
2015-06-26 17:42:56 -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
Ryan VanderMeulen
e6131fc8b8
Backed out changeset 8b4e4083639e (bug 1171931) for B2G debug emulator bustage.
2015-06-25 19:48:42 -04:00
Nikhil Marathe
7bd999534f
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-24 09:34:11 -07: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
e0074dc7bd
Bug 1114554 - Patch 5 - getNotifications() on worker thread. r=wchen
2015-05-04 09:04:25 -04:00
Nikhil Marathe
2f93c26df5
Bug 1114554 - Patch 4 - ServiceWorkerRegistration.getNotifications() on main thread. r=wchen
2015-04-27 14:18:54 -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
943e8a2744
Bug 1114554 - Patch 1 - Notification ServiceWorker API stubs. r=wchen,baku
2015-03-10 18:57:09 -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
Juan Gomez
2128198065
Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
2015-06-24 14:11:00 -04:00
Andrea Marchesini
df0b5aac61
Bug 1168933 - Send referrer when downloading worker script. r=khuey
2015-06-04 16:20:13 -07:00
Nikhil Marathe
08c9f345b2
Bug 1169044 - Patch 5 - build fixes. a=bustage
2015-06-04 17:26:05 -07:00
Nikhil Marathe
820ce7bcfc
Bug 1169044 - Patch 4 - Set referrer on intercepted request. r=jdm
2015-06-04 15:50:03 -07:00
Nikhil Marathe
ceb6e00867
Bug 1169044 - Patch 3 - Store and set principal with script URI on ServiceWorkers. r=ehsan
...
The ServiceWorkerRegistrationInfo's principal is the principal of the document
that called register(). If we create WorkerPrivate instances based off of
this, they have a valid principal in terms of security and same-origin-ness,
but the URI path is wrong. When fetching the script from the network, the
channel's principal is used to update the worker principal. We need to do the
same when the script is loaded from Cache. This patch adds support to store the
channel principal in the cache.
2015-06-04 21:39:34 -07:00
Nikhil Marathe
758cf86e07
Bug 1166350 - Push fixes for principals. r=kitcambridge,bholley
...
Fix xpcshell tests.
Add support for webapps-clear-data.
Trash old regs on idb version upgrade.
Use principal for permission check.
use principal in PushSubscription.
2015-06-24 13:34:54 -07:00
Ryan VanderMeulen
1d793fe4e1
Backed out changeset 98c7277a8fb5 (bug 1166350) for xpcshell failures.
2015-06-24 16:10:45 -04:00
Andrea Marchesini
9b4c082329
Bug 1174731 - patch 1 - Make searchParams attribute readonly, r=smaug
2015-06-24 12:15:59 -07:00
Nikhil Marathe
56fd5b72d0
Bug 1166350 - Push fixes for principals. r=kitcambridge,bholley
...
Fix xpcshell tests.
Add support for webapps-clear-data.
Trash old regs on idb version upgrade.
Use principal for permission check.
use principal in PushSubscription.
2015-06-02 15:56:33 -07:00
Nikhil Marathe
365efe4a1f
Bug 1160527 - Patch 1 - Support PushEvent.waitUntil(). r=baku.
2015-06-02 14:52:49 -07:00
Ehsan Akhgari
0ef246620c
Bug 1175480 - Expose the external content policy type from the load info objects; r=smaug
...
Consumers of this type need to deal with the external content policy
types. One example is HttpObserverManager.runChannelListener in
WebRequest.jsm.
2015-06-24 08:52:45 -07:00
Andrea Marchesini
ee4fd61beb
Bug 1176034 - MessagePort should force a close() if the structured clone algorithm fails, r=bent
2015-06-23 15:50:00 -07:00
Carsten "Tomcat" Book
3741555df1
Backed out changeset 4f4ceae7be1a (bug 1176034) for frequent bustages in Windows 8 x64 debug
2015-06-24 10:11:07 +02:00
Andrea Marchesini
0502aa5138
Bug 1176034 - MessagePort should force a close() if the structured clone algorithm fails, r=bent
2015-06-23 15:50:00 -07:00
Josh Matthews
a1c22c5ed6
Bug 1137683 - Use a loadgroup derived from the document's when updating a ServiceWorker; r=bkelly
2015-06-23 10:50:04 -07:00
Andrea Marchesini
c2c36cce1c
Bug 1174381 - ServiceWorkerManager::TeardownRunnable should be called when xpcom-shutdown notification is received, r=nsm
2015-06-23 05:56:29 -07:00
Ben Turner
081a9e4d1f
Bug 1171578 - Avoid crashing if indexedDB is used at a particular point in the worker shutdown sequence, r=baku.
2015-06-22 12:13:38 -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
Ryan VanderMeulen
cca5aaccbb
Backed out changeset b7653e3d5f91 (bug 1174381) for widespread assertion failures.
2015-06-21 07:47:02 -04:00
Andrea Marchesini
d7c01d93e1
Bug 1167296 - patch 2 - ServiceWorkerManager::Remove should use PBackground, r=nsm
2015-06-21 12:19:07 +01:00
Andrea Marchesini
83b5b76880
Bug 1167296 - patch 1 - ServiceWorkerManager::RemoveAll should use PBackground, r=nsm
2015-06-21 12:17:58 +01:00
Andrea Marchesini
6ec1d8f987
Bug 1174381 - ServiceWorkerManager::TeardownRunnable should be called when xpcom-shutdown notification is received, r=nsm
2015-06-21 10:21:28 +01:00
Valentin Gosu
1a499bbee5
Bug 1093611 - Stage 2 - Make hash getters not do percent decoding if dom.url.getters_decode_hash is false r=smaug
2015-06-15 15:55:02 +03: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
55cddb9d45
Backed out changeset b2c472fe14ca (bug 1175480) for crashes in serviceworkers/test_request_context.htm
2015-06-18 09:54:44 +02: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
Ehsan Akhgari
76441964ee
Bug 1175480 - Expose the external content policy type from the load info objects; r=smaug
...
Consumers of this type need to deal with the external content policy
types. One example is HttpObserverManager.runChannelListener in
WebRequest.jsm.
2015-06-17 15:09:06 -04:00
Jose Antonio Olivera Ortega
84f3dd3076
Bug 1160458 - Part 2: Test. r=nsm
2015-06-16 09:42:57 +02:00
Jose Antonio Olivera Ortega
43f972bfef
Bug 1160458 - Part 1: Use the CSP of the principal passed to CreateServiceWorker. r=nsm
2015-06-16 09:20:21 +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
Ehsan Akhgari
352c45da40
Bug 1147668 - Correctly reflect video and track RequestContext values; r=smaug
2015-06-16 21:18:08 -04:00
Wes Kocher
573848cc7d
Backed out changeset f46a712edf7e (bug 1147668) for assertion failures in test_access_control.html CLOSED TREE
2015-06-16 14:48:15 -07:00
Ryan VanderMeulen
937d35105a
Backed out changesets a08167680328 and b008f158e91f (bug 1093611) for talos svgr timeouts.
2015-06-16 15:37:37 -04:00
Ehsan Akhgari
0d4d8b61db
Bug 1147668 - Correctly reflect video and track RequestContext values; r=smaug
2015-06-16 14:49:58 -04:00
Valentin Gosu
25e4d4289c
Bug 1093611 - Stage 2 - Make hash getters not do percent decoding if dom.url.getters_decode_hash is false r=smaug
2015-06-16 19:46:31 +03:00
Valentin Gosu
64c8ea4639
Bug 1093611 - Stage 2 - Tests that hash getters don't do percent decoding r=smaug
2015-06-16 19:46:18 +03:00
Ehsan Akhgari
6d3956930d
Backed out changeset 7210dfe7ad78 (Bug 1147668) for test failure
2015-06-15 23:20:02 -04:00
Ehsan Akhgari
300dd058f1
Bug 1147668 - Correctly reflect video and track RequestContext values; r=smaug
2015-06-15 22:08:06 -04:00
Ryan VanderMeulen
e6cc35b894
Backed out changeset 068df0223a6c (bug 1125961) for e10s crashes.
...
CLOSED TREE
2015-06-15 15:27:53 -04:00
Josh Matthews
ab5bfd065d
Bug 1125961 - Allow sending null PBrowser actors when there's a triggering principal which can be used for security checks; r=dragana
2015-06-15 14:35:06 -04:00
Ryan VanderMeulen
425b4d9128
Backed out changeset 1d67d747b3eb (bug 911972) for frequent linux64 debug e10s test_post_message_advanced.html timeouts.
...
CLOSED TREE
2015-06-15 13:06:23 -04:00
Ryan VanderMeulen
d9740f2e8d
Backed out changesets 465dfc26cccb and bd11384b3241 (bug 952139) because it depends on bug 911972.
2015-06-15 13:04:02 -04:00
Andrea Marchesini
da7ce0ee62
Bug 952139 - patch 2 - Expose MessageChannel to workers in mochitests, r=smaug CLOSED TREE
2015-06-15 17:44:08 +01:00
Andrea Marchesini
068d9fc360
Bug 911972 - MessagePort and MessageChannel in workers, r=smaug, r=bent
2015-06-15 14:08:25 +01:00
Ben Kelly
152d3ac357
Bug 1169819 Add browser chrome test to validate SW force refresh. r=ehsan
2015-06-12 18:59:01 -07:00
Ben Kelly
c2d0944605
Bug 1172884 P2 Add test for synthesizing a redirect to a compressed resource. r=ehsan
2015-06-12 07:20:21 -07:00
Andrea Marchesini
80e037173b
Bug 1169867 - XMLHttpRequest::SendInternal should not unpin itself when the worker goes away. r=bent
2015-06-12 10:06:19 -04:00
Ehsan Akhgari
16d2bae349
Bug 1172948 - Part 3: Add an explicit test case to ensure that authenticated origins that have a non-authenticated parent cannot register a service worker; r=nsm
2015-06-12 09:45:50 -04:00
Ehsan Akhgari
dd5afa20ef
Bug 1172948 - Part 2: Consider all non-chrome parent documents when checking the authenticity of an origin; r=nsm
2015-06-12 09:45:48 -04:00
Ehsan Akhgari
4d7ef49543
Bug 1172948 - Part 1: Refactor the logic for checking for authenticated origins into a helper function; r=nsm
2015-06-12 09:45:46 -04:00
Phil Ringnalda
5d85d7ca4c
Backed out 3 changesets (bug 1172884, bug 1169819) for OS X timeouts in browser_force_refresh.js in bc3
...
CLOSED TREE
Backed out changeset 7b23ff6ac3a2 (bug 1169819)
Backed out changeset 1434730c0e19 (bug 1172884)
Backed out changeset 17d6ecf1b4ec (bug 1172884)
2015-06-11 20:57:24 -07:00
Nikhil Marathe
93f07d74e9
Bug 1170822 - Fix controlled documents comparison. r=catalinb
2015-06-02 14:53:09 -07:00
Ben Kelly
5ee5836010
Bug 1169819 Add browser chrome test to validate SW force refresh. r=ehsan
2015-06-11 18:29:28 -07:00
Ben Kelly
7c0957117c
Bug 1172884 P2 Add test for synthesizing a redirect to a compressed resource. r=ehsan
2015-06-11 18:29:28 -07:00
Wes Kocher
e48c96f77c
Backed out changeset 573451ac095c (bug 1172884)
2015-06-11 17:57:50 -07:00
Wes Kocher
4fced1fe01
Backed out changeset 8d71eb212b9a (bug 1169819)
2015-06-11 17:57:49 -07:00
Ben Kelly
f5ad1a1cbf
Bug 1169819 Add browser chrome test to validate SW force refresh. r=ehsan a=kwierso
2015-06-11 17:52:02 -07:00
Ben Kelly
d636346c9c
Bug 1172884 P2 Add test for synthesizing a redirect to a compressed resource. r=ehsan a=kwierso
2015-06-11 17:52:02 -07:00
Fernando Jimenez
50f9beb84f
Bug 1169249 - Unregister service worker registration when uninstalling a service-worker-enabled application. Tests. r=baku
2015-06-11 19:42:38 +02:00
Fernando Jimenez
b40f5cbb68
Bug 1169249 - Unregister service worker registration when uninstalling a service-worker-enabled application. r=baku
2015-06-11 19:42:38 +02:00
Eric Rahm
ee87d4e3ac
Bug 1171555 - Remove overly verbose ServiceWorker warnings. r=bkelly
2015-06-11 09:47:46 -07:00
Fernando Jimenez
fd45d8da7c
Bug 1137245 - ServiceWorkerManager should set WorkerPrivate::LoadInfo::mIndexedDBAllowed correctly. r=bent, bkelly
2015-06-11 15:32:54 +02:00
Fernando Jimenez
60419caa2e
Bug 1152899 - Disallow the interception of third-party iframes using service workers when the third-party cookie preference is set. r=smaug,baku
2015-06-11 15:32:54 +02:00
Jose Antonio Olivera Ortega
69ea4a00f4
Bug 1168226 - ServiceWorkerRegistrar only use the scope when registering a service worker. r=baku
2015-06-10 10:17:00 +02:00
Wes Kocher
6cc232193a
Merge m-c to inbound, a=merge CLOSED TREE
2015-06-10 18:38:28 -07:00
Wes Kocher
97a8a40886
Merge inbound to central, a=merge
2015-06-10 18:29:39 -07:00
Ehsan Akhgari
1644958e8e
Bug 1173240 - Use the document URI for performing the service worker registration secure origin check; r=baku
2015-06-10 10:33:36 -04:00
Andrea Marchesini
24ae5c2715
Bug 1155153 - about:serviceworkers should work in e10s mode, r=nsm, r=bholley
2015-06-04 19:51:57 +01:00
Christoph Kerschbaumer
d65d94543a
Bug 1117650 - Part 1: Move all CORS tests into dom/security/test. r=sicking
2015-06-08 16:21:31 -07:00
Ben Turner
3d0d731ba0
Bug 1173139 - Reorder global creation on workers, r=khuey.
2015-06-10 14:12:55 -07:00