gecko-dev/dom/presentation
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
..
interfaces Bug 1259349 - Filter the device availability by URL. r=smaug 2016-11-07 22:13:00 -05:00
ipc Bug 1345696 part 1 - Lots of fixup for the next patch. r=heycam 2017-03-28 20:05:12 +11:00
provider Bug 1337467 - Convert observers to bundle events; r=rbarker r=sebastian 2017-03-07 12:34:04 -05:00
tests Bug 1347482 - Change various DOM tests to run the navigator checks in sub-iframes. r=mystor 2017-04-04 21:53:27 +01:00
AvailabilityCollection.cpp
AvailabilityCollection.h
ControllerConnectionCollection.cpp
ControllerConnectionCollection.h
DCPresentationChannelDescription.cpp
DCPresentationChannelDescription.h
Presentation.cpp Bug 1310845 - Remove support for mozapp iframes; r=fabrice,jryans,baku,mcmanus 2016-11-16 09:13:38 -05:00
Presentation.h Bug 1314229 - return undefined/null for defaultRequest/receiver if not in corresponding UA or context. r=smaug. 2016-11-02 17:53:31 +08:00
PresentationAvailability.cpp Bug 1259349 - Filter the device availability by URL. r=smaug 2016-11-07 22:13:00 -05:00
PresentationAvailability.h Bug 1259349 - Filter the device availability by URL. r=smaug 2016-11-07 22:13:00 -05:00
PresentationCallbacks.cpp Bug 1311375 - promise reject when there is an unsettled presentation start procedure. r=smaug 2016-10-31 15:49:32 +08:00
PresentationCallbacks.h
PresentationConnection.cpp Bug 1336510 - Part 2: Fix lambda captures of this in PresentationConnection, r=smaug 2017-02-24 14:34:20 -05:00
PresentationConnection.h Bug 1291971 - Part 1, enable controller idlharness test. r=smaug. 2016-10-04 00:22:34 +02:00
PresentationConnectionList.cpp
PresentationConnectionList.h
PresentationDataChannelSessionTransport.js Bug 1344711 - script-generated patch to remove try blocks around get*Pref calls, r=jaws. 2017-03-07 15:29:48 +01:00
PresentationDataChannelSessionTransport.manifest
PresentationDeviceInfoManager.js
PresentationDeviceInfoManager.jsm Bug 1312101 - Part 1: Remove permission assertions through the message manager; r=baku 2016-11-16 14:51:04 -05:00
PresentationDeviceInfoManager.manifest
PresentationDeviceManager.cpp
PresentationDeviceManager.h
PresentationLog.h
PresentationNetworkHelper.js Bug 1323576 - Convert GeckoNetworkManager events to bundle events; r=sebastian 2016-12-18 08:10:18 -05:00
PresentationNetworkHelper.manifest
PresentationReceiver.cpp Bug 1060419 - make log_print use Printf.h, r=froydnj 2016-12-15 20:16:31 -07:00
PresentationReceiver.h Bug 1291971 - Part 1, enable controller idlharness test. r=smaug. 2016-10-04 00:22:34 +02:00
PresentationRequest.cpp Bug 1328653 - Merging all the various *OriginAttributes to just one, r=huseby 2017-01-12 17:38:48 +01:00
PresentationRequest.h Bug 1311375 - promise reject when there is an unsettled presentation start procedure. r=smaug 2016-10-31 15:49:32 +08:00
PresentationService.cpp Bug 1060419 - make log_print use Printf.h, r=froydnj 2016-12-15 20:16:31 -07:00
PresentationService.h Bug 1259349 - Filter the device availability by URL. r=smaug 2016-11-07 22:13:00 -05:00
PresentationServiceBase.h Bug 1259349 - Filter the device availability by URL. r=smaug 2016-11-07 22:13:00 -05:00
PresentationSessionInfo.cpp Bug 1060419 - make log_print use Printf.h, r=froydnj 2016-12-15 20:16:31 -07:00
PresentationSessionInfo.h
PresentationSessionRequest.cpp
PresentationSessionRequest.h
PresentationTCPSessionTransport.cpp Bug 1060419 - make log_print use Printf.h, r=froydnj 2016-12-15 20:16:31 -07:00
PresentationTCPSessionTransport.h
PresentationTerminateRequest.cpp
PresentationTerminateRequest.h
PresentationTransportBuilderConstructor.cpp
PresentationTransportBuilderConstructor.h
moz.build Bug 1339232 - annotate more dom/* moz.build files with BUG_COMPONENT. r=overholt 2017-03-01 08:20:25 -05:00