зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1672238 - Fix test_nullCharFile.xhtml on fission x-origin. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D94784
This commit is contained in:
Родитель
4afbc20031
Коммит
fc2ec63b44
|
@ -27,7 +27,7 @@ add_task(async function() {
|
|||
});
|
||||
const a = document.createElement('a');
|
||||
// Pass an unknown mimetype so we don't "correct" the extension:
|
||||
a.href = URL.createObjectURL(new Blob(["test"], {type: "application/x-gobbledygook-firefox-unknown"}));
|
||||
a.href = "data:application/baconizer;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAAAAAA6fptVAAAACklEQVQI12NgAAAAAgAB4iG8MwAAAABJRU5ErkJggg==";
|
||||
a.download = name;
|
||||
a.dispatchEvent(new MouseEvent('click'));
|
||||
is((await promiseName), expected, "got the expected sanitized name");
|
||||
|
|
Загрузка…
Ссылка в новой задаче