Closed Bug 687318 Opened 13 years ago Closed 13 years ago

Allow createProcessingInstruction in HTML

Categories

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

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla10

People

(Reporter: annevk, Assigned: Ms2ger)

References

()

Details

(Keywords: dev-doc-complete)

Attachments

(1 file, 2 obsolete files)

You can already adopt a processing instruction from one tree to another. You should be able to create them anywhere too for simplicity.
Attached patch Patch v1 (obsolete) — Splinter Review
Assignee: nobody → Ms2ger
Status: NEW → ASSIGNED
Attachment #560767 - Flags: review?(jonas)
Attached patch Patch v1.1 (obsolete) — Splinter Review
And some test fixes.
Attachment #560767 - Attachment is obsolete: true
Attachment #560767 - Flags: review?(jonas)
Attachment #560787 - Flags: review?(jonas)
Attached patch Patch v1.2Splinter Review
And now without unrelated hunks.
Attachment #560787 - Attachment is obsolete: true
Attachment #560787 - Flags: review?(jonas)
Attachment #560869 - Flags: review?(jonas)
Comment on attachment 560869 [details] [diff] [review]
Patch v1.2

Can you get another DOM peer to review this?
Attachment #560869 - Flags: review?(jonas) → review?
Comment on attachment 560869 [details] [diff] [review]
Patch v1.2


>+    if (!aShouldSucceed) {
>+      ok(0, "Invalid processing instruction creation", aReason);
ok(false, ....)
Attachment #560869 - Flags: review? → review+
That's copied from test_bug352728.*x*html, want me to change it there too?
Keywords: dev-doc-needed
OS: Mac OS X → All
Hardware: x86 → All
https://hg.mozilla.org/mozilla-central/rev/8d53336eb076
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla10
Version: unspecified → Trunk
Documentation updated:

https://developer.mozilla.org/en/DOM/document.createProcessingInstruction

And mentioned on Firefox 10 for developers.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: