Jan de Mooij
91656f1d39
Bug 1177892 part 3 - Remove OBJECT_TO_JSVAL. r=evilpie
2015-06-30 21:09:46 -07:00
Jan de Mooij
50d0e1c75e
Bug 1177892 part 1 - Remove BOOLEAN_TO_JSVAL and STRING_TO_JSVAL. r=evilpie
2015-06-30 11:20:56 -07:00
Ehsan Akhgari
8d468e4643
Bug 1148935 - Correctly reflect worker and sharedworker RequestContext values; r=smaug
2015-06-30 18:52:42 -04:00
Ryan VanderMeulen
d7cd04649e
Backed out changeset 07bf31cca660 (bug 1148935) for Werror bustage.
...
CLOSED TREE
2015-06-30 15:53:43 -04:00
Ryan VanderMeulen
1c944f7ca5
Backed out changesets ad58c270ce87 and 849151330d60 (bug 1177892) for B2G bustage.
...
CLOSED TREE
2015-06-30 15:48:11 -04:00
Ehsan Akhgari
55da6fb692
Bug 1148935 - Correctly reflect worker and sharedworker RequestContext values; r=smaug
2015-06-30 15:30:08 -04:00
Jan de Mooij
abbf48c613
Bug 1177892 part 1 - Remove BOOLEAN_TO_JSVAL and STRING_TO_JSVAL. r=evilpie
2015-06-30 11:20:56 -07:00
Birunthan Mohanathas
b732070fef
Bug 1174803 - Simplify RuntimeService::WorkerPrefChanged. r=bent
2015-06-30 11:16:03 -07:00
Jan de Mooij
61c36ee986
Bug 1177825 - Remove JSVAL_* constants. r=evilpie
2015-06-29 18:36:44 -07:00
Andrea Marchesini
04abd48c8b
Bug 1177916 - URL should be a nsWrapperCache object, r=smaug
2015-06-29 17:03:47 +01:00
Andrea Marchesini
b6226d258f
Bug 1177916 - URLSearchParams::GetParentObject should not return nullptr, r=smaug
2015-06-29 17:02:53 +01:00
Carsten "Tomcat" Book
a1f11d0729
merge mozilla-inbound to mozilla-central a=merge
2015-06-29 14:17:02 +02:00
Andrew Osmond
d4dbf7328b
Bug 1167650 - Expose DOMRequest and DOMCursor to workers. r=bent
2015-06-28 09:34:01 -07:00
Ben Kelly
10607c718d
Bug 1175138 P5 Make CacheStorage reject on untrusted origins. r=ehsan
2015-06-27 23:19:24 -04:00
Ben Kelly
2491e551ee
Bug 1175138 P4 Enable dom.caches.testing.enabled in existing tests. r=ehsan
2015-06-27 23:19:24 -04:00
Ben Kelly
b1e447cd9f
Bug 1175138 P3 Expose the devtools SW testing flag on workers. r=ehsan
2015-06-27 23:19:24 -04:00
Ben Kelly
1bd54713fa
Bug 1175138 P2 Expose dom.serviceWorkers.testing.enabled to workers. r=ehsan
2015-06-27 23:19:24 -04:00
Ben Kelly
1c019a552c
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
c9f8000dc9
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
c5aafc8aa9
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
4aa1f16fcb
Bug 1173467 P3 Pass private browsing flag into CacheStorage factory methods. r=ehsan
2015-06-26 19:36:40 -07:00
Cameron McCormack
a4d92eff62
Back out bug 1177916 (changeset d4c34d7fb112) for test_urlSearchParams.html failure.
2015-06-27 12:18:19 +10:00
Cameron McCormack
b3cd74b933
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
9be25c5399
Bug 1177916 - URLSearchParams::GetParentObject should not return nullptr, r=smaug
2015-06-26 17:44:34 -07:00
Ben Kelly
fb7d9df80e
Bug 1173467 P3 Pass private browsing flag into CacheStorage factory methods. r=ehsan
2015-06-26 17:42:56 -07:00
Ryan VanderMeulen
4a23b9e2bc
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
55b2086097
Backed out changeset 8b4e4083639e (bug 1171931) for B2G debug emulator bustage.
2015-06-25 19:48:42 -04:00
Nikhil Marathe
3f2e9dafc2
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
2e26b7957b
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
a14b6d6121
Bug 1114554 - Patch 6 - ServiceWorkerRegistration.getNotifications() tests. r=wchen
2015-05-04 19:10:53 -07:00
Nikhil Marathe
cb179dfc3d
Bug 1114554 - Patch 5 - getNotifications() on worker thread. r=wchen
2015-05-04 09:04:25 -04:00
Nikhil Marathe
abf903c887
Bug 1114554 - Patch 4 - ServiceWorkerRegistration.getNotifications() on main thread. r=wchen
2015-04-27 14:18:54 -07:00
Nikhil Marathe
ba03b73623
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
8f15953ec5
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
2d46bad799
Bug 1114554 - Patch 1 - Notification ServiceWorker API stubs. r=wchen,baku
2015-03-10 18:57:09 -07:00
Nikhil Marathe
875dedb839
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
98461fc4a4
Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
2015-06-24 14:11:00 -04:00
Andrea Marchesini
2effd53127
Bug 1168933 - Send referrer when downloading worker script. r=khuey
2015-06-04 16:20:13 -07:00
Nikhil Marathe
c882712580
Bug 1169044 - Patch 5 - build fixes. a=bustage
2015-06-04 17:26:05 -07:00
Nikhil Marathe
6d35b28b58
Bug 1169044 - Patch 4 - Set referrer on intercepted request. r=jdm
2015-06-04 15:50:03 -07:00
Nikhil Marathe
ccc56e1b20
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
2b07e52f76
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
a7d736ee1c
Backed out changeset 98c7277a8fb5 (bug 1166350) for xpcshell failures.
2015-06-24 16:10:45 -04:00
Andrea Marchesini
6dc1c0a268
Bug 1174731 - patch 1 - Make searchParams attribute readonly, r=smaug
2015-06-24 12:15:59 -07:00
Nikhil Marathe
5cb984764e
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
4aa5df87aa
Bug 1160527 - Patch 1 - Support PushEvent.waitUntil(). r=baku.
2015-06-02 14:52:49 -07:00
Ehsan Akhgari
29eec391b3
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
4f991476c3
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
695dba3d73
Backed out changeset 4f4ceae7be1a (bug 1176034) for frequent bustages in Windows 8 x64 debug
2015-06-24 10:11:07 +02:00
Andrea Marchesini
7882def155
Bug 1176034 - MessagePort should force a close() if the structured clone algorithm fails, r=bent
2015-06-23 15:50:00 -07:00