Ben Kelly
cd445b9897
Bug 1425965 P6 Change test_fetch_integrity.html not to expect exact window ID values in console messages. r=asuth
2018-01-12 12:16:06 -05:00
Ben Kelly
ca1c57878e
Bug 1425965 P4 Remove mControlledDocument, mRegisteringDocuments, and mNavigationIntercepts from ServiceWorkerManager. r=asuth
2018-01-12 12:16:05 -05:00
Ben Kelly
18648deb01
Bug 1425965 P3 Make ServiceWorkerManager::FlushReportsToAllClients() use FlushReportsToConsoleForServiceWorkerScope(). r=asuth
2018-01-12 12:16:04 -05:00
Ben Kelly
eb42607c4e
Bug 1425965 P1 Make ServiceWorkerManager::ReportToAllClients use ConsoleUtils::ReportForServiceWorkerScope. r=asuth
2018-01-12 12:16:03 -05:00
Ben Kelly
eecacb4a97
Bug 1429486
Expose GetClientInfo() and GetController() on nsIGlobalObject. r=asuth
2018-01-11 20:46:08 -05:00
Andrew Sutherland
1fe2cfad13
Bug 1416879 - Part 0d: Move browser_multie10s_update.js into its own directory. r=bkelly
...
This test is unfortunately a victim of a multi-e10s unregister() race
from browser_force_refresh and given the imminent multi-e10s cleanup
that's going to happen, the more complicated alternatives aren't worth
the effort versus just moving this test to its own directory.
..and now it's disabled too. Bug 1429794 tracks re-enabling.
--HG--
rename : dom/workers/test/serviceworkers/browser_multie10s_update.js => dom/workers/test/serviceworkers/isolated/multi-e10s-update/browser_multie10s_update.js
rename : dom/workers/test/serviceworkers/file_multie10s_update.html => dom/workers/test/serviceworkers/isolated/multi-e10s-update/file_multie10s_update.html
rename : dom/workers/test/serviceworkers/server_multie10s_update.sjs => dom/workers/test/serviceworkers/isolated/multi-e10s-update/server_multie10s_update.sjs
extra : rebase_source : 2f93eda70120fff7f5b8ebac3db1f46c3aaf3070
extra : source : 3f059dbbf8ba6d42984a4a8c08836aec3ae37f47
2018-01-11 10:31:17 -05:00
Andrew Sutherland
095e3fbc68
Bug 1416879 - Part 0c: browser_multie10s_update.js should not use setTimeout. r=bkelly
...
This test used a fixed setTimeout of 3secs for serving the SW. This
lower-bounded the test runtime at 6 seconds, plus it was not safe in
the event of a slow test runner.
This set of changes, although a little ugly, improves the logic so that
the SW's transmission is driven by a separate "release" fetch that is
only triggered when both updates have been issued and the first update
failure has been reported. This ensures we are observing the desired
situation. There's also a sanity check on the number of times the SW
script is fetched.
--HG--
extra : rebase_source : 895af5a50578ca69ce9437b67fa0590c1f046682
extra : source : e708703ab4459ccba7a5242a6a50df4a47b59175
2018-01-09 17:31:01 -05:00
Andrew Sutherland
d709a493f2
Bug 1416879 - Part 0b: browser_multie10s_update.js needs to protect its invariants, clean-up after itself. r=bkelly
...
--HG--
extra : rebase_source : 97f6be59ee1e48ec537f97802caea2ef0f3c2763
extra : source : d8ac81aeacda111c1159993f1599b32d6fb46ce3
2018-01-09 16:16:24 -05:00
Andrew Sutherland
fffb233779
Bug 1416879 - Part 0a: Make browser_force_refresh.js clean up after itself. r=bkelly
...
--HG--
extra : rebase_source : 8c71c59161d5d3a3b9de486ab56b71f5c5a56887
extra : source : 83317df6c46b7a09d8f13b725bd955414307c03d
2018-01-10 12:38:25 -05:00
Andrew Sutherland
a0ec53afae
Bug 1416879 - Part 6: Test cancellation of diverted client-intercepted streams. r=bkelly
...
This adds a test where we have a ServiceWorker return 2 different types
of streams that Firefox recognizes as downloads which are handled by
diversion of the channel to the parent. The diverted downloads are
then cancelled and we verify that cancellation actually results in the
underlying connections being closed and/or the ServiceWorker notified.
Our 2 types of streams are:
1. A pass-through stream that is incrementally delivered through use of
an .sjs file that delivers data using setInterval.
2. A SW-authored ReadableStream (which is not enabled by default, so we
set a pref.)
Determining when the .sjs's stream is canceled is accomplished by
opening a second "monitor" connection that only completes when the
streaming connection is closed.
In all cases we differentiate between cancelation and timeouts firing.
--HG--
extra : rebase_source : 255ea1b97d632363d7465d6d116a8c37dcca85c3
extra : source : 840a6e04bcea7d87e362adf14a37b7c17e20f043
2018-01-04 18:38:43 -05:00
Coroiu Cristina
ed1a813295
Backed out 2 changesets (bug 1423495) for wpt failures at /server-timing/test_server_timing.html r=backout on a CLOSED TREE
...
Backed out changeset f7667f5a63af (bug 1423495)
Backed out changeset aca79713b901 (bug 1423495)
2018-01-10 21:40:58 +02:00
Kershaw Chang
dfd9fce569
Bug 1423495 - Part 1: Implement PerformanceServerTiming. r=baku
...
This patch includes:
1. Introduce PerformanceServerTiming.webidl.
2. Add serverTiming in PerformanceResourceTiming.webidl.
3. Get serverTiming data from nsITimedChannel and keep it in PerformanceTimng class.
4. Add PerformanceServerTiming to test_interfaces.js.
2018-01-10 04:01:00 -05:00
Andrea Marchesini
9c2f965727
Bug 1424701 - Test for uploading files via ServiceWorker, r=bkelly
2018-01-10 17:04:09 +01:00
David Major
bace46558f
Bug 1419771 followup: fix mingw build bustage
2018-01-09 15:43:47 -05:00
Ben Kelly
166bafcfe1
Bug 1428652 P3 Fix typo in browser_unregister_with_containers.js. r=me
2018-01-09 15:39:34 -05:00
Ben Kelly
65eb505d92
Bug 1428652 P2 Verify that unregistering a service worker in one container does not break a SW with same scope in different container. r=asuth
2018-01-09 14:55:05 -05:00
Ben Kelly
1819c124bd
Bug 1428652 P1 Make service worker registration removal take container principals into account. r=asuth
2018-01-09 14:55:04 -05:00
Ben Kelly
1e126cdab8
Bug 1429029 Force browser_storage_permission.js to use a single content process to avoid multi-e10s service worker propagation races. r=asuth
2018-01-09 14:28:13 -05:00
Ben Kelly
5fa4248b8a
Bug 1428650 Make ServiceWorkerManager::MaybeClaimClient() handle inconsistent child-process SWM state. r=asuth
2018-01-09 14:24:58 -05:00
Ben Kelly
6b60ca24ef
Bug 1426977 P4 Add mochitest verifying service workers respect per-site cookie permissions. r=mystor
2018-01-08 20:25:53 -05:00
Andrea Marchesini
112a861fb6
Bug 1419771 - Introduce DOMPrefs, a thread-safe access to preferences for DOM - part 21 - Get rid of WorkerPrefs.h, r=asuth
2018-01-08 14:05:07 +01:00
Andrea Marchesini
4fe8b382b6
Bug 1419771 - Introduce DOMPrefs, a thread-safe access to preferences for DOM - part 20 - DevTools enabled, r=asuth
2018-01-08 14:05:06 +01:00
Andrea Marchesini
2bfde4fc2d
Bug 1419771 - Introduce DOMPrefs, a thread-safe access to preferences for DOM - part 19 - Resist finger-printing enabled, r=asuth
2018-01-08 14:05:06 +01:00
Andrea Marchesini
7970f659de
Bug 1419771 - Introduce DOMPrefs, a thread-safe access to preferences for DOM - part 18 - FetchObserver API enabled, r=asuth
2018-01-08 14:05:05 +01:00
Andrea Marchesini
bbefbae583
Bug 1419771 - Introduce DOMPrefs, a thread-safe access to preferences for DOM - part 17 - Network Information enabled, r=asuth
2018-01-08 14:05:05 +01:00
Andrea Marchesini
1b4b3007e5
Bug 1419771 - Introduce DOMPrefs, a thread-safe access to preferences for DOM - part 16 - Webkit/Blink directory picker enabled, r=asuth
2018-01-08 14:05:05 +01:00
Andrea Marchesini
53cbde0f48
Bug 1419771 - Introduce DOMPrefs, a thread-safe access to preferences for DOM - part 15 - Offscreen Canvas enabled, r=asuth
2018-01-08 14:05:05 +01:00
Andrea Marchesini
aacb9ccdfb
Bug 1419771 - Introduce DOMPrefs, a thread-safe access to preferences for DOM - part 14 - Request Context enabled, r=asuth
2018-01-08 14:05:05 +01:00
Andrea Marchesini
f4ab91bebc
Bug 1419771 - Introduce DOMPrefs, a thread-safe access to preferences for DOM - part 13 - Streams API enabled, r=asuth
2018-01-08 14:05:05 +01:00
Andrea Marchesini
4e9579eb6c
Bug 1419771 - Introduce DOMPrefs, a thread-safe access to preferences for DOM - part 12 - Push enabled, r=asuth
2018-01-08 14:05:05 +01:00
Andrea Marchesini
c05772d855
Bug 1419771 - Introduce DOMPrefs, a thread-safe access to preferences for DOM - part 11 - Promise Rejection Event enabled, r=asuth
2018-01-08 14:05:04 +01:00
Andrea Marchesini
01fd1fc62e
Bug 1419771 - Introduce DOMPrefs, a thread-safe access to preferences for DOM - part 10 - StorageManager enabled, r=asuth
2018-01-08 14:05:04 +01:00
Andrea Marchesini
d6a3041434
Bug 1419771 - Introduce DOMPrefs, a thread-safe access to preferences for DOM - part 9 - ServiceWorker testing enabled, r=asuth
2018-01-08 14:05:04 +01:00
Andrea Marchesini
a45ddd5050
Bug 1419771 - Introduce DOMPrefs, a thread-safe access to preferences for DOM - part 8 - ServiceWorkers enabled, r=asuth
2018-01-08 14:05:04 +01:00
Andrea Marchesini
19b6228ddd
Bug 1419771 - Introduce DOMPrefs, a thread-safe access to preferences for DOM - part 7 - Notification Request-Interaction enabled, r=asuth
2018-01-08 14:05:04 +01:00
Andrea Marchesini
8fada45fa4
Bug 1419771 - Introduce DOMPrefs, a thread-safe access to preferences for DOM - part 6 - Notification API enabled, r=asuth
2018-01-08 14:05:04 +01:00
Andrea Marchesini
61778fdf43
Bug 1419771 - Introduce DOMPrefs, a thread-safe access to preferences for DOM - part 5 - Performance logging enabled, r=asuth
2018-01-08 14:05:04 +01:00
Andrea Marchesini
615e4c18e4
Bug 1419771 - Introduce DOMPrefs, a thread-safe access to preferences for DOM - part 4 - DOM Cache testing enabled, r=asuth
2018-01-08 14:05:04 +01:00
Andrea Marchesini
b0c234924a
Bug 1419771 - Introduce DOMPrefs, a thread-safe access to preferences for DOM - part 3 - DOM Caches enabled, r=asuth
2018-01-08 14:05:03 +01:00
Andrea Marchesini
9a25904cf8
Bug 1419771 - Introduce DOMPrefs, a thread-safe access to preferences for DOM - part 2 - image bitmap, r=asuth
2018-01-08 14:05:03 +01:00
Andrea Marchesini
1a7b13aab4
Bug 1419771 - Introduce DOMPrefs, a thread-safe access to preferences for DOM - part 1 - dump enabled, r=asuth
2018-01-08 14:05:03 +01:00
Dorel Luca
04e91897cf
Backed out 11 changesets (bug 1252998) for faling browser-chrome on browser/base/content/test/sanitize/browser_sanitize-offlineData.js
...
Backed out changeset a9ec63c01c50 (bug 1252998)
Backed out changeset a3e5299b882a (bug 1252998)
Backed out changeset aa511b206e21 (bug 1252998)
Backed out changeset 5875848a48ab (bug 1252998)
Backed out changeset 7fd2523680d1 (bug 1252998)
Backed out changeset a45e28e573a4 (bug 1252998)
Backed out changeset 92e8cc81b417 (bug 1252998)
Backed out changeset da38d133549e (bug 1252998)
Backed out changeset 5be23a98b47c (bug 1252998)
Backed out changeset 609093736110 (bug 1252998)
Backed out changeset f4955cf6447f (bug 1252998)
--HG--
rename : browser/base/content/test/sanitize/browser_purgehistory_clears_sh.js => browser/base/content/test/general/browser_purgehistory_clears_sh.js
rename : browser/base/content/test/sanitize/browser_sanitize-passwordDisabledHosts.js => browser/base/content/test/general/browser_sanitize-passwordDisabledHosts.js
rename : browser/base/content/test/sanitize/browser_sanitize-sitepermissions.js => browser/base/content/test/general/browser_sanitize-sitepermissions.js
rename : browser/base/content/test/sanitize/browser_sanitize-timespans.js => browser/base/content/test/general/browser_sanitize-timespans.js
rename : browser/base/content/test/sanitize/browser_sanitizeDialog.js => browser/base/content/test/general/browser_sanitizeDialog.js
2018-01-08 11:00:39 +02:00
Andrea Marchesini
d88b2a0051
Bug 1252998 - StorageActivityService - part 6 - StorageActivityService in ServiceWorkerRegistrar, r=asuth
2018-01-08 08:31:38 +01:00
Andrea Marchesini
c508e62b7e
Bug 1252998 - StorageActivityService - part 4 - Introduce ServiceWorkerCleanUp.jsm to clean up ServiceWorker data, r=asuth
2018-01-08 08:31:38 +01:00
Andrea Marchesini
b944c4971e
Bug 1252998 - StorageActivityService - part 3 - ServiceWorkerManager must not cleanup data when purge-session-history notification is dispatched, r=asuth
2018-01-08 08:31:35 +01:00
Narcis Beleuzu
0a801af7ea
Merge mozilla-central to inbound. r=merge a=merge on a CLOSED TREE
2018-01-07 12:01:04 +02:00
Brindusan Cristian
f42618c99d
Backed out 6 changesets (bug 1416879) for bc permafailures on windows on browser_multie10s_update.js r=backout a=backout
...
Backed out changeset 840a6e04bcea (bug 1416879)
Backed out changeset 994dc643a2ab (bug 1416879)
Backed out changeset 8e4fd74e7f5e (bug 1416879)
Backed out changeset 5453b8a58f0c (bug 1416879)
Backed out changeset d156f6b687e1 (bug 1416879)
Backed out changeset 714d3942fb10 (bug 1416879)
2018-01-07 11:55:44 +02:00
Adrian Wielgosik
0e43a76787
Bug 1421358 - Remove GCRuntime::notifyDidPaint and refresh_frame_slices.enabled pref. r=jonco
...
MozReview-Commit-ID: HBh0qyPckKv
2018-01-06 22:25:25 +01:00
Andrew Sutherland
3f90214c93
Bug 1416879 - Part 6: Test cancellation of diverted client-intercepted streams. r=bkelly
...
This adds a test where we have a ServiceWorker return 2 different types
of streams that Firefox recognizes as downloads which are handled by
diversion of the channel to the parent. The diverted downloads are
then cancelled and we verify that cancellation actually results in the
underlying connections being closed and/or the ServiceWorker notified.
Our 2 types of streams are:
1. A pass-through stream that is incrementally delivered through use of
an .sjs file that delivers data using setInterval.
2. A SW-authored ReadableStream (which is not enabled by default, so we
set a pref.)
Determining when the .sjs's stream is canceled is accomplished by
opening a second "monitor" connection that only completes when the
streaming connection is closed.
In all cases we differentiate between cancelation and timeouts firing.
--HG--
extra : rebase_source : bee2d8ae5dedfb88c1bb8fa5cf452014d74afaed
2018-01-04 18:38:43 -05:00
Ben Kelly
64ef60ebaa
Bug 1428447 Set a loading principal on ServiceWorker WorkerPrivate objects. r=asuth
2018-01-05 19:50:09 -05:00
Ben Kelly
fd30dd024a
Bug 1425975 P15 Add session lifetime policy checks to test_third_party_iframe.html. r=asuth
2018-01-05 12:10:22 -05:00
Ben Kelly
d9c3b35de3
Bug 1425975 P11 Fix test_workerupdatefound.html not to frame loading against SW activation and updatefound events. r=asuth
2018-01-05 12:10:22 -05:00
Ben Kelly
8d1c01e9eb
Bug 1425975 P10 Fix the test_skip_waiting.html mochitest to properly wait for active worker state. r=asuth
2018-01-05 12:10:21 -05:00
Ben Kelly
3bd4435759
Bug 1425975 P9 Refactor MaybeCheckNavigationUpdate() to take a ClientInfo instead of a document. r=asuth
2018-01-05 12:10:21 -05:00
Ben Kelly
c67746c9b2
Bug 1425975 P7 Use the mControlledClients list to drive controller start and stop logic. r=asuth
2018-01-05 12:10:21 -05:00
Ben Kelly
aaf7a2cb50
Bug 1425975 P6 Rename some service worker methods to not reference documents. r=asuth
2018-01-05 12:10:21 -05:00
Ben Kelly
81e3a5bfa7
Bug 1425975 P5 Make ServiceWorkerManager::RemoveRegistration assert there is no controlled document. r=asuth
2018-01-05 12:10:20 -05:00
Ben Kelly
9354f0db20
Bug 1425975 P4 Make ServiceWorkerManager::UpdateClientControllers use mControlledClients. r=asuth
2018-01-05 12:10:20 -05:00
Ben Kelly
d199c719ef
Bug 1425975 P3 Refactor ServiceWorkerManager::GetDocumentRegistration() to GetClientRegistration(). r=asuth
2018-01-05 12:10:20 -05:00
Ben Kelly
0d02480ce1
Bug 1425975 P2 Add ServiceWorkerManager mControlledClients to track controlled ClientHandle references. r=asuth
2018-01-05 12:10:20 -05:00
Ben Kelly
8b1b458cac
Bug 1428077 Make FinalChannelPrincipalIsValid always defined instead of only for MOZ_DIAGNOSTIC_ASSERT. r=baku
2018-01-04 17:35:41 -05:00
Lars T Hansen
b6e7d3a2ba
Bug 1423225 - Disable javascript.options.shared_memory. r=lth, r=jgraham, a=lizzard
2017-11-08 11:44:53 +01:00
Ben Kelly
6cb7f39713
Bug 1426162 Convert worker main script principal assertion to runtime check. r=baku
2018-01-03 10:56:14 -05:00
Csoregi Natalia
0bf10c4d4e
Backed out 14 changesets (bug 1425975) for M(5) permafails mochitest/test_ext_webrequest_filter.html. r=backout a=backout
...
Backed out changeset e6f4a2d1df9a (bug 1425975)
Backed out changeset 1e657fa97b71 (bug 1425975)
Backed out changeset 9e1544ec814d (bug 1425975)
Backed out changeset 0e50d9d1d069 (bug 1425975)
Backed out changeset fb89dbd922ba (bug 1425975)
Backed out changeset f2b451ce55d4 (bug 1425975)
Backed out changeset 4ce186c6d8f5 (bug 1425975)
Backed out changeset 6f520ab76d6a (bug 1425975)
Backed out changeset f091f5e182c4 (bug 1425975)
Backed out changeset 82d39ed8c831 (bug 1425975)
Backed out changeset df13eba47970 (bug 1425975)
Backed out changeset 553628a56e6a (bug 1425975)
Backed out changeset acf4d61babab (bug 1425975)
Backed out changeset b7ae11b5bce8 (bug 1425975)
2017-12-24 00:23:57 +02:00
Ben Kelly
a03dd3c968
Bug 1425975 P11 Fix test_workerupdatefound.html not to frame loading against SW activation and updatefound events. r=asuth
2017-12-22 21:09:19 -05:00
Ben Kelly
171584cc47
Bug 1425975 P10 Fix the test_skip_waiting.html mochitest to properly wait for active worker state. r=asuth
2017-12-22 21:09:19 -05:00
Ben Kelly
ae22e882e6
Bug 1425975 P9 Refactor MaybeCheckNavigationUpdate() to take a ClientInfo instead of a document. r=asuth
2017-12-22 21:09:19 -05:00
Ben Kelly
b09f6aba9a
Bug 1425975 P7 Use the mControlledClients list to drive controller start and stop logic. r=asuth
2017-12-22 21:09:19 -05:00
Ben Kelly
d05f2745d8
Bug 1425975 P6 Rename some service worker methods to not reference documents. r=asuth
2017-12-22 21:09:18 -05:00
Ben Kelly
12e02a611a
Bug 1425975 P5 Make ServiceWorkerManager::RemoveRegistration assert there is no controlled document. r=asuth
2017-12-22 21:09:18 -05:00
Ben Kelly
ef72634aa7
Bug 1425975 P4 Make ServiceWorkerManager::UpdateClientControllers use mControlledClients. r=asuth
2017-12-22 21:09:18 -05:00
Ben Kelly
3db7469586
Bug 1425975 P3 Refactor ServiceWorkerManager::GetDocumentRegistration() to GetClientRegistration(). r=asuth
2017-12-22 21:09:18 -05:00
Ben Kelly
5dbaaf5ed3
Bug 1425975 P2 Add ServiceWorkerManager mControlledClients to track controlled ClientHandle references. r=asuth
2017-12-22 21:09:18 -05:00
arthur.iakab
373adc6f0d
Merge Inbound to mozilla-central r=merge a=merge
2017-12-22 00:19:24 +02:00
Ben Kelly
b05397d47c
Bug 1401359 Disable SharedWorker if in windows that cannot access storage. r=baku
2017-12-21 10:50:27 -05:00
Florian Quèze
032c961e0a
Bug 1421992 - script-generated patch to replace do_check_* functions with their Assert.* equivalents, rs=Gijs.
2017-12-21 11:08:17 +01:00
Eden Chuang
3fd3115e94
Bug 1423623 - Add telemetry for alternate data stream on service worker synthesized channels. r=bkelly, data-r=francois
...
1. Create a new telemetry scalar SW_ALTERNATIVE_BODY_USED_COUNT to count the
number of the alternative body used in service worker synthesized channels.
2. To report values of fetching related time of InterceptChannel according to
the detail subresource type. Now subresource/script, subresource/other,
subresource/image and subresource/stylesheet are provided, and keep using
subresource for other types.
2017-12-15 14:35:44 +08:00
Andrew McCreight
770567bc01
Bug 1410209, part 2 - Disambiguate some service worker runnable names. r=bkelly
...
With part 3, these names are used to identify the runnables to the
XPCOM leak checking system. There are some other classes that already
use a few of these names, so change them to something unique.
MozReview-Commit-ID: 5AN7tG5yKBk
--HG--
extra : rebase_source : a875c9c5f788e9c47e3b150d8fc31186caa591e4
2017-10-27 10:45:52 -07:00
Ben Kelly
0240c2751f
Bug 1426253 P3 Use the window/document GetController() method. r=asuth
2017-12-20 10:53:18 -05:00
Ben Kelly
7c2e00408e
Bug 1426253 P2 Use nsIDocument::GetClientInfo() where possible. r=asuth
2017-12-20 10:53:18 -05:00
Andrea Marchesini
797ef68515
Bug 1425463 - Expose Console API to JSM, r=smaug
2017-12-20 14:35:34 +01:00
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
Bill McCloskey
bef7c122df
Bug 1412456 - Test changes to no longer use interposition (r=felipe,bgrins,mrbkap)
...
MozReview-Commit-ID: 2nQPOSGTr1s
2017-12-06 21:17:05 -08:00
Dorel Luca
eb65c24c7b
Backed out 8 changesets (bug 1412456) for ESlint failure on browser_urlbarKeepStateAcrossTabSwitches.js:13:49 r=backout on a CLOSED TREE
...
Backed out changeset 0e88de036c55 (bug 1412456)
Backed out changeset 49b93f807db0 (bug 1412456)
Backed out changeset 039e980b7dc6 (bug 1412456)
Backed out changeset c7698410ddbd (bug 1412456)
Backed out changeset e56a1ba26b7c (bug 1412456)
Backed out changeset 0c4506e124ac (bug 1412456)
Backed out changeset a7aec2ce903b (bug 1412456)
Backed out changeset 3e9fb71f1e8e (bug 1412456)
2017-12-07 07:09:33 +02:00
Bill McCloskey
be77cf4a01
Bug 1412456 - Test changes to no longer use interposition (r=felipe,bgrins,mrbkap)
...
MozReview-Commit-ID: 2nQPOSGTr1s
2017-12-06 20:46:58 -08:00
Ben Kelly
fb38b7b228
Bug 1423412 P1 Actually mark window/worker ClientSource objects controlled when loaded with a controlling service worker. r=baku r=jld
2017-12-05 20:45:22 -05:00
Eden Chuang
4dddce09c7
Bug 1350359
- Part 6: Make sure releasing nsICacheInfoChannel of InternalResponse on the main thread. r=bkelly
...
Using nsMainThreadPtrHandle to hold the nsICacheInfoChannel in the
InternalResponse.
--HG--
extra : histedit_source : 125f31c63fce1cbd9995d29688e7795efad3a417
2017-12-06 01:13:54 +08:00
Eden Chuang
e40b697e55
Bug 1350359
- Part 5: Add mochitest for exposing alternate data in http cache via fetch() InternalResponse object. r=bkelly
...
Using test_script_loader_js_cache.html as the base of the testcase.
Interpolate the service worker which performs pass-through fetch.
--HG--
extra : histedit_source : 73dcc70fdbf3a210d73d60a7a70d3bf4bbea4217
2017-12-04 14:39:33 +08:00
Eden Chuang
7f3b4d6b1a
Bug 1350359
- Part 4: Fix a crash caused by off-main-thread destruction of a HttpChannelChild. r=bkelly
...
Setting the InternalResponse's mCacheInfoChannel while needed, to avoid
keeping unnecessary nsICacheInfoChannel alive.
--HG--
extra : histedit_source : 39f9339b69db52b0278495d5247bc99ffd1d8f79
2017-12-04 14:39:26 +08:00
Eden Chuang
2f08862cf1
Bug 1350359
- Part 3: Place the alternative data to the InterceptedChannel. r=bkelly
2017-12-04 14:39:21 +08:00
Eden Chuang
7211e8c25c
Bug 1350359
- Part 1: Set alternative data type from InterceptedChannel to InternalRequest. r=bkelly
2017-12-04 14:39:10 +08:00
Tom Tung
a70276a99c
Bug 1222008 - P9: Expected failure for loading a same origin XML Document but being responded with a cors response. r=bkelly
...
Modify test to be expected failure to load cross origin XML Document via a
same origin request.
--HG--
extra : rebase_source : 1fd3e699447436b47205537009b5ba23bbab3278
2017-11-29 17:06:33 +08:00
Tom Tung
5658a1d598
Bug 1222008 - P6: Reject the cors synthesized response for same-origin request. r=bkelly
...
--HG--
extra : rebase_source : ae4c9545d42af0dff1879bd77a39ae432bf07f20
2017-11-28 10:21:07 +08:00
Tom Tung
47cc13a854
Bug 1222008 - P4: Fix the interception test since we decide to propagate the response's URLs to the content. r=bkelly
...
--HG--
extra : rebase_source : 7e92f7a719143c5379120b45c7766d99fc11c8c4
2017-11-23 09:26:07 +08:00
Tom Tung
afa535333a
Bug 1222008 - P1: Propagate the URLs from respondWith() if the response's URL is different from the request's. r=bkelly
...
--HG--
extra : rebase_source : 97bc74f18e734673ab598925410c8b284c4aaba8
2017-11-01 15:45:35 +08:00
Cosmin Sabou
5c4663243d
Backed out 23 changesets (bug 1419771) for frequently failing service workers related devtools tests, e.g. devtools/client/aboutdebugging/test/browser_service_workers_push.js. r=backout on a CLOSED TREE
...
Backed out changeset 2242edc902a5 (bug 1419771)
Backed out changeset 9cc3c29a9e36 (bug 1419771)
Backed out changeset c39ee002c825 (bug 1419771)
Backed out changeset caf7428013f2 (bug 1419771)
Backed out changeset c03970363433 (bug 1419771)
Backed out changeset 7f9de012861e (bug 1419771)
Backed out changeset ed146ac42a7f (bug 1419771)
Backed out changeset a8154698f782 (bug 1419771)
Backed out changeset 8a54c1c8d45d (bug 1419771)
Backed out changeset e32cd55b4c96 (bug 1419771)
Backed out changeset b7f342f436ef (bug 1419771)
Backed out changeset 60464b3e468f (bug 1419771)
Backed out changeset 108806f14ad8 (bug 1419771)
Backed out changeset 65998b0740f3 (bug 1419771)
Backed out changeset 0d23880842d8 (bug 1419771)
Backed out changeset 862aeaa2fefd (bug 1419771)
Backed out changeset cbc192478bf5 (bug 1419771)
Backed out changeset c58ef2a91bad (bug 1419771)
Backed out changeset 2b0a4bfd654f (bug 1419771)
Backed out changeset f182eba574f9 (bug 1419771)
Backed out changeset d9999a624097 (bug 1419771)
Backed out changeset 4050a1b8db2b (bug 1419771)
Backed out changeset a1a68e6500d9 (bug 1419771)
2017-11-30 22:35:32 +02:00
Andrea Marchesini
d841e8c395
Bug 1419771 - Introduce DOMPreferences, a thread-safe access to preferences for DOM - part 22 - Get rid of WorkerPrefs.h, r=asuth
2017-11-30 18:16:47 +01:00
Andrea Marchesini
7560ffd56e
Bug 1419771 - Introduce DOMPreferences, a thread-safe access to preferences for DOM - part 21 - DevTools enabled, r=asuth
2017-11-30 18:16:47 +01:00
Andrea Marchesini
ec279a6bc2
Bug 1419771 - Introduce DOMPreferences, a thread-safe access to preferences for DOM - part 20 - Resist finger-printing enabled, r=asuth
2017-11-30 18:16:47 +01:00
Andrea Marchesini
ff3102232c
Bug 1419771 - Introduce DOMPreferences, a thread-safe access to preferences for DOM - part 19 - FetchObserver API enabled, r=asuth
2017-11-30 18:16:46 +01:00
Andrea Marchesini
87b88ecf23
Bug 1419771 - Introduce DOMPreferences, a thread-safe access to preferences for DOM - part 18 - Network Information enabled, r=asuth
2017-11-30 18:16:46 +01:00
Andrea Marchesini
278c4a3bc7
Bug 1419771 - Introduce DOMPreferences, a thread-safe access to preferences for DOM - part 17 - Webkit/Blink directory picker enabled, r=asuth
2017-11-30 18:16:46 +01:00
Andrea Marchesini
68264e1209
Bug 1419771 - Introduce DOMPreferences, a thread-safe access to preferences for DOM - part 16 - Offscreen Canvas enabled, r=asuth
2017-11-30 18:16:46 +01:00
Andrea Marchesini
4f8c375ea7
Bug 1419771 - Introduce DOMPreferences, a thread-safe access to preferences for DOM - part 15 - Request Context enabled, r=asuth
2017-11-30 18:16:46 +01:00
Andrea Marchesini
5c6a04a6d2
Bug 1419771 - Introduce DOMPreferences, a thread-safe access to preferences for DOM - part 14 - Streams API enabled, r=asuth
2017-11-30 18:16:46 +01:00
Andrea Marchesini
dd319f861b
Bug 1419771 - Introduce DOMPreferences, a thread-safe access to preferences for DOM - part 13 - Push enabled, r=asuth
2017-11-30 18:16:45 +01:00
Andrea Marchesini
02c4d1fc9d
Bug 1419771 - Introduce DOMPreferences, a thread-safe access to preferences for DOM - part 12 - Promise Rejection Event enabled, r=asuth
2017-11-30 18:16:45 +01:00
Andrea Marchesini
cd7b81714c
Bug 1419771 - Introduce DOMPreferences, a thread-safe access to preferences for DOM - part 11 - StorageManager enabled, r=asuth
2017-11-30 18:16:45 +01:00
Andrea Marchesini
41df4c1f5b
Bug 1419771 - Introduce DOMPreferences, a thread-safe access to preferences for DOM - part 10 - ServiceWorker Client OpenWindow enabled, r=asuth
2017-11-30 18:16:45 +01:00
Andrea Marchesini
6449cfcb08
Bug 1419771 - Introduce DOMPreferences, a thread-safe access to preferences for DOM - part 9 - ServiceWorker testing enabled, r=asuth
2017-11-30 18:16:45 +01:00
Andrea Marchesini
22b345720e
Bug 1419771 - Introduce DOMPreferences, a thread-safe access to preferences for DOM - part 8 - ServiceWorkers enabled, r=asuth
2017-11-30 18:16:45 +01:00
Andrea Marchesini
156213d7e8
Bug 1419771 - Introduce DOMPreferences, a thread-safe access to preferences for DOM - part 7 - Notification Request-Interaction enabled, r=asuth
2017-11-30 18:16:45 +01:00
Andrea Marchesini
4f40b313a3
Bug 1419771 - Introduce DOMPreferences, a thread-safe access to preferences for DOM - part 6 - Notification API enabled, r=asuth
2017-11-30 18:16:44 +01:00
Andrea Marchesini
c8ae53b657
Bug 1419771 - Introduce DOMPreferences, a thread-safe access to preferences for DOM - part 5 - Performance logging enabled, r=asuth
2017-11-30 18:16:44 +01:00
Andrea Marchesini
cb9c14e86e
Bug 1419771 - Introduce DOMPreferences, a thread-safe access to preferences for DOM - part 4 - DOM Cache testing enabled, r=asuth
2017-11-30 18:16:44 +01:00
Andrea Marchesini
6868bd1bd3
Bug 1419771 - Introduce DOMPreferences, a thread-safe access to preferences for DOM - part 3 - DOM Caches enabled, r=asuth
2017-11-30 18:16:44 +01:00
Andrea Marchesini
df66e497b8
Bug 1419771 - Introduce DOMPreferences, a thread-safe access to preferences for DOM - part 2 - image bitmap, r=asuth
2017-11-30 18:16:44 +01:00
Andrea Marchesini
a8cc2c7114
Bug 1419771 - Introduce DOMPreferences, a thread-safe access to preferences for DOM - part 1 - dump enabled, r=asuth
2017-11-30 18:16:44 +01:00
Ben Kelly
3472ec54e0
Bug 1420221 Make workers handle the case when the ClientSource cannot be created during shutdown. r=baku
2017-11-27 14:48:17 -05:00
Andrea Marchesini
2b3039c021
Bug 1419166 - Use nsIPrincipal to decide if a SharedWorker should be shared, r=bkelly
2017-11-27 17:07:39 +01:00
Tom Tung
7dd219f393
Bug 1416629: Add a telemetry to get how many precentage of synthesized cors response for same-origin mode request. r=bkelly, data-r=francois
...
--HG--
extra : rebase_source : af6c7186f7b4c08fd94f5613d8bfe67666903c6e
2017-11-16 09:45:39 +08:00
Nika Layzell
f1ac9bf744
Bug 1419597 - Part 18: Remove IsInnerWindow and IsOuterWindow methods, r=smaug
...
MozReview-Commit-ID: DAAm6tLubhJ
2017-11-23 13:12:13 -05:00
Andrea Marchesini
1fd1731f81
Bug 1419382 - Moving ownership of nsIInputStream when using netUtil functions - part 3 - NS_NewInputStreamPump, r=smaug
2017-11-22 11:18:57 +01:00
Tom Tung
9988d0b61e
Bug 1415388 - P3: Fix the issues on try. r=bkelly
...
Basically, this patch does three things as following:
1. Limit the scope of service worker to the controlling document so that it
won't influence other tests.
2. Ensure to catch the channel to controlling document if it's an internal
redirect. We should get two channel with the response.URL(The first one for the
service worker and the second one for the controlling document). Distingulish
them by the order.
3. Ensure to get the controller change event after posting the "claim" message
to the service worker.
--HG--
extra : rebase_source : fb2395fb6dce59ae0fd49b0b915aca52c78206e0
2017-11-17 17:16:05 +08:00
Tom Tung
85f0ee018d
Bug 1415388 - P2: Add a test to verify pass timing data correctlly after an internal redirect. r=bkelly
...
--HG--
extra : rebase_source : 1aa1a35954a7246ce240922e56819a8b5bb45da5
2017-11-14 15:12:33 +08:00
Tom Tung
58a1ed2f13
Bug 1415388 - P1: Move the test_devtools_serviceworker_interception to a browser test. r=bkelly
...
--HG--
extra : rebase_source : 4645db6b0211020574a3228774bf578bad40ace6
2017-11-09 09:24:20 +08:00
Ben Kelly
9af975dbfd
Bug 1419536 P4 Allow ClientSource objects to be frozen while in bfcache. r=baku
2017-11-21 15:13:05 -05:00
Ben Kelly
c223495e4f
Bug 1419536 P2 Create a ClientSource for the WorkerPrivate and mark it execution ready after the script loads. r=baku
2017-11-21 15:13:04 -05:00
Jan de Mooij
7f30bf48a7
Bug 1417844 part 2 - Remove JSVersion from CompileOptions, CompartmentBehaviors, scripts. r=evilpie
2017-11-17 12:12:39 +01:00
Andrea Marchesini
155b15b8e0
Bug 1414755 - Get rid of ContentPrincipalInfoOriginNoSuffix, r=bz, r=bkelly
...
This patch uses MozURL in ServiceWorkerRegistrar and in DBScheme to obtain the
origin of a URL. This is safe because the URL is always http/https/ftp.
It also changes the serialization of Principal in nsJSPrincipals in order to
pass the originNoSuffix together with the OriginAttributes and the spec.
2017-11-15 11:19:26 +01:00
Andrea Marchesini
73712f7d05
Bug 1405290 - Improve logging of workers when shutting down - part 3 - WorkerHolder with names, r=asuth
2017-11-15 07:58:38 +01:00
Andrea Marchesini
cae6951635
Bug 1405290 - Improve logging of workers when shutting down - part 2 - Implement RuntimeService::CrashIfHanging(), r=asuth
2017-11-15 07:58:38 +01:00
Andrea Marchesini
2ec09fb927
Bug 1405290 - Improve logging of workers when shutting down - part 1 - WorkerHolder must assert in release, r=asuth
2017-11-15 07:58:38 +01:00
Andrea Marchesini
b06af90b93
Bug 1416174 - part 1 - OSFileConstants must be a singleton, r=smaug
2017-11-10 19:27:03 +01:00
Geoff Brown
cbb956e0c3
Bug 1407679 - Merge nsIIOService and nsIIOService2; r=nwgh
2017-11-10 07:03:36 -07:00
Andrea Marchesini
3794888bc4
Bug 1416151 - Moving websocket code and tests in dom/websocket, r=qdot
...
--HG--
rename : dom/base/WebSocket.cpp => dom/websocket/WebSocket.cpp
rename : dom/base/WebSocket.h => dom/websocket/WebSocket.h
rename : dom/base/test/file_bug1384658.html => dom/websocket/tests/file_bug1384658.html
rename : dom/base/test/file_websocket_basic_wsh.py => dom/websocket/tests/file_websocket_basic_wsh.py
rename : dom/base/test/file_websocket_bigBlob_wsh.py => dom/websocket/tests/file_websocket_bigBlob_wsh.py
rename : dom/base/test/file_websocket_hello_wsh.py => dom/websocket/tests/file_websocket_hello_wsh.py
rename : dom/base/test/file_websocket_http_resource.txt => dom/websocket/tests/file_websocket_http_resource.txt
rename : dom/base/test/file_websocket_permessage_deflate_disabled_wsh.py => dom/websocket/tests/file_websocket_permessage_deflate_disabled_wsh.py
rename : dom/base/test/file_websocket_permessage_deflate_params_wsh.py => dom/websocket/tests/file_websocket_permessage_deflate_params_wsh.py
rename : dom/base/test/file_websocket_permessage_deflate_rejected_wsh.py => dom/websocket/tests/file_websocket_permessage_deflate_rejected_wsh.py
rename : dom/base/test/file_websocket_permessage_deflate_wsh.py => dom/websocket/tests/file_websocket_permessage_deflate_wsh.py
rename : dom/base/test/file_websocket_wsh.py => dom/websocket/tests/file_websocket_wsh.py
rename : dom/base/test/frame_bug1384658.html => dom/websocket/tests/frame_bug1384658.html
rename : dom/base/test/iframe_webSocket_sandbox.html => dom/websocket/tests/iframe_webSocket_sandbox.html
rename : dom/base/test/test_bug1081686.html => dom/websocket/tests/test_bug1081686.html
rename : dom/base/test/test_bug1384658.html => dom/websocket/tests/test_bug1384658.html
rename : dom/base/test/test_webSocket_sandbox.html => dom/websocket/tests/test_webSocket_sandbox.html
rename : dom/workers/test/test_webSocket_sharedWorker.html => dom/websocket/tests/test_webSocket_sharedWorker.html
rename : dom/base/test/test_websocket1.html => dom/websocket/tests/test_websocket1.html
rename : dom/base/test/test_websocket2.html => dom/websocket/tests/test_websocket2.html
rename : dom/base/test/test_websocket3.html => dom/websocket/tests/test_websocket3.html
rename : dom/base/test/test_websocket4.html => dom/websocket/tests/test_websocket4.html
rename : dom/base/test/test_websocket5.html => dom/websocket/tests/test_websocket5.html
rename : dom/base/test/test_websocket_basic.html => dom/websocket/tests/test_websocket_basic.html
rename : dom/base/test/test_websocket_bigBlob.html => dom/websocket/tests/test_websocket_bigBlob.html
rename : dom/base/test/test_websocket_frame.html => dom/websocket/tests/test_websocket_frame.html
rename : dom/base/test/test_websocket_hello.html => dom/websocket/tests/test_websocket_hello.html
rename : dom/base/test/test_websocket_permessage_deflate.html => dom/websocket/tests/test_websocket_permessage_deflate.html
rename : dom/workers/test/test_websocket1.html => dom/websocket/tests/test_worker_websocket1.html
rename : dom/workers/test/test_websocket2.html => dom/websocket/tests/test_worker_websocket2.html
rename : dom/workers/test/test_websocket3.html => dom/websocket/tests/test_worker_websocket3.html
rename : dom/workers/test/test_websocket4.html => dom/websocket/tests/test_worker_websocket4.html
rename : dom/workers/test/test_websocket5.html => dom/websocket/tests/test_worker_websocket5.html
rename : dom/workers/test/test_websocket_basic.html => dom/websocket/tests/test_worker_websocket_basic.html
rename : dom/workers/test/test_websocket_https.html => dom/websocket/tests/test_worker_websocket_https.html
rename : dom/workers/test/test_websocket_loadgroup.html => dom/websocket/tests/test_worker_websocket_loadgroup.html
rename : dom/workers/test/webSocket_sharedWorker.js => dom/websocket/tests/webSocket_sharedWorker.js
rename : dom/workers/test/websocket_basic_worker.js => dom/websocket/tests/websocket_basic_worker.js
rename : dom/base/test/websocket_helpers.js => dom/websocket/tests/websocket_helpers.js
rename : dom/workers/test/websocket_https_worker.js => dom/websocket/tests/websocket_https_worker.js
rename : dom/base/test/websocket_hybi/file_binary-frames_wsh.py => dom/websocket/tests/websocket_hybi/file_binary-frames_wsh.py
rename : dom/base/test/websocket_hybi/file_check-binary-messages_wsh.py => dom/websocket/tests/websocket_hybi/file_check-binary-messages_wsh.py
rename : dom/base/test/websocket_hybi/mochitest.ini => dom/websocket/tests/websocket_hybi/mochitest.ini
rename : dom/base/test/websocket_hybi/test_receive-arraybuffer.html => dom/websocket/tests/websocket_hybi/test_receive-arraybuffer.html
rename : dom/base/test/websocket_hybi/test_receive-blob.html => dom/websocket/tests/websocket_hybi/test_receive-blob.html
rename : dom/base/test/websocket_hybi/test_send-arraybuffer.html => dom/websocket/tests/websocket_hybi/test_send-arraybuffer.html
rename : dom/base/test/websocket_hybi/test_send-blob.html => dom/websocket/tests/websocket_hybi/test_send-blob.html
rename : dom/workers/test/websocket_loadgroup_worker.js => dom/websocket/tests/websocket_loadgroup_worker.js
rename : dom/base/test/websocket_tests.js => dom/websocket/tests/websocket_tests.js
rename : dom/workers/test/websocket_worker1.js => dom/websocket/tests/websocket_worker1.js
rename : dom/workers/test/websocket_worker2.js => dom/websocket/tests/websocket_worker2.js
rename : dom/workers/test/websocket_worker3.js => dom/websocket/tests/websocket_worker3.js
rename : dom/workers/test/websocket_worker4.js => dom/websocket/tests/websocket_worker4.js
rename : dom/workers/test/websocket_worker5.js => dom/websocket/tests/websocket_worker5.js
rename : dom/workers/test/websocket_https.html => dom/websocket/tests/websocket_worker_https.html
rename : dom/base/test/window_bug1384658.html => dom/websocket/tests/window_bug1384658.html
2017-11-10 12:00:33 +01:00
Nika Layzell
ff8b5bd178
Bug 1414974 - Part 3: Move Get{Inner,Outer}WindowWithId onto the specific subclasses, r=smaug
...
These were originally exposed directly as static methods on nsGlobalWindow, but
as they are clearly associated with either the inner or outer window, it makes
more sense for them to be called as such.
MozReview-Commit-ID: LFq8EfnhDlo
2017-11-09 10:44:47 -05:00
Nika Layzell
3409141758
Bug 1414974 - Part 2: Switch many consumers to nsGlobalWindow{Inner,Outer}, r=smaug
...
This is a large patch which tries to switch many of the external consumers of
nsGlobalWindow to instead use the new Inner or Outer variants.
MozReview-Commit-ID: 99648Lm46T5
2017-11-09 10:44:47 -05:00
Jan de Mooij
2681f26832
Bug 1413867 - Remove StopIteration object. r=evilpie
2017-11-05 19:01:04 +01:00
Bevis Tseng
f1fc4f0776
Bug 1413466 - Fire events after iterating ServiceWorkerManager::mControlledDocuments is done. r=bkelly
...
It's possible to modify mControlledDocuments from oncontrollerchange handler.
We should fire events after iteration to prevent updating this hashtable while reading it.
2017-11-01 15:18:23 +08:00
Ben Kelly
55385cd906
Bug 1413604 P2 Make WorkerHolderToken use an nsTObserverArray to allow for mutation during iteration. r=asuth
2017-11-01 16:20:14 -04:00
Ben Kelly
e606f865f0
Bug 1413604 Add a ref-counted WorkerHolderToken() class. r=baku
2017-11-01 13:19:37 -04:00
Eden Chuang
b729512944
Bug 1413056 - Use utils.js in test_bug1408734.html for waitForState and waitForControlled. r=bkelly
2017-10-31 10:34:22 +08:00
Sebastian Hengst
6979ea37b4
merge mozilla-central to autoland. r=merge a=merge
2017-10-30 23:58:16 +01:00
Ben Kelly
6a16081c69
Bug 1412858 P3 Use the ServiceWorkerDescriptor in existing WorkerPrivate and ServiceWorkerInfo code. r=baku
2017-10-30 13:35:07 -04:00
Ben Kelly
44cd66dc94
Bug 1412858 P2 Add a ServiceWorkerDescriptor type to represent a thread-safe snapshot of a ServiceWorkerInfo. r=baku
2017-10-30 13:35:07 -04:00
Ben Kelly
757be4f470
Bug 1412858 P1 Expose a "parsed" ServiceWorkerState value. r=baku
2017-10-30 13:35:07 -04:00
Ben Kelly
8a04f60def
Bug 1412015 P3 Check ResetInterception result and CancelInterception if a failure occurs. r=asuth
2017-10-30 10:30:01 -04:00
Kris Maglione
6e74abe6ee
Bug 1403348: Add debugging assertions for more AsyncStartup failure modes. r=baku
...
Since we don't currently know where or how loading the service is failing, we
need logging in two places:
1) In ServiceWorkerRegistrar, which will tell us about any JS errors that
occur in the factory constructor.
2) In the XPConnect module loader, which will tell us about any JS errors
which happen while loading the top-level module script.
If the load fails due to a non-JS error, we'll simply get a nsresult failure
code, which well be less informative, but will still tell us something about
the failure mode.
MozReview-Commit-ID: 1CsDegJfiho
--HG--
extra : rebase_source : c998e0393d3cb8aca008da47dfce985d0c3affb6
2017-10-29 18:17:34 -07:00
Andrea Marchesini
9f542cae15
Bug 1412293 - Get rid of GetWorkerCrossThreadDispatcher, r=qdot
2017-10-27 22:14:02 +02:00
Eden Chuang
4780056a6a
Bug 1408734 - Return InvalidStateError when accessing ServiceWorkerRegistration::updateViaCache after unregister. r=bkelly
...
This patch implements followings
1. Adding extended attribute [Throws] on ServiceWorkerRegistration
::updateViaCacheattribute.
2. Instead of calling MOZ_ASSERT, returning InvalidStateError when fail to
get the registration in ServiceWorkerRegistration::GetUpdateViaCache().
3. Adding a new mochitest test_bug1408734.html to reproduce the bug
introduced by accessing ServiceWorkerRegistration::updateViaCache after
unregister() finishes.
--HG--
extra : rebase_source : 49fba33bf28bcb74601b87f79ce91787e435939d
2017-10-26 22:55:19 +08:00
Ben Kelly
602ab7b457
Bug 1411746 Make tests that wait for controller change also wait for SW activation before claim(). r=tt
2017-10-27 10:48:26 -04:00
Andrew McCreight
298aa82710
Bug 1412125, part 2 - Fix dom/ mode lines. r=qdot
...
This was automatically generated by the script modeline.py.
MozReview-Commit-ID: BgulzkGteAL
--HG--
extra : rebase_source : a4b9d16a4c06c4e85d7d85f485221b1e4ebdfede
2017-10-26 15:08:41 -07:00
Sebastian Hengst
485da1eec8
Backed out changeset c2c746884242 (bug 1403027) for failing M-e10s(2,h2) without failure summary on Windows. r=backout on a CLOSED TREE
...
--HG--
extra : amend_source : e140ace761a6be91840cb282bc7c676561698291
2017-10-25 23:44:40 +02:00
Thomas Wisniewski
6bf7c6882a
Bug 1403027 - Do not throw from PerformanceObserver.observe when none of the entryTypes are known (log a JS console warning instead); r=bz
...
MozReview-Commit-ID: Lx2cjWDX8sh
--HG--
extra : rebase_source : d7e8b3dfbf395de0c0d7b5b7ce716a37337735f5
2017-10-22 22:49:44 -04:00
Ben Kelly
6c787835d0
Bug 1410634 P2 Verify ServiceWorkerInfo.lastUpdateTime is not changed when reading from http cache. r=tt
2017-10-24 09:24:53 -04:00
Ben Kelly
fff580cb3d
Bug 1410634 P1 Call channel IsFromCache() during OnStartRequest() to determine if update result came from http cache or network. r=tt
2017-10-24 09:24:53 -04:00
Andrea Marchesini
7e8feb3cb9
Bug 1408333 Get rid of nsIIPCBackgroundChildCreateCallback - part 16 - Workers, r=asuth
2017-10-24 12:02:41 +02:00
Andrea Marchesini
9580606019
Bug 1408333 Get rid of nsIIPCBackgroundChildCreateCallback - part 15 - ServiceWorkers, r=asuth
2017-10-24 12:02:41 +02:00
Joel Maher
7692cfcb68
Bug 1404914 - Disable dom/workers/test/serviceworkers/browser_multie10s_update.js on linux and osx for frequent failures. r=me, a=testonly
2017-10-24 04:58:42 -04:00
Ho-Pang Hsu
f8d3d218c6
Bug 1359677 - P1: Add a new mochitest to verify the bypassing service worker. r=asuth
...
Since we decide to do this by setting the nsIChannel::LOAD_BYPASS_SERVICE_WORKER
to defaultLoadFlags in the docShell and the implement of the bypass service
worker flag is done, only having this test to verify the behavior. So that we
can simplely copy the code for setBypassSW() and getBypassSW() to dev-tools
server in the future when we decide the UI/UX and designs on dev-tools clients.
--HG--
extra : rebase_source : 4e6f4e7216b2c4ed8bb64c9abd06e8daf2a6a242
2017-05-10 16:47:36 +08:00
Sebastian Hengst
8072106c67
merge mozilla-central to mozilla-inbound. r=merge a=merge
2017-10-23 23:55:17 +02:00
Ben Kelly
d64c111b67
Bug 1409761 Create dom.serviceWorkers.disable_open_click_delay and set it to a larger value on fennec. r=smaug
2017-10-23 14:24:31 -04:00
Gerald Squelart
d2ed3d6312
Bug 1410252 - Convert 'WrapNotNull(new T(...' to 'MakeNotNull<T*>(...' - r=njn
...
Most cases where the pointer is stored into an already-declared variable can
trivially be changed to MakeNotNull<T*>, as the NotNull raw pointer will end
up in a smart pointer.
In RAII cases, the target type can be specified (e.g.:
`MakeNotNull<RefPtr<imgFrame>>)`), in which case the variable type may just be
`auto`, similar to the common use of MakeUnique.
Except when the target type is a base pointer, in which case it must be
specified in the declaration.
MozReview-Commit-ID: BYaSsvMhiDi
--HG--
extra : rebase_source : 8fe6f2aeaff5f515b7af2276c439004fa3a1f3ab
2017-10-20 18:25:33 +11:00
Sebastian Hengst
6125e83b28
Backed out changeset c5f2f0e827d0 (bug 1403027) for build bustage at dom/workers/WorkerPrivate.cpp(984): expression did not evaluate to a constant, at least on Windows. r=backout on a CLOSED TREE
...
--HG--
extra : amend_source : e6eb5cbe9b6b41a929c8f811859efe6093eab3a2
2017-10-21 00:31:07 +02:00
Thomas Wisniewski
ac538c1bc0
Bug 1403027 - Do not throw from PerformanceObserver.observe when none of the entryTypes are known (log a JS console warning instead); r=bz
...
MozReview-Commit-ID: Lx2cjWDX8sh
--HG--
extra : rebase_source : 7f70818de5e4c31eb1781d524e0129b0b20759e3
2017-10-20 15:58:20 -04:00
Masatoshi Kimura
dbd92543c6
Bug 1313150 - Remove |weak| parameter from nsIMutableArray methods. r=froydnj
...
MozReview-Commit-ID: 7JoD4VYzZp3
--HG--
extra : rebase_source : 5db437f1c34608aa223916874d62b48c59baeae8
2017-10-21 23:53:02 +09:00
Andrea Marchesini
6626e900f9
Bug 1409327 - NS_NewBufferedInputStream should take the ownership of the inputStream, r=smaug
2017-10-19 11:39:30 +02:00
Ben Kelly
7ad5940e12
Bug 1204254 P15 Try to make test_devtools_serviceworker_interception.html handle --verify runs again. r=asuth
2017-10-17 13:38:56 -07:00
Ben Kelly
e836540c57
Bug 1204254 P11 Notify "service-worker-synthesized-response" topic when synthesis starts so devtools can trace the channel. r=asuth
2017-10-17 13:38:55 -07:00
Ben Kelly
d48b092026
Bug 1204254 P9 Pass the body stream directly to StartSynthesizedResponse() instead of copying. r=asuth
2017-10-17 13:38:55 -07:00
Ben Kelly
827e1b543b
Bug 1204254 P7 Allow the body nsIInputStream to be passed in StartSynthesizeResponse(). r=asuth
2017-10-17 13:38:55 -07:00
Ben Kelly
343cdda7a9
Bug 1204254 P6 Wait to start copying data until after we start the response synthesis. r=asuth
2017-10-17 13:38:55 -07:00
Ben Kelly
414598f71f
Bug 1204254 P4 Dispatch the StartResponse runnable when body copying begins. r=asuth
2017-10-17 13:38:54 -07:00
Ben Kelly
7ab3bc5f8b
Bug 1204254 P3 Move logic into StartFinish() runnable separate from FinishRunnable() in ServiceWorkerEvents. r=asuth
2017-10-17 13:38:54 -07:00
Ben Kelly
262c2cb4f2
Bug 1204254 P2 Move StartSynthesizedResponse() out from FinishSynthesizedResponse(). r=asuth
2017-10-17 13:38:54 -07:00
Sebastian Hengst
b1cdb2af00
Backed out changeset 03e4f9175b16 (bug 1409329)
2017-10-17 22:03:39 +02:00
Sebastian Hengst
66e04dcde6
Backed out changeset 4666cde20909 (bug 1409327)
2017-10-17 22:03:33 +02:00
Andrea Marchesini
d526801916
Bug 1409327 - NS_NewBufferedInputStream should take the ownership of the inputStream, r=smaug
2017-10-17 20:38:05 +02:00
Andrea Marchesini
fe04c2050c
Bug 1409329 - NS_NewBufferedOutputStream should take the ownership of the outputStream, r=smaug
2017-10-17 20:38:05 +02:00
Andrea Marchesini
faf078bd88
Bug 1400098 - Using common_fileReader.js for test_fileapi in workers, r=qdot
2017-10-17 13:21:39 +02:00
Sebastian Hengst
4a6ef4d29e
Backed out changeset 7d032e676aef (bug 1400098)
2017-10-17 17:04:26 +02:00
Andrea Marchesini
72c79e182d
Bug 1400098 - Using common_fileReader.js for test_fileapi in workers, r=qdot
2017-10-17 13:21:39 +02:00
Kris Maglione
60d080b412
Bug 1404198: Part 2i - Switch to NS_NewTimer* in dom. r=njn
...
MozReview-Commit-ID: 8Oei6TuXNbu
--HG--
extra : rebase_source : 31c583c699790cbcf302064146d313ee8126ef0c
2017-10-15 23:15:40 -07:00
Joel Maher
9be0d7276b
Bug 1400098 - Disable dom/workers/test/test_fileReader.html on !debug for frequent failures. r=me, a=test-only
2017-10-15 05:55:12 -04:00
Kris Maglione
5fdcb5a5d2
Bug 1407056: Part 1 - Provide more consistent principal/origin URL to content policies. r=bz,ckerschb
...
We're currently fairly vague and inconsistent about the values we provide to
content policy implementations for requestOrigin and requestPrincipal. In some
cases they're the triggering principal, sometimes the loading principal,
sometimes the channel principal.
Our existing content policy implementations which require or expect a loading
principal currently retrieve it from the context node. Since no current
callers require the principal to be the loading principal, and some already
expect it to be the triggering principal (which there's currently no other way
to retrieve), I chose to pass the triggering principal whenever possible, but
use the loading principal to determine the origin URL.
As a follow-up, I'd like to change the nsIContentPolicy interface to
explicitly receive loading and triggering principals, or possibly just
LoadInfo instances, rather than poorly-defined request
origin/principal/context args. But since that may cause trouble for
comm-central, I'd rather not do it as part of this bug.
MozReview-Commit-ID: LqD9GxdzMte
--HG--
extra : rebase_source : 41ce439912ae7b895e0a3b0e660fa6ba571eb50f
2017-10-12 15:43:55 -07:00
Ryan VanderMeulen
f5ad9c3d44
Bug 1348882 - Add crashtest. r=me
...
--HG--
extra : rebase_source : d6dfdc7752b99992f26bca05e983478104b0aebd
2017-10-11 19:54:09 -04:00
Ben Kelly
fa33ed763d
Bug 1407245 Fix service worker update 24-hour time check conversion from microseconds. r=asuth
2017-10-10 13:50:36 -07:00
Luke Wagner
cf897d6fcb
Bug 1347644 - Baldr: implement ConsumeStreamCallback in browser (r=bkelly)
...
MozReview-Commit-ID: DXv2MegefDw
--HG--
extra : rebase_source : aca4d6e40ae9af03e05520ec8bdef92889e44acc
2017-10-10 14:41:24 -05:00
Ben Kelly
20f23200cd
Bug 1391693 P1 Rename nsIInterceptedChannel.cancel() to cancelInterception() r=jdm
2017-10-09 10:03:40 -07:00
Nicholas Nethercote
8a68e6fb83
Bug 1403868 (part 4) - Reduce tools/profiler/public/*.h to almost nothing in non-MOZ_GECKO_PROFILER builds. r=mstange.
...
Currently the Gecko Profiler defines a moderate amount of stuff when
MOZ_GECKO_PROFILER is undefined. It also #includes various headers, including
JS ones. This is making it difficult to separate Gecko's media stack for
inclusion in Servo.
This patch greatly simplifies how things are exposed. The starting point is:
- GeckoProfiler.h can be #included unconditionally;
- everything else from the profiler must be guarded by MOZ_GECKO_PROFILER.
In practice this introduces way too many #ifdefs, so the patch loosens it by
adding no-op macros for a number of the most common operations.
The net result is that #ifdefs and macros are used a bit more, but almost
nothing is exposed in non-MOZ_GECKO_PROFILER builds (including
ProfilerMarkerPayload.h and GeckoProfiler.h), and understanding what is exposed
is much simpler than before.
Note also that in BHR, ThreadStackHelper is now entirely absent in
non-MOZ_GECKO_PROFILER builds.
2017-10-04 09:11:18 +11:00
David Major
7e599076a6
Bug 1405735 - Make worker JS context options respect safe mode. r=billm
...
--HG--
extra : amend_source : 94345cc176019885832a57c5d441b3ed5cc63973
2017-10-06 12:50:50 -04:00
Ben Kelly
5c16150f0b
Bug 1405529 Make test_devtools_serviceworker_interception.html close its window so its registration cleans up. r=asuth
2017-10-04 07:36:25 -07:00
Andrea Marchesini
9067ec472c
Bug 1404845 - Renaming BlobImpl::GetInternalStream to BlobImpl::CreateInputStream, r=smaug
2017-10-02 13:53:12 +02:00
Andrea Marchesini
ca3c8d9064
Bug 1388413 - ServiceWorkerClients::openWindow() - OriginAttributes test, r=smaug
2017-09-28 10:38:58 +02:00
Andrea Marchesini
70898ad20b
Bug 1388413 - ServiceWorkerClients::OpenWindow() should use the triggeringPrincipal, r=bz
...
This is done using a JS Sandbox with the triggering Principal.
2017-09-28 10:38:58 +02:00
Kris Maglione
a2f046914a
Bug 1403348: Include details about AsyncShutdown failure in crash reason. r=baku data-r=rweiss
...
MozReview-Commit-ID: L6U2MVshZl8
--HG--
extra : rebase_source : 028be91b15947c77961747f534fc6895ffb6e756
2017-09-27 15:11:43 -07:00
Wes Kocher
1cdb198bd9
Backed out 3 changesets (bug 1388413) for failures in browser_userContextId_openWindow.js a=bustage
...
Backed out changeset aa2f3c4c3242 (bug 1388413)
Backed out changeset 8f8b7e60f397 (bug 1388413)
Backed out changeset a4d6924a59f1 (bug 1388413)
MozReview-Commit-ID: Gp0AwTKEAGO
2017-09-28 16:57:21 -07:00
Andrea Marchesini
bbf878e76d
Bug 1388413 - ServiceWorkerClients::openWindow() - OriginAttributes test using tabs, r=me
2017-09-28 16:42:23 +02:00
Andrea Marchesini
baa04d619a
Bug 1120178 - Migrate DOMError to DOMExtension in FileReader, IndexedDB, DOMRequest and so on, r=smaug
2017-08-06 20:47:00 +03:00
Andrea Marchesini
5979294bc0
Bug 1388413 - ServiceWorkerClients::openWindow() - OriginAttributes test, r=smaug
2017-09-28 10:38:58 +02:00