Commit Graph
162 Commits
Author SHA1 Message Date
Carsten "Tomcat" Book 238bf154d5 Backed out changeset 4f6302a98ae4 (bug 1372405) 2017-06-21 13:59:26 +02:00
Bill McCloskey 67e8af4720 Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-20 21:44:11 -07:00
Carsten "Tomcat" Book bbe9441993 Backed out changeset 9846de3bd954 (bug 1372405) 2017-06-20 08:27:02 +02:00
Bill McCloskey f69608368b Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-19 22:25:47 -07:00
Bevis Tseng e6dc9e02bc Bug 1372453 - Part 2: Name the caller of ProxyReleaseEvent. r=billm
MozReview-Commit-ID: LYhSWnZkq0i
2017-06-14 09:27:17 +08:00
Ben Kelly 0d591cc2f4 Bug 1367659 Remove KeepAliveHandler::RemovePromise() assertion that can be wrong during worker thread shutdown. r=asuth 2017-06-01 06:20:12 -07:00
Sylvestre Ledru ef2b4e37ec Bug 1368106 - Use the new MOZ_DIAGNOSTIC_ASSERT_ENABLED instead of several defines r=glandium
MozReview-Commit-ID: KOM35SQnoRh
2017-05-26 18:53:35 +02:00
Andrea Marchesini 421fbb7b50 Bug 1364297 - Use nsString instead nsCString for Worker names, r=smaug 2017-05-17 16:49:34 +02:00
Catalin Badea f538a6cfed Bug 1359610 - Add telemetry for fetch interception. r=chutten data-r=bsmedberg 2017-05-17 15:42:53 +01:00
Ho-Pang Hsu 8faf95ed7b Bug 1168875 - Part 3: Insert the timestamp probes into service worker implementation. r=bkelly 2017-04-10 21:13:21 +08:00
Catalin Badea 196568e808 Bug 1342255 - Fix crash in respondWith resolved callback. Don't reset interception if the sw throws after .respondWith(). r=asuth 2017-03-20 15:01:04 +00:00
Wei-Cheng Pan 7a678cdad2 Bug 1310127 - Part 17: Use MOZ_MUST_USE in netwerk/protocol/http r=smaug
MozReview-Commit-ID: 5gvVZtsa3yS
2016-12-20 11:49:32 +08:00
Ben Kelly 368c49fb52 Bug 1341040 Rename ServiceWorkerInfo::GetPrincipal() to Principal(). r=baku 2017-02-20 10:31:32 -05:00
Ben Kelly 9870ee52bd Bug 1339823 Create a pristine principal in ServiceWorkerPrivate::SpawnWorkerIfNeeded(). r=baku 2017-02-20 09:31:24 -05:00
Carsten "Tomcat" Book 4d70a3c289 Backed out changeset 59e30ba1b38f (bug 1339823) on a CLOSED TREE 2017-02-20 15:26:36 +01:00
Ben Kelly ba8958dea5 Bug 1339823 Create a pristine principal in ServiceWorkerPrivate::SpawnWorkerIfNeeded(). r=baku 2017-02-20 09:05:55 -05:00
Ben Kelly 30fe75b00c Bug 1337522 P2 Set ServiceWorker principal earlier. r=baku 2017-02-14 10:06:39 -05:00
Ben Kelly 9615ced41a Bug 1337543 P1 ServiceWorker should not inherit CSP from registration principal. r=baku 2017-02-14 10:06:38 -05:00
Ben Kelly e45c2b5a25 Bug 1339116 Improve the ServiceWorkerPrivate timer code. r=asuth 2017-02-14 08:49:44 -05:00
Sebastian Hengst 2e17e6ceb2 Backed out changeset f4f59e7c1be7 (bug 1337543) for crashing in various mochitest and web-platform-tests, e.g. dom/security/test/csp/test_child-src_worker.html. r=backout on a CLOSED TREE 2017-02-13 19:00:56 +01:00
Ben Kelly bcf5b79b92 Bug 1337543 P1 ServiceWorker should not inherit CSP from registration principal. r=baku 2017-02-13 12:15:58 -05:00
Catalin Badea 5facd19eb2 Bug 1337033 - Remove code handling MIME input streams with bodies that contain headers. r=bkelly 2017-02-10 14:10:59 +00:00
Tim Huang b3fb2c8458 Bug 1336802 - Part 2: Updating the whole code base to make sure nsILoadInfo get null check. r=smaug 2017-02-07 11:49:34 +08:00
Ben Kelly 4d4e22fbfd Bug 1336529 Handle ServiceWorkerInfo destruction while released KeepAliveToken. r=asuth 2017-02-03 14:36:27 -05: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
Catalin Badea 0156476d98 Bug 1316659 - Use OpenWindowRunnable as an observer when waiting for fennec to start before executing an open window operation. r=bkelly
This patch also changes the order in which pending openWindow operations
are executed.
2017-01-31 14:21:52 +00:00
Ben Kelly 8cca8b45c7 Bug 1334480 Don't try to update a nullptr registration. r=asuth 2017-01-27 12:04:24 -08:00
Wes Kocher 397df34387 Merge inbound to central, a=merge
MozReview-Commit-ID: BZgxmhS6OtM
2017-01-26 16:19:05 -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
Kartikaya Gupta a2a492cb06 Bug 1312319 - Add a NS_INLINE_DECL_PURE_VIRTUAL_REFCOUNTING macro and replace existing pure-virtual AddRef/Release declarations. r=froydnj
MozReview-Commit-ID: 5yt3O4Hoois
2017-01-25 14:51:34 -05:00
Ben Kelly 98ea6e67f7 Bug 1330747 Always nullptr check return value from ServiceWorkerManager::GetInstance(). r=asuth 2017-01-12 14:00:36 -08:00
Ben Kelly 27b7ec41a8 Bug 1329716 Try to ensure we don't dispatch a SW event if the registration has been removed. r=asuth 2017-01-09 13:40:46 -08: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
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
Tomislav Jurin 9ff3007b90 Bug 1296189 - Replace NS_RUNTIMEABORT("some string literal message") with MOZ_CRASH(). r=froydnj 2016-12-02 13:46:53 -08:00
Tom Tung 61f436a667 Bug 1271692 - Do not fail event processing if an exception is thrown in ServiceWorker. r=bkelly 2016-11-10 17:53:24 +08:00
Catalin Badea 0c681a21b7 Bug 1263304 - Allow waitUntil() to be called asynchronously. r=bkelly
The behaviour is changed in two ways:
1. waitUntil() will now wait for each promise separately, even if one of
   them is rejected.
2. Extensions can be added asynchronously as long there is a pending
   waitUntil promise.
2016-11-21 02:14:53 +00: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
Boris Zbarsky 7605afb76e Bug 1317990. Remove Event::IsChrome in favor of passing CallerType arguments. r=smaug,bkelly 2016-11-16 14:10:22 -05:00
Thomas Nguyen 5e424350fb Bug 1264792 - Update request'referrer policy when redirect.r=bkelly,dragana.
MozReview-Commit-ID: 3V6W0fuRomZ
2016-11-14 15:15:32 +08:00
Tom Tung 8224b73089 Bug 1264178 - Part 1: Expose URL fragment to request but not response. r=bkelly 2016-11-07 10:16:34 +08:00
Dylan Roeh 35a3c1acef Bug 1262251 - Make openWindow() launch Fennec if it isn't already running. r=catalinb 2016-10-31 14:10:25 -05:00
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 <[email protected]>

review tweaks
2016-09-19 21:13:00 -04:00
Ben Kelly 1d07830caa Bug 1300658 P5 Make service worker APIs use the MainThreadTaskQueue. 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 c55871977b Bug 1300658 P5 Make service worker APIs use the MainThreadTaskQueue. 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 07e44cb284 Bug 1300658 P5 Make service worker APIs use the MainThreadTaskQueue. r=baku 2016-09-12 11:21:02 -07:00
Tom Tung aedb197f83 Bug 1187335 - P4 - Integrate fetch and cache with SRI & add nsIConsoleReportCollector to show console report. r=bkelly. 2016-09-07 10:20:23 +08:00