WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
38127
MediaTokenizer::writeRawData() shouldn't call finish()
https://bugs.webkit.org/show_bug.cgi?id=38127
Summary
MediaTokenizer::writeRawData() shouldn't call finish()
Yong Li
Reported
2010-04-26 09:26:49 PDT
MediaTokenizer::writeRawData() shouldn't call finish(). FrameLoader will call finish() when loading finishes, and before that, ASSERT(document()->isParsing()) will be hit. writeRawData() shouldn't call finish() anyway, because more data can come next. The similar problem exists in PluginTokenizer::writeRawData()
Attachments
the patch
(1.55 KB, patch)
2010-04-26 09:29 PDT
,
Yong Li
darin
: review-
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Yong Li
Comment 1
2010-04-26 09:29:30 PDT
Created
attachment 54305
[details]
the patch
Darin Adler
Comment 2
2010-04-26 09:35:11 PDT
Comment on
attachment 54305
[details]
the patch Which regression test triggers the assertion failure? If there is no regression test that triggers it, then we should write one. Or we need to explain why it's not possible to write on in the change log. We do not accept patches to fix bugs without regression tests. If there is some reason a regression test cannot be created, then feel free to add a comment explaining that and put it back up for review.
Yong Li
Comment 3
2010-04-26 15:52:49 PDT
(In reply to
comment #2
)
> (From update of
attachment 54305
[details]
) > Which regression test triggers the assertion failure? If there is no regression > test that triggers it, then we should write one. Or we need to explain why it's > not possible to write on in the change log. > > We do not accept patches to fix bugs without regression tests. If there is some > reason a regression test cannot be created, then feel free to add a comment > explaining that and put it back up for review.
Yeah, sorry for that. just an initial patch. Actually I'm not sure it's a good way to fix it. I hope someone who is familiar with this code can help. I'll create a test case.
Yong Li
Comment 4
2010-04-26 21:11:01 PDT
I'm trying to run webkit in safari with debug config. It always complains "Your copy of Safari is missing important software resources. Please reinstall Safari." Darin, any idea?
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