Andrea Marchesini
f8eb805f14
Bug 1286615 - Wrong use of ModifyBusyCountFromWorker in WorkerProxyToMainThreadRunnable, r=khuey
2016-07-18 09:17:21 +02:00
Andrea Marchesini
187fceb90b
Bug 1282026 - Add assertions in the DTOR of WorkerHolder - part 2 - assertions, r=bkelly
2016-07-18 09:13:05 +02:00
Andrea Marchesini
fa2bc5a5d6
Bug 1282026 - Add assertions in the DTOR of WorkerHolder - part 1 - WorkerHolder of Script loading, r=bkelly
2016-07-18 09:12:40 +02:00
Sebastian Hengst
b8b5c17e71
Backed out changeset f52c26d677b0 (bug 918703)
2016-07-17 12:55:38 +02:00
Thomas Wisniewski
a87fc764c1
Bug 918703 - Part 2: Correct progress event logic so events are sent in the correct order and with the correct values according to spec. r=baku
2016-07-16 19:11:01 -04:00
Alexandre Lissy
6798f02654
Bug 1286530 - Clean AvailableIn, CheckAnyPermissions and CheckAllPermissions from WebIDL r=bz,fabrice
...
MozReview-Commit-ID: 6EQfBM09xUE
--HG--
rename : dom/contacts/tests/test_contacts_cache.xul => dom/contacts/tests/test_contacts_a_cache.xul
rename : dom/contacts/tests/test_contacts_shutdown.xul => dom/contacts/tests/test_contacts_a_shutdown.xul
rename : dom/contacts/tests/test_contacts_upgrade.xul => dom/contacts/tests/test_contacts_a_upgrade.xul
rename : dom/mobilemessage/tests/mochitest/mochitest.ini => dom/mobilemessage/tests/mochitest/chrome.ini
extra : rebase_source : 5f708f2a927fafff66626367ef07080785ba9f55
2016-04-21 15:48:59 +02:00
Kit Cambridge
edd0c6d29f
Back out 2 changesets (bug 1174386) for mochitest and xpcshell bustage.
...
Backed out changeset 71634609bbaf (bug 1174386)
Backed out changeset 9726b95aadf6 (bug 1174386)
MozReview-Commit-ID: CBB0CFQSjQu
2016-07-13 09:41:34 +02:00
Carsten "Tomcat" Book
0dd9cf8167
Backed out changeset 37aed188b674 (bug 1174386) unexpected pass in 576878.xhtml
2016-07-13 09:24:09 +02:00
Kit Cambridge
6bb5701fc8
Back out 2 changesets (bug 1174386) for mochitest and xpcshell bustage.
...
Backed out changeset 71634609bbaf (bug 1174386)
Backed out changeset 9726b95aadf6 (bug 1174386)
MozReview-Commit-ID: CBB0CFQSjQu
--HG--
extra : amend_source : 612af0b1385f6f2cfdcae3918b03ab297f1f7d78
2016-07-12 21:33:29 -07:00
Nicholas Nethercote
105445fd39
Bug 1278750 - Fix erroneous condition in ExtendableMessageEvent::Constructor(). r=bkelly.
...
--HG--
extra : rebase_source : d9d12d8e10267f12d44b921ce58f067999f6ca85
2016-06-08 14:16:45 +10:00
Jeff Walden
06ee3b6f86
Bug 1174386 - Bustage fixes; things changed underneath me during the final rebase. :-( r=red in a CLOSED TREE
2016-07-12 17:21:05 -07:00
Arthur Edelstein
214a38a3e8
Bug 1174386 - Make workers inherit the default Intl locale from the main thread, rather than using a bogus fallback value. r=jwalden
...
--HG--
extra : rebase_source : bb58c75416d4942affef3617ec427b2745261cf3
2016-07-11 18:57:25 -07:00
Andrew Sutherland
7cf501d883
Bug 1167553 - Timeout-related Service Worker shutdowns should be reported. r=bkelly
...
Log a message when shutting down a service worker with pending promises.
Looks like:
Terminating ServiceWorker for scope
‘http://mochi.test:8888/tests/dom/workers/test/serviceworkers/’ with
pending waitUntil/respondWith promises because of grace timeout.
2016-07-10 22:22:29 -04:00
Andrew Sutherland
6f183de053
Bug 1233798 - report to console when service worker register fails due to mime-type issues. r=bkelly
...
Log a message to the console when there is no Content-Type received for a
service worker or it's not a JS type. With test. Looks like:
Failed to register/update a ServiceWorker: Non-JS Content-Type of ‘text/plain’
received for script
‘http://mochi.test:8888/tests/dom/workers/test/serviceworkers/sw_bad_mime_type.js’ .
2016-07-10 22:22:28 -04:00
Andrew Sutherland
d1659931b7
Bug 1267473 - Report to console if service worker script 404s. r=bkelly
...
Add an error message of the following form for when a register/update job
fails for network reasons:
Failed to register/update a ServiceWorker for scope
‘http://mochi.test:8888/tests/dom/workers/test/serviceworkers/network_error/’ :
Load failed with status 404 for script
‘http://mochi.test:8888/tests/dom/workers/test/serviceworkers/404.js’ .
A mochitest is added that verifies this.
To simplify the process of logging error messages, ServiceWorkerManager gains
a new LocalizeAndReportToAllClients method that always provides the SW scope as
the first argument to the localized string since all good error messages should
include it.
Its argument list takes an nsTArray<nsString> in order to reduce the potential
for use-after-free scenarios from the char16_t** signature that unfortunately
has rippled outwards from the nsIStringBundle interface. This potentially
results in more memory allocation and byte shuffling than is strictly
necessary, but we're also talking about rare error logging where it's
better to optimize for easily adding the messages without needing to get hung
up on the life-cycle of temporaries.
nsTArray gained a std::initializer_list in bug 1228641. It is explicit, so
inline argument usages may take a form along the lines of:
`nsTArray<nsString> { string1, string2, ... }`
This change did necessitate a change to nsContentUtils to add an nsTArray
variant of FormatLocalizedString since the existing public function was
slightly too clever. It used a template function to statically acquire the
number of arguments at compile time, which is not compatible with the dynamic
nsTArray usage. Since nsTArray may be useful to other consumers as well, I
placed the conversion logic in nsContentUtils.
2016-07-10 22:22:27 -04:00
Boris Zbarsky
eb139d85bf
Bug 1279313 part 1. Simplify AutoEntryScript to not make callers pass in a JSContext. r=bholley
2016-07-07 20:08:25 -04:00
Jan de Mooij
900af968f3
Bug 1283855
part 28 - Make more GC APIs take JSContext instead of JSRuntime. r=terrence
...
--HG--
extra : rebase_source : c2d35b5d45cad074b9a9a144bc25ea4a32b8b246
2016-07-07 09:56:09 +02:00
Jan de Mooij
1ffe7cc891
Bug 1283855
part 26 - Make more GC APIs take JSContext instead of JSRuntime. r=terrence,mccr8
...
--HG--
extra : rebase_source : 68e6c63b179094f2441f01df58e0bdd68620ed09
2016-07-07 09:55:41 +02:00
Jan de Mooij
a53a99aab6
Bug 1284808 - Rename RuntimeOptions to ContextOptions and move it to the context. r=luke,baku
...
--HG--
extra : rebase_source : acd82642a27b36b98bf1bf34c29d33c7e0b57dea
2016-07-07 08:15:15 +02:00
Jan de Mooij
96da4695c8
Bug 1283855
part 25 - Make JS_GC take JSContext instead of JSRuntime. r=terrence
2016-07-06 11:40:20 +02:00
Jan de Mooij
28662f4214
Bug 1283855
part 23 - Make more callback setters take JSContext instead of JSRuntime. r=evilpie
2016-07-06 11:40:20 +02:00
Jan de Mooij
c1ed92b71b
Bug 1283855
part 3 - Make some callback setters take JSContext instead of JSRuntime. r=efaust
2016-07-06 11:40:20 +02:00
Andrea Marchesini
a30365d014
Bug 1282992 - Improve sync event loop shutdown in workers, r=khuey
2016-07-06 08:36:54 +02:00
Andreas Farre
1799cb96e4
Bug 1218148 - Implement WindowClient.navigate() r=baku
...
MozReview-Commit-ID: 9FJNYkwsZ0o
--HG--
extra : transplant_source : %D1%15%29%1B%D0%B8%A7%8C%DE%CA%E1%E6%C5d%3E%F0G%D7%21%7D
2016-05-24 09:05:17 +02:00
Jan de Mooij
e4ae5f26da
Bug 1283855
part 20 - Make more principals code take JSContext instead of JSRuntime. r=luke
...
--HG--
extra : rebase_source : ad5f2f5b5bef9d20e4e248898a3c754adb306683
2016-07-05 16:49:46 +02:00
Jan de Mooij
078a91ca56
Bug 1283855
part 19 - Make security callbacks take JSContext instead of JSRuntime. r=jorendorff
...
--HG--
extra : rebase_source : c106826540912b00550b2d6162dcae6e1fb616d4
2016-07-05 16:49:44 +02:00
Nathan Froyd
2c2b9296bc
Bug 1283616 - part 2 - micro-optimize inserting microtask runnables into the queue; r=khuey
...
We can save an AddRef/Release pair by passing in the reference to the queue.
2016-07-05 18:49:06 -04:00
Jan de Mooij
fb15cb143c
Bug 1283855
part 14 - Make more callback setters take JSContext instead of JSRuntime. r=shu
2016-07-05 14:35:26 +02:00
Jan de Mooij
3e6263744c
Bug 1283855
part 13 - Make JS_SetNativeStackQuota take JSContext instead of JSRuntime. r=fitzgen
2016-07-05 14:35:23 +02:00
Jan de Mooij
c8334f438a
Bug 1283855
part 12 - Make some GC APIs take JSContext instead of JSRuntime. r=sfink
2016-07-05 14:35:21 +02:00
Jan de Mooij
b6c8bdd67a
Bug 1283855
part 9 - Make asm.js/buildId op setters take JSContext instead of JSRuntime. r=bbouvier
2016-07-05 11:06:06 +02:00
Jan de Mooij
3ffa1fd00d
Bug 1283855
part 7 - Make JS_SetGCZeal take JSContext instead of JSRuntime. r=sfink
2016-07-05 11:06:05 +02:00
Jan de Mooij
7c1a1cec44
Bug 1283855
part 2 - Make some callback setters take JSContext instead of JSRuntime. r=luke
2016-07-05 11:06:05 +02:00
Thomas Nguyen
d9b3fe6291
Bug 1251378 - Propagate referrer policy to worker. r=ckerschb
...
MozReview-Commit-ID: 6BlEl54Dqtc
2016-07-05 11:47:13 +08:00
Ben Kelly
d2dad60d4c
Bug 1283674 P1 Make ServiceWorkerContainer::GetController() work gracefully when its window is disconnected. r=baku
2016-07-04 06:50:25 -07:00
Ben Kelly
4a424977b6
Bug 1283674 P0 Drop cached controlling ServiceWorker ref when ServiceWorkerContainer window is disconnect. r=baku
2016-07-04 06:50:25 -07:00
Andrea Marchesini
43868a9da7
Bug 1282366 - Improve WorkerHolder use in Runnables, r=khuey
2016-07-04 08:19:10 +02:00
Andrea Marchesini
427fa3afd0
Bug 1283418 - In WorkerPrivate we often use !mSyncLoopStack.Length() instead mSyncLoopStack.IsEmpty(), r=smaug
2016-07-04 08:18:53 +02:00
Kyle Huey
902d2d23ef
Bug 1283327: Factor out SynchronouslyCreatePBackground. r=billm
2016-06-30 13:54:06 -07:00
Thomas Nguyen
6516ad9dae
Bug 959388 - Deliver CSP from HTTP header. r=ckerschb, r=khuey
...
MozReview-Commit-ID: 13ndERn6rrL
--HG--
extra : rebase_source : e0ec31f9d322b1385994eb7d66bd885c91d75df3
2016-06-30 12:31:59 +08:00
Thomas Nguyen
bd8bba9788
Bug 959388 - Add csp worker test cases. r=kmckinley
...
MozReview-Commit-ID: IhEAA89VyTr
--HG--
extra : rebase_source : 63d522eab0477706636aa2e9086f1b0cdc30889d
2016-06-30 12:32:03 +08:00
Andrea Marchesini
9b8df4a1d1
Bug 1270185 - create dom/url for URL API and its tests, r=ehsan
...
--HG--
rename : dom/base/URL.cpp => dom/url/URL.cpp
rename : dom/base/URL.h => dom/url/URL.h
rename : dom/base/URLSearchParams.cpp => dom/url/URLSearchParams.cpp
rename : dom/base/URLSearchParams.h => dom/url/URLSearchParams.h
rename : dom/base/test/file_url.jsm => dom/url/tests/file_url.jsm
rename : dom/workers/test/file_url.jsm => dom/url/tests/file_worker_url.jsm
rename : dom/workers/test/jsm_url_worker.js => dom/url/tests/jsm_url_worker.js
rename : dom/workers/test/test_bug883784.jsm => dom/url/tests/test_bug883784.jsm
rename : dom/workers/test/test_bug883784.xul => dom/url/tests/test_bug883784.xul
rename : dom/base/test/test_unknown_url_origin.html => dom/url/tests/test_unknown_url_origin.html
rename : dom/base/test/test_url.html => dom/url/tests/test_url.html
rename : dom/base/test/test_url.xul => dom/url/tests/test_url.xul
rename : dom/base/test/test_urlExceptions.html => dom/url/tests/test_urlExceptions.html
rename : dom/base/test/test_urlSearchParams.html => dom/url/tests/test_urlSearchParams.html
rename : dom/base/test/test_urlSearchParams_utf8.html => dom/url/tests/test_urlSearchParams_utf8.html
rename : dom/base/test/test_url_data.html => dom/url/tests/test_url_data.html
rename : dom/base/test/test_url_empty_port.html => dom/url/tests/test_url_empty_port.html
rename : dom/base/test/test_url_malformedHost.html => dom/url/tests/test_url_malformedHost.html
rename : dom/base/test/test_urlutils_stringify.html => dom/url/tests/test_urlutils_stringify.html
rename : dom/workers/test/test_url.html => dom/url/tests/test_worker_url.html
rename : dom/workers/test/test_url.xul => dom/url/tests/test_worker_url.xul
rename : dom/workers/test/test_urlApi.html => dom/url/tests/test_worker_urlApi.html
rename : dom/workers/test/test_urlSearchParams.html => dom/url/tests/test_worker_urlSearchParams.html
rename : dom/workers/test/test_url_exceptions.html => dom/url/tests/test_worker_url_exceptions.html
rename : dom/workers/test/urlApi_worker.js => dom/url/tests/urlApi_worker.js
rename : dom/workers/test/urlSearchParams_worker.js => dom/url/tests/urlSearchParams_worker.js
rename : dom/workers/test/url_exceptions_worker.js => dom/url/tests/url_exceptions_worker.js
rename : dom/workers/test/url_worker.js => dom/url/tests/url_worker.js
2016-06-29 07:44:18 +02:00
Andrea Marchesini
6209c0d90e
Bug 1269161 - Remove the separate worker bindings for URL, r=khuey
2016-06-29 07:43:44 +02:00
Kyle Huey
2dda6971f7
Bug 1282603: Don't use 'workers': True for *WorkerGlobalScope. r=baku
...
--HG--
extra : rebase_source : ed96d99034e9236bd1fd4a8287efbd17cf20138e
2016-06-28 10:47:23 -07:00
Andrea Marchesini
7fc60537c1
Bug 1280067 - WorkerThreadModifyBusyCount should be the default value for WorkerRunnable, r=sicking
2016-06-28 19:28:13 +02:00
Andrea Marchesini
c7264cb3ac
Bug 1269162 - part 3 - Move XHR code into dom/xhr, r=smaug
...
--HG--
rename : dom/workers/XMLHttpRequestUploadWorker.cpp => dom/xhr/XMLHttpRequestUploadWorker.cpp
rename : dom/workers/XMLHttpRequestUploadWorker.h => dom/xhr/XMLHttpRequestUploadWorker.h
rename : dom/workers/XMLHttpRequestWorker.cpp => dom/xhr/XMLHttpRequestWorker.cpp
rename : dom/workers/XMLHttpRequestWorker.h => dom/xhr/XMLHttpRequestWorker.h
rename : dom/base/nsIXMLHttpRequest.idl => dom/xhr/nsIXMLHttpRequest.idl
rename : dom/base/nsXMLHttpRequest.cpp => dom/xhr/nsXMLHttpRequest.cpp
rename : dom/base/nsXMLHttpRequest.h => dom/xhr/nsXMLHttpRequest.h
rename : dom/base/test/echo.sjs => dom/xhr/tests/echo.sjs
rename : dom/base/test/file_XHRDocURI.html => dom/xhr/tests/file_XHRDocURI.html
rename : dom/base/test/file_XHRDocURI.html^headers^ => dom/xhr/tests/file_XHRDocURI.html^headers^
rename : dom/base/test/file_XHRDocURI.sjs => dom/xhr/tests/file_XHRDocURI.sjs
rename : dom/base/test/file_XHRDocURI.text => dom/xhr/tests/file_XHRDocURI.text
rename : dom/base/test/file_XHRDocURI.text^headers^ => dom/xhr/tests/file_XHRDocURI.text^headers^
rename : dom/base/test/file_XHRDocURI.xml => dom/xhr/tests/file_XHRDocURI.xml
rename : dom/base/test/file_XHRDocURI.xml^headers^ => dom/xhr/tests/file_XHRDocURI.xml^headers^
rename : dom/base/test/file_XHRResponseURL.js => dom/xhr/tests/file_XHRResponseURL.js
rename : dom/base/test/file_XHRResponseURL.sjs => dom/xhr/tests/file_XHRResponseURL.sjs
rename : dom/base/test/file_XHRResponseURL.text => dom/xhr/tests/file_XHRResponseURL.text
rename : dom/base/test/file_XHRResponseURL.text^headers^ => dom/xhr/tests/file_XHRResponseURL.text^headers^
rename : dom/base/test/file_XHRResponseURL_nocors.text => dom/xhr/tests/file_XHRResponseURL_nocors.text
rename : dom/base/test/file_XHRSendData.sjs => dom/xhr/tests/file_XHRSendData.sjs
rename : dom/base/test/file_XHRSendData_doc.xml => dom/xhr/tests/file_XHRSendData_doc.xml
rename : dom/base/test/file_XHRSendData_doc.xml^headers^ => dom/xhr/tests/file_XHRSendData_doc.xml^headers^
rename : dom/base/test/file_XHR_anon.sjs => dom/xhr/tests/file_XHR_anon.sjs
rename : dom/base/test/file_XHR_binary1.bin => dom/xhr/tests/file_XHR_binary1.bin
rename : dom/base/test/file_XHR_binary1.bin^headers^ => dom/xhr/tests/file_XHR_binary1.bin^headers^
rename : dom/base/test/file_XHR_binary2.bin => dom/xhr/tests/file_XHR_binary2.bin
rename : dom/base/test/file_XHR_fail1.txt => dom/xhr/tests/file_XHR_fail1.txt
rename : dom/base/test/file_XHR_fail1.txt^headers^ => dom/xhr/tests/file_XHR_fail1.txt^headers^
rename : dom/base/test/file_XHR_fail1b.txt => dom/xhr/tests/file_XHR_fail1b.txt
rename : dom/base/test/file_XHR_header.sjs => dom/xhr/tests/file_XHR_header.sjs
rename : dom/base/test/file_XHR_pass1.xml => dom/xhr/tests/file_XHR_pass1.xml
rename : dom/base/test/file_XHR_pass2.txt => dom/xhr/tests/file_XHR_pass2.txt
rename : dom/base/test/file_XHR_pass3.txt => dom/xhr/tests/file_XHR_pass3.txt
rename : dom/base/test/file_XHR_pass3.txt^headers^ => dom/xhr/tests/file_XHR_pass3.txt^headers^
rename : dom/base/test/file_XHR_system_redirect.html => dom/xhr/tests/file_XHR_system_redirect.html
rename : dom/base/test/file_XHR_system_redirect.html^headers^ => dom/xhr/tests/file_XHR_system_redirect.html^headers^
rename : dom/base/test/file_XHR_timeout.sjs => dom/xhr/tests/file_XHR_timeout.sjs
rename : dom/base/test/file_html_in_xhr.html => dom/xhr/tests/file_html_in_xhr.html
rename : dom/base/test/file_html_in_xhr.sjs => dom/xhr/tests/file_html_in_xhr.sjs
rename : dom/base/test/file_html_in_xhr2.html => dom/xhr/tests/file_html_in_xhr2.html
rename : dom/base/test/file_html_in_xhr3.html => dom/xhr/tests/file_html_in_xhr3.html
rename : dom/base/test/progressserver.sjs => dom/xhr/tests/progressserver.sjs
rename : dom/workers/test/relativeLoad_import.js => dom/xhr/tests/relativeLoad_import.js
rename : dom/workers/test/relativeLoad_worker.js => dom/xhr/tests/relativeLoad_worker.js
rename : dom/workers/test/relativeLoad_worker2.js => dom/xhr/tests/relativeLoad_worker2.js
rename : dom/base/test/responseIdentical.sjs => dom/xhr/tests/responseIdentical.sjs
rename : dom/workers/test/subdir/relativeLoad_sub_import.js => dom/xhr/tests/subdir/relativeLoad_sub_import.js
rename : dom/workers/test/subdir/relativeLoad_sub_worker.js => dom/xhr/tests/subdir/relativeLoad_sub_worker.js
rename : dom/workers/test/subdir/relativeLoad_sub_worker2.js => dom/xhr/tests/subdir/relativeLoad_sub_worker2.js
rename : dom/workers/test/terminateSyncXHR_worker.js => dom/xhr/tests/terminateSyncXHR_worker.js
rename : dom/base/test/test_XHR.html => dom/xhr/tests/test_XHR.html
rename : dom/base/test/test_XHRDocURI.html => dom/xhr/tests/test_XHRDocURI.html
rename : dom/base/test/test_XHRResponseURL.html => dom/xhr/tests/test_XHRResponseURL.html
rename : dom/base/test/test_XHRSendData.html => dom/xhr/tests/test_XHRSendData.html
rename : dom/base/test/test_XHR_anon.html => dom/xhr/tests/test_XHR_anon.html
rename : dom/base/test/test_XHR_header.html => dom/xhr/tests/test_XHR_header.html
rename : dom/base/test/test_XHR_onuploadprogress.html => dom/xhr/tests/test_XHR_onuploadprogress.html
rename : dom/base/test/test_XHR_parameters.html => dom/xhr/tests/test_XHR_parameters.html
rename : dom/base/test/test_XHR_system.html => dom/xhr/tests/test_XHR_system.html
rename : dom/base/test/test_XHR_timeout.html => dom/xhr/tests/test_XHR_timeout.html
rename : dom/base/test/test_XHR_timeout.js => dom/xhr/tests/test_XHR_timeout.js
rename : dom/base/test/test_html_in_xhr.html => dom/xhr/tests/test_html_in_xhr.html
rename : dom/workers/test/test_relativeLoad.html => dom/xhr/tests/test_relativeLoad.html
rename : dom/base/test/test_sync_xhr_timer.xhtml => dom/xhr/tests/test_sync_xhr_timer.xhtml
rename : dom/workers/test/test_terminateSyncXHR.html => dom/xhr/tests/test_worker_terminateSyncXHR.html
rename : dom/workers/test/test_xhr.html => dom/xhr/tests/test_worker_xhr.html
rename : dom/workers/test/test_xhr2.html => dom/xhr/tests/test_worker_xhr2.html
rename : dom/workers/test/test_xhrAbort.html => dom/xhr/tests/test_worker_xhrAbort.html
rename : dom/workers/test/test_xhr_3rdparty.html => dom/xhr/tests/test_worker_xhr_3rdparty.html
rename : dom/workers/test/test_xhr_cors_redirect.html => dom/xhr/tests/test_worker_xhr_cors_redirect.html
rename : dom/workers/test/test_xhr_headers.html => dom/xhr/tests/test_worker_xhr_headers.html
rename : dom/workers/test/test_xhr_implicit_cancel.html => dom/xhr/tests/test_worker_xhr_implicit_cancel.html
rename : dom/workers/test/test_xhr_parameters.html => dom/xhr/tests/test_worker_xhr_parameters.html
rename : dom/workers/test/test_xhr_parameters.js => dom/xhr/tests/test_worker_xhr_parameters.js
rename : dom/workers/test/test_xhr_responseURL.html => dom/xhr/tests/test_worker_xhr_responseURL.html
rename : dom/workers/test/test_xhr_system.html => dom/xhr/tests/test_worker_xhr_system.html
rename : dom/workers/test/test_xhr_system.js => dom/xhr/tests/test_worker_xhr_system.js
rename : dom/workers/test/test_xhr_timeout.html => dom/xhr/tests/test_worker_xhr_timeout.html
rename : dom/base/test/test_xhr_abort_after_load.html => dom/xhr/tests/test_xhr_abort_after_load.html
rename : dom/base/test/test_xhr_forbidden_headers.html => dom/xhr/tests/test_xhr_forbidden_headers.html
rename : dom/base/test/test_xhr_overridemimetype_throws_on_invalid_state.html => dom/xhr/tests/test_xhr_overridemimetype_throws_on_invalid_state.html
rename : dom/base/test/test_xhr_progressevents.html => dom/xhr/tests/test_xhr_progressevents.html
rename : dom/base/test/test_xhr_send.html => dom/xhr/tests/test_xhr_send.html
rename : dom/base/test/test_xhr_send_readystate.html => dom/xhr/tests/test_xhr_send_readystate.html
rename : dom/base/test/test_xhr_withCredentials.html => dom/xhr/tests/test_xhr_withCredentials.html
rename : dom/workers/test/file_getcookie.sjs => dom/xhr/tests/worker_file_getcookie.sjs
rename : dom/workers/test/terminateSyncXHR_frame.html => dom/xhr/tests/worker_terminateSyncXHR_frame.html
rename : dom/workers/test/testXHR.txt => dom/xhr/tests/worker_testXHR.txt
rename : dom/workers/test/xhr_cors_redirect.js => dom/xhr/tests/worker_xhr_cors_redirect.js
rename : dom/workers/test/xhr_cors_redirect.sjs => dom/xhr/tests/worker_xhr_cors_redirect.sjs
rename : dom/workers/test/xhr_headers_server.sjs => dom/xhr/tests/worker_xhr_headers_server.sjs
rename : dom/workers/test/xhr_headers_worker.js => dom/xhr/tests/worker_xhr_headers_worker.js
rename : dom/workers/test/xhr2_worker.js => dom/xhr/tests/xhr2_worker.js
rename : dom/workers/test/xhrAbort_worker.js => dom/xhr/tests/xhrAbort_worker.js
rename : dom/workers/test/xhr_implicit_cancel_worker.js => dom/xhr/tests/xhr_implicit_cancel_worker.js
rename : dom/workers/test/xhr_worker.js => dom/xhr/tests/xhr_worker.js
2016-06-27 19:13:40 +02:00
Andrea Marchesini
d3028d3755
Bug 1269162 - part 2 - Move XHRUpload in workers to XMLHttpRequestUploadWorker, r=smaug
...
--HG--
rename : dom/workers/XMLHttpRequestUpload.cpp => dom/workers/XMLHttpRequestUploadWorker.cpp
rename : dom/workers/XMLHttpRequestUpload.h => dom/workers/XMLHttpRequestUploadWorker.h
2016-06-27 19:13:40 +02:00
Andrea Marchesini
e8f16c81be
Bug 1269162 - part 1 - Move XHR in workers to XMLHttpRequestWorker, r=smaug
...
--HG--
rename : dom/workers/XMLHttpRequest.cpp => dom/workers/XMLHttpRequestWorker.cpp
rename : dom/workers/XMLHttpRequest.h => dom/workers/XMLHttpRequestWorker.h
2016-06-27 19:13:40 +02:00
Andrea Marchesini
aac2306f2c
Bug 1269154 - Get rid of WorkerFeature: WorkerHolder, r=khuey
...
--HG--
rename : dom/cache/Feature.cpp => dom/cache/CacheWorkerHolder.cpp
rename : dom/cache/Feature.h => dom/cache/CacheWorkerHolder.h
rename : dom/workers/WorkerFeature.h => dom/workers/WorkerHolder.h
2016-06-23 10:53:14 +02:00
Carsten "Tomcat" Book
47aeb86e2c
Backed out changeset 1c5d78c7ba43 (bug 1269154) for bustage on a CLOSED TREE
...
--HG--
rename : dom/cache/CacheWorkerHolder.cpp => dom/cache/Feature.cpp
rename : dom/cache/CacheWorkerHolder.h => dom/cache/Feature.h
rename : dom/workers/WorkerHolder.h => dom/workers/WorkerFeature.h
extra : rebase_source : 49f9e9ce0500ac441fe97878cf9308804926544f
2016-06-23 10:13:54 +02:00
Andrea Marchesini
45087a7970
Bug 1269154 - Get rid of WorkerFeature: WorkerHolder, r=khuey
...
--HG--
rename : dom/cache/Feature.cpp => dom/cache/CacheWorkerHolder.cpp
rename : dom/cache/Feature.h => dom/cache/CacheWorkerHolder.h
rename : dom/workers/WorkerFeature.h => dom/workers/WorkerHolder.h
2016-06-22 17:24:35 +02:00
Jan de Mooij
fb0436ba41
Bug 1279295 - Create the runtime's JSContext when we create the runtime. r=luke
2016-06-22 09:47:52 +02:00
Andrea Marchesini
da33656040
Bug 1280241 - Remove the limit of number of workers per domain, r=khuey
2016-06-17 11:25:21 +01:00
Thomas Wisniewski
2e6fa0f5fe
Bug 918733 - have overrideMimeType throw INVALID_STATE_ERR if the XHR is in the DONE or LOADING states. r=sicking
2016-06-13 21:56:15 -04:00
Andrea Marchesini
3e97f31d3c
Bug 1280229 - Add telemetry to XHR::Constructor in workers, r=smaug
2016-06-15 15:16:19 +01:00
Andrea Marchesini
82f92bee37
Bug 1279453 - Remove separate worker binding for ServiceWorkerRegistration API, r=bkelly
2016-06-12 16:26:51 +02:00
Andrea Marchesini
c177c5e05d
Bug 1278777 - XHR in workers should support the setting of responseType before calling open(), r=bkelly
2016-06-10 23:30:57 +02:00
Jonathan Watt
b15368cfcb
Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky
2016-06-07 21:10:18 +01:00
Andrea Marchesini
42d73e42ca
Bug 1278838
- move workers/performance tests in dom/performance/tests, r=smaug
...
--HG--
rename : dom/workers/test/sharedworker_performance_user_timing.js => dom/performance/tests/sharedworker_performance_user_timing.js
rename : dom/workers/test/test_sharedWorker_performance_user_timing.html => dom/performance/tests/test_sharedWorker_performance_user_timing.html
rename : dom/workers/test/test_performance_observer.html => dom/performance/tests/test_worker_observer.html
rename : dom/workers/test/test_worker_performance_now.html => dom/performance/tests/test_worker_performance_now.html
rename : dom/workers/test/test_worker_performance_now.js => dom/performance/tests/test_worker_performance_now.js
rename : dom/workers/test/test_performance_user_timing.html => dom/performance/tests/test_worker_user_timing.html
rename : dom/workers/test/performance_observer.html => dom/performance/tests/worker_performance_observer.html
rename : dom/workers/test/worker_performance_observer.js => dom/performance/tests/worker_performance_observer.js
rename : dom/workers/test/worker_performance_user_timing.js => dom/performance/tests/worker_performance_user_timing.js
2016-06-09 19:05:16 +02:00
Andrea Marchesini
64734bf74c
Bug 1278838
- Remove separate worker binding for Performance API, r=smaug
...
--HG--
rename : dom/performance/nsPerformance.cpp => dom/performance/Performance.cpp
rename : dom/performance/nsPerformance.h => dom/performance/Performance.h
rename : dom/workers/Performance.cpp => dom/performance/PerformanceWorker.cpp
rename : dom/workers/Performance.h => dom/performance/PerformanceWorker.h
2016-06-09 19:04:42 +02:00
Andrea Marchesini
1264ad2da5
Bug 1278845 - Move PerformanceNavigation to separate files, r=smaug
2016-06-09 12:44:54 +02:00
Andrea Marchesini
8723eb439d
Bug 1278816 - Move Performance API into dom/performance, r=smaug
...
--HG--
rename : dom/base/PerformanceEntry.cpp => dom/performance/PerformanceEntry.cpp
rename : dom/base/PerformanceEntry.h => dom/performance/PerformanceEntry.h
rename : dom/base/PerformanceMark.cpp => dom/performance/PerformanceMark.cpp
rename : dom/base/PerformanceMark.h => dom/performance/PerformanceMark.h
rename : dom/base/PerformanceMeasure.cpp => dom/performance/PerformanceMeasure.cpp
rename : dom/base/PerformanceMeasure.h => dom/performance/PerformanceMeasure.h
rename : dom/base/PerformanceObserver.cpp => dom/performance/PerformanceObserver.cpp
rename : dom/base/PerformanceObserver.h => dom/performance/PerformanceObserver.h
rename : dom/base/PerformanceObserverEntryList.cpp => dom/performance/PerformanceObserverEntryList.cpp
rename : dom/base/PerformanceObserverEntryList.h => dom/performance/PerformanceObserverEntryList.h
rename : dom/base/PerformanceResourceTiming.cpp => dom/performance/PerformanceResourceTiming.cpp
rename : dom/base/PerformanceResourceTiming.h => dom/performance/PerformanceResourceTiming.h
rename : dom/base/nsPerformance.cpp => dom/performance/nsPerformance.cpp
rename : dom/base/nsPerformance.h => dom/performance/nsPerformance.h
rename : dom/base/test/performance_observer.html => dom/performance/tests/performance_observer.html
rename : dom/base/test/test_performance_observer.html => dom/performance/tests/test_performance_observer.html
rename : dom/base/test/test_performance_observer.js => dom/performance/tests/test_performance_observer.js
rename : dom/base/test/test_performance_user_timing.html => dom/performance/tests/test_performance_user_timing.html
rename : dom/base/test/test_performance_user_timing.js => dom/performance/tests/test_performance_user_timing.js
2016-06-09 12:42:21 +02:00
Andrew Sutherland
af016de2cb
Bug 1272436 - P0: Implement "only-if-cached" RequestCache mode. r=mayhemer, r=bkelly, r=bzbarsky for WebIDL change
...
The fetch spec has re-introduced "only-if-cached" mode which loads only from
the cache. There are privacy implications to this so for the time being it
is required that "same-origin" mode is used.
2016-06-08 12:10:15 -04:00
Kit Cambridge
2cd19df30d
Bug 1278435 - Update DOM interface tests to reflect shipping Push on Android. r=baku
...
MozReview-Commit-ID: AvTW8zDPjAY
--HG--
extra : rebase_source : 2f644946ea21d3e9b1becb1f314a71c5ac41e078
extra : source : 3a4cd59e97b5100b2b14185a068271531b80c68d
2016-06-07 13:25:21 -07:00
Kit Cambridge
a9df8d4d3f
Bug 1278851 - Enable service worker notifications everywhere except for non-release B2G. r=baku
...
MozReview-Commit-ID: InG420vpNtA
--HG--
extra : rebase_source : 0523697466cb8f438b1af129c5d74a1b0c8df499
2016-06-07 14:25:59 -07:00
Andrea Marchesini
43a1cd6c16
Bug 1277226 - Implement MainThreadWorkerRunnable, r=sicking
2016-06-08 07:12:05 +02:00
Ben Kelly
9caae4b4ac
Bug 1278253 Hold service worker alive until event dispatching code is notified. r=asuth
2016-06-06 07:38:40 -07:00
Mike Conley
0c3578df60
Bug 1276738 - Tag a bunch of tests that exercise opening windows with openwindow. r=me
...
There are a series of tests strewn about the tree that seem to exercise window
opening in one form or another, so I thought I'd put them under a tag.
MozReview-Commit-ID: 74JwLUTzaMU
--HG--
extra : rebase_source : 87439bacd9643ab63d015f58f44af2f8a74675a0
extra : source : 9d903a6a12aa7182252ec3e220c89b569c14e11b
2016-04-29 14:29:03 -04:00
Boris Zbarsky
f86c21cecc
Bug 1276317 part 1. Change JS_SetGCZeal to take a JSRuntime, not a JSContext. r=jandem
2016-06-02 10:34:38 -04:00
Kaku Kuo
7f06ee1c5c
Bug 1141979 - part13 - export to WorkerGlobalScope; r=jrmuizel
...
MozReview-Commit-ID: 9AAPwpck23l
--HG--
extra : transplant_source : sM%3E%91%22h%8D%8C%9CoD%5B%E0%E7e%C1T%FD%1ET
2016-04-27 11:47:36 +08:00
Kaku Kuo
ec2d98e4c3
Bug 1141979 - part1 - WebIDL for native implementation; r=jrmuizel, r=smaug
...
MozReview-Commit-ID: 9gC0rxhsOLm
--HG--
extra : transplant_source : %7D%9A%C8%05%99%17Y%1E1%404%A7%14%BE%8B%AC%F0b%A2%5B
2015-11-18 16:57:38 +08:00
Kaku Kuo
447d4a1f0d
Bug 1141979 - part0 - setup preference utilities; r=jrmuizel
...
MozReview-Commit-ID: GoevPKVNASQ
--HG--
extra : transplant_source : %7Co%BA9%D0i%92B%5D%03%3Fb%AF_%84%02.Ano
2015-11-13 18:27:41 +08:00
Carsten "Tomcat" Book
a91653581d
Backed out changeset 9d903a6a12aa (bug 1276738) for test failures in test_blank_named_window.html on a CLOSED TREE
...
--HG--
extra : rebase_source : cd1218144d092a62764b014cffb6b0a92b5f9141
2016-06-02 08:13:16 +02:00
Mike Conley
0d5fa55d26
Bug 1276738 - Tag a bunch of tests that exercise opening windows with openwindow. r=me
...
There are a series of tests strewn about the tree that seem to exercise window
opening in one form or another, so I thought I'd put them under a tag.
MozReview-Commit-ID: 74JwLUTzaMU
--HG--
extra : rebase_source : 0c92084914ffe44a781f034b2416e17905656607
2016-04-29 14:29:03 -04:00
Jonas Sicking
32162d33c2
Bug 1273279 - Changes in preparation for FlyWeb landing. Change InternalResponse handling to track body size. r=baku f=bkelly
...
--HG--
extra : amend_source : 257331b8f4b86d6e1c7608ca6866526ce6aa645a
2016-06-01 17:02:29 -04:00
Kit Cambridge
d9d287a14e
Bug 1265841 - Implement the notificationclose
service worker event. r=wchen,baku
...
MozReview-Commit-ID: EQfCbQKqn9H
--HG--
extra : rebase_source : 2dad51a3c148db794769fb7c64c28f81ea2ca6ff
extra : histedit_source : 254e2e372ba605f74c1f5106f40b207e492e85e1
2016-04-19 22:04:09 -07:00
Boris Zbarsky
519200a808
Bug 1276400 part 2. Stop setting the dontReportUncaught option on the worker JSContext, since workers should be using AutoJSAPI/AutoEntryScript for everything. r=bkelly
2016-05-31 22:01:30 -04:00
Xidorn Quan
5c01d7c3ee
Bug 1276549 - Remove rvalue reference mark for already_AddRefed params of nsIEventTarget::Dispatch and related methods. r=froydnj
...
MozReview-Commit-ID: J5RAfGW3X7T
--HG--
extra : source : e1ff4b0d5d9d2599ac00bac376597357ffd58ce0
2016-06-01 10:04:54 +10:00
Jan de Mooij
847b10eeb0
Bug 1274922 part 5 - Remove JSEXN_NONE and add JSEXN_WARN. r=jorendorff
2016-05-31 08:07:00 +02:00
Hiroyuki Ikezoe
d5e07e1e8b
Bug 1271487 - Enable PerformanceObserver API in nightly by default. r=baku
...
MozReview-Commit-ID: 7v5KhZdVuSm
--HG--
extra : rebase_source : e65095c2ebf46de2edf554d04d046ba7c18520c7
2016-05-10 13:35:35 +09:00
Boris Zbarsky
ac9e0794b8
Bug 1276297. Remove the unused WorkerPrivateParent::ParentJSContext function. r=khuey
2016-05-27 13:30:33 -04:00
Andrew Sutherland
df95996482
Bug 1273920 P3b Trigger cycle collector instead of using a timeout. r=bkelly
2016-05-23 22:40:50 -04:00
Ben Kelly
4020ec6404
Bug 1273920 P3 Add mochitest that demonstrates we cancel sw install if install event is GC'd. r=asuth
2016-05-24 14:08:20 -07:00
Ben Kelly
d021f226db
Bug 1273920 P1 Hold strong reference to service worker WaitUntil() promise until its fulfilled. r=asuth
2016-05-24 14:08:20 -07:00
Phil Ringnalda
5236d2e4ba
Back out 561138ee5a32 (bug 1271487) for web-platform-tests failures and unexpected passes
...
CLOSED TREE
2016-05-23 21:09:07 -07:00
Hiroyuki Ikezoe
240e8e3669
Bug 1271487 - Enable PerformanceObserver API in nightly by default. r=baku
...
MozReview-Commit-ID: EuenLdpscHb
--HG--
extra : rebase_source : 07d84ddd066940b74fd3f1c3e13a73cc4e4b91e2
2016-05-10 13:35:35 +09:00
Ben Kelly
05565765eb
Bug 1254741 P2 Don't aggressively terminate service workers when last controlled window is closed. r=baku
2016-05-23 02:46:26 -07:00
Carsten "Tomcat" Book
927b1a0b3a
Backed out changeset 7469725d7461 (bug 959388)
2016-05-23 11:36:12 +02:00
Carsten "Tomcat" Book
9214312096
Backed out changeset 9feb9c89d33a (bug 959388)
2016-05-23 11:36:10 +02:00
Thomas Nguyen
61fe1800b8
Bug 959388 - Add csp worker test cases. r=kmckinley
...
MozReview-Commit-ID: Ahx419BHWrS
--HG--
extra : rebase_source : 2016c1e68f990a8ba9cd471e18778c87b08546e1
2016-05-19 11:59:54 +08:00
Thomas Nguyen
32e38271c9
Bug 959388 - Deliver CSP from HTTP header. r=ckerschb r=khuey
...
MozReview-Commit-ID: LUl5LyO94m3
--HG--
extra : rebase_source : f2ddfcbf6237b11ebb19adfabf346cf76f4a6ab8
2016-05-19 11:57:32 +08:00
Trevor Saunders
a868a5867f
bug 1271436 - use do_GetInterface() a little less r=smaug
2016-05-17 18:16:07 -04:00
Wes Kocher
96732fa5cd
Backed out changeset cf899587f05e (bug 1271249) for browser_privatebrowsing_blobUrl.js failures
2016-05-17 13:07:44 -07:00
Andrea Marchesini
9d6c9f459a
Bug 1271249 - Blob URL should not be shared across non-private and private windows, r=ehsan
2016-05-17 20:34:39 +02:00
Chris Peterson
8a9e2d2bd4
Bug 1272513 - Part 2: Remove redundant -Wshadow CXXFLAGS from moz.build files. r=glandium
2016-05-14 00:54:55 -07:00
Chris Peterson
353ee65255
Bug 1272513 - Part 1: Suppress -Wshadow warnings-as-errors in some directories. r=glandium
2016-05-11 00:00:01 -07:00
Boris Zbarsky
0a8135300a
Bug 1270783. If we end up erroring out of a worker main-script load before we get to creating a global for the worker, don't try to enter that global's compartment to throw an exception. Just squelch it instead. r=khuey
2016-05-13 20:09:50 -04:00
Andrea Marchesini
6441b9d372
Bug 1258490 - Implement file.webkitrelativepath, r=smaug
2016-05-13 13:11:38 +02:00
Kyle Huey
c85171ace9
Bug 1269056: Part 1 - Implement a rough PostDelayedTask equivalent on nsThread. r=froydnj
2016-05-12 15:15:43 -07:00
Ben Kelly
2518010d98
Bug 1254741 Keep service worker alive while dispatching message event. r=baku
2016-05-12 07:30:42 -07:00
Jeff Gilbert
80f726ea0b
Bug 1271478 - Implement WebGLContextCreationError. - r=jrmuizel,smaug,mtseng
2016-05-11 16:45:43 -07:00
Kyle Huey
406bdf1bee
Bug 1272066: Slap the compiler. r=khuey
2016-05-11 11:46:36 -07:00
Kyle Huey
b6e81a079e
Bug 1267819: Revalidate the state of the world after processing control runnables. r=baku
2016-05-11 11:45:58 -07:00
Wes Kocher
5949ec87d1
Bug 1272066 - Try to stop assertions until a better fix can land rs=khuey
...
--HG--
extra : rebase_source : 188bad42f87f23026315146d059fc36fbe07063c
2016-05-11 11:37:59 -07:00
Wes Kocher
5c9f141313
Backed out changeset af74581564bc (bug 711886) for wpt bustage
2016-05-11 10:28:53 -07:00
Jason Duell
d3772280b8
Bug 711886. Fail Websocket if server replies with non-matching subprotocol r=mcmanus
2016-05-11 08:50:13 -07:00
Andrea Marchesini
067604a67d
Bug 1268253 - MainThreadStopSyncLoopRunnable doesn't need to be exposed, r=khuey
2016-05-11 08:05:38 +02:00
Andrea Marchesini
59521d1cef
Bug 1268252 - XHR doesn't need to use MainThreadStopSyncLoopRunnable, r=khuey
2016-05-11 08:05:08 +02:00
Boris Zbarsky
20a2c90769
Bug 1268845. Make sure to set up an XPCWrappedNativeScope for SimpleGlobalObject globals on the main thread. r=bholley,ttaubert,ejpbruel
2016-05-10 20:57:29 -04:00
Tom Tung
842431d95a
Bug 1243792 - P1 implement response.redirected - Fetch API & Cache API & ServiceWorker changed. r=bkelly, r=baku.
...
--HG--
extra : rebase_source : 29ec29361738c6d2446b410a98bd4876a689ce99
2016-05-03 09:48:40 +08:00
Carsten "Tomcat" Book
a993b36b4a
Backed out changeset dc42de66de8c (bug 1243791) landing with wrong bug number
...
--HG--
extra : rebase_source : b016defba5a12065b401d0d59b3f03e8b1d7cbe1
2016-05-10 12:50:15 +02:00
Tom Tung
15b89607c6
Bug 1243791 - P1 implement response.redirected - Fetch API & Cache API & ServiceWorker changed. r=bkelly, r=baku.
2016-05-03 09:48:40 +08:00
L. David Baron
71a0554018
Bug 1270649 - Rename mExceptionHasBeenRisen to mExceptionWasRaised. r=smaug
...
risen is the past participle of rise; raised is the past participle of
raise, which is what is done to exceptions.
See:
https://en.wiktionary.org/wiki/rise#Verb
https://en.wiktionary.org/wiki/raise#Verb (definition 2, though not sure
if the use for exceptions is from 2.3 or 2.5)
(I wonder if mExceptionRaised would be simpler, though.)
MozReview-Commit-ID: 8Ynup8aDcLT
2016-05-08 22:16:42 -07:00
Stone Shih
d9f82778f9
Bug 482388 - Use default url encoding to create channel when creating child workers or importing scripts in a worker. r=khuey
...
--HG--
extra : rebase_source : 78b0ddd725205028c6dc4c193cbbce0e0a628d77
2016-04-28 15:44:08 +08:00
Andrea Marchesini
3b28920d8e
Bug 1270476 - Fix compilation issues on Android with PushEnabled. rs=jesup
...
CLOSED TREE
2016-05-05 06:21:00 -04:00
Kyle Huey
941ab1f522
Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj
2016-05-05 01:45:00 -07:00
Kit Cambridge
c90a3eecfc
Bug 1185716 - Unregistering a service worker should drop its push subscription. r=bkelly
...
MozReview-Commit-ID: A5MtdADIQVV
--HG--
extra : rebase_source : 2a87866053ee500a245b5496c8810e19bd9490ee
2016-05-03 11:44:40 -07:00
Andrea Marchesini
6bf6e9c639
Bug 1268231 - Get rid of StopSyncLoopRunnable, r=khuey
2016-05-03 10:21:59 +02:00
Andrea Marchesini
0fdab8e9ee
Bug 1268230 - RunTime.cpp and ScriptLoader do not have to use MainThreadStopSyncLoopRunnable, r=khuey
2016-05-03 10:21:57 +02:00
Andrea Marchesini
513590a1ac
Bug 1267904 - Add telemetry for WorkerMainThreadRunnable, r=khuey
2016-05-03 09:09:47 +02:00
Carsten "Tomcat" Book
ba3fe0975c
Backed out changeset 85ce8cb0639a (bug 1268313)
...
--HG--
extra : rebase_source : 56d1cf41a2dc4959b67f834e07192a5c772176a8
2016-04-29 14:21:16 +02:00
Andrea Marchesini
1c0c183890
Bug 1261009 - Remove the Data Store API, r=fabrice
2016-04-29 09:02:45 +08:00
Andrea Marchesini
b4fdf724ae
Bug 1268393 - Some compilation issues in ServiceWorker code, r=ehsan
2016-04-29 09:01:22 +08:00
Kyle Huey
48a594a09e
Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj
2016-04-28 14:08:25 -07:00
Kit Cambridge
e74c4e5540
Bug 1265828 - Remove persistent notifications from storage. r=wchen
...
MozReview-Commit-ID: DmegHA1YVsB
--HG--
extra : rebase_source : dfe052327a29b7b28d76f9c1993e6cff181471c9
2016-04-20 17:13:21 -07:00
Kit Cambridge
c6e8720d75
Bug 1267021 - Use fallible allocation and move semantics for Push events. r=wchen
...
MozReview-Commit-ID: H43zrz5fhvU
--HG--
extra : rebase_source : 63631f3c2f4a3389e8e0365cd9a770a537162762
2016-04-22 20:54:22 -07:00
Andrea Marchesini
5624c37fe0
Bug 1268361 - Strip leading '?' in new URLSearchParams(query)
, r=smaug
2016-04-28 19:53:16 +08:00
Ben Kelly
c9b282c4c6
Bug 1267733 P3 Trigger service worker update after failed interception. r=jdm
2016-04-27 02:24:04 -07:00
Ben Kelly
2623d70dd2
Bug 1267733 P2 Pass ServiceWorkerRegistrationInfo down to CancelChannelRunnable. r=jdm
2016-04-27 02:24:04 -07:00
Ben Kelly
0dd830cdc0
Bug 1267733 P1 Treat last-update-time as infinitely in the past when checking for service worker update after restart. r=jdm
2016-04-27 02:24:04 -07:00
Jonathan Watt
2bb448cbb2
Bug 1267509 - Make nsContentSecurityManager::IsURIPotentiallyTrustworthy act on an nsIPrincipal. r=bz
...
MozReview-Commit-ID: Zu1zU4Brkx
--HG--
rename : dom/security/test/unit/test_isURIPotentiallyTrustworthy.js => dom/security/test/unit/test_isOriginPotentiallyTrustworthy.js
2016-04-26 11:30:43 +01:00
Stone Shih
2f90ac66c5
Bug 1266637 - Followup to Bug1240436 - Add test case to load service worker script with special characters. r=khuey
2016-04-21 10:01:00 +08:00
Kyle Huey
c73656947b
Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj
2016-04-25 17:23:21 -07:00
Ben Kelly
e5a1d1af80
Bug 1266857 Make Clients.claim() use observer document list instead of secondary hashtable. r=bz
2016-04-24 08:11:32 -07:00
Ben Kelly
30a63e3626
Bug 1265771 P3 Expand browser_force_refresh.js to verify Clients.matchAll() behavior on refresh. r=bz
2016-04-24 08:11:32 -07:00
Josh Matthews
62ce0e2f1d
Bug 1209095 - Accept opaqueredirection fetch results if the request redirection type is manual. r=bkelly
2015-12-16 19:06:54 -05:00
Phil Ringnalda
296f3a95c3
Back out 4 changesets (bug 1265771, bug 1266857) for leaks in browser_DownloadPDFSaver.js on Windows
...
CLOSED TREE
Backed out changeset a0c85ccffafd (bug 1266857)
Backed out changeset 1cf8785bdc0c (bug 1265771)
Backed out changeset e411c3ccd7b6 (bug 1265771)
Backed out changeset a298cd2c9417 (bug 1265771)
2016-04-22 21:27:11 -07:00
Ben Kelly
b4090694b7
Bug 1266857 Make Clients.claim() use observer document list instead of secondary hashtable. r=bz
2016-04-22 00:50:13 -07:00
Ben Kelly
da6964ef2b
Bug 1265771 P3 Expand browser_force_refresh.js to verify Clients.matchAll() behavior on refresh. r=bz
2016-04-22 00:50:13 -07:00
Ben Kelly
d78f4aec16
Bug 1265795 P3 Assert that controlled documents have an outer window. r=bz
2016-04-21 16:10:40 -07:00
Ben Kelly
15090e7a5c
Bug 1266178 Make ServiceWorkerClient not assert if the document doesn't have an outer window. r=ehsan
2016-04-21 14:14:45 -07:00
Kit Cambridge
b7fd7b1ede
Bug 1247685 - Expose PushSubscriptionOptions
in interface tests. r=baku
...
MozReview-Commit-ID: A6x2K8Phmr7
--HG--
extra : rebase_source : 986c597a59d652a220a8950c052a34a474b1192d
2016-04-14 10:26:53 -07:00
Ehsan Akhgari
756a1054f9
Bug 1265941 - Rename the ReferrerPolicy "origin-only" enum value to "origin"; r=jdm
2016-04-20 14:21:34 -04:00
Nicholas Nethercote
d84e6264da
Bug 1265035 - Make ~WorkerJSRuntime() handle Initialize() failure better. r=khuey.
...
--HG--
extra : rebase_source : 4b2cb2ef8192f314a28556826044f010a52b90b4
2016-04-19 14:04:32 +10:00
Olli Pettay
cc6d1d9827
Bug 1257096, don't try to report about unusual unhandled rejected Promises, r=bz,waldo
...
--HG--
extra : rebase_source : a53d6853feeae3c54f307cef71edcdba4f771803
2016-04-20 02:29:21 +03:00
Ben Kelly
7ccf656ad3
Bug 1265761 Clients.matchAll() should treat http windows as secure if devtools are open and http testing is enabled. r=ehsan
2016-04-19 11:22:16 -07:00
Stone Shih
aa7c2fc2bd
Bug 1240436 - Part1: Convert UTF16 to UTF8 before generating nsStringInputStream. r=khuey
2016-04-12 16:33:53 +08:00
Ben Kelly
b3e4dd4541
Bug 1263307 P3 Move ServiceWorker update logic into central place in ServiceWorkerRegistrationInfo methods. r=jdm
2016-04-17 04:29:53 -07:00
Ben Kelly
a9a4f7363c
Bug 1263307 P2 Make ServiceWorkerRegistrationInfo worker members private. r=jdm
2016-04-17 04:29:53 -07:00
Ben Kelly
c63ec8cd08
Bug 1263307 P1 Make ServiceWorkerRegistrationInfo::mScope const. r=jdm
2016-04-17 04:29:53 -07:00