WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
23023
Remove incomplete support for opportunistic apcache entries
https://bugs.webkit.org/show_bug.cgi?id=23023
Summary
Remove incomplete support for opportunistic apcache entries
Alexey Proskuryakov
Reported
2008-12-29 04:08:47 PST
They weren't ever really supported, but no that they were removed from the spec, we can get rid of them completely.
Attachments
proposed patch
(3.66 KB, patch)
2008-12-29 04:10 PST
,
Alexey Proskuryakov
sam
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Alexey Proskuryakov
Comment 1
2008-12-29 04:10:55 PST
Created
attachment 26289
[details]
proposed patch
Sam Weinig
Comment 2
2008-12-29 15:53:34 PST
Comment on
attachment 26289
[details]
proposed patch r=me.
> Index: WebCore/loader/appcache/ApplicationCacheResource.h > =================================================================== > --- WebCore/loader/appcache/ApplicationCacheResource.h (revision 39497) > +++ WebCore/loader/appcache/ApplicationCacheResource.h (working copy) > @@ -40,7 +40,7 @@ public: > Explicit = 1 << 2, > Foreign = 1 << 3, > Fallback = 1 << 4, > - Opportunistic = 1 << 5, > + // Bit 5 was used for opportunistic entries, which were removed from the spec. > Dynamic = 1 << 6
You should note in the changelog the reason you can't change Dynamic to use bit-5.
David Levin
Comment 3
2008-12-29 16:09:44 PST
Typo in ChangeLog:
> Remove incomplete support for opportunistic apcache entries
s/apcache/appcache/
Darin Adler
Comment 4
2008-12-30 10:35:34 PST
Comment on
attachment 26289
[details]
proposed patch
> - Opportunistic = 1 << 5, > + // Bit 5 was used for opportunistic entries, which were removed from the spec. > Dynamic = 1 << 6 > };
Why keep this comment? Why not renumber Dynamic to use bit 5?
Alexey Proskuryakov
Comment 5
2008-12-30 10:52:44 PST
Committed <
http://trac.webkit.org/projects/webkit/changeset/39514
>.
Alexey Proskuryakov
Comment 6
2008-12-30 10:54:20 PST
(In reply to
comment #4
)
> Why keep this comment? Why not renumber Dynamic to use bit 5?
Maybe I could do that, given that neither fallback nor dynamic entries were stored before - but I'm going to bump schema version soon, which will be a good opportunity to change this.
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