Commit Graph

3842 Commits

Author SHA1 Message Date
Ben Kelly
81cb582d32 Bug 1425316 P6 Remove ServiceWorkerManager::ShouldReportToWindow(). r=asuth 2017-12-19 10:04:49 -05:00
Ben Kelly
36ae9f5253 Bug 1425316 P4 Note that a ClientSource has called register() for a SW scope and use it to match window console reports. r=asuth 2017-12-19 10:04:48 -05:00
Ben Kelly
6c3cec99d8 Bug 1425316 P3 Make nsGlobalWindowInner::ShouldReportForServiceWorkerScope() handle checks for controlled windows. r=asuth 2017-12-19 10:04:48 -05:00
Ben Kelly
63518babe9 Bug 1425316 P1 Expose a chrome-only Window.shouldReportForServiceWorkerScope() method that initially forwards to ServiceWorkerManager. r=asuth 2017-12-19 10:04:47 -05:00
Olli Pettay
d78d3295c5 Bug 1412775 - Implement Event.composedPath, r=stone
--HG--
extra : rebase_source : a970c4a0daac4a7a02cec34733131734eb93b151
2017-12-18 18:07:36 +02:00
Andrea Marchesini
b1b879f86e Bug 1422316 - WorkerJSRuntime::Shutdown must call the base class ::Shutdown method, f=yoric, r=bkelly 2017-12-18 17:59:30 +01:00
Andrea Marchesini
6b58966a8e Bug 1425509 - Initialize PerformanceService in RuntimeService, r=bkelly 2017-12-18 17:49:54 +01:00
Ben Kelly
c19591bc97 Bug 1424336 Convert mLoadingPrincipal assertion into a runtime check. r=baku 2017-12-18 10:35:45 -05:00
Ben Kelly
5811e89cc4 Bug 1424300 P3 Add a mochitest verifying we can recover if the script cache is deleted. r=edenchuang 2017-12-14 13:27:11 -05:00
Ben Kelly
aaa9e9567a Bug 1424300 P2 Store response URLs in the service worker script cache. r=edenchuang 2017-12-14 13:27:11 -05:00
Ben Kelly
dcd091626b Bug 1424300 P1 Gracefully handle when the service worker script cache exists, but is empty. r=edenchuang 2017-12-14 13:27:11 -05:00
Gurzau Raul
321347c110 Backed out 22 changesets (bug 1419771) for build bustage build/src/dom/base/FuzzingFunctions.cpp on a CLOSED TREE
Backed out changeset b2b7b46c8ad0 (bug 1419771)
Backed out changeset 0206657d2ea2 (bug 1419771)
Backed out changeset f0f4b98a07b6 (bug 1419771)
Backed out changeset 4b52904694f4 (bug 1419771)
Backed out changeset 9f40cc12d6c6 (bug 1419771)
Backed out changeset f500a61f564c (bug 1419771)
Backed out changeset 0bd9d964df8a (bug 1419771)
Backed out changeset 1397a6bbb446 (bug 1419771)
Backed out changeset 7e77a00fa8b5 (bug 1419771)
Backed out changeset 5f6df771459a (bug 1419771)
Backed out changeset 7624e70b2965 (bug 1419771)
Backed out changeset b9d674bdc723 (bug 1419771)
Backed out changeset 5e44aeda4196 (bug 1419771)
Backed out changeset 601b49f51b41 (bug 1419771)
Backed out changeset d12dc5557982 (bug 1419771)
Backed out changeset 6c863ab2e986 (bug 1419771)
Backed out changeset 0866d79873ab (bug 1419771)
Backed out changeset 8ecc91474621 (bug 1419771)
Backed out changeset 19b14deed8fe (bug 1419771)
Backed out changeset 000c8d5fbc03 (bug 1419771)
Backed out changeset 2e263a2519c5 (bug 1419771)
Backed out changeset b628d9298be8 (bug 1419771)
2017-12-13 23:41:49 +02:00
Andrea Marchesini
13441b7385 Bug 1419771 - Introduce DOMPreferences, a thread-safe access to preferences for DOM - part 21 - Get rid of WorkerPrefs.h, r=asuth 2017-12-13 14:02:47 -06:00
Andrea Marchesini
d8578641ad Bug 1419771 - Introduce DOMPreferences, a thread-safe access to preferences for DOM - part 20 - DevTools enabled, r=asuth 2017-12-13 14:02:46 -06:00
Andrea Marchesini
4dbb2feaf1 Bug 1419771 - Introduce DOMPreferences, a thread-safe access to preferences for DOM - part 19 - Resist finger-printing enabled, r=asuth 2017-12-13 14:02:46 -06:00
Andrea Marchesini
cd3be47aa8 Bug 1419771 - Introduce DOMPreferences, a thread-safe access to preferences for DOM - part 18 - FetchObserver API enabled, r=asuth 2017-12-13 14:02:46 -06:00
Andrea Marchesini
210efe6cb8 Bug 1419771 - Introduce DOMPreferences, a thread-safe access to preferences for DOM - part 17 - Network Information enabled, r=asuth 2017-12-13 14:02:46 -06:00
Andrea Marchesini
49aa47edd3 Bug 1419771 - Introduce DOMPreferences, a thread-safe access to preferences for DOM - part 16 - Webkit/Blink directory picker enabled, r=asuth 2017-12-13 14:02:46 -06:00
Andrea Marchesini
8ad8463643 Bug 1419771 - Introduce DOMPreferences, a thread-safe access to preferences for DOM - part 15 - Offscreen Canvas enabled, r=asuth 2017-12-13 14:02:46 -06:00
Andrea Marchesini
aba8740db3 Bug 1419771 - Introduce DOMPreferences, a thread-safe access to preferences for DOM - part 14 - Request Context enabled, r=asuth 2017-12-13 14:02:46 -06:00
Andrea Marchesini
04278a029a Bug 1419771 - Introduce DOMPreferences, a thread-safe access to preferences for DOM - part 13 - Streams API enabled, r=asuth 2017-12-13 14:02:46 -06:00
Andrea Marchesini
03cfc272e6 Bug 1419771 - Introduce DOMPreferences, a thread-safe access to preferences for DOM - part 12 - Push enabled, r=asuth 2017-12-13 14:02:45 -06:00
Andrea Marchesini
c9c405725a Bug 1419771 - Introduce DOMPreferences, a thread-safe access to preferences for DOM - part 11 - Promise Rejection Event enabled, r=asuth 2017-12-13 14:02:45 -06:00
Andrea Marchesini
2ee056048d Bug 1419771 - Introduce DOMPreferences, a thread-safe access to preferences for DOM - part 10 - StorageManager enabled, r=asuth 2017-12-13 14:02:45 -06:00
Andrea Marchesini
e21d3ed9a0 Bug 1419771 - Introduce DOMPreferences, a thread-safe access to preferences for DOM - part 9 - ServiceWorker testing enabled, r=asuth 2017-12-13 14:02:45 -06:00
Andrea Marchesini
3bb525bc3a Bug 1419771 - Introduce DOMPreferences, a thread-safe access to preferences for DOM - part 8 - ServiceWorkers enabled, r=asuth 2017-12-13 14:02:45 -06:00
Andrea Marchesini
d2985dddf0 Bug 1419771 - Introduce DOMPreferences, a thread-safe access to preferences for DOM - part 7 - Notification Request-Interaction enabled, r=asuth 2017-12-13 14:02:45 -06:00
Andrea Marchesini
6577e4aae3 Bug 1419771 - Introduce DOMPreferences, a thread-safe access to preferences for DOM - part 6 - Notification API enabled, r=asuth 2017-12-13 14:02:45 -06:00
Andrea Marchesini
a1cad5ae6d Bug 1419771 - Introduce DOMPreferences, a thread-safe access to preferences for DOM - part 5 - Performance logging enabled, r=asuth 2017-12-13 14:02:45 -06:00
Andrea Marchesini
9447a08bbc Bug 1419771 - Introduce DOMPreferences, a thread-safe access to preferences for DOM - part 4 - DOM Cache testing enabled, r=asuth 2017-12-13 14:02:44 -06:00
Andrea Marchesini
bd8d59c237 Bug 1419771 - Introduce DOMPreferences, a thread-safe access to preferences for DOM - part 3 - DOM Caches enabled, r=asuth 2017-12-13 14:02:44 -06:00
Andrea Marchesini
33df556d46 Bug 1419771 - Introduce DOMPreferences, a thread-safe access to preferences for DOM - part 2 - image bitmap, r=asuth 2017-12-13 14:02:44 -06:00
Andrea Marchesini
6b770adcfa Bug 1419771 - Introduce DOMPreferences, a thread-safe access to preferences for DOM - part 1 - dump enabled, r=asuth 2017-12-13 14:02:44 -06:00
Ben Kelly
af4aa7e6aa Bug 1424943 Fix test_error_reporting.html not to race network vs Clients API. r=tt 2017-12-13 09:58:26 -05:00
Andrea Marchesini
5f1be317f0 Bug 1421094 - nsIUploadChannel2.cloneUploadStream returns the length of the stream, r=smaug 2017-12-12 18:38:19 -06:00
Ben Kelly
63c97930f1 Bug 1293277 P7 Make ServiceWorkerManager use ClientHandle::Control() for claiming and ClientSource::SetController() fire the controller change event. r=baku 2017-12-12 15:44:48 -05:00
Ben Kelly
890e126aaa Bug 1293277 P6 Use the ClientInfo.Id() value for FetchEvent.clientId. r=baku 2017-12-12 15:44:48 -05:00
Ben Kelly
cfb0e62f7b Bug 1293277 P5 Switch bindings over to new Client and Clients classes. r=baku 2017-12-12 15:44:47 -05:00
Ben Kelly
7fb7be80ac Bug 1293277 P3 Remove the dom.serviceWorkers.openWindow.enabled pref. r=baku 2017-12-12 15:44:47 -05:00
Ben Kelly
6ba0d31fb9 Bug 1293277 P2 Cleanup test_openWindow.html mochitest service worker a bit. r=baku 2017-12-12 15:44:47 -05:00
Kyle Machulis
180e7d761c Bug 1424571 - Move all notification tests to dom/notification; r=baku
Tests were split between dom/notification and
dom/test/mochitest/notification. Moving them all to the same place.

MozReview-Commit-ID: IP1YtIBmHcD


--HG--
rename : dom/tests/mochitest/notification/MockServices.js => dom/notification/test/mochitest/MockServices.js
rename : dom/tests/mochitest/notification/NotificationTest.js => dom/notification/test/mochitest/NotificationTest.js
rename : dom/tests/mochitest/notification/mochitest.ini => dom/notification/test/mochitest/mochitest.ini
rename : dom/tests/mochitest/notification/test_bug931307.html => dom/notification/test/mochitest/test_bug931307.html
rename : dom/tests/mochitest/notification/test_notification_basics.html => dom/notification/test/mochitest/test_notification_basics.html
rename : dom/tests/mochitest/notification/test_notification_storage.html => dom/notification/test/mochitest/test_notification_storage.html
2017-12-10 17:51:17 -08:00
Gurzau Raul
15f8898e50 Merge mozilla-central to autoland. r=merge a=merge CLOSED TREE 2017-12-09 00:56:50 +02:00
Gurzau Raul
91d3bc0100 Merge inbound to mozilla-central r=merge a=merge 2017-12-09 00:36:15 +02:00
Ben Kelly
65e9628fa6 Bug 1423913 P2 Make callers expect infallble CreateSource() and CreateHandle(). r=baku 2017-12-08 11:52:07 -05:00
Bill McCloskey
9f4d083047 Bug 1412456 - Test changes to no longer use interposition (r=felipe,bgrins,mrbkap)
MozReview-Commit-ID: 2nQPOSGTr1s
2017-12-07 12:55:24 -08:00
Andrew McCreight
9cdfde0a5e Bug 1409115 - Fix leaks by adding promise window proxy. r=bkelly
The service worker job queue can get stuck sometimes, so we don't want
the per-process service worker data structure to hold strong
references to content. Instead, I add a proxy that is only a weak
reference. The wrinkle is that we need to keep the promise alive as
long as the job and the window are otherwise alive. I solve this by
putting a cycle collected reference to the promise on the window
itself.

MozReview-Commit-ID: GbmCY4ZIQWk

--HG--
extra : rebase_source : 363ea865fd51bb44f3e727cd3469e316370e7cbc
2017-12-06 16:48:18 -08:00
Sylvestre Ledru
9bfe27d903 Bug 1394734 - Replace CONFIG['GNU_C*'] by CONFIG['CC_TYPE'] r=glandium
MozReview-Commit-ID: 7duJk2gSd4m

--HG--
extra : rebase_source : 7312fe276e561e8c034a5f6749774ae812727f9c
2017-12-07 22:09:15 +01:00
Andrea Marchesini
65b913c5f4 Bug 1423507 - Data URL Shared Workers must be shared when the parent origins match, r=bkelly 2017-12-07 12:29:05 +01:00
Andreea Pavel
89531e8dc3 Backed out 9 changesets (bug 1412456) for crashing talos g2 and unexpected network connections in browser-chrome's browser_searchEngine_behaviors.js r=backout a=backout on a CLOSED TREE
Backed out changeset 0c01a98f4fd5 (bug 1412456)
Backed out changeset 27077db47231 (bug 1412456)
Backed out changeset f35ec2a884f8 (bug 1412456)
Backed out changeset 602b30ac3c69 (bug 1412456)
Backed out changeset b1ff1050c589 (bug 1412456)
Backed out changeset f100d953f9eb (bug 1412456)
Backed out changeset d85af60fe259 (bug 1412456)
Backed out changeset 736f38486832 (bug 1412456)
Backed out changeset 13a637602dc2 (bug 1412456)
2017-12-07 12:20:21 +02:00
Tom Tung
c5d04dd0d5 Bug 1418376: Report to the console if a service worker is blocked because the storage is not fully allow. r=bkelly
--HG--
extra : rebase_source : eb1958c17cb2cc8e56b1eefe510817800ca19d2d
2017-11-29 09:29:55 +08:00