|Summary:||Web Inspector: fake workers fail if created before document is loaded|
|Product:||WebKit||Reporter:||Andrey Kosyakov <caseq>|
|Component:||Web Inspector (Deprecated)||Assignee:||Nobody <webkit-unassigned>|
|Severity:||Normal||CC:||bweinstein, commit-queue, joepeck, keishi, pfeldman, pmuellr, rik, timothy|
|Version:||528+ (Nightly build)|
Description Andrey Kosyakov 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.
Comment 1 Andrey Kosyakov 2010-03-22 09:28:37 PDT
Created attachment 51294 [details] Defer attaching fake workers iframe to document until after document is loaded
Comment 2 WebKit Commit Bot 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>
Comment 3 WebKit Commit Bot 2010-03-22 19:11:14 PDT
All reviewed patches have been landed. Closing bug.