зеркало из https://github.com/mozilla/gecko-dev.git
0780d3cbda
- Using MonitorAutoLock/Monitor::Wait with the timeout argument instead of the eternal Wait() in CrashIfHangingRunnable::DispatchAndWait - Augment the runnable to use an boolean to track whether or not it has effectively "resolved" with an answer so that we only write to mMsg exactly once. While the call to Wait(timeout) indicates what happened with its CVStatus return, it's necessary to make sure that WorkerRun/Cancel check this value before potentially mutating mMsg in the event they actually do run after the timed wait has given up. - Add crash information, if the worker is a Chrome worker and in case add the executed script URL Differential Revision: https://phabricator.services.mozilla.com/D92204 |
||
---|---|---|
.. | ||
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 | ||
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 | ||
WorkerThread.cpp | ||
WorkerThread.h | ||
moz.build | ||
nsIWorkerDebugger.idl | ||
nsIWorkerDebuggerManager.idl |