Commit Graph
749 Commits
Author SHA1 Message Date
Ben Kelly c9becaecea Bug 1340654 P1 Set referrer policy in service workers. r=baku 2017-02-23 10:54:42 -05:00
Ben Kelly 8cd96c78ef Bug 1340652 P1 Assert principal URL matches final worker script URL. r=baku 2017-02-23 10:54:41 -05:00
Tom Tromey a4b717ab39 Bug 1060419 - make log_print use Printf.h, r=froydnj
MozReview-Commit-ID: BIZ1GQEZ1vs
2016-12-15 20:16:31 -07:00
Tooru Fujisawa 2f2ebb1d61 Bug 1283712 - Part 8: Add WorkerErrorBase, WorkerErrorNote, and WorkerErrorReport. r=bholley 2017-02-15 23:53:07 +09:00
Ben Kelly 30fe75b00c Bug 1337522 P2 Set ServiceWorker principal earlier. r=baku 2017-02-14 10:06:39 -05:00
Ben Kelly 1af43c81c1 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 41e92421da Bug 1337543 P3 Factor out code to set WorkerPrivate CSP from headers. r=baku 2017-02-14 10:06:38 -05:00
Boris Zbarsky ad8f8e0e37 Bug 1306170 part 6. Implement WindowOrWorkerGlobalScope.origin. r=bkelly 2017-02-13 16:06:47 -05:00
Sebastian Hengst 8ec4a92954 Backed out changeset c0157164852c (bug 1337543) 2017-02-13 18:59:57 +01:00
Ben Kelly 8ae391b0c1 Bug 1337543 P3 Factor out code to set WorkerPrivate CSP from headers. r=baku 2017-02-13 12:15:58 -05:00
Ben Kelly cbe7ebb382 Bug 1338523 Make worker SetPrincipalOnMainThread fallible. r=baku 2017-02-10 13:34:38 -05:00
Ben Kelly 1c0ef02ceb Backout 959dce51f8cb (bug 1338523) for incorrect bug number in commit message. r=me 2017-02-10 13:33:28 -05:00
Ben Kelly 466de42f85 Bug 1338532 Make worker SetPrincipalOnMainThread fallible. r=baku 2017-02-10 13:30:47 -05:00
Ben Kelly d30f043b9f Bug 1333573 P9 Refactor worker proxy release of main thread objects to reduce duplicate code. r=baku 2017-02-07 10:28:39 -05:00
Ben Kelly 2fe8807585 Bug 1333573 P7 Release WorkerLoadInfo data on main thread if we fail nested worker creation. r=baku 2017-02-07 10:28:39 -05:00
Ben Kelly e96e3dd80b Bug 1333573 P6 Move ForgetMainThreadObjects() into WorkerLoadInfo. r=baku 2017-02-07 10:28:39 -05:00
Ben Kelly 929110f69e Bug 1333573 P5 Validate that final channel load principal does not change. r=baku 2017-02-07 10:28:39 -05:00
Ben Kelly e52f67c463 Bug 1333573 P4 Set WorkerLoadInfo principal as soon as we get the channel. r=baku 2017-02-07 10:28:39 -05:00
Ben Kelly 704e8e87e7 Bug 1333573 P3 Move logic to set principal from channel into WorkerLoadInfo. r=baku 2017-02-07 10:28:39 -05:00
Ben Kelly 5bc5af88c2 Bug 1333573 P2 Make nested worker pass WorkerLoadInfo to main thread when getting channel. r=baku 2017-02-07 10:28:38 -05:00
Ben Kelly c45217da49 Bug 1333573 P1 Move WorkerPrivate::SetPrincipal() logic into a WorkerLoadInfo method. r=baku 2017-02-07 10:28:38 -05:00
Tom Tung c08930401f Bug 1220936 - Flush console report to innerWindowID by using nsIDocument and nsILoadGroup. r=bkelly. 2017-02-06 09:19:34 +08:00
Andrea Marchesini f0aa583269 Bug 1336020 - transferables should be arrays of objects, r=smaug 2017-02-03 11:00:38 +01:00
Andrea Marchesini 21b2cb9c61 Bug 1336020 - postMessages should have transferable as [] by default, r=smaug 2017-02-03 11:00:37 +01:00
Boris Zbarsky 3e634c16f5 Bug 1335368 part 18. Get rid of IsCallerChrome in workers. r=bholley 2017-02-01 15:43:38 -05:00
Andrea Marchesini 1b10797c54 Bug 1288768 - Better error reporting for network errors in workers, r=bz 2017-01-28 15:39:24 +01:00
Ben Kelly 46b1f75de9 Bug 1319278 P5 Removed unused TimerThreadEventTarget. r=baku 2017-01-26 08:01:33 -08:00
Ben Kelly d009de5f67 Bug 1319278 P4 Make ServiceWorkerPrivate use new WorkerControlEventTarget instead of TimeThreadEventTarget. r=baku 2017-01-26 08:01:33 -08:00
Ben Kelly d51cb02674 Bug 1319278 P3 Make worker GC use new WorkerControlEventTarget. r=baku 2017-01-26 08:01:33 -08:00
Ben Kelly 39fe9fd84b Bug 1319278 P2 Make the WorkerPrivate create a WorkerControlEventTarget. r=baku 2017-01-26 08:01:32 -08:00
Ben Kelly cd2c05fa97 Bug 1319278 P1 Add a WorkerControlEventTarget that executes runnables as WorkerControlRunnables. r=baku 2017-01-26 08:01:32 -08:00
Bill McCloskey 041f38ea0c Bug 1331804 - Give runnable names to some generic dispatch sites (r=ehsan)
MozReview-Commit-ID: 83IL5zcor1W
2017-01-24 16:34:37 -08:00
Wes Kocher ac78cfc4f2 Backed out 8 changesets (bug 1331804, bug 1332100) for windows vm debug dt5 failures a=backout
Backed out changeset 8bf7f0e27c6c (bug 1331804)
Backed out changeset 600c0b9026c2 (bug 1331804)
Backed out changeset 3a5b5b9ecace (bug 1331804)
Backed out changeset c76432c9954e (bug 1331804)
Backed out changeset 46a9096745e7 (bug 1332100)
Backed out changeset 8b751230fa23 (bug 1331804)
Backed out changeset 2810212347fd (bug 1331804)
Backed out changeset be72b7763910 (bug 1331804)

MozReview-Commit-ID: Ywdsr4GZ4a
2017-01-24 15:12:21 -08:00
Bill McCloskey 1dd1741e7f Bug 1331804 - Give runnable names to some generic dispatch sites (r=ehsan)
MozReview-Commit-ID: 83IL5zcor1W
2017-01-24 10:04:55 -08:00
Kris Maglione db3d847dec Bug 1273251: Part 3 - Allow CallbackObject to contain a null callable. r=peterv
MozReview-Commit-ID: FCXVHouhG3I
2016-11-14 21:25:37 -08:00
Ben Kelly 98ea6e67f7 Bug 1330747 Always nullptr check return value from ServiceWorkerManager::GetInstance(). r=asuth 2017-01-12 14:00:36 -08:00
Andrea Marchesini 46a9207d60 Bug 1328653 - Merging all the various *OriginAttributes to just one, r=huseby 2017-01-12 17:38:48 +01:00
Ho-Pang Hsu 959d5c5f2b Bug 1290944 - Part 3.3: Propagate load flags to ScriptLoader when loading scripts. r=bkelly 2017-01-04 17:09:00 +08:00
Andrea Marchesini 28f084ecf0 Bug 604026 - Sync event loops in workers should be created only if compatible with the worker shutdown status, r=bkelly 2017-01-05 10:05:32 +01:00
Thomas Nguyen f0e327dc9d Bug 1304623 - Create a pref to control the default referrer policy - part 1. r=bkelly
MozReview-Commit-ID: 6R7kLB6jvhP
2017-01-05 11:30:07 +08:00
Bill McCloskey d34d4e1c67 Bug 1320753 - Make TabGroup event target be a ThrottledEventQueue for timers, workers (r=bkelly)
MozReview-Commit-ID: FCfYz02r8yI
2016-12-23 11:48:13 -08:00
Catalin Badea 89dcbf3918 Bug 1181127 - Don't run service workers for fetch events if no fetch handlers were added during script's evaluation. r=bkelly
Display a warning when event listeners are added after the script's evaluation.
2016-12-19 04:38:53 +02:00
Andrea Marchesini 2c14915e3c Bug 1322292 - Some fixes for the Performance API in workers - part 2 - Get rid of NowBaseTimeStamp(), r=bz 2016-12-16 09:07:39 +01:00
Catalin Badea 8aac870108 Bug 1263304 - Move Service Worker MessageEvent dispatching code to ServiceWorkerPrivate. r=bkelly
This refactoring makes it easier to modify the behaviour of lifetime
extensions by having a single call path for all extendable events.
2016-11-21 02:14:53 +00:00
Carsten "Tomcat" Book e0acb501f7 Backed out changeset f03cd54afbc1 (bug 1263304) for causing frequent timeouts in test_has_permissions.html 2016-11-11 10:48:20 +01:00
Catalin Badea c0d4ca7d11 Bug 1263304 - Move Service Worker MessageEvent dispatching code to ServiceWorkerPrivate. r=bkelly
This refactoring makes it easier to modify the behaviour of lifetime
extensions by having a single call path for all extendable events.
2016-11-11 00:07:15 +02:00
Ben Kelly f25fef2adc Bug 1300659 P4 Use ThrottledEventQueue in workers. r=baku 2016-11-07 12:30:17 -08:00
Jon Coppeard 6d3a7c0c78 Bug 1309929 - Use an async memory report for workers r=erahm r=bkelly 2016-10-28 10:50:16 +01:00
Andrea Marchesini 80deb45d74 Bug 1313007 - Remove ExtendableMessageEvent::SetSource, r=qdot 2016-10-26 22:02:54 +02:00
Andrea Marchesini 1f0f0c675e Bug 1313004 - ServiceWorkerMessageEvent can be generated code, r=qdot 2016-10-26 22:00:17 +02:00