Closed Bug 96447 Opened 25 years ago Closed 25 years ago

document.createProcessingInstruction() throws exception

Categories

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

x86
All
defect
Not set
normal

Tracking

()

VERIFIED INVALID

People

(Reporter: stummala, Assigned: jst)

Details

From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.2) Gecko/20010726 Netscape6/6.1 BuildID: 08-13-09-trunk document.createProcessingInstruction throwed exception and this is what the console reads like .. Error: uncaught exception: [Exception... "Component returned failure code: 0x80530009 [nsIDOMHTMLDocument.createProcessingInstruction]" nsresult: "0x80530009 (<unknown>)" location: "JS frame :: http://bubblegum/ngdriver/suites/dom1/cdoc010.html :: <TOP_LEVEL> :: line 54" data: no] Reproducible: Always Steps to Reproduce: <script> var pi = document.createProcessingInstruction('php', 'echo("print something")'); alert (pi.nodeType); alert (pi.target); alert (pi.data); </script> Actual Results: no alert and error in console Expected Results: 7, php, echo("print something")
my mistake ...huh did not show up the search
dup of 69840 ... my mistake maeking INVALID
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → INVALID
dup of 69840..verified
Status: RESOLVED → VERIFIED
Component: DOM: Core → DOM: Core & HTML
QA Contact: stummala → general
You need to log in before you can comment on or make changes to this bug.