зеркало из https://github.com/mozilla/gecko-dev.git
e06352c476
The intermittent failure seems to be easily reproducible locally by running the marionette test multiple times in a row using `mach marionette-test --run-until-failure ...`. Explicitly waiting for the serviceworker.txt file to be created in the Firefox profile before restarting the instance seems to be enough to allow the test to complete successfully with --run-until-profile, and so the reason behind the intermittent failure is very likely due to the Firefox instances quitting before the registered workers are being actually being stored in the profile. This patch does add a small change to the marionette test that makes sure that the test case is going to restart the Firefox instance after the serviceworker.txt file has been created in that Firefox profile. Depends on D90189 Differential Revision: https://phabricator.services.mozilla.com/D90369 |
||
---|---|---|
.. | ||
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 |