Andrea Marchesini
e4ccc82e67
Bug 1418246 - Return valid columnNumber value in CSP violation events, r=ckerschb
2018-07-05 08:21:04 +02:00
Andrea Marchesini
67c5a11987
Bug 1469579 - WorkerRef in ScriptLoader, r=bkelly
2018-06-19 13:08:12 -04:00
Ben Kelly
24117e33c0
Bug 1465670 P8 Convert WorkerPrivate::LoadScriptAsPartOfLoadingServiceWorkerScript() to simply IsLoadWorkerScript(). r=asuth
2018-06-05 10:49:13 -07:00
Ben Kelly
bb08c2b265
Bug 1465670 P1 Make importScripts() called in a service worker script after install throw NetworkError. r=asuth
2018-06-05 10:49:11 -07:00
Andrea Marchesini
7b734cdb0d
Bug 1466023 - Separate FontTableURI and BlobURL, r=qdot
...
This patch splits FontTableURI and BlobURL in 2 classes:
FontTableURIProtocolHandler and BlobURLProtocolHandler
both under mozilla::dom.
It also removes a memory reporter because that report is already covered by the
BlobURL one.
2018-06-02 15:51:42 +02:00
Emilio Cobos Álvarez
4b8b5e1717
Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj
...
This was done automatically replacing:
s/mozilla::Move/std::move/
s/ Move(/ std::move(/
s/(Move(/(std::move(/
Removing the 'using mozilla::Move;' lines.
And then with a few manual fixups, see the bug for the split series..
MozReview-Commit-ID: Jxze3adipUh
2018-06-01 10:45:27 +02:00
Andrea Marchesini
c8b49ba5dd
Bug 1446933 - Remove 'using namespace mozilla::net' from BackgroundUtils.h, r=qdot
2018-05-30 21:21:17 +02:00
Adrian Wielgosik
93eb294385
Bug 1460940 - Clean up most remaining C++-side uses of nsIDOMDocument. r=bz
...
MozReview-Commit-ID: LKRnyDPNlle
2018-05-11 19:46:15 +02:00
Andrea Marchesini
b85c64b2e1
Bug 1429127 - Workers should allow the loading of file URLs if they are on the same directory of the loader, r=smaug
2018-05-03 17:42:58 +02:00
Ben Kelly
8aee66546e
Bug 1457157 P2 Clear a worker's ClientSource when it reaches Terminating. r=baku
2018-05-02 06:29:26 -07:00
Ben Kelly
7034fda899
Bug 1448141 P5 Remove the service worker script load failure runnable. r=asuth
2018-04-02 07:50:23 -07:00
Ben Kelly
ee5e2e8238
Bug 1448141 P1 Only load service worker importScripts() from the network in ScriptLoader on first evaluation. r=asuth
2018-04-02 07:50:21 -07:00
Andrea Marchesini
ddb4518ad1
Bug 1435174 - Remove the renaming 'using namespace workers', r=bkelly
2018-02-05 19:55:07 +01:00
Boris Zbarsky
3ab7ce89fa
Bug 1434686 part 4. Use IgnoreErrors() in dom/. r=mystor
...
MozReview-Commit-ID: GwVDrTLPTOb
2018-02-01 14:21:14 -05:00
Andrea Marchesini
98ac9eb616
Bug 1432963 - Fixing workers headers - part 15 - static function in a workers namespace, r=smaug
2018-01-31 08:24:30 +01:00
Andrea Marchesini
5e357eed9f
Bug 1432963 - Fixing workers headers - part 14 - WorkerPrivate without workers namespace, r=smaug
2018-01-31 08:24:08 +01:00
Andrea Marchesini
30cbccd56d
Bug 1432963 - Fixing workers headers - part 13 - WorkerHolder without workers namespace, r=smaug
2018-01-31 08:23:44 +01:00
Andrea Marchesini
a67861ba9a
Bug 1432963 - Fixing workers headers - part 10 - ScriptLoader into a workerinternals namespace, r=smaug
2018-01-31 08:22:03 +01:00
Andrea Marchesini
3faaf5a84b
Bug 1425458 - Resource timing entries Workers - part 0 - NS_NewChannel, r=smaug
...
* * *
Bug 1425458 - Resource timing entries Workers - part 10 - Correct parameters in NS_NewChannel in nsDataObj.cpp, r=me
2018-01-24 17:17:31 +01:00
Brindusan Cristian
1153f2c09e
Backed out 12 changesets (bug 1425458) for mochitest failures on WorkerPrivate.cpp on a CLOSED TREE
...
Backed out changeset 11997de13778 (bug 1425458)
Backed out changeset 100b9d4f36bc (bug 1425458)
Backed out changeset a29e9dbb8c42 (bug 1425458)
Backed out changeset b96d58fd945c (bug 1425458)
Backed out changeset f140da44ba68 (bug 1425458)
Backed out changeset af56400233d9 (bug 1425458)
Backed out changeset 7034af4332e4 (bug 1425458)
Backed out changeset f70500179140 (bug 1425458)
Backed out changeset 793bbfc23257 (bug 1425458)
Backed out changeset 2efb375a8ffc (bug 1425458)
Backed out changeset 07e781e37451 (bug 1425458)
Backed out changeset e875f3702a5f (bug 1425458)
2018-01-24 20:47:48 +02:00
Andrea Marchesini
b434804b93
Bug 1425458 - Resource timing entries Workers - part 0 - NS_NewChannel, r=smaug
2018-01-24 17:17:31 +01:00
Ben Kelly
dfd8d0e640
Bug 1231211 P18 Make blob URL worker scripts inherit the parent's controller. r=asuth
2018-01-23 10:38:54 -05:00
Ben Kelly
3310d3b68c
Bug 1231211 P13 Make worker ScriptLoader pass ClientInfo and ServiceWorkerDescriptor to NS_NewChannel() where appropriate. r=asuth
2018-01-23 10:38:54 -05:00
Ben Kelly
c4d9abd1e7
Bug 1426162 Convert worker main script principal assertion to runtime check. r=baku
2018-01-03 10:56:14 -05:00
Andrea Marchesini
e6d6b3cc6c
Bug 1423507 - Data URL Shared Workers must be shared when the parent origins match, r=bkelly
2017-12-07 12:29:05 +01:00
Ben Kelly
1928345b3c
Bug 1423412 P1 Actually mark window/worker ClientSource objects controlled when loaded with a controlling service worker. r=baku r=jld
2017-12-05 20:45:22 -05:00
Andrea Marchesini
e4f3681898
Bug 1419382 - Moving ownership of nsIInputStream when using netUtil functions - part 3 - NS_NewInputStreamPump, r=smaug
2017-11-22 11:18:57 +01:00
Ben Kelly
c25cd384bb
Bug 1419536 P2 Create a ClientSource for the WorkerPrivate and mark it execution ready after the script loads. r=baku
2017-11-21 15:13:04 -05:00
Jan de Mooij
e6e5785154
Bug 1417844 part 2 - Remove JSVersion from CompileOptions, CompartmentBehaviors, scripts. r=evilpie
2017-11-17 12:12:39 +01:00
Andrea Marchesini
de5ddecee3
Bug 1405290 - Improve logging of workers when shutting down - part 3 - WorkerHolder with names, r=asuth
2017-11-15 07:58:38 +01:00
Andrea Marchesini
93901ebca1
Bug 1402888 - Remove nsIInputStreamPump::Init() offset and limit params, r=smaug
2017-09-26 07:21:44 +02:00
Ben Kelly
758bb39a6c
Bug 1398484 Only assert that the channel does not change for top level service worker scripts. r=baku
2017-09-13 05:53:54 -07:00
Andrea Marchesini
2a9df1a0b5
Bug 1378342 - AbortSignal/AbortController - part 6 - Implement Request.signal, r=bkelly
2017-08-29 11:31:06 +02:00
Sebastian Hengst
2489acb202
Backed out changeset 2c6f49d73935 (bug 1378342)
2017-08-29 09:16:59 +02:00
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