зеркало из https://github.com/mozilla/gecko-dev.git
e48cee9f1d
Previously, we had the client info for main scripts on the ScriptLoadInfo, and in the ScriptLoader for non-main scripts (ImportScripts case). This was a bit confusing, so I moved it all to the ScriptLoader as in the importScripts case, it is always recreated with each new load. However, for modules this is not true. In order to make it persistant for main scripts and modules, as well as ensure that it has the correct data, it should always live on the WorkerLoadContext. Differential Revision: https://phabricator.services.mozilla.com/D147317 |
||
---|---|---|
.. | ||
loader | ||
remoteworkers | ||
sharedworkers | ||
test | ||
ChromeWorker.cpp | ||
ChromeWorker.h | ||
ChromeWorkerScope.cpp | ||
ChromeWorkerScope.h | ||
JSExecutionManager.cpp | ||
JSExecutionManager.h | ||
JSSettings.h | ||
MessageEventRunnable.cpp | ||
MessageEventRunnable.h | ||
Principal.cpp | ||
Principal.h | ||
Queue.h | ||
RegisterBindings.cpp | ||
RuntimeService.cpp | ||
RuntimeService.h | ||
ScriptLoader.cpp | ||
ScriptLoader.h | ||
Worker.cpp | ||
Worker.h | ||
WorkerCSPEventListener.cpp | ||
WorkerCSPEventListener.h | ||
WorkerCommon.h | ||
WorkerDebugger.cpp | ||
WorkerDebugger.h | ||
WorkerDebuggerManager.cpp | ||
WorkerDebuggerManager.h | ||
WorkerDocumentListener.cpp | ||
WorkerDocumentListener.h | ||
WorkerError.cpp | ||
WorkerError.h | ||
WorkerEventTarget.cpp | ||
WorkerEventTarget.h | ||
WorkerLoadInfo.cpp | ||
WorkerLoadInfo.h | ||
WorkerLocation.cpp | ||
WorkerLocation.h | ||
WorkerNavigator.cpp | ||
WorkerNavigator.h | ||
WorkerPrivate.cpp | ||
WorkerPrivate.h | ||
WorkerRef.cpp | ||
WorkerRef.h | ||
WorkerRunnable.cpp | ||
WorkerRunnable.h | ||
WorkerScope.cpp | ||
WorkerScope.h | ||
WorkerStatus.h | ||
WorkerTestUtils.cpp | ||
WorkerTestUtils.h | ||
WorkerThread.cpp | ||
WorkerThread.h | ||
moz.build | ||
nsIWorkerDebugger.idl | ||
nsIWorkerDebuggerManager.idl |