Skip to content

Fix error overlay in Firefox - #749

Merged
gaearon merged 1 commit into
masterfrom
fix-bsod
Sep 25, 2016
Merged

gaearon merged 1 commit into
masterfrom
fix-bsod

Conversation

@gaearon

@gaearon gaearon commented Sep 25, 2016

Copy link
Copy Markdown
Contributor

Turns out, loading empty iframes is sync in some browsers, and async in others.
Fixes #747.

I also added some code to print errors to the console and clear outdated ones so they don’t distract in the console.

@gaearon gaearon added this to the 0.6.0 milestone Sep 25, 2016
@ghost ghost added the CLA Signed label Sep 25, 2016
@gaearon
gaearon merged commit e872907 into master Sep 25, 2016
lastOnOverlayDivReady(overlayDiv);
});

// Zalgo alert: onIframeLoad() will be called either synchronouly

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I ran into this issue when trying to setup dom measurement for css-layout browser testing. This was super annoying :)

@gaearon
gaearon deleted the fix-bsod branch September 26, 2016 20:15
feiqitian pushed a commit to feiqitian/create-react-app that referenced this pull request Oct 25, 2016
@lock lock Bot locked and limited conversation to collaborators Jan 22, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants