WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
115140
Implementors of CachedResource subclasses should be forced to decide if encoded data can be replaced
https://bugs.webkit.org/show_bug.cgi?id=115140
Summary
Implementors of CachedResource subclasses should be forced to decide if encod...
Brady Eidson
Reported
2013-04-24 16:25:10 PDT
Implementors of CachedResource subclasses should be forced to decide if encoded data can be replaced Came out of discussion in
https://bugs.webkit.org/show_bug.cgi?id=115131
Attachments
Patch v1
(5.96 KB, patch)
2013-04-24 16:27 PDT
,
Brady Eidson
webkit-ews
: commit-queue-
Details
Formatted Diff
Diff
Patch v2
(5.97 KB, patch)
2013-04-24 16:38 PDT
,
Brady Eidson
bdakin
: review+
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Brady Eidson
Comment 1
2013-04-24 16:27:55 PDT
Created
attachment 199534
[details]
Patch v1
Early Warning System Bot
Comment 2
2013-04-24 16:32:28 PDT
Comment on
attachment 199534
[details]
Patch v1
Attachment 199534
[details]
did not pass qt-ews (qt): Output:
http://webkit-queues.appspot.com/results/178193
Early Warning System Bot
Comment 3
2013-04-24 16:34:09 PDT
Comment on
attachment 199534
[details]
Patch v1
Attachment 199534
[details]
did not pass qt-wk2-ews (qt-wk2): Output:
http://webkit-queues.appspot.com/results/96958
Brady Eidson
Comment 4
2013-04-24 16:35:49 PDT
Oh boy, somebody creates CachedResources directly... that's bogus. *sigh*
kov's GTK+ EWS bot
Comment 5
2013-04-24 16:36:24 PDT
Comment on
attachment 199534
[details]
Patch v1
Attachment 199534
[details]
did not pass gtk-wk2-ews (gtk-wk2): Output:
http://webkit-queues.appspot.com/results/206125
Brady Eidson
Comment 6
2013-04-24 16:38:26 PDT
Created
attachment 199535
[details]
Patch v2
Beth Dakin
Comment 7
2013-04-24 17:13:06 PDT
Comment on
attachment 199535
[details]
Patch v2 This patch looks good, but I am not sure about the name mayTryReplaceEncodedData(). "try replace" just sounds awkward. mayTryToReplaceEncodedData()?
Brady Eidson
Comment 8
2013-04-24 17:15:00 PDT
(In reply to
comment #7
)
> (From update of
attachment 199535
[details]
) > This patch looks good, but I am not sure about the name mayTryReplaceEncodedData(). "try replace" just sounds awkward. mayTryToReplaceEncodedData()?
The wording is symmetrical with the call that this method enables, which is "tryReplaceEncodedData()" If I recall, there was a small bit of debate on that naming a month ago, but it's what we stuck with. =/ Thanks for the review!
Brady Eidson
Comment 9
2013-04-24 17:16:38 PDT
http://trac.webkit.org/changeset/149079
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