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
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
Presentation.h
PresentationAvailability.cpp
PresentationAvailability.h
PresentationCallbacks.cpp
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
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
PresentationDeviceInfoManager.manifest
PresentationDeviceManager.cpp
PresentationDeviceManager.h
PresentationLog.h
PresentationNetworkHelper.js
PresentationNetworkHelper.manifest
PresentationReceiver.cpp Bug 1060419 - make log_print use Printf.h, r=froydnj 2016-12-15 20:16:31 -07:00
PresentationReceiver.h
PresentationRequest.cpp
PresentationRequest.h
PresentationService.cpp Bug 1060419 - make log_print use Printf.h, r=froydnj 2016-12-15 20:16:31 -07:00
PresentationService.h
PresentationServiceBase.h
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