Andrea Marchesini
430cbe0aa7
Bug 1490165 - Workers.setTimeout/setInterval must handle CSP rejections, r=ckerschb
2018-09-17 17:53:10 +02:00
Mike Hommey
d00117b8a3
Bug 1489363 - Replace some string.Assign* with AssignLiteral. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D5224
2018-09-07 22:12:01 +00:00
Jeff Walden
c2d1ce9999
Bug 1486577 - Don't #include "js/CompilationAndEvaluation.h" in jsapi.h, minimizing the scope of that header and reducing translation-unit size of anything that needs JSAPI but doesn't need to compile/evaluate JavaScript. r=jandem
2018-08-24 22:51:49 -05:00
Jeff Walden
21f00f0eaf
Bug 1486577 - Don't #include js/SourceBufferHolder.h in jsapi.h, and instead require users to do so -- a minor translation-unit size improvement for anyone who never has to use SourceBufferHolder other than by reference. r=jandem
2018-08-24 21:01:58 -05:00
Jan de Mooij
2e0932080c
Bug 1478306 - Actually use the sandbox we create in CacheCreator::CreateCacheStorage. r=baku
...
AutoSafeJSContext enters the unprivileged junk scope, so CreateSandbox returned a wrapper and then we used the wrapper's global instead of the sandbox global. We now use AutoJSAPI with a null realm.
2018-08-01 11:25:49 +02:00
Nicholas Nethercote
3fd11042ce
Bug 1476820 - Convert some VarCache prefs in dom/security/ to use StaticPrefs. r=ckerschb
...
Specifically:
- "security.csp.enable"
- "security.csp.experimentalEnabled"
- "security.csp.enableStrictDynamic"
- "security.csp.reporting.script-sample.max-length"
- "security.csp.enable_violation_events"
MozReview-Commit-ID: G1ie4ut9QaK
2018-07-19 10:43:29 +10:00
Andrea Marchesini
656b292d56
Bug 1471189 - Removing 'Terminating' state in workers, r=mrbkap
2018-07-12 19:33:41 +02:00
Andrea Marchesini
ab091b9f95
Bug 1418236 - Correct EventTarget for CSP violation events, r=ckerschb
2018-07-10 17:40:21 +02:00
Andrea Marchesini
108d77d622
Bug 1469993 - Grant storage access to a 3rd party, tracking resource if a opened document has user-interaction - part 6 - DOM cache, r=ehsan
2018-07-10 10:09:59 +02:00
Margareta Eliza Balazs
4249b7f60f
Backed out 9 changesets (bug 1469993) for causing bustage in build/srcdom/base/nsGlobalWindowInner.cpp on a CLOSED TREE
...
Backed out changeset e89192032fe2 (bug 1469993)
Backed out changeset 4b261595099d (bug 1469993)
Backed out changeset 37182cfe869c (bug 1469993)
Backed out changeset 5b9870995c73 (bug 1469993)
Backed out changeset 55499fcd9738 (bug 1469993)
Backed out changeset 8c1c838d54ba (bug 1469993)
Backed out changeset 12b9c8bfa41f (bug 1469993)
Backed out changeset 04ab7d6c169a (bug 1469993)
Backed out changeset 53885d61244e (bug 1469993)
2018-07-10 11:32:34 +03:00
Andrea Marchesini
23d9d403a4
Bug 1469993 - Grant storage access to a 3rd party, tracking resource if a opened document has user-interaction - part 6 - DOM cache, r=ehsan
2018-07-10 10:09:59 +02:00
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