WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
110949
HTMLDocumentParser::didReceiveParsedChunkFromBackgroundParser can trigger ASSERT(m_speculations.isEmpty())
https://bugs.webkit.org/show_bug.cgi?id=110949
Summary
HTMLDocumentParser::didReceiveParsedChunkFromBackgroundParser can trigger ASS...
Adam Barth
Reported
2013-02-26 23:44:39 PST
HTMLDocumentParser::didReceiveParsedChunkFromBackgroundParser can trigger ASSERT(m_speculations.isEmpty())
Attachments
Patch
(1.75 KB, patch)
2013-02-26 23:50 PST
,
Adam Barth
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Eric Seidel (no email)
Comment 1
2013-02-26 23:46:39 PST
Unpossible! There can be no bügs!
Adam Barth
Comment 2
2013-02-26 23:50:37 PST
Created
attachment 190454
[details]
Patch
Eric Seidel (no email)
Comment 3
2013-02-26 23:59:45 PST
Comment on
attachment 190454
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=190454&action=review
> Source/WebCore/html/parser/HTMLDocumentParser.cpp:311 > + if (isWaitingForScripts() || !m_speculations.isEmpty()) {
I see. So we've yielded all the way out to the event loop and are getting more data from teh background parser. I'm sure we hit this all the time in the wild and may be a source of all sorts of bad behavior!
Adam Barth
Comment 4
2013-02-27 00:02:24 PST
Yep.
WebKit Review Bot
Comment 5
2013-02-27 01:23:50 PST
Comment on
attachment 190454
[details]
Patch Clearing flags on attachment: 190454 Committed
r144158
: <
http://trac.webkit.org/changeset/144158
>
WebKit Review Bot
Comment 6
2013-02-27 01:23:54 PST
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.
Top of Page
Format For Printing
XML
Clone This Bug