Summary: | Uncaught NOT_FOUND_ERR: DOMException 8 loading empty text file | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Jeff Johnson <opendarwin> | ||||||
Component: | DOM | Assignee: | Alexey Proskuryakov <ap> | ||||||
Status: | VERIFIED FIXED | ||||||||
Severity: | Normal | CC: | ap | ||||||
Priority: | P2 | ||||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | Mac | ||||||||
OS: | OS X 10.5 | ||||||||
Attachments: |
|
Description
Jeff Johnson
2009-06-26 16:48:28 PDT
Created attachment 31959 [details]
Sample Xcode project
I should note that I discovered the exception with Safari, which calls [(<WebDocumentText>)documentView string] when loading the file. Confirmed with r24474 (using Safari). An empty text document should have a complete HTML document structure, just like a non-empty one does. Confirmed with r45370, that is (copy/paste mistake). Created attachment 32052 [details]
proposed fix
Committed <http://trac.webkit.org/changeset/45385>. |