Commit Graph

299 Commits

Author SHA1 Message Date
Arthur Edelstein
4e271d1b40 Bug 1268726 - isolate shared worker by first party domain. r=baku
Tor 15564: Isolate SharedWorker by first party domain
uplift/refactor by Dave Huseby <dhuseby@mozilla.com>

review tweaks
2016-09-19 21:13:00 -04:00
Ben Kelly
32e0e0a1a8 Bug 1300658 P1 Expose a main thread TaskQueue WorkerPrivate. r=baku 2016-09-13 20:14:02 -07:00
Wes Kocher
e70a727506 Backed out 6 changesets (bug 1300658) for frequent Windows VM Xpcshell failures a=backout
Backed out changeset 6cf3a60640cf (bug 1300658)
Backed out changeset c74062a27462 (bug 1300658)
Backed out changeset 39fbc61739ef (bug 1300658)
Backed out changeset 0b9d70b040a2 (bug 1300658)
Backed out changeset 4e921d61f036 (bug 1300658)
Backed out changeset 56496fad6494 (bug 1300658)
2016-09-12 16:34:08 -07:00
Ben Kelly
43459db366 Bug 1300658 P1 Expose a main thread TaskQueue WorkerPrivate. r=baku 2016-09-12 12:32:21 -07:00
Ben Kelly
449d185850 Backout rev 5c7368370ff9 to 980659720b86 (bug 1300118 and bug 1300658) for incorrect bug number in commit message. r=me 2016-09-12 12:29:17 -07:00
Ben Kelly
c88a12768d Bug 1300658 P1 Expose a main thread TaskQueue WorkerPrivate. r=baku 2016-09-12 11:21:01 -07:00
Tom Tung
1f61d7f9c3 Bug 1187335 - P1 - Add a way to report error to all clients for ServiceWorker and SharedWorker. r=bkelly. 2016-05-23 14:56:46 +08:00
Andrea Marchesini
5f8dfa9ba6 Bug 790919 - Don't dispatch close event in Workers, r=bkelly 2016-08-31 21:33:05 -07:00
Ben Kelly
a111356a39 Bug 1293690 P1 Allow WorkerHolder::HoldWorker() callers to specify the status value they consider to be a failure. r=baku 2016-08-18 07:11:04 -07:00
Phil Ringnalda
6ef267a68f Backed out 10 changesets (bug 1290116, bug 1293690) for build bustage
CLOSED TREE

Backed out changeset bbc14d107fca (bug 1290116)
Backed out changeset a81b6ce5c25f (bug 1290116)
Backed out changeset e0b9c25b6125 (bug 1290116)
Backed out changeset 8e9a9ba04ce5 (bug 1290116)
Backed out changeset 2d5ad5e9ed20 (bug 1290116)
Backed out changeset eb7da0dbfc72 (bug 1290116)
Backed out changeset 6a4e8c92faae (bug 1290116)
Backed out changeset 0342d98afa10 (bug 1293690)
Backed out changeset d84b0768f0ce (bug 1293690)
Backed out changeset f9f62ade9508 (bug 1293690)
2016-08-17 21:16:43 -07:00
Ben Kelly
af00c54873 Bug 1293690 P1 Allow WorkerHolder::HoldWorker() callers to specify the status value they consider to be a failure. r=baku 2016-08-17 20:01:35 -07:00
Andrea Marchesini
8219258940 Bug 1288770 - Switch worker timeouts to using nsJSTimeoutHandler, r=smaug 2016-08-16 08:10:30 +02:00
Arthur Edelstein
621139730b Bug 1174386 - Make workers inherit the default Intl locale from the main thread, rather than using a bogus fallback value. r=jwalden, r=baku 2016-08-08 13:33:39 -07:00
Sebastian Hengst
31d3ea3143 Backed out changeset 2d5975fd02bd (bug 1288770) for asserting in ErrorResult.h when test test_errorPropagation.html runs. r=backout 2016-08-16 17:11:22 +02:00
Andrea Marchesini
1a1510ed53 Bug 1288770 - Switch worker timeouts to using nsJSTimeoutHandler, r=smaug 2016-08-16 08:10:30 +02:00
Ben Kelly
4464e9d2fe Bug 1289658 Make ExtendableMessageEvent.waitUntil() hold the service worker alive. r=asuth 2016-07-27 10:32:12 -04:00
Alexandre Lissy
e4fd2dab03 Bug 1286530 - Clean AvailableIn, CheckAnyPermissions and CheckAllPermissions from WebIDL r=bz,fabrice
MozReview-Commit-ID: 6EQfBM09xUE
2016-04-21 15:48:59 +02:00
Jan de Mooij
6941dba9aa Bug 1284808 - Rename RuntimeOptions to ContextOptions and move it to the context. r=luke,baku 2016-07-07 08:15:15 +02:00
Thomas Nguyen
8ad6fcfed0 Bug 1251378 - Propagate referrer policy to worker. r=ckerschb
MozReview-Commit-ID: 6BlEl54Dqtc
2016-07-05 11:47:13 +08:00
Thomas Nguyen
58a1a26905 Bug 959388 - Deliver CSP from HTTP header. r=ckerschb, r=khuey
MozReview-Commit-ID: 13ndERn6rrL
2016-06-30 12:31:59 +08:00
Kyle Huey
ce16c8e90c Bug 1282603: Don't use 'workers': True for *WorkerGlobalScope. r=baku 2016-06-28 10:47:23 -07:00
Andrea Marchesini
796bda032a Bug 1269154 - Get rid of WorkerFeature: WorkerHolder, r=khuey 2016-06-23 10:53:14 +02:00
Carsten "Tomcat" Book
ef49710e52 Backed out changeset 1c5d78c7ba43 (bug 1269154) for bustage on a CLOSED TREE 2016-06-23 10:13:54 +02:00
Andrea Marchesini
274f4e927f Bug 1269154 - Get rid of WorkerFeature: WorkerHolder, r=khuey 2016-06-22 17:24:35 +02:00
Xidorn Quan
4843f879c0 Bug 1276549 - Remove rvalue reference mark for already_AddRefed params of nsIEventTarget::Dispatch and related methods. r=froydnj
MozReview-Commit-ID: J5RAfGW3X7T
2016-06-01 10:04:54 +10:00
Boris Zbarsky
5d75957ebc Bug 1276297. Remove the unused WorkerPrivateParent::ParentJSContext function. r=khuey 2016-05-27 13:30:33 -04:00
Carsten "Tomcat" Book
12f2135829 Backed out changeset 7469725d7461 (bug 959388) 2016-05-23 11:36:12 +02:00
Thomas Nguyen
f85f55ce1d Bug 959388 - Deliver CSP from HTTP header. r=ckerschb r=khuey
MozReview-Commit-ID: LUl5LyO94m3
2016-05-19 11:57:32 +08:00
Kyle Huey
fd4a780de1 Bug 1269056: Part 1 - Implement a rough PostDelayedTask equivalent on nsThread. r=froydnj 2016-05-12 15:15:43 -07:00
Ben Kelly
2394fe09ed Bug 1254741 Keep service worker alive while dispatching message event. r=baku 2016-05-12 07:30:42 -07:00
Kyle Huey
d34961c798 Bug 1267819: Revalidate the state of the world after processing control runnables. r=baku 2016-05-11 11:45:58 -07:00
John Dai
8a27103bcc Bug 1037725 - Add warning message in the console when worker spawn over limit. r=khuey 2016-04-12 01:41:00 +02:00
Ben Kelly
9b0c3b9457 Bug 1260591 Move ServiceWorkerInfo and ServiceWorkerRegistrationInfo into separate files. r=jdm 2016-04-08 17:28:25 -07:00
Kyle Huey
f802c382ed Bug 1259290: Part 2 - Remove the cx from [Add|Remove]ChildWorker. r=bz 2016-03-28 10:28:14 -07:00
Andrea Marchesini
7b8a9dcd70 Bug 1246091 - patch 5/7 - Remove data when memory pressure notification is received, r=ejpbruel 2016-03-23 22:55:07 +01:00
Boris Zbarsky
c8254635ef Bug 1257568. Remove the JSContext argument of WorkerPrivate::Kill. r=khuey 2016-03-17 23:23:55 -04:00
Boris Zbarsky
b3f9947be1 Bug 1255706 part 2. Remove JSContext argument from WorkerPrivate::Terminate. r=khuey 2016-03-11 16:43:30 -05:00
Boris Zbarsky
c8f3aa78fc Bug 1255706 part 1. Remove JSContext argument from WorkerPrivate constructor. r=khuey 2016-03-11 16:43:30 -05:00
Sebastian Hengst
9b611e1410 Backed out changeset 50c03319c341 (bug 1246091) for mochitest failures. r=backout 2016-03-11 20:16:19 +01:00
Andrea Marchesini
d27a44059c Bug 1246091 - Expose ConsoleEvents to Worker Debugger Actors via Console object directly, r=ejpbruel 2016-03-11 17:59:52 +01:00
Boris Zbarsky
7380f68a24 Bug 1252189. Remove the unnecessary JSContext argument from WorkerPrivate::FreezeInternal/ThawInternal. r=khuey 2016-02-29 14:52:43 -05:00
Boris Zbarsky
48677a12b6 Bug 1252091. Add/RemoveFeature don't need a JSContext argument. r=khuey 2016-02-29 14:52:42 -05:00
Boris Zbarsky
3b186587e3 Bug 1251380. Change things so that WorkerPrivate::NotifyInternal (hopefully) never throws. r=khuey 2016-02-26 21:15:56 -05:00
Boris Zbarsky
c05942a91a Bug 1251276 part 2. Remove the JSContext argument of WorkerPrivate::CancelAllTimeouts. r=khuey 2016-02-26 21:15:56 -05:00
Boris Zbarsky
a2fbb4f9d0 Bug 1251045 part 7. Remove the JSContext argument from some worker methods that no longer need it. r=khuey 2016-02-26 15:23:12 -05:00
Boris Zbarsky
b291c84225 Bug 1251045 part 6. Remove the JSContext argument from some worker debugger methods that no longer need it. r=khuey 2016-02-26 15:23:12 -05:00
Boris Zbarsky
71236d0c2d Bug 1251045 part 5. Remove the JSContext argument from WorkerPrivateParent::Freeze/Thaw. r=khuey 2016-02-26 15:23:12 -05:00
Boris Zbarsky
2499717c67 Bug 1251045 part 2. Remove the JSContext argument of ModifyBusyCountFromWorker. r=khuey 2016-02-26 15:23:12 -05:00
Eddy Bruel
dacef7d980 Bug 1241841 - Clear the worker's debugger event queue before destroying its context;r=khuey 2016-02-26 17:32:28 +01:00
Boris Zbarsky
0b8c06c5bc Bug 1250963 part 2. Remove the unused JSContext argument of WorkerPrivate::ModifyBusyCount. r=khuey 2016-02-25 16:05:39 -05:00