mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-16 14:55:47 +00:00
Bug 1401081 - Wait one more cycle to finish css loading. r=kmag
MozReview-Commit-ID: DSai1moD2Qy
This commit is contained in:
parent
451dcb314e
commit
87b9f374e9
@ -101,6 +101,9 @@ async function test_i18n_css(options = {}) {
|
||||
|
||||
let contentPage = await ExtensionTestUtils.loadContentPage(`${BASE_URL}/file_sample.html`);
|
||||
|
||||
// workaround for extension may not be ready for applying foo.css
|
||||
await new Promise(do_execute_soon);
|
||||
|
||||
let maxWidth = await ContentTask.spawn(contentPage.browser, {}, async function() {
|
||||
/* globals content */
|
||||
let style = content.getComputedStyle(content.document.body);
|
||||
|
Loading…
Reference in New Issue
Block a user