Andrea Marchesini
9dc9655c9e
Bug 1213815 - dom/webidl/HTMLHyperlinkElementUtils and URL don't need to throw exceptions as we did before, r=bz
2015-11-23 20:05:26 +00:00
Andrea Marchesini
ef9b1a937a
Bug 1227113 - Fix some indentation issues in ServiceWorkerManager, r=janv
2015-11-23 13:47:53 +00:00
Ehsan Akhgari
6fc6fe1c47
Bug 1204269 - Part 2: Add unit tests; r=smaug
2015-11-20 16:32:52 -05:00
Boris Zbarsky
1fec018fcb
Bug 1224007 part 4. Fix some cases in which ErrorResult instances are destroyed without doing anything useful with exceptions on them. r=peterv
2015-11-20 16:29:41 -05:00
Boris Zbarsky
df75080cc3
Bug 1226479. Change ErrorResult::ThrowTypeError/ThrowRangeError to take string references, not pointers. r=mccr8
2015-11-20 13:36:46 -05:00
Ehsan Akhgari
a7568f6847
Bug 1198078 - Part 2: Add tests for mixed content blocking of scripts in workers; r=ckerschb
2015-11-20 10:56:57 -05:00
dimi
251af3768d
Bug 1217367 - Service workers update algorithm optimization. r=bkelly
2015-11-20 16:43:07 +08:00
Ben Kelly
f1ab7986b2
Bug 1186856 ServiceWorker .register() should always stop current registration from uninstalling. r=jdm
2015-11-19 17:42:09 -08:00
Ben Kelly
60dc9e2371
Bug 1225470 Report a message to the console when a service worker waitUntil() is rejected. r=baku
2015-11-19 13:15:17 -08:00
Andrea Marchesini
5855a7439f
Bug 1226147 - WorkerPrivate->CreationTime() and CreationTimeStamp(), r=bz
2015-11-19 20:32:49 +00:00
Andrea Marchesini
5e1f614532
Bug 1169068 - Performance.translateTime(), r=bz
2015-11-19 14:04:47 +00:00
Kyle Huey
7e1d1b1868
Bug 1224436: Remove enumerator usage in ServiceWorkerManager.cpp. r=njn
2015-11-19 16:03:29 +08:00
Andrea Marchesini
61abf8e5dc
Bug 1218474 - Improve the referrer checks in worker mochitests, r=bkelly
2015-11-18 22:13:28 +00:00
Phil Ringnalda
568d5025ba
Back out bf4205bd5198 (bug 1216175) for Android hangs in test_fetch_cors.html
2015-11-17 19:45:43 -08:00
Andrea Marchesini
ea64674637
Bug 1221852 - SharedWorker.port should be always not null, r=smaug
2015-11-17 23:38:39 +00:00
Andrea Marchesini
94a269ab52
Bug 1224659 - Worker DataStore code should not use ErrorResult cross threads, r=bz
2015-11-17 22:55:51 +00:00
Olli Pettay
8b883f3ed3
Bug 1216175, ensure we GC/CC often enough on workers, r=baku
...
--HG--
extra : rebase_source : 04d97418c729087cbad157a35c6f57fa2f2edc60
2015-11-18 00:03:01 +02:00
Andrea Marchesini
fe6be4c172
Bug 1218433 - Use AsyncOpen2 in dom/workers/ScriptLoader.cpp - part 1, r=sicking
2015-11-16 22:41:03 +00:00
Wes Kocher
9d1f194cbb
Backed out 2 changesets (bug 1218433) for wpt failures CLOSED TREE
...
Backed out changeset 1cc8cc0444c0 (bug 1218433)
Backed out changeset 5418ca0e0378 (bug 1218433)
--HG--
extra : commitid : H1h8VHrzxx8
2015-11-16 11:13:43 -08:00
Andrea Marchesini
d35be12a6d
Bug 1218433 - Use AsyncOpen2 in dom/workers/ScriptLoader.cpp - part 1, r=sicking
2015-11-16 16:57:29 +00:00
Ben Kelly
513538cf2c
Bug 1224941 Don't crash during ServiceWorker life cycle event dispatch if window is gone. r=baku
2015-11-16 08:41:57 -08:00
Ben Kelly
3c283a5f6c
Bug 1223116 P1 Expose nsIServiceWorkerManager.shouldReportToWindow(). r=catalinb
2015-11-16 08:04:11 -08:00
Ben Kelly
443a543aac
Bug 1217909 P11 Only report errors to documents that are active and not in the bfcache. r=catalinb
2015-11-16 08:04:11 -08:00
Ben Kelly
45c47fc5e0
Bug 1217909 P10 Remove stale nsTArray when the last registering document for a scope is removed. r=catalinb
2015-11-16 08:04:11 -08:00
Ben Kelly
ec63158dff
Bug 1217909 P9 Report exceptions to windows performing an intercepted navigation. r=catalinb
2015-11-16 08:04:11 -08:00
Ben Kelly
d6cd5e961e
Bug 1217909 P8 Track navigation interceptions per scope in ServiceWorkerManager. r=catalinb
2015-11-16 08:04:11 -08:00
Ben Kelly
bf2b04c9bf
Bug 1217909 P7 Fix mochitest to expect TypeError when serviceWorker.register() rejects. r=catalinb
2015-11-16 08:04:11 -08:00
Ben Kelly
a670404ca2
Bug 1217909 P3 Refactor service worker register()/update() to reject only with SecurityErr or TypeErr. r=catalinb
...
* * *
Bug 1217909 P3 interdiff 001 fix try build
2015-11-16 08:04:11 -08:00
Ben Kelly
086c599374
Bug 1217909 P2 Track registering documents as weak reference so SWM can report errors to them. r=catalinb
2015-11-16 08:04:11 -08:00
Ben Kelly
c311fd953d
Bug 1217909 P1 Report service worker exceptions to controlled documents. r=catalinb
...
* * *
Bug 1217909 P1 interdiff 001 refactor
2015-11-16 08:04:11 -08:00
Phil Ringnalda
6e82b3775e
Back out 2 changesets (bug 1221852, bug 1224825) for Android hangs and desktop RunWatchdog crashes in test_upgrade_insecure_reporting.html
...
CLOSED TREE
Backed out changeset 6ad589dcf3c1 (bug 1221852)
Backed out changeset e7aadf89146b (bug 1224825)
2015-11-15 09:56:06 -08:00
Andrea Marchesini
1f993cf905
Bug 1221852 - SharedWorker.port should be always not null, r=smaug
2015-11-15 11:47:57 +00:00
Sebastian Hengst
c1f04d5b8c
Backed out 2 changesets (a19876ac309e, 3a1c0923b0d9) (bug 1221852, bug 1224825) for M(3) failures. r=backout on a CLOSED TREE
...
Backed out changeset 3a1c0923b0d9 (bug 1221852)
Backed out changeset a19876ac309e (bug 1224825)
2015-11-15 15:59:24 +01:00
Sebastian Hengst
a0cf7d50ad
Backed out 2 changesets (22360424ed15, 325a67608df0) (bug 1218433) for W(1,2) failures. r=backout on a CLOSED TREE
...
Backed out changeset 22360424ed15 (bug 1218433)
Backed out changeset 325a67608df0 (bug 1218433)
2015-11-15 15:56:45 +01:00
Andrea Marchesini
9137d7e47b
Bug 1218433 - Use AsyncOpen2 in dom/workers/ScriptLoader.cpp - part 1, r=sicking
2015-11-15 11:57:06 +00:00
Andrea Marchesini
0ee249dfa5
Bug 1221852 - SharedWorker.port should be always not null, r=smaug
2015-11-15 11:47:57 +00:00
Phil Ringnalda
596e8ff827
Back out 9 changesets (bug 1214305) for e10s devtools browser_bug1045902_console_csp_ignore_reflected_xss_message.js failures
...
Backed out changeset 82929be36e95 (bug 1214305)
Backed out changeset e926606aefbf (bug 1214305)
Backed out changeset 226c83ca9a2a (bug 1214305)
Backed out changeset 88ab26108f2d (bug 1214305)
Backed out changeset 2e3e4f256d46 (bug 1214305)
Backed out changeset 347cd0f8f1e3 (bug 1214305)
Backed out changeset be072bba15fc (bug 1214305)
Backed out changeset 3b85acbe7be7 (bug 1214305)
Backed out changeset 49b930683c02 (bug 1214305)
2015-11-14 10:09:58 -08:00
Ehsan Akhgari
4a16f7fb9d
Bug 1214305 - Part 8: Enable secure upgrade service worker tests on e10s; r=jdm
2015-11-02 11:28:00 -05:00
Ehsan Akhgari
cd0dd2fe66
Bug 1214305 - Part 5: Use the secure upgraded channel URI in FetchEventRunnable::Init; r=jdm
...
This ensures that FetchEvent.request.url will have the correct value
for secure upgraded channels.
2015-11-02 11:27:00 -05:00
Ehsan Akhgari
2d89eea92a
Bug 1214305 - Part 4: Use the secure upgraded channel URI in ServiceWorkerManager::PrepareFetchEvent; r=jdm
...
This is needed to ensure that the ServiceWorkerManager uses the
correct URI for non-subresource requests. Note that we're relying
on the property that non-secure non-subresource requests can never
be intercepted, so we don't need to check the request type explicitly.
2015-11-02 11:27:00 -05:00
Eddy Bruel
d9c0acb19f
Bug 1220740 - nsIServiceWorkerRegistrationInfo should emit an event when its worker properties change;r=amarchesini
2015-11-13 21:54:54 +01:00
Eddy Bruel
f2221b7a7f
Bug 1220740 - nsIServiceWorkerRegistrationInfo should emit an event when its scriptSpec property changes;r=amarchesini
2015-11-13 21:54:45 +01:00
Eddy Bruel
cb30e9f8bf
Bug 1224237 - Remove the !baseURL check from ServiceWorkerContainer::Register;r=bkelly
2015-11-13 10:48:49 +01:00
Jonas Sicking
27c89ea082
Bug 1223647: CSP erroneously inherited into dedicated workers. r=ckerschb
...
--HG--
rename : dom/workers/test/serviceworkers/test_eval_not_allowed.html^headers^ => dom/workers/test/serviceworkers/test_eval_allowed.html^headers^
2015-11-10 21:16:12 -08:00
Kyle Huey
de8387d5fd
Bug 1224061 followup to fix bustage. r=me on a CLOSED TREE IGNORE IDL
2015-11-13 09:23:59 +08:00
Nathan Froyd
2d8bae8e40
Bug 1217571 - fix the imagelib cache to work in e10s; r=seth
...
nsICachingChannel isn't available in the child process; we have to use
nsICacheInfoChannel instead.
2015-11-12 15:09:52 -05:00
Kyle Huey
bdbb2ec50a
Bug 1224061: Make Event::InitEvent infallible. r=smaug
2015-11-13 08:09:42 +08:00
Sebastian Hengst
c7cc4bc5c8
Backed out changesets 5a3092c456c0,8dcbfd14f1e5 (bug 1218433) for M3, W3 failures and M10 failure on Android. r=backout
...
* * *
Backed out changeset 8dcbfd14f1e5 (bug 1218433)
462 INFO TEST-UNEXPECTED-FAIL | dom/security/test/csp/test_child-src_worker-redirect.html | CSP child-src worker test other-src-worker_redir-same - got "Error: Failed to load script (nsresult = 0x805e0006)", expected "blocked"
479 INFO TEST-UNEXPECTED-FAIL | dom/security/test/csp/test_child-src_worker.html | Test timed out.
486 INFO TEST-UNEXPECTED-FAIL | dom/security/test/csp/test_child-src_worker_data.html | Test timed out.
2015-11-12 18:44:51 +01:00
Andrew McCreight
0d0da460ed
Bug 1222495
- Get dom/workers/test/test_suspend.html working with e10s and B2G. r=khuey
2015-11-12 08:08:47 -08:00
Andrea Marchesini
f55a08e614
Bug 1218433 - Use AsyncOpen2 in dom/workers/ScriptLoader.cpp - part 1, r=sicking
2015-11-12 14:51:17 +00:00
Wes Kocher
2e6d1e7dfb
Backed out changeset d12f758f5f36 (bug 1223647) for android csp test failures
...
--HG--
extra : commitid : GRTvvKDy9Ki
2015-11-11 14:27:52 -08:00
Jonas Sicking
ea6cf63b0f
Bug 1223647: CSP erroneously inherited into dedicated workers. r=ckerschb
2015-11-10 21:16:12 -08:00
Wes Kocher
9e8bd5977f
Backed out 2 changesets (bug 1218433) for android CSP test failures in m(10) CLOSED TREE
...
Backed out changeset 50af9a9ba6d9 (bug 1218433)
Backed out changeset 5d8b8744419f (bug 1218433)
--HG--
extra : commitid : 625lyUcSwAk
2015-11-11 10:22:08 -08:00
Andrea Marchesini
934e4c3ba4
Bug 1218433 - Use AsyncOpen2 in dom/workers/ScriptLoader.cpp - part 1, r=sicking
2015-11-11 16:59:46 +00:00
Andrea Marchesini
d6cab13084
Bug 1201498 - Service worker update should compare scriptURL to worker URL without fragment, r=bkelly
2015-11-11 10:46:29 +00:00
Phil Ringnalda
b98d58e46d
Back out changeset 4d6d9c1e52e4 (bug 1223647) for failures in test_csp.html, csp/test_redirects.html and csp/test_worker_redirect.html
...
--HG--
extra : rebase_source : a4a53053968cfa19e6544dd3e59e36ef23fcf353
2015-11-10 23:10:04 -08:00
Jonas Sicking
426e42e7f9
Bug 1223647: CSP erroneously inherited into dedicated workers. r=ckerschb
2015-11-10 21:16:12 -08:00
Phil Ringnalda
2ed8473bfb
Back out changeset d5d3bf67dd1b (bug 1221852) for Android and B2G emulator and Mulet timeouts in test_sharedWorker_ports.html
...
CLOSED TREE
2015-11-10 19:37:51 -08:00
Ben Kelly
9db4ca1512
Bug 1223378 Tighten service worker register() principal checks. r=baku
...
* * *
Bug 1223378 interdiff 001 Allow app scheme on non-release builds.
2015-11-10 13:51:22 -08:00
Andrew McCreight
c8dc5e6c95
Bug 1222562, part 2 - Add some comments about failing tests. r=mrbkap
2015-11-10 13:10:23 -08:00
Andrew McCreight
7b10a19e79
Bug 1222562, part 1 - Fix use of addPermission in test_tcpsocket_enabled_with_perm.html and test_xhr_parameters.html. r=mrbkap
2015-11-10 13:10:22 -08:00
Andrea Marchesini
6b6bb12186
Bug 1221852 - SharedWorker.port should be always not null, r=smaug
2015-11-10 19:11:05 +00:00
Wes Kocher
177fa844e6
Backed out changeset 27f5e66b3919 (bug 1201498) for serviceworkerobject-scripturl.https.html failures
...
--HG--
extra : commitid : I8Y8TNnseyU
2015-11-10 10:51:23 -08:00
Andrea Marchesini
7eae33dd23
Bug 1201498 - Service worker update should compare scriptURL to worker URL without fragment, r=bkelly
2015-11-10 17:05:47 +00:00
dimi
a41b603e0d
Bug 1207068 - Implement ExtendableMessageEvent interface. r=baku
...
--HG--
extra : rebase_source : ddc40a1fddf3558d22f647a8a8b785de97a270cc
2015-11-10 14:31:41 +08:00
Nicholas Nethercote
d31ac5d1e9
No bug. Remove a stray debugging printf of mine. r=me.
...
DONTBUILD because trivial.
--HG--
extra : rebase_source : 3542e20aaea1d1b6388056d7b781416399df1a8c
2015-11-09 17:25:33 -08:00
Marco Castelluccio
a1ea198959
Bug 1222097 - Test openWindow with a relative URL. r=bkelly
2015-11-06 12:09:00 +01:00
Marco Castelluccio
aafd2c9f63
Bug 1222097 - Resolve the openWindow URL using the service worker URL as the base URL. r=bkelly
2015-11-06 08:39:00 +01:00
Matthew Noorenberghe
a0a2b249c4
Bug 1221365 - Move "Is origin potentially trustworthy?" logic outside ServiceWorkerManager.cpp. r=ckerschb,bkelly
2015-11-06 11:10:17 -08:00
Jan de Mooij
115d04ec63
Bug 1125423 part 5 - Remove innerObject/outerObject/thisValue Class hooks. r=luke
2015-11-06 19:03:52 +01:00
Ben Kelly
68a7000f5d
Bug 1221351 P1 ServiceWorkerContainer and ServiceWorkerRegistration should not crash for null window owner. r=catalinb
2015-11-05 09:33:33 -08:00
Eddy Bruel
e12ab5ca8b
Bug 1219205 - ServiceWorkerInfo should be an XPCOM object;r=catalinb
2015-11-05 07:15:49 +01:00
Bill McCloskey
de23733337
Bug 1219504 - Test changes (r=Gijs,mconley,jryans,MattN,Mossop)
2015-11-04 10:56:15 -08:00
Ben Kelly
fb374694d7
Bug 1221308 Fix some service worker related warnings. r=baku
2015-11-04 08:26:46 -08:00
Eddy Bruel
4bad6b08ad
Bug 1218363 - nsIServiceWorkerManager should notify its listeners when a service worker is (un)registered;r=catalinb
2015-11-04 15:17:02 +01:00
Carsten "Tomcat" Book
fb394133cc
Backed out changeset 6e4244690d03 (bug 1218363) for m-oth bustage
...
--HG--
extra : rebase_source : 33397d7b8bd802aad355ebbdb7ee4cb30171ceb0
2015-11-04 14:26:43 +01:00
Andrea Marchesini
9d98f9a481
Bug 1215235 - Drop support for jar: URIs by default, r=bz
2015-11-04 11:19:02 +00:00
Eddy Bruel
03e4076412
Bug 1218363 - nsIServiceWorkerManager should notify its listeners when a service worker is (un)registered;r=catalinb
2015-11-04 11:08:39 +01:00
Ben Kelly
8267928bb3
Bug 1220007 P2 Make InterceptedChannel's collect logs locally and only flush to nsIChannel on main thread r=bz
2015-11-03 11:20:56 -08:00
Carsten "Tomcat" Book
042b4d64cd
Backed out changeset d8d75be11275 (bug 1220007)
2015-11-03 14:08:04 +01:00
Ben Kelly
537f8dad54
Bug 1220007 P2 Make InterceptedChannel's collect logs locally and only flush to nsIChannel on main thread r=bz
2015-11-02 12:04:29 -08:00
Ben Kelly
9a99bbe66c
Bug 1220728 Clear pending exceptions if string conversion fails in SW intercept error handling. r=bz
2015-11-02 09:49:34 -08:00
Eddy Bruel
4bc69d6082
Bug 1216566
- Fix a bug in nsIServiceWorkerManager.getAllRegistrations;r=catalinb
2015-11-02 15:04:41 +01:00
dlee
f3324e8193
Bug 1214593 - Remove service worker periodic updater. r=ehsan
2015-11-02 16:08:44 +08:00
Birunthan Mohanathas
9985829ecc
Bug 1219392 - Capitalize mozilla::unused to avoid conflicts. r=froydnj
2015-11-02 07:53:26 +02:00
Ryan VanderMeulen
028dec7cc8
No bug - Various crashtest manifest cleanups.
...
--HG--
rename : dom/base/crashtests/713417.html => dom/base/crashtests/713417-1.html
rename : dom/workers/test/1158031.html => dom/workers/test/crashtests/1158031.html
rename : dom/workers/test/779707.html => dom/workers/test/crashtests/779707.html
rename : dom/workers/test/943516.html => dom/workers/test/crashtests/943516.html
rename : dom/workers/test/crashtests.list => dom/workers/test/crashtests/crashtests.list
rename : layout/generic/crashtests/812879.html => layout/generic/crashtests/812879-1.html
rename : layout/generic/crashtests/first-letter-638937.html => layout/generic/crashtests/first-letter-638937-1.html
extra : rebase_source : b9274dc6870030ed62bcee35350d566160502869
2015-10-31 19:35:27 -04:00
Ben Kelly
cd7a409e01
Bug 1219852 P2 Report non-response values passed to FetchEvent.respondWith(). r=bz
2015-10-31 10:34:20 -07:00
Ben Kelly
6eedccec9c
Bug 1219852 P1 Extract common JS values for rejected respondWith() promises. r=bz
2015-10-31 10:34:20 -07:00
Andrew McCreight
5981b92f78
Bug 1219842 - Enable a bunch of mochitest-plain tests under e10s. r=mrbkap
2015-10-31 06:26:44 -07:00
Kit Cambridge
6ea0525c5f
Bug 1205109 - Make pushsubscriptionchange
extendable. r=mt
...
--HG--
extra : commitid : 7bR7TQ39ZSS
extra : rebase_source : c037e5dda0cb1dbb96aa1900f64364feac65f7a7
2015-10-30 18:13:48 -07:00
Ehsan Akhgari
3a539c9718
Bug 1202085 - Part 5: Add an automated test for the interaction of image cache with controlled documents; r=jdm
2015-10-30 16:03:12 -04:00
Ehsan Akhgari
98b8da3eb6
Bug 1202085 - Part 3: Relax the assertion in ServiceWorkerManager::IsControlled to only happen when we think the document is controlled; r=jdm
2015-10-30 16:03:10 -04:00
Catalin Badea
6e75ef33f5
Bug 1172870 - Part 3 - Fix openWindow mochitest to work on e10s. r=smaug
...
This patch also fixes a nullptr access in ContentChild::ProvideWindowCommon.
2015-10-30 20:51:40 +02:00
Carsten "Tomcat" Book
7351a2cd94
Backed out changeset 99a4fb4ba5c1 (bug 1172870) for causing test regressions m4 on a CLOSED TREE
2015-10-30 16:41:32 +01:00
Nicholas Nethercote
e847fcd5ec
Bug 1186810 (part 8) - Replace nsBaseHashtable::Enumerate() calls in dom/workers/ with iterators. r=khuey.
...
--HG--
extra : rebase_source : 622ce00f8ecfca3c1b6710bf77a0639a47c7bb3a
2015-10-26 17:09:44 -07:00
Nicholas Nethercote
ce3c57710f
Bug 1186810 (part 7) - Replace nsBaseHashtable::EnumerateRead() calls in dom/workers/ with iterators. r=khuey.
...
--HG--
extra : rebase_source : c114f64e23fd08830e53ddec54503f9bb40bc328
2015-10-26 16:41:55 -07:00
Nicholas Nethercote
6efee4944c
Bug 1186810 (part 6) - Replace nsBaseHashtable::EnumerateRead() calls in dom/workers/ with iterators. r=khuey.
...
--HG--
extra : rebase_source : 37b230d344a69ee997f77581ffe4c7f62dabaea9
2015-10-26 16:07:45 -07:00
Nicholas Nethercote
06aaac230d
Bug 1186810 (part 5) - Replace nsBaseHashtable::EnumerateRead() calls in dom/workers/ with iterators. r=nsm.
...
--HG--
extra : rebase_source : f4a67d4bca37fbec566a3b110a9f7002df0af7f6
2015-10-25 21:35:44 -07:00
Nicholas Nethercote
5068308113
Bug 1186810 (part 4) - Replace nsBaseHashtable::EnumerateRead() calls in dom/workers/ with iterators. r=nsm.
...
--HG--
extra : rebase_source : 091b13f8f15a50918c2cf14bf4e3d8cbb4159aec
2015-10-25 21:35:30 -07:00
Nicholas Nethercote
5b93c35c8a
Bug 1186810 (part 3) - Replace nsBaseHashtable::EnumerateRead() calls in dom/workers/ with iterators. r=nsm.
...
--HG--
extra : rebase_source : b30e110d8fe10dcbfef51278c1d2178acd88d004
2015-10-25 21:35:18 -07:00
Nicholas Nethercote
ef9fab3e31
Bug 1186810 (part 2) - Replace nsBaseHashtable::EnumerateRead() calls in dom/workers/ with iterators. r=nsm.
...
--HG--
extra : rebase_source : e50818bf8d9906634d8dff819c8994d9651b93e1
2015-10-25 21:09:05 -07:00
Nicholas Nethercote
0af735c7d5
Bug 1186810 (part 1) - Replace nsBaseHashtable::EnumerateRead() calls in dom/workers/ with iterators. r=nsm.
...
--HG--
extra : rebase_source : ecb25ba6577e77b38894b117893545640de013e2
2015-10-25 21:08:54 -07:00
Ben Kelly
69c8a55480
Bug 1215140 P10 Avoid AddRef'ing the nsIChannel OMT. r=bz
2015-10-29 19:53:25 -07:00
Ben Kelly
e3bee41820
Bug 1215140 P9 Provide file and line number when FetchEvent.preventDefault() cancels a request. r=bz
...
* * *
Bug 1215140 P9 interdiff 001
2015-10-29 19:53:25 -07:00
Ben Kelly
b9615b724e
Bug 1215140 P6 Update service worker interception error strings to include detailed parameters. r=bz
2015-10-29 19:53:25 -07:00
Ben Kelly
5fb3550c91
Bug 1215140 P5 Report the line number where respondWith() was called. r=bz
2015-10-29 19:53:25 -07:00
Ben Kelly
f55ae9b765
Bug 1215140 P4 Make service worker respondWith() use channel ConsoleReportCollector. r=bz
2015-10-29 19:53:25 -07:00
Catalin Badea
e13c1c9c9e
Bug 1172870 - Part 3 - Fix openWindow mochitest to work on e10s. r=smaug
2015-10-30 01:30:58 +02:00
Catalin Badea
8255b13467
Bug 1172870 - Part 2 - Enable ServiceWorkerClients::OpenWindow on e10s desktop. r=smaug
2015-10-30 01:30:57 +02:00
Ehsan Akhgari
da8340a541
Bug 1218621 - Keep the service worker alive while the promise passed to FetchEvent.respondWith() settles; r=catalinb
2015-10-27 17:10:57 -04:00
Ehsan Akhgari
073195c513
Bug 1206298 - Part 2: Add a test to make sure that we respect Cache-Control headers on the synthesized response; r=jdm
2015-10-27 11:58:30 -04:00
Ehsan Akhgari
8bb8104d86
Bug 1218499 - Make FetchEvent.request nullable; r=bzbarsky
2015-10-26 23:00:19 -04:00
Ehsan Akhgari
6a86907c4e
Bug 1218151 - Make FetchEventInit.isReload default to false; r=bzbarsky
2015-10-26 23:00:17 -04:00
Ehsan Akhgari
7029e804f8
Bug 1218135 - Remove FetchEvent.client; r=bzbarsky
...
This has been removed from the spec. See:
https://github.com/slightlyoff/ServiceWorker/issues/723#issuecomment-123516555
2015-10-26 23:00:16 -04:00
Ehsan Akhgari
61cf88b565
Bug 1214772 - Part 2: Make FetchEvent inherit from ExtendableEvent; r=bzbarsky
2015-10-26 23:00:14 -04:00
Ehsan Akhgari
b17439be5e
Bug 1214772 - Part 1: Move the declaration of FetchEvent to after that of ExtendableEvent; r=bkelly
2015-10-26 23:00:13 -04:00
Ehsan Akhgari
28e742e312
Bug 1218146 - Move WindowClient.frameType to Client.frameType; r=bzbarsky
2015-10-26 16:00:00 -04:00
Ehsan Akhgari
c41762a46d
Bug 1218142 - Remove ServiceWorkerGlobalScope.onbeforeevicted/onevicted; r=bzbarsky
2015-10-26 15:59:58 -04:00
Ehsan Akhgari
14fbafb7be
Bug 1218139 - Remove ServiceWorkerContainer.onreloadpage; r=bzbarsky
2015-10-26 15:59:57 -04:00
Ehsan Akhgari
c43ad45f05
Bug 1218119 - Simplify defining worker prefs; r=baku
2015-10-26 14:06:28 -04:00
Andrea Marchesini
24cd451d65
Bug 1211967 - Fix how we report errors when loading a worker from a data url, r=bz
2015-10-26 17:28:45 +00:00
Ehsan Akhgari
e2a80ec087
Bug 1189685 - Part 1: Ensure that the state of all ServiceWorker instances is up to date when dispatching statechange events; r=bkelly
2015-10-26 12:37:48 -04:00
Ehsan Akhgari
5273912012
Bug 1202001 - Log errors emitted during service worker lifecycle events to the Web Console; r=bkelly
2015-10-26 12:30:46 -04:00
Ehsan Akhgari
80c460d668
Bug 1181054 - Part 3: Correctly handle upload channels that have embedded body headers when dispatching a FetchEvent; r=bkelly
2015-10-26 12:21:03 -04:00
Carsten "Tomcat" Book
3f4ea95cfa
Merge m-c to mozilla-inbound
2015-10-26 11:29:00 +01:00
Carsten "Tomcat" Book
758c43af6b
merge mozilla-inbound to mozilla-central a=merge
2015-10-26 10:57:35 +01:00
dimi
975b82b179
Bug 1207727 - Add WPT tests for service worker update algorithm. r=bkelly
2015-10-26 11:03:47 +08:00
dimi
0a7f5412e3
Bug 1207727 - Rework updating service workers according to the latest spec. r=bkelly
2015-10-26 10:59:48 +08:00
Victor Porof
9dc0ce6b1a
Bug 1202657 - Add markers for workers' message passing and serialization/deserialization, r=smaug, jsantell, tromey, ejpbruel
...
--HG--
rename : docshell/base/timeline/OTMTMarkerReceiver.h => docshell/base/timeline/MarkersStorage.h
2015-10-21 23:10:05 +02:00
Olli Pettay
a062f00aab
Bug 1218190 - Add a pref to enable Clients.openWindow, r=catalinb
2015-10-25 22:36:27 +02:00
Ryan VanderMeulen
4e1540b2b5
Bug 779707 - Add crashtest.
2015-10-25 00:06:24 -04:00
Catalin Badea
cc62c14549
Bug 1172870 - Implement service workers clients.openWindow for desktop (non-e10s). r=baku,smaug
...
Based on patches from:
Nikhil Marathe <nsm.nikhil@gmail.com>
Alberto Crespell Perez <alberto.crespell@gmail.com>
2015-10-24 15:16:23 +03:00
Ehsan Akhgari
bbf58e7a30
Bug 1185558 - Send a "Service-Worker: script" header when downloading service worker scripts; r=bkelly
2015-10-22 17:33:35 -04:00
Ben Kelly
c0ad7f1171
Bug 1212904 P7 Verify xhr respects service worker CORS tainting. r=ehsan
2015-10-22 11:07:32 -07:00
Ben Kelly
d7e898d8d0
Bug 1212904 P4 Set channel tainting in FetchEvent.respondWith(). r=ehsan
2015-10-22 11:07:32 -07:00
Josh Matthews
d3726427db
Bug 1173811
- Part 1: Propagate the response URL to intercepted channels when necessary (non-e10s). r=mayhemer,bkelly
2015-10-22 09:23:39 -04:00
Ehsan Akhgari
383397be38
Bug 1216697 - Unship Request.cache until the implementation is finished; r=bzbarsky
2015-10-23 15:38:47 -04:00
Tooru Fujisawa
24ab66bc98
Bug 1217093
- Remove for-each from dom/. r=smaug
...
--HG--
extra : commitid : DcjxshJqlKg
extra : rebase_source : 23bc9a985f1e6d13e13837e31bb9b88b9be24d55
2015-10-19 02:00:50 +09:00
Phil Ringnalda
6401c0185c
Back out 2 changesets (bug 1173811
) for test_synthesized_response.js timeouts
...
CLOSED TREE
Backed out changeset 56bc1314e660 (bug 1173811
)
Backed out changeset 0ad51d302ba9 (bug 1173811
)
2015-10-21 20:21:05 -07:00
Josh Matthews
591281df75
Bug 1173811
- Part 1: Propagate the response URL to intercepted channels when necessary (non-e10s). r=mayhemer,bkelly
2015-10-21 00:05:40 -04:00
Ehsan Akhgari
8ab0d9d2f8
Bug 931243 - Remove the XMLHttpRequest APIs from ServiceWorkerGlobalScope; r=bzbarsky
2015-10-20 13:16:34 -04:00
Ehsan Akhgari
9d5b088d22
Bug 1189673 - Set FetchEvent.request.headers' guard to immutable before dispatching the FetchEvent; r=bkelly
2015-10-20 10:21:11 -04:00
Nigel Babu
7cb4a2efa8
Backed out changeset 4b38a09cca56 (bug 1189673) for W(4) and W(8) bustages ON A CLOSED TREE
2015-10-20 13:52:22 +05:30
Ehsan Akhgari
34f6acee2f
Bug 1189673 - Set FetchEvent.request.headers' guard to immutable before dispatching the FetchEvent; r=bkelly
2015-10-19 21:54:38 -04:00
Jonas Sicking
7bf7cbbd1a
Bug 1215746
: Remove RequestMode::Cors_with_forced_preflight. r=bkelly
2015-10-19 18:24:36 -07:00
Jonas Sicking
cc10dd7ad3
Bug 1182571: Make nsXMLHttpRequest use AsyncOpen2. r=ehsan
2015-10-19 11:14:54 -07:00
Ehsan Akhgari
ca6a03d7a4
Bug 1198397 - Add a test for interception of requests upgraded through the CSP upgrade-insecure-requests directive; r=jdm
2015-10-19 11:17:10 -04:00
Ehsan Akhgari
6673eddd94
Bug 1198394 - Part 2: Add a test for interception of HSTS upgraded connections; r=jdm
2015-10-19 10:32:38 -04:00
Christoph Kerschbaumer
643f27c257
Bug 1208559 - Hook up ServicerWorkers with CSP (r=sicking,bkelly,dveditz)
2015-10-18 19:59:18 -07:00
Bobby Holley
cd781ec71f
Bug 1208559 - Do a CSP Check in ServiceWorkerManager::Register (r=ckerschb)
2015-10-18 19:38:06 -07:00
Nathan Froyd
01583602a9
Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
...
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout. The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.
CLOSED TREE makes big refactorings like this a piece of cake.
# The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
xargs perl -p -i -e '
s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
s/nsRefPtr ?</RefPtr</g; # handle declarations and variables
'
# Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h
# Handle nsRefPtr.h itself, a couple places that define constructors
# from nsRefPtr, and code generators specially. We do this here, rather
# than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
# things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
mfbt/nsRefPtr.h \
xpcom/glue/nsCOMPtr.h \
xpcom/base/OwningNonNull.h \
ipc/ipdl/ipdl/lower.py \
ipc/ipdl/ipdl/builtin.py \
dom/bindings/Codegen.py \
python/lldbutils/lldbutils/utils.py
# In our indiscriminate substitution above, we renamed
# nsRefPtrGetterAddRefs, the class behind getter_AddRefs. Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'
if [ -d .git ]; then
git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi
--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Ehsan Akhgari
9dd6f325b3
Bug 1215601 - Enable service workers for non-release builds on Fennec similar to desktop; r=bkelly
2015-10-16 14:08:08 -04:00
Eddy Bruel
f7c6589364
Bug 1178726 - Simplify how we deal with freezing/thawing workers;r=jlongster,khuey
2015-10-16 18:48:26 +02:00
Ehsan Akhgari
73e2c128c6
Bug 1215230 - Disable service workers and push notifications on non-release builds until we're ready to ship them; r=bkelly
2015-10-16 11:19:57 -04:00
Wes Kocher
c2b3d9275b
Backed out 2 changesets (bug 1182571) for being a likely cause of the Android S4 errors
...
Backed out changeset e2b3064dcace (bug 1182571)
Backed out changeset 8153ae231d16 (bug 1182571)
2015-10-15 14:07:06 -07:00
Jonas Sicking
2578b19458
Bug 1182571: Make nsXMLHttpRequest use AsyncOpen2. r=ehsan
2015-10-15 12:18:21 -07:00
Andrea Marchesini
f93604eafb
Bug 1211970 - "Muted errors in workers are not correctly reported to the console". r=bz
2015-10-15 05:05:00 +02:00
Andrea Marchesini
ef38daea39
Bug 1160890
, r=smaug
2015-10-15 14:06:55 +02:00
Andrea Marchesini
0d7595b59b
Bug 1214300 - AsyncErrorReporter doesn't use JSRuntime param., r=smaug
2015-10-14 11:29:55 +01:00
Morris Tseng
d1d37e3f9b
Bug 709490 - Part 10: Using mechanism in RuntimeService to get pref in worker thread instead of gfxPref. r=baku
...
--HG--
extra : rebase_source : 55ae1e1fc1f88bffd43800eefaed4506789e608c
2015-10-12 11:21:04 +08:00
Morris Tseng
c3d37560cc
Bug 709490 - Part 5: Add interfaces test. r=ehsan
...
--HG--
extra : rebase_source : d5cca4941baf9c5e3fbe05cb7f4d12d860ef1825
2015-10-12 11:21:03 +08:00
Ehsan Akhgari
ac53f535f2
Bug 1179397
- Disallow FetchEvent.respondWith() when the dispatch flag is unset; r=jdm
2015-10-09 13:36:53 -04:00
Ehsan Akhgari
1869e89340
Bug 1212636 - Add a better error message for the content corrupcted error caused by the Promise being passed to FetchEvent.respondWith; r=bkelly
2015-10-07 18:06:26 -04:00
Bill McCloskey
1b6da7ed71
Back out bug 967873 - Test changes for async removeTab
2015-10-07 11:15:11 -07:00
Andrew McCreight
0ff7248107
Bug 1210517 - Create nsVariant directly rather than via do_CreateInstance(). r=froydnj
...
The goal here is to leave creation stuff mostly for JS, so we can
convert it entirely over to a non-threadsafe cycle-collected version
without breaking any existing C++ users.
I didn't do this for a remaining use in nsGlobalWindow.h to avoid
including nsVariant.h all over the place.
2015-10-07 08:17:42 -07:00
Carsten "Tomcat" Book
08997000eb
Backed out 2 changesets (bug 1202902
) to recking bug 1202902
to be able to reopen inbound on a CLOSED TREE
...
Backed out changeset 647025383676 (bug 1202902
)
Backed out changeset d70c7fe532c6 (bug 1202902
)
2015-10-07 14:03:21 +02:00
Eddy Bruel
41c0e5355c
Bug 1178721 - Implement SuspendWorkersForWindow;r=khuey
2015-10-07 12:20:59 +02:00
Carsten "Tomcat" Book
e7ef778c9d
Backed out 1 changesets (bug 1202902
) for causing merge conflicts to mozilla-central
...
Backed out changeset cfc1820361f5 (bug 1202902
)
--HG--
extra : rebase_source : 5d3db72337754bc7ab0ed0c30b2896100411ff92
2015-10-07 12:13:45 +02:00
Shu-yu Guo
d06b6030f6
Bug 1202902
- Scripted fix the world.
2015-10-06 14:00:31 -07:00
Ben Kelly
323efab6af
Bug 1210941 P11 Use LOAD_BYPASS_SERVICE_WORKER in worker ScriptLoader. r=ehsan
2015-10-06 06:37:07 -07:00
Ben Kelly
fd3893120c
Bug 1210941 P7 Use LOAD_BYPASS_SERVICE_WORKER in ServiceWorkerScriptCache. r=ehsan
2015-10-06 06:37:07 -07:00
Ehsan Akhgari
d826574ea3
Bug 1179401 - Call stopImmediatePropagation() on the Event object in respondWith(); r=jdm
2015-10-05 16:12:28 -04:00
Wes Kocher
0628e22f00
Merge m-c to inbound, a=merge CLOSED TREE
2015-10-05 13:11:26 -07:00
Wes Kocher
7492fb02ac
Merge inbound to central, a=merge
2015-10-05 13:02:21 -07:00
Andrew McCreight
5171450b27
Bug 1197893 - Check the number of arguments for ThrowTypeError() and ThrowRangeError() at compile time. r=peterv
2015-10-05 09:38:14 -07:00
Wes Kocher
c1750b75c7
Backed out 11 changesets (bug 709490) for webgl-color-test.html failures a=backout
...
Backed out changeset fc04c5d43550 (bug 709490)
Backed out changeset cd8f9410d335 (bug 709490)
Backed out changeset 6e687c9143c1 (bug 709490)
Backed out changeset 9b20f2c833c4 (bug 709490)
Backed out changeset f9d130aea88e (bug 709490)
Backed out changeset fc513b410949 (bug 709490)
Backed out changeset acf6220b431a (bug 709490)
Backed out changeset 9bceaf913791 (bug 709490)
Backed out changeset 37fba20111e2 (bug 709490)
Backed out changeset 2285ce1596b8 (bug 709490)
Backed out changeset fb4e09920569 (bug 709490)
2015-10-05 08:28:25 -07:00
Nick Fitzgerald
ee543a3018
Bug 1209263 - Allow embedders to tell SpiderMonkey how to structured clone principals; r=bz
...
--HG--
extra : rebase_source : 04835c034431953344e83203e7753043461474ba
2015-10-02 16:44:00 +02:00
Nicholas Nethercote
77d38112ab
Bug 1209351 (part 2) - Optimize nsTHashTable::RemoveEntry() usage in dom/. r=bz.
...
--HG--
extra : rebase_source : 8550f181356550b6c0e540c12f61f2d1148d2050
2015-09-24 19:05:16 -07:00
Morris Tseng
f5a52e7dea
Bug 709490 - Part 10: Using mechanism in RuntimeService to get pref in worker thread instead of gfxPref. r=baku
...
--HG--
extra : rebase_source : 07b470b9a8865b7d833932c5425e796b852ab466
2015-10-05 10:50:17 +08:00
Morris Tseng
0b16df6ac0
Bug 709490 - Part 5: Add interfaces test. r=ehsan
...
--HG--
extra : rebase_source : 306df6c0c7fe3e09e199b5c7b5cd62974b2854c3
2015-10-05 10:50:16 +08:00
Wes Kocher
f0d829220d
Backed out changeset 821791826960 (bug 1197893) for Nexus build failures CLOSED TREE
2015-10-02 16:17:05 -07:00
Andrew McCreight
35cd15b8de
Bug 1197893 - Check the number of arguments for ThrowTypeError() and ThrowRangeError() at compile time. r=peterv
2015-10-02 15:09:02 -07:00
Andrew McCreight
7a2c6267d4
Backed out changeset 6fa9cdf4002b for breaking the build.
2015-10-02 10:49:28 -07:00
Andrew McCreight
404740a102
Bug 1197893 - Check the number of arguments for ThrowTypeError() and ThrowRangeError() at compile time. r=peterv
2015-10-02 10:42:08 -07:00
Carsten "Tomcat" Book
e91d5a31b6
Merge m-c to mozilla-inbound
2015-10-02 13:37:27 +02:00
Carsten "Tomcat" Book
ca77b70a8d
merge mozilla-inbound to mozilla-central a=merge
2015-10-02 11:52:49 +02:00
Ehsan Akhgari
2430b7dcee
Bug 1204596 - Part 3: Store the responses with manual redirect in the tests added for bug 1164397; r=bkelly
...
This needs to be done so that we match the manual redirect mode
for navigations when the response is stored in the cache.
2015-10-01 18:47:07 -04:00
Yoshi Huang
f97211a451
Bug 1167100 - User originAttribute in ContentPrincipalInfo. r=bholley
2015-09-23 18:19:06 +08:00
Catalin Badea
4fa36e326a
Bug 1188545 - Disable unstable test: test_aboutserviceworkers.html. a=testonly
2015-09-30 19:11:04 -04:00
Catalin Badea
24a19b6a02
Bug 1188545 - Cancel network interceptions when the service worker is being terminated with unresolved respondWith promises. r=nsm
2015-09-30 19:11:03 -04:00
Catalin Badea
450ddec732
Bug 1188545 - Add tests for service workers' lifetime management. r=nsm
2015-09-30 19:11:03 -04:00
Catalin Badea
1049eff81c
Bug 1188545 - Prevent service workers from being terminated while checking if the script evaluation was successful. r=nsm
2015-09-30 19:11:03 -04:00
Catalin Badea
cce3b797b1
Bug 1188545 - respondWith promise should extend the service worker's lifetime. r=nsm
2015-09-30 19:11:03 -04:00
Catalin Badea
518e55a5ed
Bug 1188545 - Terminate service workers that have been idle for some time. r=nsm
2015-09-30 19:11:03 -04:00
Catalin Badea
294f7838e4
Bug 1188545 - Cosmetic changes regarding workerPrivate properties shared between shared workers and service workers. r=nsm
2015-09-30 19:11:03 -04:00
Catalin Badea
c5f9033d16
Bug 1188545 - ServiceWorkerRegistrationInfo::Clear() should terminated workers. r=nsm
2015-09-30 19:11:03 -04:00
Catalin Badea
76c7d43fd9
Bug 1188545 - Disentangle service workers from shared workers and refactor event dispatching code into a separate class. r=nsm,mrbkap
2015-09-30 19:11:03 -04:00
Wes Kocher
6fbdec2422
Backed out 12 changesets (bug 1188545) for test_fetch_cors failures CLOSED TREE
...
Backed out changeset e04738ee72a3 (bug 1188545)
Backed out changeset 1989893b59de (bug 1188545)
Backed out changeset 11ff29cc25d8 (bug 1188545)
Backed out changeset 4b6bdf859845 (bug 1188545)
Backed out changeset 76eb7ffeca2a (bug 1188545)
Backed out changeset 4473e036b52e (bug 1188545)
Backed out changeset 2a28cb794b23 (bug 1188545)
Backed out changeset 1fa2f55727f3 (bug 1188545)
Backed out changeset 032f4c24fc34 (bug 1188545)
Backed out changeset 4be675dc1b37 (bug 1188545)
Backed out changeset d5d05def5b17 (bug 1188545)
Backed out changeset e94f12b0bcf3 (bug 1188545)
2015-09-30 11:11:47 -07:00
Bill McCloskey
633d4a3ecf
Bug 967873 - Test changes for async removeTab (r=Gijs)
2015-10-01 21:18:05 -07:00
Jason Orendorff
deb2270515
Bug 1054756, part 5 - Remove Class::convert.
...
--HG--
extra : commitid : 6KCxWrCseSZ
extra : rebase_source : 63f3cd6ec1ade43c732ffd9b661fe6f2dca9eb4b
2015-03-20 16:28:59 -05:00