Closed Bug 765203 Opened 14 years ago Closed 14 years ago

Support mode "unknown" when parsing cache manifest

Categories

(Core :: Networking: Cache, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla16

People

(Reporter: mayhemer, Assigned: mayhemer)

References

()

Details

Attachments

(1 file)

No description provided.
We have to allow sections other then e.g. NETWORK, EXPLICIT etc simply by ignoring/skipping them. This is needed for forward compatibility when the spec adds new sections, as has happened recently. This should be tracked for FX16 as this is very simple and safe to implement and compat important.
Assignee: honzab.moz → jschoenick
Steeling the bug back. I would like to get this done for Fx16.
Assignee: jschoenick → honzab.moz
Attached patch v1 — — Splinter Review
- const_iterator doesn't support - operator.. quit sad. - end cannot be equal to begin since there if it would, the method would exit earlier above (there is if (begin == end || *begin == '#') return NS_OK;)
Attachment #641565 - Flags: review?(jduell.mcbugs)
Status: NEW → ASSIGNED
(In reply to Honza Bambas (:mayhemer) from comment #1) > This should be tracked > for FX16 as this is very simple and safe to implement and compat important. The only part of that justification that qualifies for tracking is the compatibility importance. Can you give us more context there? Thanks!
Comment on attachment 641565 [details] [diff] [review] v1 Both code + test look good.
Attachment #641565 - Flags: review?(jduell.mcbugs) → review+
(In reply to Alex Keybl [:akeybl] from comment #4) > The only part of that justification that qualifies for tracking is the > compatibility importance. Can you give us more context there? Thanks! In the current-work spec it is marked as ready-for-first-implementation. I checked with chrome (dev channel) that it supports unknown sections. There has recently been introduced SETTINGS section, that when encountered by our manifest parser leads to break of the manifest load and thus the whole app doesn't get cached. I'm going to land this patch now, since it is simple, has a test, and I don't see any reason why we should hold it back.
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla16
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: