mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 20:05:49 +00:00
Bug 802562 - createElement(null) should work like createElement("null"); r=bz
This commit is contained in:
parent
70c46f800c
commit
024865a052
@ -33,7 +33,7 @@ interface nsIDOMDocument : nsIDOMNode
|
||||
readonly attribute nsIDOMDocumentType doctype;
|
||||
readonly attribute nsIDOMDOMImplementation implementation;
|
||||
readonly attribute nsIDOMElement documentElement;
|
||||
nsIDOMElement createElement(in DOMString tagName)
|
||||
nsIDOMElement createElement([Null(Stringify)] in DOMString tagName)
|
||||
raises(DOMException);
|
||||
nsIDOMDocumentFragment createDocumentFragment();
|
||||
nsIDOMText createTextNode(in DOMString data);
|
||||
|
@ -80,7 +80,7 @@ var allNSTests =
|
||||
var allNoNSTests =
|
||||
[
|
||||
{ args: [undefined] },
|
||||
{ args: [null], code: 5 },
|
||||
{ args: [null] },
|
||||
{ args: [""], code: 5 },
|
||||
{ args: ["<div>"], code: 5 },
|
||||
{ args: ["0div"], code: 5 },
|
||||
|
Loading…
Reference in New Issue
Block a user