Граф коммитов

22 Коммитов

Автор SHA1 Сообщение Дата
Ben Kelly bd95903746 Bug 1197401 Remove the disabled HTML imports implementation. r=wchen 2017-06-12 07:36:02 -07:00
Nicolas B. Pierron a54368e741 Bug 1371261 - ScriptLoader: Work-around the lack of Epoch from TimeStamp class. r=mrbkap 2017-06-09 13:52:52 +00:00
Nicolas B. Pierron 45f5fab197 Bug 1370345 - Create JS bytecode mime type based on the platform BuildID instead of MOZ_BUILDID macro. r=mrbkap 2017-06-09 13:52:52 +00:00
Stanley Ye 65a48a95db Bug 1367515 - Use ::mozilla::Maybe to de-duplicate the loop of ScriptLoader::GiveUpBytecodeEncoding r=nbp
--HG--
extra : rebase_source : 158f72dd99c7d23395cac232c970d365d590769a
2017-06-06 23:49:54 -07:00
Nicolas B. Pierron 558a57a171 Bug 1368992 - JS bytecode cache: Do not attempt to encode bytecode if the compilation failed. r=mrbkap 2017-06-06 12:04:29 +00:00
Nicolas B. Pierron 6534093b4d Bug 1368675 - Add multiple heuristics to trigger the JS bytecode cache encoding. r=mrbkap 2017-06-05 12:06:20 +00:00
Nicolas B. Pierron 8ea6209d25 Bug 1364117 - Encode JS bytecode of scripts which are parsed on the main thread. r=mrbkap 2017-05-29 16:01:37 +00:00
Nicolas B. Pierron 9812c67569 Bug 1366773 - Move buffer argument from JS::StartIncrementalEncoding to JS::FinishIncrementalEncoding. r=mrbkap,shu 2017-05-24 18:28:19 +00:00
Ryan VanderMeulen 2942c9f721 Backed out changeset 1a261952f14a (bug 1365187) for frequent Win7 test_linkErrorInCommon2.html failures. a=me 2017-05-23 18:11:48 -04:00
Jon Coppeard cb6dbbfeac Bug 1365187 - When fetching a dependent module wait for any ongoing fetch of the module and its dependents to finish rather than creating a new load request r=smaug 2017-05-23 11:54:11 -04:00
Tom Tromey 088509bb80 Bug 1346936 - support SourceMap header in addition to X-SourceMap; r=Ehsan
According to the source map spec, the X-SourceMap header is deprecated
in favor of SourceMap.  This adds support for the newer name.  The test
case is a copy of the X-SourceMap test with the obvious change.

MozReview-Commit-ID: 8J6YN8xMIfb

--HG--
extra : rebase_source : 76673c096f5571065527073575b6e8c033ae68be
2017-05-15 11:58:23 -06:00
Nicolas B. Pierron 9df25fcb32 Bug 1364118 - List JS bytecode cache preferences in all.js. r=mrbkap 2017-05-18 14:12:15 +00:00
JW Wang 1156916926 Bug 1365494 - Remove the call to AbstractThread::GetCurrent() in ScriptLoader.cpp. r=jonco
See bug 1365483 for the rationale.

MozReview-Commit-ID: EDcJU48H9iX

--HG--
extra : rebase_source : c1297e8f4c2fbc024a00e7f93d1d47bc4275aadc
2017-05-17 14:07:54 +08:00
Andrea Marchesini cd805aa7fd Bug 1362119 - part 2 - Fixing the code style in dom/script, r=ehsan 2017-05-08 08:25:03 +02:00
Andrea Marchesini 9326c6d072 Bug 1362119 - part 2 - Splitting ScriptLoader in multiple files, r=ehsan
This patch it's huge because I use hg cp in order to keep the history/blame
during the moving.

--HG--
rename : dom/script/ScriptLoader.cpp => dom/script/ModuleLoadRequest.cpp
rename : dom/script/ScriptLoader.cpp => dom/script/ModuleLoadRequest.h
rename : dom/script/ScriptLoader.cpp => dom/script/ModuleScript.cpp
rename : dom/script/ScriptLoader.cpp => dom/script/ModuleScript.h
rename : dom/script/ScriptLoader.cpp => dom/script/ScriptLoadHandler.cpp
rename : dom/script/ScriptLoader.h => dom/script/ScriptLoadHandler.h
rename : dom/script/ScriptLoader.cpp => dom/script/ScriptLoadRequest.cpp
rename : dom/script/ScriptLoader.h => dom/script/ScriptLoadRequest.h
2017-05-08 08:24:44 +02:00
Andrea Marchesini 1981f67eb3 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

--HG--
rename : dom/base/nsScriptElement.cpp => dom/script/ScriptElement.cpp
rename : dom/base/nsScriptElement.h => dom/script/ScriptElement.h
rename : dom/base/nsScriptLoader.cpp => dom/script/ScriptLoader.cpp
rename : dom/base/nsScriptLoader.h => dom/script/ScriptLoader.h
rename : dom/base/ScriptSettings.cpp => dom/script/ScriptSettings.cpp
rename : dom/base/ScriptSettings.h => dom/script/ScriptSettings.h
rename : dom/base/nsIScriptElement.h => dom/script/nsIScriptElement.h
rename : dom/base/nsIScriptLoaderObserver.idl => dom/script/nsIScriptLoaderObserver.idl
2017-05-08 08:24:22 +02:00
Carsten "Tomcat" Book f0d6de60d7 Backed out changeset 5d77f6b14633 (bug 1362119) for android bustage in nsCCUncollectableMarker.cpp:500:7: error: 'TraceScriptHolder' is not a member of 'mozilla'
--HG--
rename : dom/script/ScriptSettings.cpp => dom/base/ScriptSettings.cpp
rename : dom/script/ScriptSettings.h => dom/base/ScriptSettings.h
rename : dom/script/nsIScriptElement.h => dom/base/nsIScriptElement.h
rename : dom/script/nsIScriptLoaderObserver.idl => dom/base/nsIScriptLoaderObserver.idl
rename : dom/script/ScriptElement.cpp => dom/base/nsScriptElement.cpp
rename : dom/script/ScriptElement.h => dom/base/nsScriptElement.h
rename : dom/script/ScriptLoader.cpp => dom/base/nsScriptLoader.cpp
rename : dom/script/ScriptLoader.h => dom/base/nsScriptLoader.h
2017-05-08 09:54:38 +02:00
Carsten "Tomcat" Book 6201e6527c Backed out changeset a8abdd77a92c (bug 1362119) 2017-05-08 09:54:08 +02:00
Carsten "Tomcat" Book a786373f4a Backed out changeset 30104bffcd4b (bug 1362119) 2017-05-08 09:54:06 +02:00
Andrea Marchesini f629d54e2c Bug 1362119 - part 2 - Fixing the code style in dom/script, r=ehsan 2017-05-08 08:25:03 +02:00
Andrea Marchesini 3dec24b843 Bug 1362119 - part 2 - Splitting ScriptLoader in multiple files, r=ehsan
This patch it's huge because I use hg cp in order to keep the history/blame
during the moving.

--HG--
rename : dom/script/ScriptLoader.cpp => dom/script/ModuleLoadRequest.cpp
rename : dom/script/ScriptLoader.cpp => dom/script/ModuleLoadRequest.h
rename : dom/script/ScriptLoader.cpp => dom/script/ModuleScript.cpp
rename : dom/script/ScriptLoader.cpp => dom/script/ModuleScript.h
rename : dom/script/ScriptLoader.cpp => dom/script/ScriptLoadHandler.cpp
rename : dom/script/ScriptLoader.h => dom/script/ScriptLoadHandler.h
rename : dom/script/ScriptLoader.cpp => dom/script/ScriptLoadRequest.cpp
rename : dom/script/ScriptLoader.h => dom/script/ScriptLoadRequest.h
2017-05-08 08:24:44 +02:00
Andrea Marchesini 7a4ef797cb 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

--HG--
rename : dom/base/nsScriptElement.cpp => dom/script/ScriptElement.cpp
rename : dom/base/nsScriptElement.h => dom/script/ScriptElement.h
rename : dom/base/nsScriptLoader.cpp => dom/script/ScriptLoader.cpp
rename : dom/base/nsScriptLoader.h => dom/script/ScriptLoader.h
rename : dom/base/ScriptSettings.cpp => dom/script/ScriptSettings.cpp
rename : dom/base/ScriptSettings.h => dom/script/ScriptSettings.h
rename : dom/base/nsIScriptElement.h => dom/script/nsIScriptElement.h
rename : dom/base/nsIScriptLoaderObserver.idl => dom/script/nsIScriptLoaderObserver.idl
2017-05-08 08:24:22 +02:00