Граф коммитов

3346 Коммитов

Автор SHA1 Сообщение Дата
Ben Kelly 12ef9421b4 Bug 1345943 P1 Set the MessageEvent.source to ServiceWorker that called Client.postMessage(). r=asuth 2017-03-10 12:15:07 -05:00
Ben Kelly 546d811304 Bug 1311324 P2 Replace usage of ServiceWorkerMessageEvent with MessageEvent. r=bz 2017-03-09 20:50:13 -05:00
Valentin Gosu 1c5fbd8c6e Bug 1342438 - Remove url .hash encoding/decoding prefs r=bagder
These prefs have been added close to two years ago:
dom.url.encode_decode_hash and dom.url.getters_decode_hash
The main reason for their existence was in case we encounter any web-compat issues. At this point the extra code is mostly useless, and flipping the pref may lead to crashes.

MozReview-Commit-ID: LhAHkYmv0TR

--HG--
extra : rebase_source : 8f2d50d5633496cf165b3925d952bb6475bce3e0
2017-03-08 22:19:34 +01:00
Andrea Marchesini 9749d1a888 Bug 1345277 - Initialize nsIStreamTransportService before dispatching the first worker, r=ehsan 2017-03-08 18:37:08 +01:00
Ben Kelly 7300a549b0 Bug 1345251 Make MozPromise usable on worker threads. r=gerald 2017-03-08 11:45:07 -05:00
Ben Kelly 8325eed6e7 Bug 1345132 Fix races in test_claim.html mochitest. r=catalinb 2017-03-08 10:19:26 -05:00
Shawn Huang ff64db551b Bug 1339786 - Disable Storage API on Android, r=baku 2017-03-08 19:55:50 +08:00
Michael Layzell 67c4d0b3c1 Bug 1331434 - Part 7: Handle custom cleanup after throwing in /dom/workers, r=baku
MozReview-Commit-ID: 1hKUDi9Oxg7
2017-03-07 19:06:48 -05:00
Carsten "Tomcat" Book 087da3f0d9 merge mozilla-inbound to mozilla-central a=merge 2017-03-07 15:13:31 +01:00
Shawn Huang 9c76c33226 Bug 1268804 Part 4: Add isSecureContext pref in test_interfaces for StorageManager, r=bz 2017-03-07 16:28:56 +08:00
Shawn Huang 9bcc4a5ca9 Bug 1343463 - Move indexeddb service worker test to serviceworkers folder, r=baku
--HG--
rename : dom/indexedDB/test/service_worker.js => dom/workers/test/serviceworkers/service_worker.js
rename : dom/indexedDB/test/service_worker_client.html => dom/workers/test/serviceworkers/service_worker_client.html
rename : dom/indexedDB/test/test_serviceworker.html => dom/workers/test/serviceworkers/test_serviceworker.html
2017-03-07 13:40:37 +08:00
Wei-Cheng Pan 510ba75c20 Bug 1310127 - Part 17: Use MOZ_MUST_USE in netwerk/protocol/http r=smaug
MozReview-Commit-ID: 5gvVZtsa3yS

--HG--
extra : rebase_source : 5e1ab2fc06ae58f18abb8909ac93f9512abbe220
2016-12-20 11:49:32 +08:00
Ben Kelly 50f268f7ad Bug 1343308 P1 Make Clients.matchAll() only return Clients controlled by the current service worker. r=baku 2017-03-01 13:08:54 -05:00
Ho-Pang Hsu e4dd777d56 Bug 1175163 - Part 1: Migrate claim_fetch_worker to wpt. r=bkelly 2017-03-01 11:30:15 +08:00
Andrea Marchesini 9d68a92efe Bug 1298823 - Make Request constructor throw less often, r=qdot 2017-03-01 11:44:38 +01:00
Joel Maher f297f17181 Bug 1339232 - annotate more dom/* moz.build files with BUG_COMPONENT. r=overholt
MozReview-Commit-ID: 2HbPxGkrVfv
2017-03-01 08:20:25 -05:00
Ben Kelly d03573312b Bug 1266747 P3 Sort output of Clients.matchAll(). r=smaug 2017-02-28 22:12:27 -05:00
Ben Kelly 68348a54d1 Bug 1266747 P2 Track last focus time on ServiceWorkerClient. r=smaug 2017-02-28 22:12:27 -05:00
Sebastian Hengst 4a1eb5e2a6 Backed out changeset e54c8d21e4c1 (bug 1266747) 2017-02-28 18:54:24 +01:00
Sebastian Hengst 78abfe9e2f Backed out changeset 274999e28c07 (bug 1266747) 2017-02-28 18:54:20 +01:00
Ben Kelly b019e8eace Bug 1266747 P3 Sort output of Clients.matchAll(). r=smaug 2017-02-28 10:48:51 -05:00
Ben Kelly 21c36b41bf Bug 1266747 P2 Track last focus time on ServiceWorkerClient. r=smaug 2017-02-28 10:48:51 -05:00
Jan Varga e161ee742d Bug 1311057 - Part 1: Remove support for packaged apps from asmjscache; r=luke 2017-03-06 18:38:40 +01:00
Carsten "Tomcat" Book e5ba19f18b Backed out changeset 271dd75925bd (bug 1343463) for causing test failures in test_navigator_secureContext.html
--HG--
rename : dom/workers/test/service_worker.js => dom/indexedDB/test/service_worker.js
rename : dom/workers/test/service_worker_client.html => dom/indexedDB/test/service_worker_client.html
rename : dom/workers/test/test_serviceworker.html => dom/indexedDB/test/test_serviceworker.html
2017-03-06 13:57:47 +01:00
Shawn Huang 4f875a9b13 Bug 1343463 - Move indexeddb service worker test to workers folder, r=baku
--HG--
rename : dom/indexedDB/test/service_worker.js => dom/workers/test/service_worker.js
rename : dom/indexedDB/test/service_worker_client.html => dom/workers/test/service_worker_client.html
rename : dom/indexedDB/test/test_serviceworker.html => dom/workers/test/test_serviceworker.html
2017-03-06 16:24:33 +08:00
Masatoshi Kimura 7be7b11a1c Bug 1342144 - Remove version parameter from the type attribute of script elements. r=jmaher
This patch is generated by the following sed script:
find . ! -wholename '*/.hg*' -type f \( -iname '*.html' -o -iname '*.xhtml' -o -iname '*.xul' -o -iname '*.js' \) -exec sed -i -e 's/\(\(text\|application\)\/javascript\);version=1.[0-9]/\1/g' {} \;

MozReview-Commit-ID: AzhtdwJwVNg

--HG--
extra : rebase_source : e8f90249454c0779d926f87777f457352961748d
2017-02-23 06:10:07 +09:00
Luke Wagner 4c0bba7f15 Bug 1342060 - Followup to 391047948db4 to fix Android tests (r=jorendorff)
MozReview-Commit-ID: HDD8v9tIEe7

--HG--
extra : rebase_source : 0236e646038b0c145e34d5cedb18b8034d0c4aa4
2017-02-23 16:38:39 -06:00
Luke Wagner 6f8ce1e317 Bug 1342060 - wasm: enable by default (r=bbouvier,sr=jorendorff)
MozReview-Commit-ID: LozhxKgleFc

--HG--
extra : rebase_source : 1821c3965c46044e99a132398ea862f49eb6aca0
2017-02-23 13:02:40 -06:00
Ben Kelly e070aa7b47 Bug 1340654 P1 Set referrer policy in service workers. r=baku 2017-02-23 10:54:42 -05:00
Ben Kelly 0599debb95 Bug 1340652 P2 Override worker principal after channel load completes to get correct principal URL. r=baku 2017-02-23 10:54:41 -05:00
Ben Kelly 8fc68b959d Bug 1340652 P1 Assert principal URL matches final worker script URL. r=baku 2017-02-23 10:54:41 -05:00
Ben Kelly eec3246c3e Bug 1341040 Rename ServiceWorkerInfo::GetPrincipal() to Principal(). r=baku 2017-02-20 10:31:32 -05:00
Ben Kelly f256497070 Bug 1339823 Create a pristine principal in ServiceWorkerPrivate::SpawnWorkerIfNeeded(). r=baku 2017-02-20 09:31:24 -05:00
Carsten "Tomcat" Book 816ee3bdee Backed out changeset 59e30ba1b38f (bug 1339823) on a CLOSED TREE 2017-02-20 15:26:36 +01:00
Ben Kelly 15556e0e96 Bug 1339823 Create a pristine principal in ServiceWorkerPrivate::SpawnWorkerIfNeeded(). r=baku 2017-02-20 09:05:55 -05:00
Tom Ritter cf34ec74c9 Bug 1336527 Define RegisterIdlePeriod r=baku
MozReview-Commit-ID: A41UJ6OHvP7

--HG--
extra : rebase_source : 0191c1bbece94bb9dabbf2daf56351a624efa481
2017-02-17 13:29:12 -06:00
Tom Tromey d2667a2b27 Bug 1060419 - make AppendPrintf and nsPrintfCString use Printf.h, r=froydnj
MozReview-Commit-ID: 2E8FoiNxU8L

--HG--
extra : rebase_source : 810ac727bef0751f24edea18c52e0ec170bf367d
2016-12-14 09:32:21 -07:00
Tom Tromey 5f8f360823 Bug 1060419 - make log_print use Printf.h, r=froydnj
MozReview-Commit-ID: BIZ1GQEZ1vs

--HG--
extra : rebase_source : 2f1f0aa12493c44f352d9a7e8683e7bb72d2d75b
2016-12-15 20:16:31 -07:00
Ben Kelly 1e7618bfa7 Bug 1339844 P3 Test for Client.type in mochitest. r=asuth 2017-02-15 15:12:37 -05:00
Ben Kelly 76b97762b7 Bug 1339844 P1 Implement the Client.type attribute. r=asuth 2017-02-15 15:12:37 -05:00
Ben Kelly 101a286625 Bug 1322111 P2 Make importScripts() use TYPE_INTERNAL_WORKER_IMPORT_SCRIPTS. r=ckerschb 2017-02-15 09:55:58 -05:00
Tooru Fujisawa a33056dda7 Bug 1283712 - Part 8: Add WorkerErrorBase, WorkerErrorNote, and WorkerErrorReport. r=bholley 2017-02-15 23:53:07 +09:00
Jeff Walden ca2e1ac4c0 Bug 1287006 - Don't pass Maybe by value in miscellaneous places. r=froydnj
--HG--
extra : rebase_source : 145f2fc605ff917d3067826a9daebdce07bde02a
2017-02-13 09:07:40 -08:00
Ben Kelly 9c913de880 Bug 1337522 P2 Set ServiceWorker principal earlier. r=baku 2017-02-14 10:06:39 -05:00
Ben Kelly adfc2e425e Bug 1337522 P1 Add diagnostic assertions that worker principal is valid before compilation. r=baku 2017-02-14 10:06:39 -05:00
Ben Kelly 839d472b39 Bug 1337543 P6 Persist response headers for offlined service worker scripts. r=baku 2017-02-14 10:06:39 -05:00
Ben Kelly 9b7436dd89 Bug 1337543 P4 Apply CSP headers to ServiceWorker when loading offlined script. r=baku 2017-02-14 10:06:38 -05:00
Ben Kelly 6e8c6089aa Bug 1337543 P3 Factor out code to set WorkerPrivate CSP from headers. r=baku 2017-02-14 10:06:38 -05:00
Ben Kelly f86436457f Bug 1337543 P2 Improve ServiceWorker asserts and verify load principal does not inherit CSP. r=baku 2017-02-14 10:06:38 -05:00
Ben Kelly 3032201406 Bug 1337543 P1 ServiceWorker should not inherit CSP from registration principal. r=baku 2017-02-14 10:06:38 -05:00