зеркало из https://github.com/mozilla/gecko-dev.git
5cb239b14a
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 |
||
---|---|---|
.. | ||
test | ||
PowerManager.cpp | ||
PowerManager.h | ||
PowerManagerService.cpp | ||
PowerManagerService.h | ||
Types.h | ||
WakeLock.cpp | ||
WakeLock.h | ||
moz.build | ||
nsIDOMWakeLockListener.idl | ||
nsIPowerManagerService.idl |