Bug 1334388 - Rework u2f/test/test_multiple_keys to fix intermittent r=keeler

This is a cheezy fix to u2f/tests/frame_multiple_keys.html to try and fix
the ongoing intermittents. It's cheesy because it changes this from a
HTTPS-scheme test to HTTP, which is kind of a negative change, and shouldn't
do anything to help. It does, however, make this test look identical to the
other u2f tests which _don't_ have this intermittent issue. If this commit
fixes the problem then I'll know more about this strange failure case.

MozReview-Commit-ID: JXXFshJ6AGq

--HG--
extra : rebase_source : 83b09430d36904bba49037060f615f1b7a2d9078
This commit is contained in:
J.C. Jones 2017-03-13 10:00:59 -07:00
Родитель bdf4234dd1
Коммит 487c9854bd
3 изменённых файлов: 1 добавлений и 3 удалений

Просмотреть файл

@ -22,7 +22,6 @@ function keyHandleFromRegResponse(aRegResponse) {
};
}
local_setParentOrigin("https://example.com");
local_expectThisManyTests(1);
// Ensure the SpecialPowers push worked properly

Просмотреть файл

@ -30,4 +30,3 @@ skip-if = !e10s
skip-if = !e10s
[test_multiple_keys.html]
skip-if = !e10s
scheme = https

Просмотреть файл

@ -27,7 +27,7 @@ SpecialPowers.pushPrefEnv({"set": [["security.webauth.u2f", true],
function() {
// listen for messages from the test harness
window.addEventListener("message", handleEventMessage);
document.getElementById('testing_frame').src = "frame_multiple_keys.html";
document.getElementById('testing_frame').src = "https://example.com/tests/dom/u2f/tests/frame_multiple_keys.html";
});
</script>