Andrea Marchesini
e2680ff9c6
Bug 1378342 - AbortSignal/AbortController - part 6 - Implement Request.signal, r=bkelly
2017-08-29 07:30:21 +02:00
Chung-Sheng Fu
cafbf2103d
Bug 863246 - Use system principal to load debugger scripts r=billm,bkelly
...
MozReview-Commit-ID: DPvbR1As2UV
2017-08-07 15:55:39 +08:00
Sebastian Hengst
1124469539
Backed out changeset aba9324719be (bug 863246)
2017-08-25 16:43:39 +02:00
Chung-Sheng Fu
c717714ff4
Bug 863246 - Use system principal to load debugger scripts r=billm,bkelly
...
MozReview-Commit-ID: DPvbR1As2UV
2017-08-07 15:55:39 +08:00
Masatoshi Kimura
b821026da0
Bug 1390106 - Stop using versioned scripts in dom. r=mrbkap
...
MozReview-Commit-ID: 89KvCoTAg3I
2017-08-14 20:42:55 +09:00
Andrea Marchesini
75f65419b6
Bug 1128959 - Implement the WHATWG Streams spec - part 12 - starting body consuming and passing the JSContext down from the binding entrypoints to where the ReadableStream could be read, r=bz
...
This patch does 2 things:
. when SetBodyUsed() is called, the pump for the stream reading is activated.
. Just because of the reading of the stream could end up executing JS code, we
need to pass the JSContext in the correct state down to SetBodyUsed.
2017-08-10 18:04:55 -07:00
Bevis Tseng
ce50e5aaca
Bug 1378930 - Part 1: Remove nsINamed::SetName(). r=billm
...
MozReview-Commit-ID: 7aM1yJRsfPH
2017-07-21 11:50:43 +08:00
Boris Zbarsky
7988d1ba67
Bug 1371259 part 3. Change UnwrapObject<> and the UNWRAP_OBJECT macro to allow passing in mutable object or value handles for the thing being unwrapped, and do so at various callsites. r=peterv
...
I did audit all UNWRAP_OBJECT callers to make sure that the lifetimes of all the
temporary Rooted or the RefPtrs they unwrap into are long enough.
2017-07-10 16:05:24 -04:00
Bevis Tseng
8c28adf50f
Bug 1377484 - Label the use of NS_NewInputStreamPump in CacheScriptLoader. r=bkelly
2017-06-30 10:52:06 -07:00
Bill McCloskey
ce42826bdf
Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
...
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-26 14:19:58 -07:00
Chris Peterson
b49f492a6f
Bug 1373525 - dom/workers: Remove unused classes and member functions. r=baku
...
dom/workers/ScriptLoader.cpp:246:3 [-Wunused-member-function] unused member function 'ReadyToExecute'
dom/workers/ServiceWorkerScriptCache.cpp:200:19 [-Wunused-member-function] unused member function 'URL'
dom/workers/WorkerPrivate.cpp:1553:3 [-Wunused-member-function] unused member function 'DummyRunnable'
MozReview-Commit-ID: DLjD10iZJJV
2017-06-15 00:40:59 -07:00
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
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