Open
Bug 687327
Opened 13 years ago
Updated 2 years ago
declaring cache.manifest dynamically MUST raise INVALID_STATE_ERR
Categories
(Core :: DOM: Core & HTML, defect, P5)
Tracking
()
UNCONFIRMED
People
(Reporter: karl, Unassigned)
Details
Attachments
(1 file)
225 bytes,
text/plain
|
Details |
User Agent: Opera/9.80 (Macintosh; Intel Mac OS X 10.7.1; U; fr) Presto/2.9.168 Version/11.51 Steps to reproduce: Declaring a cache.manifest through Javascript <!DOCTYPE html><html> <head><meta charset=utf8><title>TEST offline</title></head> <body><script> document.documentElement.setAttribute("manifest", "cache.manifest") ; window.applicationCache.update() ; </script><body> </html> Actual results: In Firefox Error: uncaught exception: [Exception... "Security error" code: "1000" nsresult: "0x805303e8 (NS_ERROR_DOM_SECURITY_ERR)" location: "http://www.la-grange.net/2011/09/16/test-manifest.html Line: 5"] Expected results: The browser should return in the errors log INVALID_STATE_ERR FYI In Opera 12 [2011-09-16 13:00:25 UTC-04:00] JavaScript - http://www.la-grange.net/2011/09/16/test-manifest.html Inline script thread Uncaught exception: DOMException: INVALID_STATE_ERR Error thrown at line 3, column 0 in http://www.la-grange.net/2011/09/16/test-manifest.html: window.applicationCache.update() ; In Safari INVALID_STATE_ERR: DOM Exception 11: An attempt was made to use an object that is not, or is no longer, usable.
Updated•13 years ago
|
Component: General → DOM
Product: Firefox → Core
QA Contact: general → general
Comment 1•6 years ago
|
||
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046 Move all DOM bugs that haven’t been updated in more than 3 years and has no one currently assigned to P5. If you have questions, please contact :mdaly.
Priority: -- → P5
Assignee | ||
Updated•5 years ago
|
Component: DOM → DOM: Core & HTML
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•