RESOLVED FIXED 36445
Web Inspector: fake workers fail if created before document is loaded
https://bugs.webkit.org/show_bug.cgi?id=36445
Summary Web Inspector: fake workers fail if created before document is loaded
Andrey Kosyakov
Reported 2010-03-22 08:54:09 PDT
Fake workers implementation that is used when Debug checkbox on Workers sidebar is ticked currently use iframes to simulate workers. The implementation attempts to append iframe to document right at the time of fake worker creation, so it fails if document is not yet loaded. Fake workers should detect that no document.body is present yet and defer iframe creation.
Attachments
Defer attaching fake workers iframe to document until after document is loaded (3.02 KB, patch)
2010-03-22 09:28 PDT, Andrey Kosyakov
no flags
Andrey Kosyakov
Comment 1 2010-03-22 09:28:37 PDT
Created attachment 51294 [details] Defer attaching fake workers iframe to document until after document is loaded
WebKit Commit Bot
Comment 2 2010-03-22 19:11:09 PDT
Comment on attachment 51294 [details] Defer attaching fake workers iframe to document until after document is loaded Clearing flags on attachment: 51294 Committed r56374: <http://trac.webkit.org/changeset/56374>
WebKit Commit Bot
Comment 3 2010-03-22 19:11:14 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.