gecko-dev/dom/workers
Luca Greco e06352c476 Bug 1665184 - Wait serviceworker.txt to be created to prevent test_service_workers_at_startup intermittent failures. r=asuth
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
2020-09-16 15:47:13 +00:00
..
remoteworkers Bug 1664433 - Explicitly include Sprintf.h in RemoteWorkerManager.cpp to fix build error on ppc64le/s390x platforms. r=asuth,dom-workers-and-storage-reviewers 2020-09-15 15:24:00 +00:00
sharedworkers Bug 1654992 - Use std::move instead of SwapElements where possible. r=froydnj 2020-08-04 11:27:07 +00:00
test Bug 1665184 - Wait serviceworker.txt to be created to prevent test_service_workers_at_startup intermittent failures. r=asuth 2020-09-16 15:47:13 +00:00
ChromeWorker.cpp
ChromeWorker.h
ChromeWorkerScope.cpp
ChromeWorkerScope.h
JSExecutionManager.cpp
JSExecutionManager.h
JSSettings.h
MessageEventRunnable.cpp Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj 2020-07-01 08:29:29 +00:00
MessageEventRunnable.h
Principal.cpp
Principal.h
Queue.h
RegisterBindings.cpp
RuntimeService.cpp Bug 1664182 - Add JS::SetUseOffThreadParseGlobal and js::UseOffThreadParseGlobal, replacing JS::ContextOptions::setUseOffThreadParseGlobal. r=tcampbell 2020-09-10 16:05:39 +00:00
RuntimeService.h Bug 1652001 - Fix includes of WorkerNavigator. r=dom-workers-and-storage-reviewers,ttung 2020-07-15 12:45:12 +00:00
ScriptLoader.cpp Bug 1528649 - Remove the context parameter from nsInputStreamPump::AsyncRead. r=valentin,necko-reviewers 2020-08-05 11:21:51 +00:00
ScriptLoader.h
Worker.cpp
Worker.h Bug 1653011 - Simplify and make WeakPtr<Derived> usable and compact. r=froydnj,sg,geckoview-reviewers,jgilbert,kvark,snorp 2020-07-23 14:51:46 +00:00
WorkerCSPEventListener.cpp Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj 2020-07-01 08:29:29 +00:00
WorkerCSPEventListener.h
WorkerCommon.h
WorkerDebugger.cpp Bug 1642906 - initialize PerformanceCounter in WorkerPrivate initialization r=dom-workers-and-storage-reviewers,sg 2020-07-09 05:23:14 +00:00
WorkerDebugger.h
WorkerDebuggerManager.cpp
WorkerDebuggerManager.h
WorkerError.cpp Bug 1662251 - stop assigning from NS_Convert* values, mostly; r=sg 2020-09-02 09:54:37 +00:00
WorkerError.h
WorkerEventTarget.cpp
WorkerEventTarget.h
WorkerLoadInfo.cpp Bug 1654992 - Use std::move instead of SwapElements where possible. r=froydnj 2020-08-04 11:27:07 +00:00
WorkerLoadInfo.h Bug 1654992 - Use std::move instead of SwapElements where possible. r=froydnj 2020-08-04 11:27:07 +00:00
WorkerLocation.cpp
WorkerLocation.h
WorkerNavigator.cpp Bug 1652001 - Fix includes of WorkerNavigator. r=dom-workers-and-storage-reviewers,ttung 2020-07-15 12:45:12 +00:00
WorkerNavigator.h Bug 1652001 - Fix includes of WorkerNavigator. r=dom-workers-and-storage-reviewers,ttung 2020-07-15 12:45:12 +00:00
WorkerPrivate.cpp Bug 1654992 - Use std::move instead of SwapElements where possible. r=froydnj 2020-08-04 11:27:07 +00:00
WorkerPrivate.h Bug 1651612 - Run extra garbage collection cycle for idle workers if cycle collection collected anything r=mccr8 2020-07-10 13:55:38 +00:00
WorkerRef.cpp
WorkerRef.h
WorkerRunnable.cpp
WorkerRunnable.h
WorkerScope.cpp Bug 1663554 - Convert AUTO_PROFILER_TEXT_MARKER_... to new AUTO_PROFILER_MARKER_TEXT - r=gregtatum 2020-09-11 00:42:51 +00:00
WorkerScope.h Backed out 3 changesets (bug 1367251) for Mda failures in /test_background_video_tainted_by_createimagebitmap.html. CLOSED TREE 2020-07-15 16:37:32 +03:00
WorkerStatus.h
WorkerThread.cpp Bug 1642906 - initialize PerformanceCounter in WorkerPrivate initialization r=dom-workers-and-storage-reviewers,sg 2020-07-09 05:23:14 +00:00
WorkerThread.h
moz.build
nsIWorkerDebugger.idl
nsIWorkerDebuggerManager.idl