WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
60735
Crash when a plug-in tries to load a resource from the application cache
https://bugs.webkit.org/show_bug.cgi?id=60735
Summary
Crash when a plug-in tries to load a resource from the application cache
Anders Carlsson
Reported
2011-05-12 16:05:52 PDT
Crash when a plug-in tries to load a resource from the application cache
Attachments
Patch
(5.43 KB, patch)
2011-05-12 16:40 PDT
,
Anders Carlsson
mitz: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Anders Carlsson
Comment 1
2011-05-12 16:40:36 PDT
Created
attachment 93364
[details]
Patch
mitz
Comment 2
2011-05-12 16:44:28 PDT
Comment on
attachment 93364
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=93364&action=review
> Source/WebCore/ChangeLog:11 > + This lead to the plug-in stream loader canceling the load, something which the application
typo: lead
> Source/WebCore/loader/DocumentLoader.cpp:601 > + > + // Calling ResourceLoader::didReceiveResponse can end up cancelling the load, > + // so we need to check if the loader has reached its terminal state. > + if (loader->reachedTerminalState()) > + return; > + > + // Calling ResourceLoader::didReceiveData can end up cancelling the load, > + // so we need to check if the loader has reached its terminal state. > loader->didReceiveData(data->data(), data->size(), data->size(), true); > + if (loader->reachedTerminalState())
The inconsistent way you order the comments is weird and inconsistent.
Anders Carlsson
Comment 3
2011-05-12 16:45:41 PDT
Committed
r86397
: <
http://trac.webkit.org/changeset/86397
>
Yong Li
Comment 4
2011-06-09 11:37:13 PDT
Can we assume the http status code is always 200 when resource is loaded from app cache? A status code other than 200 may cause unexpected problems
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