Bug 23001 - A call to applicationCache.update() from a cached event listener should be ignored
Summary: A call to applicationCache.update() from a cached event listener should be ig...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P3 Minor
Assignee: Alexey Proskuryakov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-26 10:24 PST by Alexey Proskuryakov
Modified: 2008-12-26 10:52 PST (History)
0 users

See Also:


Attachments
proposed fix (5.91 KB, patch)
2008-12-26 10:26 PST, Alexey Proskuryakov
darin: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Proskuryakov 2008-12-26 10:24:19 PST
Per HTML5, applicationCache.update() should be a no-op if cache group update status is not Idle - and it is reset to Idle after dispatching noupdate and cached events. We only have it right in noupdate case now.
Comment 1 Alexey Proskuryakov 2008-12-26 10:26:16 PST
Created attachment 26256 [details]
proposed fix
Comment 2 Darin Adler 2008-12-26 10:47:30 PST
Comment on attachment 26256 [details]
proposed fix

r=me
Comment 3 Alexey Proskuryakov 2008-12-26 10:52:28 PST
Committed revision 39478.