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

2354 Коммитов

Автор SHA1 Сообщение Дата
Catalin Badea 3c2fed5544 Bug 1228427 - Fix test_serviceworkerinfo.xul: wait for the worker to become active. r=ehsan 2015-11-26 22:37:14 +02:00
Ehsan Akhgari 8ec3d68db3 Bug 1201127 - Return the same ServiceWorkerRegistration object from service worker APIs dealing with the same underlying registration object; r=jdm 2015-11-26 15:13:33 -05:00
Catalin Badea f363c7dd2d Bug 1189659 - Part 5 - Fix race in skip-waiting.https.html and add some logging for SkipWaitingFlag in ServiceWorkerManager. r=ehsan 2015-11-26 19:03:10 +02:00
Catalin Badea 92374ffd71 Bug 1189659 - Part 4 - Fix race in test_install_event.html. r=bkelly 2015-11-26 19:03:10 +02:00
Catalin Badea 8497aa95e5 Bug 1189659 - Part 3 - Use separate synchronization queues for service worker register jobs and install jobs. r=bkelly 2015-11-26 19:03:10 +02:00
Catalin Badea 0094835ad9 Bug 1189659 - Part 2 - Remove set of scopes being updated from ServiceWorkerManager. r=bkelly 2015-11-26 19:03:10 +02:00
Catalin Badea 0a612e9983 Bug 1189659 - Part 1 - Continue service worker job queue when life cycle events expire. r=bkelly 2015-11-26 19:03:10 +02:00
Catalin Badea e91f080be7 Bug 1227932 - Fix Service Workers SoftUpdate and registration.update code paths. r=ehsan
This patch splits the code paths for registration.update and soft update
since they have different behaviour. Next, it changes ServiceWorkerRegisterJob
to use just one callback and just prevents soft update from queuing a new
task if another one is pending.
2015-11-26 19:03:10 +02:00
Eddy Bruel b35ef7b768 Bug 1219255 - We should be able to attach to a service worker;r=amarchesini 2015-11-26 12:18:56 +01:00
Yoshi Huang 4b500464f5 Bug 1209162 - Create OriginAttributes subtypes. IGNORE IDL r=sicking. 2015-11-03 09:50:54 +08:00
Ben Kelly 9aa47b7280 Bug 1226441 - Part 2: Delay functional event dispatch until service worker is activated; r=catalinb 2015-11-24 10:49:00 -05:00
Boris Zbarsky a4e1fa37a6 Bug 1224596 part 17. Remove the old WorkerMainThreadRunnable::Dispatch signature. r=khuey 2015-11-24 00:04:21 -05:00
Boris Zbarsky 58f083c12c Bug 1224596 part 14. Switch URL to using the new WorkerMainThreadRunnable::Dispatch signature. r=baku 2015-11-24 00:04:21 -05:00
Boris Zbarsky dd86a620e3 Bug 1224596 part 12. Switch ServiceWorkerRegistration to using the new WorkerMainThreadRunnable::Dispatch signature. r=khuey 2015-11-24 00:04:21 -05:00
Boris Zbarsky fbb3dec310 Bug 1224596 part 11. Switch WorkerNavigator to using the new WorkerMainThreadRunnable::Dispatch signature. r=khuey 2015-11-24 00:04:21 -05:00
Boris Zbarsky c47a933f93 Bug 1224596 part 10. Switch DataStoreCursor to using the new WorkerMainThreadRunnable::Dispatch signature. r=khuey 2015-11-24 00:04:21 -05:00
Boris Zbarsky 9db75e5551 Bug 1224596 part 9. Switch DataStore to using the new WorkerMainThreadRunnable::Dispatch signature. r=khuey 2015-11-24 00:04:20 -05:00
Boris Zbarsky c30d4923b5 Bug 1224596 part 1. Add a version of WorkerMainThreadRunnable::Dispatch that takes an ErrorResult to report failure to dispatch on. r=khuey 2015-11-24 00:04:20 -05:00
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