Commit Graph

232 Commits

Author SHA1 Message Date
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
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
Ben Kelly
63adfc2c7f Bug 1361823 Fail the worker script load instead of crashing if the load group is torn down. r=baku 2017-05-15 06:52:00 -07:00
Bill McCloskey
c402a046c2 Bug 1363560 - Name more runnables (r=mccr8)
MozReview-Commit-ID: 3hxZDA4JlTV
2017-05-09 21:53:25 -07:00
Andrea Marchesini
80bc31371c Bug 1362119 - part 1 - Moving dom/base/Script{Loader,Element}.* in dom/script, r=ehsan
This patch does these things:

1. it moves nsScriptElement, nsScriptLoader, ScriptSettings, nsIScriptElement
   and nsIScriptLoaderObserver in dom/script
2. it renames nsScriptElement to mozilla::dom::ScriptElement
3. it renames nsScriptLaoder to mozilla::dom::ScriptLoader
2017-05-08 08:24:22 +02:00
Carsten "Tomcat" Book
c4daf63d34 Backed out changeset 5d77f6b14633 (bug 1362119) for android bustage in nsCCUncollectableMarker.cpp:500:7: error: 'TraceScriptHolder' is not a member of 'mozilla' 2017-05-08 09:54:38 +02:00
Andrea Marchesini
71aba8e0ee Bug 1362119 - part 1 - Moving dom/base/Script{Loader,Element}.* in dom/script, r=ehsan
This patch does these things:

1. it moves nsScriptElement, nsScriptLoader, ScriptSettings, nsIScriptElement
   and nsIScriptLoaderObserver in dom/script
2. it renames nsScriptElement to mozilla::dom::ScriptElement
3. it renames nsScriptLaoder to mozilla::dom::ScriptLoader
2017-05-08 08:24:22 +02: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
Michael Layzell
54b0828512 Bug 1331434 - Part 7: Handle custom cleanup after throwing in /dom/workers, r=baku
MozReview-Commit-ID: 1hKUDi9Oxg7
2017-03-07 19:06:48 -05: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
c9becaecea Bug 1340654 P1 Set referrer policy in service workers. r=baku 2017-02-23 10:54:42 -05:00
Ben Kelly
e83a071140 Bug 1340652 P2 Override worker principal after channel load completes to get correct principal URL. r=baku 2017-02-23 10:54:41 -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
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
Tom Tromey
e90d95a3f9 Bug 1060419 - make AppendPrintf and nsPrintfCString use Printf.h, r=froydnj
MozReview-Commit-ID: 2E8FoiNxU8L
2016-12-14 09:32:21 -07:00
Ben Kelly
8a08c121a5 Bug 1322111 P2 Make importScripts() use TYPE_INTERNAL_WORKER_IMPORT_SCRIPTS. r=ckerschb 2017-02-15 09:55:58 -05:00
Ben Kelly
30fe75b00c Bug 1337522 P2 Set ServiceWorker principal earlier. r=baku 2017-02-14 10:06:39 -05:00
Ben Kelly
7abdae314a Bug 1337543 P6 Persist response headers for offlined service worker scripts. r=baku 2017-02-14 10:06:39 -05:00
Ben Kelly
e85c104cf9 Bug 1337543 P4 Apply CSP headers to ServiceWorker when loading offlined script. r=baku 2017-02-14 10:06:38 -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
Ben Kelly
05db694193 Bug 1337543 P2 Improve ServiceWorker asserts and verify load principal does not inherit CSP. r=baku 2017-02-14 10:06:38 -05:00
Sebastian Hengst
21c45e6b59 Backed out changeset 2f2511d69d2e (bug 1337543) 2017-02-13 19:00:01 +01:00
Sebastian Hengst
8ec4a92954 Backed out changeset c0157164852c (bug 1337543) 2017-02-13 18:59:57 +01:00
Sebastian Hengst
c9eba3abaa Backed out changeset 9e09a36b7c0c (bug 1337543) 2017-02-13 18:59:52 +01:00
Sebastian Hengst
eb254c046e Backed out changeset 901f0df29f8f (bug 1337543) 2017-02-13 18:59:44 +01:00
Ben Kelly
6d7f1e0469 Bug 1337543 P6 Persist response headers for offlined service worker scripts. r=baku 2017-02-13 12:15:59 -05:00
Ben Kelly
a2796f40c1 Bug 1337543 P4 Apply CSP headers to ServiceWorker when loading offlined script. r=baku 2017-02-13 12:15:59 -05: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
8bbed479f9 Bug 1337543 P2 Improve ServiceWorker asserts and verify load principal does not inherit CSP. 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
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
1007551232 Bug 1335425 Improve ScriptLoader CacheCreator's ability to handle failures and cancelation. r=baku 2017-02-01 06:48:07 -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
Ben Kelly
9fde886a45 Bug 1329668 Handle partial initialized when ScriptLoader is canceled. r=baku 2017-01-10 08:20:16 -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
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
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
Tooru Fujisawa
a371f033d7 Bug 1283710 - Part 5: Rename message to toStringResult if it is the result of toString. r=bholley,jwalden,froydnj 2016-08-14 20:39:31 +09:00
Tooru Fujisawa
03ddefc59f Bug 1283710 - Part 4: Do not duplicate message in ExpandErrorArgumentsVA, and remove message parameter from WarningReporter. r=jwalden 2016-08-14 20:39:31 +09:00
Wes Kocher
62d49513c8 Backed out 10 changesets (bug 1283710) for osx xpcshell failures a=backout
Backed out changeset eb95a12e5d86 (bug 1283710)
Backed out changeset f727edc4be48 (bug 1283710)
Backed out changeset fed60fbf645d (bug 1283710)
Backed out changeset 98339fa564f1 (bug 1283710)
Backed out changeset 51b8d69edca0 (bug 1283710)
Backed out changeset d72527b7d3c0 (bug 1283710)
Backed out changeset ee5215f1a38e (bug 1283710)
Backed out changeset dcedbaefe399 (bug 1283710)
Backed out changeset 61f8250cbe0b (bug 1283710)
Backed out changeset 239382846137 (bug 1283710)
2016-10-18 17:27:58 -07:00
Tooru Fujisawa
556e7c80df Bug 1283710 - Part 5: Rename message to toStringResult if it is the result of toString. r=bholley,jwalden,froydnj 2016-08-14 20:39:31 +09:00
Tooru Fujisawa
044b5a993c Bug 1283710 - Part 4: Do not duplicate message in ExpandErrorArgumentsVA, and remove message parameter from WarningReporter. r=jwalden 2016-08-14 20:39:31 +09:00