Ben Kelly
3f1194543a
Bug 1362444 P1 Allow idle worker shutdown to begin for an opt-in WorkerHolder mode. r=baku
2017-05-10 09:27:10 -07:00
Ben Kelly
dcc8e8c47b
Bug 1361166 Update mParentStatus synchronously when closing worker thread. r=baku
2017-05-03 07:42:43 -07:00
Thomas Nguyen
39b28a1e73
Bug 1339004 - Do DocGroup labeling in dom/security. r=ckerschb,smaug
...
MozReview-Commit-ID: 3QoH8P4J85I
2017-03-29 10:20:32 +08:00
Paul Bignier
800a7a8b9d
Bug 1352808 - Typo fixes for 'browser' in comments. r=MattN
...
MozReview-Commit-ID: IA42yQO5Sb8
2017-04-03 15:26:11 -07:00
Ben Kelly
fbff56f3d8
Bug 1350433 Expose WorkerPrivate::ServiceWorkerScope() instead of using WorkerName() all over the place. r=asuth
2017-03-24 19:56:48 -04:00
Valentin Gosu
029e26bc91
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
2017-03-08 22:19:34 +01:00
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