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)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
People
(Reporter: dcamp, Assigned: dcamp)
References
()
Details
Attachments
(1 file)
(deleted),
patch
|
jst
:
review+
jst
:
superreview+
|
Details | Diff | Splinter Review |
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.
Assignee | ||
Updated•18 years ago
|
Assignee | ||
Comment 1•18 years ago
|
||
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)
Updated•18 years ago
|
Attachment #269015 -
Flags: superreview?(jst)
Attachment #269015 -
Flags: superreview+
Attachment #269015 -
Flags: review?(jst)
Attachment #269015 -
Flags: review+
Assignee | ||
Comment 2•18 years ago
|
||
checked in
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Updated•17 years ago
|
Flags: in-testsuite?
Updated•12 years ago
|
Component: DOM: Mozilla Extensions → DOM
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•