Bug 1366151 - rewrite dom/html/test/test_fullscreen-api-race.html. r=smaug

Run this test with security.data_uri.unique_opaque_origin set to false
so we can reply on SimpleTests.waitForFocus() to be fired.
This commit is contained in:
Yoshi Huang 2017-08-08 17:53:30 +08:00
Родитель eefe461ec1
Коммит 8249b8ae4c
1 изменённых файлов: 3 добавлений и 1 удалений

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

@ -35,7 +35,9 @@ addLoadEvent(function () {
SpecialPowers.pushPrefEnv({
"set": [
["full-screen-api.unprefix.enabled", true],
["full-screen-api.allow-trusted-requests-only", false]
["full-screen-api.allow-trusted-requests-only", false],
// Use legacy data: URI behavior to run test.
["security.data_uri.unique_opaque_origin", false]
]
}, next);
});