Jon Coppeard
0e011e1187
Bug 1453559 - Don't use channel URI for loading modules from resource: scheme r=baku
2018-04-13 14:15:33 +01:00
Karl Tomlinson
1cd498ec42
bug 1328964 use nsContentUtils::GetCurrentJSContext() on all threads r=smaug
...
nsContentUtils::GetCurrentJSContextForThread() originally needed to use
workers::GetCurrentThreadJSContext() in
https://hg.mozilla.org/mozilla-central/rev/366a45b41539#l2.18
because CycleCollectedJS*()->Context() did not exist until
https://hg.mozilla.org/mozilla-central/rev/1a0cd542e1e9#l7.12
nsContentUtils::GetCurrentJSContext() is thread-safe since these changes:
https://hg.mozilla.org/mozilla-central/rev/e636c7186286#l3.12
https://hg.mozilla.org/mozilla-central/rev/c8029c072776#l2.12
MozReview-Commit-ID: 2f1eGS9uBBO
2018-04-09 12:11:18 +12:00
Nicolas B. Pierron
45cf07da48
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
27dd584cc8
Bug 1440827 - Cancel preloaded requests if we decide not to use them r=baku
2018-03-29 17:11:41 +01:00
Christoph Kerschbaumer
56529d1f61
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
Kris Maglione
3de3eddddb
Bug 1445551: Part 4 - Remove compartment-per-addon. r=mccr8
...
The compartment-per-addon code was added so that we could segregate at least
some of the code from system-privileged add-ons into tagged compartments, even
when it ran in browser windows. That allowed us to apply certain special
behavior to them, such as enabling e10s shims, and to track some performance
characteristics.
The only remaining chrome-privileged add-ons now are system add-ons controlled
by us, and the shim system and per-compartment performance metrics are gone,
it no longer serves a purpose.
MozReview-Commit-ID: Ap186bWAaqP
2018-03-13 19:43:30 -07:00
Olli Pettay
8d2a7b0ad2
Bug 1193394 - Part 1: Microtasks and promises scheduling. r=bevis
2017-11-17 11:01:27 +08:00
Emilio Cobos Álvarez
0ff849122a
Bug 1442207: Remove unneeded arguments to nsIMutationObserver. r=smaug
...
aDocument is always content->OwnerDoc().
aContainer is always content->GetParent().
Differential Revision: https://phabricator.services.mozilla.com/D664
MozReview-Commit-ID: 4xwPCOnhyIL
2018-03-01 22:45:17 +01:00
Jon Coppeard
9290341637
Bug 1440269 - Defer calling debugger onNewScript hook for preloaded modules r=nbp
2018-03-01 17:13:14 +00:00
Csoregi Natalia
a7fb1721fe
Backed out 7 changesets (bug 1193394) for browser-chrome failures on browser_ext_popup_background.js. CLOSED TREE
...
Backed out changeset 9683f24ff8ec (bug 1193394)
Backed out changeset 0e7140a7c841 (bug 1193394)
Backed out changeset a0e26f6b2784 (bug 1193394)
Backed out changeset 29e1fceaf48d (bug 1193394)
Backed out changeset b8632bbbd273 (bug 1193394)
Backed out changeset a54ef2d8f896 (bug 1193394)
Backed out changeset 55c94c05c57f (bug 1193394)
2018-03-01 16:29:02 +02:00
Olli Pettay
6a1afb366a
Bug 1193394 - Part 1: Microtasks and promises scheduling. r=bevis
2017-11-17 11:01:27 +08:00
Emilio Cobos Álvarez
7a79ccba52
Bug 1441547: Make character data change notifications use a const reference for the info parameter. r=smaug
...
It's not intended to be mutated.
MozReview-Commit-ID: 5nkD1YkidlV
2018-02-27 15:30:27 +01:00
Jon Coppeard
d8400cb4bd
Bug 1342416 - Preload module scripts r=baku
2018-02-15 13:18:59 +00:00
Boris Zbarsky
c77e552eeb
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
d169301c59
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
ddb4518ad1
Bug 1435174 - Remove the renaming 'using namespace workers', r=bkelly
2018-02-05 19:55:07 +01:00
Andrea Marchesini
3e08265e73
Bug 1432963 - Fixing workers headers - part 17 - no LIBS=[workers] in moz.build files, r=smaug
2018-01-31 08:25: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
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
Nika Layzell
1518874730
Bug 1293362 - Part 4: Generate runtime bindings for calling xpcom methods from rust, r=froydnj
...
MozReview-Commit-ID: K37KyHkKsSl
2018-01-23 17:27:26 -05:00
Jon Coppeard
1228757e70
Bug 1382020 - Don't preload nomodule scripts when modules are enabled r=hsivonen
2018-01-23 13:07:37 +00:00
Jon Coppeard
5daef392e5
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
073562ba50
Bug 1430145 - Add telemetry for script kind. r=baku, data-review=liuche
2018-01-17 03:06:00 -05:00
Jon Coppeard
9d99a37f23
Bug 1429783 - Reset frozen state in nsIScriptElement::LoseParserInsertedness() r=smaug
2018-01-12 10:36:23 +00:00
Jon Coppeard
0b17394763
Bug 1429535 - Split up ScriptLoader::ProcessScriptElement method r=baku
2018-01-11 12:05:26 +00:00
Jon Coppeard
f41bcf6d77
Backed out changeset ef258af45592 (bug 1429535) for test_bug704320_preload.html timeouts
2018-01-11 13:14:23 +00:00
Jon Coppeard
7af98f125f
Bug 1429535 - Split up ScriptLoader::ProcessScriptElement method r=baku
2018-01-11 12:05:26 +00:00
Andrea Marchesini
7845c8b982
Bug 1428745 - Remove support for version parameter from script loader, r=jonco
2018-01-09 17:00:49 +01:00
Narcis Beleuzu
972550c448
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
4a609b5031
Bug 1428745 - Remove support for version parameter from script loader, r=jonco
2018-01-09 17:00:49 +01:00
Jon Coppeard
ee52b99c90
Bug 1426189 - Make document.currentScript null in modules r=baku
2018-01-08 18:07:39 +00:00
Jon Coppeard
69ebe1854a
Bug 1361369 - Allow async attribute on inline module scripts r=smaug
2018-01-08 15:17:34 +00:00
Jon Coppeard
ac540f38f6
Bug 1361369 - Fix coding style in ScriptLoadRequest.h r=smaug
2018-01-08 15:17:33 +00:00
Jon Coppeard
796f48603b
Bug 1361369 - Add a script processing mode enum r=smaug
2018-01-08 15:17:33 +00:00
Jon Coppeard
5d28599337
Bug 1361369 - Factor out method to queue an async request r=smaug
2018-01-08 15:17:33 +00:00
Jon Coppeard
f1228f89a2
Bug 1361369 - Rename some script load request flags to be more descriptive r=smaug
2018-01-08 15:17:33 +00:00
Tom Schuster
257b1de5d7
Bug 1371551 - Make ES6 modules work for webextension URLs. r=baku
2018-01-03 19:08:29 +01:00
Jon Coppeard
814526b11c
Bug 1426440 - Fix processing of non-parser-generated module scripts r=smaug
2018-01-03 13:07:58 +00:00
Jon Coppeard
0869cff309
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
c793a33084
Bug 1426140 - Factor out SRI handling from ScriptLoader::OnStreamComplete r=baku
2018-01-03 13:07:58 +00:00
Jon Coppeard
323df53ae3
Bug 1426140 - Factor out error handling from ScriptLoader::OnStreamComplete r=baku
2018-01-03 13:07:58 +00:00
Emilio Cobos Álvarez
8a71d3197b
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
ecd202d763
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
b3956b6171
Bug 1423990: Move the last few attribute-related methods outside of nsIContent. r=bz
...
MozReview-Commit-ID: 8JZuS6O8f8W
2017-12-07 19:13:50 +01:00
Jon Coppeard
d6b9d89e3f
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
76af191f97
Bug 1425077 - Make ModuleScript::SetErrorToRethrow call HoldJSObjects in case there is no module record r=baku
2017-12-21 16:59:12 +00:00
Jon Coppeard
14fe2bfc69
Bug 1426443 - Set CORS mode for inline module scripts r=smaug
2017-12-21 11:17:12 +00:00
Jon Coppeard
4f7a8cb01f
Bug 1426190 - Integrity option for descendant module scripts should be the empty string r=smaug
2017-12-21 10:58:53 +00:00