Closed Bug 176115 Opened 23 years ago Closed 23 years ago

document.writeln, document.cookie fail in XHTML11

Categories

(Core :: DOM: Events, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 111514

People

(Reporter: nikd, Assigned: joki)

Details

Attachments

(1 file)

621 bytes, application/xhtml+xml
Details
document.write and document.cookie (possibly other methods as well) do not work in files served as application/xhtml+xml. I can't find any information about obsoleting these methods in DOM2 HTML (which is targeted at XHTML 1.0 and thus should work fine with XHTML 1.1); they are listed in the HTMLDocument section. The JS Console says there are no such functions.
Attached file Test case
This file's javascript works in a text/html framework, but not in application/xhtml+xml.
That's because we don't even create an HTMLDocument for application/xhtml+xml. We create a normal Document. *** This bug has been marked as a duplicate of 111514 ***
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
verifying
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: