Closed Bug 383421 Opened 18 years ago Closed 18 years ago

navigator.offlineResources fails in uris with no host

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: dcamp, Assigned: dcamp)

References

()

Details

Attachments

(1 file)

navigator.offlineResources fails to initialize if there's no host in the document uri (such as a javascript: uri). It's probably better to let the object creation succeed and make individual methods fail.
This patch defers initialization until methods are called on offlineResources, so that apps iterating navigator don't have to deal with failures.
Attachment #269015 - Flags: superreview?(jst)
Attachment #269015 - Flags: review?(jst)
Attachment #269015 - Flags: superreview?(jst)
Attachment #269015 - Flags: superreview+
Attachment #269015 - Flags: review?(jst)
Attachment #269015 - Flags: review+
checked in
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Flags: in-testsuite?
Component: DOM: Mozilla Extensions → DOM
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: