Commit Graph

136 Commits

Author SHA1 Message Date
Jon Coppeard
cdfffa27fe Bug 1475228 - Make asynchronous compile APIs take SourceBufferHolders r=jandem 2018-07-17 14:30:23 +01:00
Brian Hackett
f594284848 Bug 1470795 Part 5 - Update content parse users for API movement, r=froydnj.
--HG--
extra : rebase_source : 856eecd3568adc9873b899a38ad96bbf24ebe955
2018-07-23 21:45:33 +00:00
Brian Hackett
06d1d0dddb Bug 1465292 Part 3 - Track parsed content from loaded script files, r=smaug.
--HG--
extra : rebase_source : 6ccda629306428c65eb4d2e912b5ee41b91019bf
2018-07-23 21:42:20 +00:00
Nazım Can Altınova
7fc9a27753 Bug 1474341 - Add AutoProfilerLabel to ScriptLoader::ProcessScriptElement r=mstange
MozReview-Commit-ID: 4wcSDgz3x0E

--HG--
extra : rebase_source : 3769c681908df9b94120ab58f982ac88b4badf56
2018-07-09 18:06:20 +02:00
Andrea Marchesini
5fff1762ad Bug 1418236 - Correct EventTarget for CSP violation events, r=ckerschb 2018-07-10 17:40:21 +02:00
Andrea Marchesini
14d462eeb3 Bug 1418246 - Return valid columnNumber value in CSP violation events, r=ckerschb 2018-07-05 08:21:04 +02:00
Emilio Cobos Álvarez
c7d35aa526 Bug 1470930: Use enums for passing arguments for event dispatch. r=smaug
MozReview-Commit-ID: DsNuF7GAflJ
2018-06-26 18:22:06 +02:00
Emilio Cobos Álvarez
fffb25b74f 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
Jon Coppeard
a844ec84c4 Bug 1427610 - Implement import.meta in the browser r=bkelly 2018-05-23 09:30:13 +01:00
Nicolas B. Pierron
bdd58b3482 Bug 1461672 - Remove Telemetry probe added to tune the JSBC. r=francois,bkelly 2018-05-21 17:17:18 +00:00
Jon Coppeard
8d493df52b Bug 1444956 - Support BinAST decoding in the script loader r=baku 2018-05-16 15:58:13 +01:00
Jon Coppeard
65b2944794 Bug 1461751 - Simplify module resolve hook to be a function pointer r=luke r=baku 2018-05-16 11:59:09 +01:00
Jon Coppeard
0924042900 Bug 1456774 - Remove linear search for finished parse task and type off thread parse token r=jandem r=baku 2018-05-10 14:51:14 +01:00
Michal Novotny
ee8f43208a Bug 1448476 - Cache entry corruption after writing the alternate data. r=honzab
When writing to alt-data output stream fails for whatever reason, we now try to
truncate alternative data and keep the original data instead of dooming the
whole entry. The patch also changes how is the predicted size passed to the
cache. Instead of a dedicated method it's now an argument of openOutputStream
and openAlternativeOutputStream methods which fail in case the entry would
exceed the allowed limit.
2018-04-25 07:01:00 +03:00
Jon Coppeard
96a3f31ff4 Bug 1453559 - Don't use channel URI for loading modules from resource: scheme r=baku 2018-04-13 14:15:33 +01:00
Nicolas B. Pierron
d8df648fc6 Bug 1448194 - Substract the mBytecodeOffset from the bytecode length, as this could cause some assertion failures. r=mrbkap 2018-04-06 09:47:47 +00:00
Jon Coppeard
1ce8789ad0 Bug 1440827 - Cancel preloaded requests if we decide not to use them r=baku 2018-03-29 17:11:41 +01:00
Christoph Kerschbaumer
a929955d1f Bug 1439713 - Change nsIContentPolicy shouldLoad to take an <uri, loadInfo> pair instead of the various args. r=bz 2018-03-29 12:16:23 +02:00
Jon Coppeard
6562e60574 Bug 1440269 - Defer calling debugger onNewScript hook for preloaded modules r=nbp 2018-03-01 17:13:14 +00:00
Jon Coppeard
9b97fa3a81 Bug 1342416 - Preload module scripts r=baku 2018-02-15 13:18:59 +00:00
Boris Zbarsky
6d7aa804ec Bug 838521. Don't preload scripts of unknown type, just like we don't load them normally. r=baku
MozReview-Commit-ID: JWiKNElENyZ
2018-02-14 12:05:26 -05:00
Josh Matthews
19738f789f Bug 1436743 - Dispatch events via the docgroup rather than the tabgroup when possible. r=mystor 2018-02-08 15:54:00 -05:00
Andrea Marchesini
c6da271117 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
368c3d5b6b 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
6480b95ba3 Bug 1425458 - Resource timing entries Workers - part 0 - NS_NewChannel, r=smaug 2018-01-24 17:17:31 +01:00
Jon Coppeard
3bdf7ef24a Bug 1382020 - Don't preload nomodule scripts when modules are enabled r=hsivonen 2018-01-23 13:07:37 +00:00
Jon Coppeard
57f7f09133 Bug 1430635 - Add telemetry to track how often preloaded scripts are used. r=baku, data-review=liuche 2018-01-17 03:10:00 -05:00
Jon Coppeard
a38267f276 Bug 1430145 - Add telemetry for script kind. r=baku, data-review=liuche 2018-01-17 03:06:00 -05:00
Jon Coppeard
20b2d0162c Bug 1429535 - Split up ScriptLoader::ProcessScriptElement method r=baku 2018-01-11 12:05:26 +00:00
Jon Coppeard
2219c13082 Backed out changeset ef258af45592 (bug 1429535) for test_bug704320_preload.html timeouts 2018-01-11 13:14:23 +00:00
Jon Coppeard
b0fcfd08bf Bug 1429535 - Split up ScriptLoader::ProcessScriptElement method r=baku 2018-01-11 12:05:26 +00:00
Andrea Marchesini
8f0c2b3ab9 Bug 1428745 - Remove support for version parameter from script loader, r=jonco 2018-01-09 17:00:49 +01:00
Narcis Beleuzu
0cc8c52dcb Backed out 6 changesets (bug 1428745) for wpt failures on script-type-and-language-with-params.html. r=backout on a CLOSED TREE
Backed out changeset 9e84285278fe (bug 1428745)
Backed out changeset e199f1ccf64c (bug 1428745)
Backed out changeset dfb9af93ac53 (bug 1428745)
Backed out changeset 1d975770bd9a (bug 1428745)
Backed out changeset 1d5dc7dfd429 (bug 1428745)
Backed out changeset 4e53f251c5b8 (bug 1428745)
2018-01-10 00:37:59 +02:00
Andrea Marchesini
9d1d1b1ff3 Bug 1428745 - Remove support for version parameter from script loader, r=jonco 2018-01-09 17:00:49 +01:00
Jon Coppeard
e7889065a7 Bug 1426189 - Make document.currentScript null in modules r=baku 2018-01-08 18:07:39 +00:00
Jon Coppeard
bc9a97d964 Bug 1361369 - Allow async attribute on inline module scripts r=smaug 2018-01-08 15:17:34 +00:00
Jon Coppeard
61e2c40529 Bug 1361369 - Fix coding style in ScriptLoadRequest.h r=smaug 2018-01-08 15:17:33 +00:00
Jon Coppeard
0d68beed29 Bug 1361369 - Add a script processing mode enum r=smaug 2018-01-08 15:17:33 +00:00
Jon Coppeard
ba458e83d4 Bug 1361369 - Factor out method to queue an async request r=smaug 2018-01-08 15:17:33 +00:00
Jon Coppeard
a606770b91 Bug 1361369 - Rename some script load request flags to be more descriptive r=smaug 2018-01-08 15:17:33 +00:00
Tom Schuster
7fb8dab210 Bug 1371551 - Make ES6 modules work for webextension URLs. r=baku 2018-01-03 19:08:29 +01:00
Jon Coppeard
42419122ec Bug 1426440 - Fix processing of non-parser-generated module scripts r=smaug 2018-01-03 13:07:58 +00:00
Jon Coppeard
09b342610e Bug 1426140 - Handle errors for inline module scripts and ensure we update the module map after fetch errors r=baku 2018-01-03 13:07:58 +00:00
Jon Coppeard
579c74b331 Bug 1426140 - Factor out SRI handling from ScriptLoader::OnStreamComplete r=baku 2018-01-03 13:07:58 +00:00
Jon Coppeard
781b2bd3b1 Bug 1426140 - Factor out error handling from ScriptLoader::OnStreamComplete r=baku 2018-01-03 13:07:58 +00:00
Emilio Cobos Álvarez
c8eb630ebe Bug 1423990: Move the last few attribute-related methods outside of nsIContent. r=bz
MozReview-Commit-ID: 8JZuS6O8f8W
2017-12-25 17:50:10 +01:00
Emilio Cobos Álvarez
ffdf5d2cb5 Backout changeset e43f568b3e9a (bug 1423990) because some OSX-only code still doesn't build. r=me 2017-12-25 12:55:45 +01:00
Emilio Cobos Álvarez
c0959b2955 Bug 1423990: Move the last few attribute-related methods outside of nsIContent. r=bz
MozReview-Commit-ID: 8JZuS6O8f8W

--HG--
extra : rebase_source : 09b82acb4f3d69e8a4345457ab217443bc28d6e2
2017-12-07 19:13:50 +01:00
Jon Coppeard
34c29bdfcc Bug 1425145 - Don't mute errors for module scripts because they always use CORS r=baku 2017-12-21 17:08:48 +00:00
Jon Coppeard
e9db166191 Bug 1426443 - Set CORS mode for inline module scripts r=smaug 2017-12-21 11:17:12 +00:00