gecko-dev/dom/workers
Mark Banner 5cb239b14a Bug 1347482 - Change various DOM tests to run the navigator checks in sub-iframes. r=mystor
We have to run the navigator checks in sub-iframes as we need to set preferences which affect navigator's API
which may or may not be already initialised with the current settings. The sub-iframes will have a navigator
object set up with the expected preferences for the test.

The iframes all call into the parent to publish the test results, this is because the SimpleTest infrastructure
doesn't cope with results being published from sub-iframes.

MozReview-Commit-ID: GFVQHMVkbMP

--HG--
rename : dom/power/test/test_bug957899.html => dom/power/test/test_bug957899_iframe.html
rename : dom/presentation/tests/mochitest/test_presentation_availability.html => dom/presentation/tests/mochitest/test_presentation_availability_iframe.html
rename : dom/tests/mochitest/gamepad/test_check_timestamp.html => dom/tests/mochitest/gamepad/test_check_timestamp_iframe.html
rename : dom/tests/mochitest/gamepad/test_gamepad_connect_events.html => dom/tests/mochitest/gamepad/test_gamepad_connect_events_iframe.html
rename : dom/tests/mochitest/gamepad/test_gamepad_extensions.html => dom/tests/mochitest/gamepad/test_gamepad_extensions_iframe.html
rename : dom/tests/mochitest/gamepad/test_gamepad_frame_state_sync.html => dom/tests/mochitest/gamepad/test_gamepad_frame_state_sync_iframe.html
rename : dom/tests/mochitest/gamepad/test_gamepad_hidden_frame.html => dom/tests/mochitest/gamepad/test_gamepad_hidden_frame_iframe.html
rename : dom/tests/mochitest/gamepad/test_gamepad.html => dom/tests/mochitest/gamepad/test_gamepad_iframe.html
rename : dom/tests/mochitest/gamepad/test_navigator_gamepads.html => dom/tests/mochitest/gamepad/test_navigator_gamepads_iframe.html
rename : dom/tests/mochitest/geolocation/test_geolocation_is_undefined_when_pref_is_off.html => dom/tests/mochitest/geolocation/test_geolocation_is_undefined_when_pref_is_off_iframe.html
rename : dom/workers/test/test_navigator.html => dom/workers/test/test_navigator_iframe.html
rename : dom/workers/test/test_navigator.js => dom/workers/test/test_navigator_iframe.js
extra : rebase_source : fe0f3e342cb55b5e9da7038acb59b5e2a5c8767e
2017-04-04 21:53:27 +01:00
..
test Bug 1347482 - Change various DOM tests to run the navigator checks in sub-iframes. r=mystor 2017-04-04 21:53:27 +01:00
ChromeWorkerScope.cpp
ChromeWorkerScope.h
FileReaderSync.cpp Bug 1349572 - FileSystemSync must be able to work also with non nsISeekableStream, r=smaug 2017-03-23 10:53:40 +01:00
FileReaderSync.h
PServiceWorkerManager.ipdl Bug 1346247 - Avoid race conditions when SW are updated - part 1 - PServiceWorkerUpdater actor, r=bkelly 2017-03-28 11:48:38 +02:00
PServiceWorkerUpdater.ipdl Bug 1346247 - Avoid race conditions when SW are updated - part 1 - PServiceWorkerUpdater actor, r=bkelly 2017-03-28 11:48:38 +02:00
Principal.cpp
Principal.h
Queue.h
RegisterBindings.cpp
RuntimeService.cpp Bug 1348331 part 3. Change Preferences::RegisterCallback/RegisterCallbackAndCall/UnregisterCallback to do exact matching on the pref name, not prefix matching. r=froydnj. 2017-03-21 14:59:02 -04:00
RuntimeService.h Bug 1219523 - Remove the "dom.workers.latestJSVersion" pref. r=baku 2017-02-12 13:37:38 +09:00
ScriptLoader.cpp Bug 1339004 - Do DocGroup labeling in dom/security. r=ckerschb,smaug 2017-03-29 10:20:32 +08:00
ScriptLoader.h Bug 1333573 P2 Make nested worker pass WorkerLoadInfo to main thread when getting channel. r=baku 2017-02-07 10:28:38 -05:00
ServiceWorker.cpp Bug 1336020 - transferables should be arrays of objects, r=smaug 2017-02-03 11:00:38 +01:00
ServiceWorker.h Bug 1336020 - transferables should be arrays of objects, r=smaug 2017-02-03 11:00:38 +01:00
ServiceWorkerClient.cpp Bug 1350433 Expose WorkerPrivate::ServiceWorkerScope() instead of using WorkerName() all over the place. r=asuth 2017-03-24 19:56:48 -04:00
ServiceWorkerClient.h Bug 1266747 P3 Sort output of Clients.matchAll(). r=smaug 2017-02-28 22:12:27 -05:00
ServiceWorkerClients.cpp Bug 1343308 P1 Make Clients.matchAll() only return Clients controlled by the current service worker. r=baku 2017-03-01 13:08:54 -05:00
ServiceWorkerClients.h
ServiceWorkerCommon.h
ServiceWorkerContainer.cpp Bug 1335678 - Revert patch for bug 1302566, r=ehsan 2017-02-06 16:37:15 +01:00
ServiceWorkerContainer.h
ServiceWorkerEvents.cpp Bug 1350433 Expose WorkerPrivate::ServiceWorkerScope() instead of using WorkerName() all over the place. r=asuth 2017-03-24 19:56:48 -04:00
ServiceWorkerEvents.h Bug 1312319 - Add a NS_INLINE_DECL_PURE_VIRTUAL_REFCOUNTING macro and replace existing pure-virtual AddRef/Release declarations. r=froydnj 2017-01-25 14:51:34 -05:00
ServiceWorkerInfo.cpp Bug 1328293 - Show if a service worker is listening for fetch events in about:debugging. r=jdescottes 2017-01-22 09:03:00 +02:00
ServiceWorkerInfo.h Bug 1350398 Remove Workers.h include from BindingUtils.h now that ThrowDOMExceptionForNSResult no longer exists. rs=bz 2017-03-24 15:27:11 -04:00
ServiceWorkerJob.cpp Bug 1330693 Try to handle SW job double-completion better. r=ehsan 2017-01-16 09:17:15 -05:00
ServiceWorkerJob.h Bug 1312319 - Add a NS_INLINE_DECL_PURE_VIRTUAL_REFCOUNTING macro and replace existing pure-virtual AddRef/Release declarations. r=froydnj 2017-01-25 14:51:34 -05:00
ServiceWorkerJobQueue.cpp
ServiceWorkerJobQueue.h
ServiceWorkerManager.cpp Bug 1346247 - Avoid race conditions when SW are updated - part 3 - MozPromise, r=bkelly 2017-03-28 11:49:16 +02:00
ServiceWorkerManager.h Bug 1346247 - Avoid race conditions when SW are updated - part 3 - MozPromise, r=bkelly 2017-03-28 11:49:16 +02:00
ServiceWorkerManagerChild.cpp Bug 1346247 - Avoid race conditions when SW are updated - part 1 - PServiceWorkerUpdater actor, r=bkelly 2017-03-28 11:48:38 +02:00
ServiceWorkerManagerChild.h Bug 1346247 - Avoid race conditions when SW are updated - part 1 - PServiceWorkerUpdater actor, r=bkelly 2017-03-28 11:48:38 +02:00
ServiceWorkerManagerParent.cpp Bug 1346247 - Avoid race conditions when SW are updated - part 1 - PServiceWorkerUpdater actor, r=bkelly 2017-03-28 11:48:38 +02:00
ServiceWorkerManagerParent.h Bug 1346247 - Avoid race conditions when SW are updated - part 1 - PServiceWorkerUpdater actor, r=bkelly 2017-03-28 11:48:38 +02:00
ServiceWorkerManagerService.cpp Bug 1346247 - Avoid race conditions when SW are updated - part 1 - PServiceWorkerUpdater actor, r=bkelly 2017-03-28 11:48:38 +02:00
ServiceWorkerManagerService.h Bug 1346247 - Avoid race conditions when SW are updated - part 1 - PServiceWorkerUpdater actor, r=bkelly 2017-03-28 11:48:38 +02:00
ServiceWorkerPrivate.cpp Bug 1342255 - Fix crash in respondWith resolved callback. Don't reset interception if the sw throws after .respondWith(). r=asuth 2017-03-20 15:01:04 +00:00
ServiceWorkerPrivate.h Bug 1339116 Improve the ServiceWorkerPrivate timer code. r=asuth 2017-02-14 08:49:44 -05:00
ServiceWorkerRegisterJob.cpp Bug 1337543 P0 Sanitize the nsIPrincipal used to register a service worker to ensure CSP is not persisted. r=baku 2017-02-14 10:06:38 -05:00
ServiceWorkerRegisterJob.h Bug 1290944 - Part 3.2: Pass LOAD_BYPASS_CACHE caused by script expiration timer to ServiceWorkerInfo. r=bkelly 2017-01-04 17:08:58 +08:00
ServiceWorkerRegistrar.cpp Bug 1340163 - Introducing originNoSuffix as attribute in ContentPrincipalInfo, r=smaug 2017-03-20 16:03:45 +01:00
ServiceWorkerRegistrar.h Bug 1330984 Handle mProfileDir being cleared in ServiceWorkerRegistrar. r=baku 2017-01-16 14:30:12 -05:00
ServiceWorkerRegistrarTypes.ipdlh
ServiceWorkerRegistration.cpp Bug 1287006 - Don't pass Maybe by value in miscellaneous places. r=froydnj 2017-02-13 09:07:40 -08:00
ServiceWorkerRegistration.h Bug 1312319 - Add a NS_INLINE_DECL_PURE_VIRTUAL_REFCOUNTING macro and replace existing pure-virtual AddRef/Release declarations. r=froydnj 2017-01-25 14:51:34 -05:00
ServiceWorkerRegistrationInfo.cpp Bug 1345943 P1 Set the MessageEvent.source to ServiceWorker that called Client.postMessage(). r=asuth 2017-03-10 12:15:07 -05:00
ServiceWorkerRegistrationInfo.h Bug 1345943 P1 Set the MessageEvent.source to ServiceWorker that called Client.postMessage(). r=asuth 2017-03-10 12:15:07 -05:00
ServiceWorkerScriptCache.cpp Bug 1310127 - Part 17: Use MOZ_MUST_USE in netwerk/protocol/http r=smaug 2016-12-20 11:49:32 +08:00
ServiceWorkerScriptCache.h Bug 1312319 - Add a NS_INLINE_DECL_PURE_VIRTUAL_REFCOUNTING macro and replace existing pure-virtual AddRef/Release declarations. r=froydnj 2017-01-25 14:51:34 -05:00
ServiceWorkerUnregisterJob.cpp Bug 1330747 Always nullptr check return value from ServiceWorkerManager::GetInstance(). r=asuth 2017-01-12 14:00:36 -08:00
ServiceWorkerUnregisterJob.h
ServiceWorkerUpdateJob.cpp Bug 1333082 Handle nullptr mRegistration in ServiceWorkerUpdateJob::ContinueAfterInstallEvent(). r=asuth 2017-01-23 10:50:22 -08:00
ServiceWorkerUpdateJob.h Bug 1330747 Always nullptr check return value from ServiceWorkerManager::GetInstance(). r=asuth 2017-01-12 14:00:36 -08:00
ServiceWorkerUpdaterChild.cpp Bug 1346247 - Avoid race conditions when SW are updated - part 3 - MozPromise, r=bkelly 2017-03-28 11:49:16 +02:00
ServiceWorkerUpdaterChild.h Bug 1346247 - Avoid race conditions when SW are updated - part 3 - MozPromise, r=bkelly 2017-03-28 11:49:16 +02:00
ServiceWorkerUpdaterParent.cpp Bug 1346247 - Avoid race conditions when SW are updated - part 1 - PServiceWorkerUpdater actor, r=bkelly 2017-03-28 11:48:38 +02:00
ServiceWorkerUpdaterParent.h Bug 1346247 - Avoid race conditions when SW are updated - part 1 - PServiceWorkerUpdater actor, r=bkelly 2017-03-28 11:48:38 +02:00
ServiceWorkerWindowClient.cpp Bug 1333112 - Fix windowClient.Navigate leak. r=bkelly 2017-01-26 21:37:17 +02:00
ServiceWorkerWindowClient.h
SharedWorker.cpp Bug 1336020 - transferables should be arrays of objects, r=smaug 2017-02-03 11:00:38 +01:00
SharedWorker.h Bug 1336020 - transferables should be arrays of objects, r=smaug 2017-02-03 11:00:38 +01:00
WorkerDebuggerManager.cpp
WorkerDebuggerManager.h
WorkerHolder.cpp
WorkerHolder.h
WorkerInlines.h
WorkerLocation.cpp
WorkerLocation.h
WorkerNavigator.cpp Bug 1347425 - Part 1: Move site-specific Navigator.userAgent overrides to a more efficient C++ implementation; r=baku,schien 2017-03-28 22:10:33 -04:00
WorkerNavigator.h
WorkerPrefs.h Bug 1341738 - Implement FetchController and FetObserver - part 4 - FetchObserver WebIDL, r=bkelly 2017-03-22 11:06:23 +01:00
WorkerPrivate.cpp Bug 1339004 - Do DocGroup labeling in dom/security. r=ckerschb,smaug 2017-03-29 10:20:32 +08:00
WorkerPrivate.h Bug 1339004 - Do DocGroup labeling in dom/security. r=ckerschb,smaug 2017-03-29 10:20:32 +08:00
WorkerRunnable.cpp Bug 1331434 - Part 7: Handle custom cleanup after throwing in /dom/workers, r=baku 2017-03-07 19:06:48 -05:00
WorkerRunnable.h
WorkerScope.cpp Bug 1348453 - Make the second argument to ImageBitmap::ExtensionsEnabled() optional; r=baku 2017-03-23 10:27:41 -04:00
WorkerScope.h Bug 1348452 - Give createImageBitmap() an implicit JSContext*; r=baku 2017-03-18 11:55:31 -04:00
WorkerThread.cpp
WorkerThread.h Bug 1336527 Define RegisterIdlePeriod r=baku 2017-02-17 13:29:12 -06:00
Workers.h Bug 1350398 Remove Workers.h include from BindingUtils.h now that ThrowDOMExceptionForNSResult no longer exists. rs=bz 2017-03-24 15:27:11 -04:00
moz.build Bug 1346247 - Avoid race conditions when SW are updated - part 1 - PServiceWorkerUpdater actor, r=bkelly 2017-03-28 11:48:38 +02:00
nsIWorkerDebugger.idl
nsIWorkerDebuggerManager.idl