Created
June 29, 2010 06:53
-
-
Save kageroh/456891 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var dom = exports; | |
(function() { | |
function extend(d, s) { for (var p in s) d[p] = s[p]; } | |
/* ================ Node ================ */ | |
dom.Node = Node; | |
function Node() {}; | |
Node.__defineGetter__('ELEMENT_NODE' , function() { return 1; }); | |
Node.__defineGetter__('ATTRIBUTE_NODE' , function() { return 2; }); | |
Node.__defineGetter__('TEXT_NODE' , function() { return 3; }); | |
Node.__defineGetter__('CDATA_SECTION_NODE' , function() { return 4; }); | |
Node.__defineGetter__('ENTITY_REFERENCE_NODE' , function() { return 5; }); | |
Node.__defineGetter__('ENTITY_NODE' , function() { return 6; }); | |
Node.__defineGetter__('PROCESSING_INSTRUCTION_NODE', function() { return 7; }); | |
Node.__defineGetter__('COMMENT_NODE' , function() { return 8; }); | |
Node.__defineGetter__('DOCUMENT_NODE' , function() { return 9; }); | |
Node.__defineGetter__('DOCUMENT_TYPE_NODE' , function() { return 10; }); | |
Node.__defineGetter__('DOCUMENT_FRAGMENT_NODE' , function() { return 11; }); | |
Node.__defineGetter__('NOTATION_NODE' , function() { return 12; }); | |
Node.create = function(spec, my) { | |
my = my || {}; | |
var that = new Node(); | |
var _nodeName = spec.nodeName; | |
that.nodeValue = spec.nodeValue; | |
var _nodeType = spec.nodeType; | |
that._parentNode = null; | |
that._childNodes = []; | |
that._ownerDocument = null; | |
that.__defineGetter__('nodeName' , function() { return _nodeName; }); | |
that.__defineGetter__('nodeType' , function() { return _nodeType; }); | |
that.__defineGetter__('parentNode' , function() { return that._parentNode; }); | |
that.__defineGetter__('childNodes' , function() { return that._childNodes; }); | |
that.__defineGetter__('ownerDocument', function() { return that._ownerDocument; }); | |
that.insertBefore = insertBefore; | |
that.replaceChild = replaceChild; | |
that.removeChild = removeChild; | |
that.appendChild = appendChild; | |
that.hasChildNodes = hasChildNodes; | |
my.getElementsByTagName = function(tagName) { | |
var ret = []; | |
fn(that); | |
return ret; | |
function fn(context) { | |
context._childNodes.forEach(function(node) { | |
if (node.tagName === tagName) { | |
ret.push(node); | |
} | |
if (node.hasChildNodes()) { | |
fn(node); | |
} | |
}); | |
} | |
}; | |
function insertBefore(newChild, refChild) { | |
newChild._parentNode = that; | |
that._childNodes.splice(findChildIndex(refChild), 0, newChild); | |
return newChild; | |
} | |
function replaceChild(newChild, oldChild) { | |
newChild._parentNode = that; | |
that._childNodes.splice(findChildIndex(oldChild), 1, newChild); | |
return newChild; | |
} | |
function removeChild(oldChild) { | |
oldChild._parentNode = null; | |
that._childNodes.splice(findChildIndex(oldChild), 1); | |
return oldChild; | |
} | |
function appendChild(newChild) { | |
newChild._parentNode = that; | |
that._childNodes.push(newChild); | |
return newChild; | |
} | |
function hasChildNodes() { | |
return that._childNodes.length > 0; | |
} | |
function findChildIndex(refChild) { | |
var children = that._childNodes; | |
for (var i = 0; i < children.length; i++) { | |
var child = children[i]; | |
if (child === refChild) { | |
return i; | |
} | |
} | |
} | |
return that; | |
}; | |
/* ================ Element ================ */ | |
dom.Element = Element; | |
function Element() {}; | |
Element.prototype = new Node(); | |
Element.create = function(spec, my) { | |
spec.nodeName = spec.tagName; | |
spec.nodeValue = null; | |
spec.nodeType = Node.ELEMENT_NODE; | |
my = my || {}; | |
var that = new Element(); | |
extend(that, Node.create(spec, my)); | |
var _tagName = spec.tagName; | |
that.__defineGetter__('tagName', function() { return _tagName; }); | |
that.getAttribute = getAttribute; | |
that.setAttribute = setAttribute; | |
that.removeAttribute = removeAttribute; | |
that.getAttributeNode = getAttributeNode; | |
that.setAttributeNode = setAttributeNode; | |
that.removeAttributeNode = removeAttributeNode; | |
that.getElementsByTagName = my.getElementsByTagName; | |
my.attr = {}; | |
function getAttribute(name) { | |
return my.attr[name].value; | |
} | |
function setAttribute(name, value) { | |
var attr = Attr.create({ | |
name : name, | |
value : value | |
}); | |
my.attr[name] = attr; | |
return attr; | |
} | |
function removeAttribute(name) { | |
var attr = my.attr[name]; | |
delete my.attr[name]; | |
return attr; | |
} | |
function getAttributeNode(name) { | |
return my.attr[name]; | |
} | |
function setAttributeNode(attr) { | |
my.attr[attr.name] = attr; | |
return attr; | |
} | |
function removeAttributeNode(attr) { | |
for (var name in my.attr) { | |
if (my.attr[name] === attr) { | |
removeAttribute(name); | |
} | |
} | |
return attr; | |
} | |
return that; | |
}; | |
/* ================ Attr ================ */ | |
dom.Attr = Attr; | |
function Attr() {}; | |
Attr.prototype = new Node(); | |
Attr.create = function(spec, my) { | |
spec.nodeName = spec.name; | |
spec.nodeValue = spec.value; | |
spec.nodeType = Node.ATTRIBUTE_NODE; | |
my = my || {}; | |
var that = new Attr(); | |
extend(that, Node.create(spec, my)); | |
var _name = spec.name; | |
var _value = spec.value; | |
that.__defineGetter__('name' , function( ) { return _name; }); | |
that.__defineGetter__('value' , function( ) { return _value; }); | |
that.__defineSetter__('value' , function(v) { _value = v; }); | |
that.__defineGetter__('nodeValue', function( ) { return that.value; }); | |
that.__defineSetter__('nodeValue', function(v) { that.value = v; }); | |
return that; | |
}; | |
/* ================ Text ================ */ | |
dom.Text = Text; | |
function Text() {}; | |
Text.prototype = new Node(); | |
Text.create = function(spec, my) { | |
spec.nodeName = '#text'; | |
spec.nodeValue = spec.data; | |
spec.nodeType = Node.TEXT_NODE; | |
my = my || {}; | |
var that = new Text(); | |
extend(that, Node.create(spec, my)); | |
return that; | |
}; | |
/* ================ Document ================ */ | |
dom.Document = Document; | |
function Document() {}; | |
Document.prototype = new Node(); | |
Document.create = function(spec, my) { | |
spec.nodeName = '#document'; | |
spec.nodeValue = null; | |
spec.nodeType = Node.DOCUMENT_NODE; | |
my = my || {}; | |
var that = new Document(); | |
extend(that, Node.create(spec, my)); | |
that.createElement = createElement; | |
that.createTextNode = createTextNode; | |
that.createAttribute = createAttribute; | |
that.getElementsByTagName = my.getElementsByTagName; | |
function createElement(tagName) { | |
var node = Element.create({ | |
tagName: tagName | |
}); | |
node._ownerDocument = that; | |
return node; | |
} | |
function createTextNode(data) { | |
var node = Text.create({ | |
data: data | |
}); | |
node._ownerDocument = that; | |
return node; | |
} | |
function createAttribute(name) { | |
var node = Attr.create({ | |
name : name, | |
value : '' | |
}); | |
node._ownerDocument = that; | |
return node; | |
} | |
return that; | |
}; | |
})(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fs = require('fs'), | |
sys = require('sys'), | |
Gin = require('./gin').Gin, | |
dom = require('./dom'); | |
(function() { | |
var gin = new Gin.Grammar({ | |
document : / prolog element Misc* /, | |
Char : / <(?:[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD]|[\uD800-\uDBFF][\uDC00-\uDFFF])> /, | |
S : / <[\x20\x09\x0D\x0A]+> /, | |
NameStartChar : / <[:A-Z_a-z\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]> /, | |
NameChar : / NameStartChar | <[\-.0-9\xB7\u0300-\u036F\u203F-\u2040]> /, | |
Name : / NameStartChar NameChar* /, | |
Nmtoken : / NameChar+ /, | |
EntityValue : / ( '"' ( <[^%&\"]> | PEReference | Reference )* '"' ) | ( "'" ( <[^%&\']> | PEReference | Reference )* "'" ) /, | |
AttValue : / ( '"' ( <[^<&\"]> | Reference )* '"' ) | ( "'" ( <[^<&\']> | Reference )* "'" ) /, | |
SystemLiteral : / <(?:"[^\"]*"|'[^\']*')> /, | |
PubidLiteral : / ( '"' PubidChar* '"' ) | ( "'" ( PubidChar - "'" )* "'" ) /, | |
PubidChar : / <[\x20\x0D\x0Aa-zA-Z0-9\-\'()+,.\/:=?;!*#@$_%]> /, | |
CharData : / <[^<&]*> - ( <[^<&]*> '\]\]>' <[^<&]*> ) ::char_data /, | |
Comment : / '<!--' ( ( Char - '-' ) | ( '-' ( Char - '-' ) ) )* '-->' /, | |
PI : / '<?' PITarget ( S ( Char* - ( Char* '?>' Char* ) ) )? '?>' /, | |
PITarget : / Name - <[Xx][Mm][Ll]> /, | |
CDSect : / CDStart CData CDEnd /, | |
CDStart : / '<!\[CDATA\[' /, | |
CData : / ( Char* - ( Char* '\]\]>' Char* ) ) /, | |
CDEnd : / '\]\]>' /, | |
prolog : / XMLDecl? Misc* ( doctypedecl Misc* )? /, | |
XMLDecl : / '<?xml' VersionInfo EncodingDecl? SDDecl? S? '?>' /, | |
VersionInfo : / S 'version' Eq ( ( "'" VersionNum "'" ) | ( '"' VersionNum '"' ) ) /, | |
Eq : / S? '=' S? /, | |
VersionNum : / <1\.[0-9]+> /, | |
Misc : / Comment | PI | S /, | |
doctypedecl : / '<!DOCTYPE' S Name ( S ExternalID )? S? ( '\[' intSubset '\]' S? )? '>' /, | |
DeclSep : / PEReference | S /, | |
intSubset : / ( markupdecl | DeclSep )* /, | |
markupdecl : / elementdecl | AttlistDecl | EntityDecl | NotationDecl | PI | Comment /, | |
extSubset : / TextDecl? extSubsetDecl /, | |
extSubsetDecl : / ( markupdecl | conditionalSect | DeclSep )* /, | |
SDDecl : / S 'standalone' Eq <(?:'(?:yes|no)'|"(?:yes|no)")> /, | |
element : / EmptyElemTag | ( STag content ETag ) ::element /, | |
STag : / '<' Name ( S Attribute )* S? '>' ::stag /, | |
Attribute : / Name Eq AttValue /, | |
ETag : / '<\/' Name S? '>' ::etag /, | |
content : / CharData? ( ( element | Reference | CDSect | PI | Comment ) CharData? )* /, | |
EmptyElemTag : / '<' Name ( S Attribute )* S? '\/>' /, | |
elementdecl : / '<!ELEMENT' S Name S contentspec S? '>' /, | |
contentspec : / <(?:EMPTY|ANY)> | Mixed | children /, | |
children : / ( choice | seq ) <[?*+]?> /, | |
cp : / ( Name | choice | seq ) <[?*+]?> /, | |
choice : / '(' S? cp ( S? '|' S? cp )+ S? ')' /, | |
seq : / '(' S? cp ( S? ',' S? cp )* S? ')' /, | |
Mixed : / ( '(' S? '#PCDATA' ( S? '|' S? Name )* S? ')*' ) | ( '(' S? '#PCDATA' S? ')' ) /, | |
AttlistDecl : / '<!ATTLIST' S Name AttDef* S? '>' /, | |
AttDef : / S Name S AttType S DefaultDecl /, | |
AttType : / StringType | TokenizedType | EnumeratedType /, | |
StringType : / 'CDATA' /, | |
TokenizedType : / <(?:ID|IDREF|IDREFS|ENTITY|ENTITIES|NMTOKEN|NMTOKENS)> /, | |
EnumeratedType : / NotationType | Enumeration /, | |
NotationType : / 'NOTATION' S '(' S? Name ( S? '|' S? Name )* S? ')' /, | |
Enumeration : / '(' S? Nmtoken ( S? '|' S? Nmtoken )* S? ')' /, | |
DefaultDecl : / <(?:#REQUIRED|#IMPLIED)> | ( ( '#FIXED' S )? AttValue ) /, | |
conditionalSect : / includeSect | ignoreSect /, | |
includeSect : / '<!\[' S? 'INCLUDE' S? '\[' extSubsetDecl '\]\]>' /, | |
ignoreSect : / '<!\[' S? 'IGNORE' S? '\[' ignoreSectContents* '\]\]>' /, | |
ignoreSectContents : / Ignore ( '<!\[' ignoreSectContents '\]\]>' Ignore )* /, | |
Ignore : / Char* - ( Char* <(?:\<!\[|\]\]\>)> Char* ) /, | |
CharRef : / <&#[0-9]+;> | <&#x[0-9a-fA-F]+;> /, | |
Reference : / EntityRef | CharRef /, | |
EntityRef : / '&' Name ';' /, | |
PEReference : / '%' Name ';' /, | |
EntityDecl : / GEDecl | PEDecl /, | |
GEDecl : / '<!ENTITY' S Name S EntityDef S? '>' /, | |
PEDecl : / '<!ENTITY' S '%' S Name S PEDef S? '>' /, | |
EntityDef : / EntityValue | ( ExternalID NDataDecl? ) /, | |
PEDef : / EntityValue | ExternalID /, | |
ExternalID : / ( 'SYSTEM' S SystemLiteral ) | ( 'PUBLIC' S PubidLiteral S SystemLiteral ) /, | |
NDataDecl : / S 'NDATA' S Name /, | |
TextDecl : / '<?xml' VersionInfo? EncodingDecl S? '?>' /, | |
extParsedEnt : / TextDecl? content /, | |
EncodingDecl : / S 'encoding' Eq ( '"' EncName '"' ) | ( "'" EncName "'" ) /, | |
EncName : / <[A-Za-z][A-Za-z0-9._\-]*> /, | |
NotationDecl : / '<!NOTATION' S Name S ( ExternalID | PublicID ) S? '>' /, | |
PublicID : / 'PUBLIC' S PubidLiteral / | |
}, 'document', Gin.NOTHING); | |
var Act = function() {}; | |
Act.create = function(spec, my) { | |
var that; | |
my = my || {}; | |
that = new Act(); | |
that.get = get; | |
that.char_data = char_data; | |
that.element = element; | |
that.stag = stag; | |
that.etag = etag; | |
my.s = []; | |
my.depth = 1; | |
my.trim = (function() { | |
var re = /^\s+|\s+$/g; | |
return function(str) { | |
return str.replace(re, ''); | |
}; | |
})(); | |
function get() { | |
return my.s; | |
} | |
function push(v) { | |
v.depth = my.depth; | |
my.s.push(v); | |
} | |
function char_data(v) { | |
v.node_value = my.trim(v.join('')); | |
if (v.node_value) { | |
v.node_type = dom.Node.TEXT_NODE; | |
push(v); | |
} | |
} | |
function element(v) { | |
v.node_type = dom.Node.ELEMENT_NODE; | |
push(v); | |
} | |
function stag(v) { | |
++my.depth; | |
} | |
function etag(v) { | |
--my.depth; | |
} | |
return that; | |
}; | |
fs.readFile('./example.xml', 'utf8', function(err, data) { | |
if (err) throw err; | |
var str = [ | |
'<!DOCTYPE root>', | |
'<root attr="zokusei">', | |
' <foo>', | |
' <hoge/>', | |
' <piyo/>', | |
' </foo>', | |
' <bar>', | |
' <fuga/>', | |
' </bar>', | |
' <baz/>', | |
' <foo>', | |
' <hoge>', | |
' <qux>', | |
' quux', | |
' </qux>', | |
' </hoge>', | |
' </foo>', | |
' <bar/>', | |
'</root>' | |
].join('\n'); | |
// str = data.toString(); | |
var act = Act.create(); | |
var match = gin.parse(str, act); | |
if (!match || !match.full) { | |
sys.puts('err'); | |
return; | |
} | |
var depth = 0, children = [], document = dom.Document.create({}); | |
act.get().forEach(function(val) { | |
var current; | |
switch (val.node_type) { | |
case dom.Node.ELEMENT_NODE: | |
current = document.createElement(val[0][1].join('')); | |
break; | |
default: | |
case dom.Node.TEXT_NODE: | |
current = document.createTextNode(val.node_value || ''); | |
break; | |
} | |
current._ownerDocument = document; | |
if (depth - val.depth === 1) { | |
children[depth].forEach(function(child) { | |
current.appendChild(child); | |
}); | |
children[depth] = null; | |
} | |
if (val.depth === 1) { | |
document.documentElement = current; | |
document.appendChild(current); | |
return; | |
} | |
depth = val.depth; | |
if (!children[depth]) children[depth] = []; | |
children[depth].push(current); | |
}); | |
var name = 'attr'; | |
var attr = document.createAttribute(name); | |
attr.value = 'zokusei'; | |
var root = document.documentElement; | |
root.setAttribute('zoku', 'val'); | |
sys.puts(root.getAttribute('zoku')); | |
root.removeAttribute('zoku'); | |
root.setAttributeNode(attr); | |
// root.removeAttributeNode(attr); | |
root.insertBefore(document.createElement('neo'), root.childNodes[0]); | |
root.replaceChild(document.createElement('arata'), root.childNodes[0]); | |
root.removeChild(root.childNodes[0]); | |
var foo_list = document.getElementsByTagName('foo'); | |
sys.puts(foo_list.length); | |
sys.puts(foo_list[0].getElementsByTagName('hoge').length); | |
sys.puts(root.hasChildNodes()); | |
sys.puts(sys.inspect(root.getAttributeNode(name), true, null)); | |
sys.puts(sys.inspect(document, true, null)); | |
}); | |
})(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
val | |
2 | |
1 | |
true | |
{ nodeType: 2 | |
, hasChildNodes: | |
{ [Function] | |
[arguments]: null | |
, [length]: 0 | |
, [name]: 'hasChildNodes' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, _childNodes: [ [length]: 0 ] | |
, parentNode: null | |
, _parentNode: null | |
, childNodes: [Circular] | |
, replaceChild: | |
{ [Function] | |
[arguments]: null | |
, [length]: 2 | |
, [name]: 'replaceChild' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, removeChild: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'removeChild' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, appendChild: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'appendChild' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, _ownerDocument: | |
{ nodeType: 9 | |
, hasChildNodes: | |
{ [Function] | |
[arguments]: null | |
, [length]: 0 | |
, [name]: 'hasChildNodes' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, _childNodes: | |
[ { childNodes: | |
[ { childNodes: | |
[ { childNodes: [ [length]: 0 ] | |
, _ownerDocument: [Circular] | |
, setAttributeNode: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'setAttributeNode' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, nodeValue: null | |
, insertBefore: | |
{ [Function] | |
[arguments]: null | |
, [length]: 2 | |
, [name]: 'insertBefore' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, getAttribute: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'getAttribute' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, _parentNode: | |
{ replaceChild: | |
{ [Function] | |
[arguments]: null | |
, [length]: 2 | |
, [name]: 'replaceChild' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, nodeType: [Getter] | |
, ownerDocument: [Getter] | |
, removeChild: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'removeChild' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, nodeValue: null | |
, appendChild: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'appendChild' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, _ownerDocument: null | |
, hasChildNodes: | |
{ [Function] | |
[arguments]: null | |
, [length]: 0 | |
, [name]: 'hasChildNodes' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, nodeName: [Getter] | |
, childNodes: [Getter] | |
, _parentNode: null | |
, parentNode: [Getter] | |
, insertBefore: | |
{ [Function] | |
[arguments]: null | |
, [length]: 2 | |
, [name]: 'insertBefore' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, _childNodes: [Circular] | |
} | |
, removeAttribute: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'removeAttribute' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, appendChild: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'appendChild' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, getAttributeNode: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'getAttributeNode' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, getElementsByTagName: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: '' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, tagName: [Getter] | |
, removeAttributeNode: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'removeAttributeNode' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, ownerDocument: null | |
, parentNode: null | |
, replaceChild: | |
{ [Function] | |
[arguments]: null | |
, [length]: 2 | |
, [name]: 'replaceChild' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, removeChild: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'removeChild' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, setAttribute: | |
{ [Function] | |
[arguments]: null | |
, [length]: 2 | |
, [name]: 'setAttribute' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, nodeType: 1 | |
, _childNodes: [Circular] | |
, hasChildNodes: | |
{ [Function] | |
[arguments]: null | |
, [length]: 0 | |
, [name]: 'hasChildNodes' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, nodeName: 'hoge' | |
} | |
, { childNodes: [ [length]: 0 ] | |
, _ownerDocument: [Circular] | |
, setAttributeNode: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'setAttributeNode' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, nodeValue: null | |
, insertBefore: | |
{ [Function] | |
[arguments]: null | |
, [length]: 2 | |
, [name]: 'insertBefore' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, getAttribute: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'getAttribute' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, _parentNode: [Circular] | |
, removeAttribute: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'removeAttribute' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, appendChild: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'appendChild' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, getAttributeNode: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'getAttributeNode' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, getElementsByTagName: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: '' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, tagName: [Getter] | |
, removeAttributeNode: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'removeAttributeNode' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, ownerDocument: null | |
, parentNode: null | |
, replaceChild: | |
{ [Function] | |
[arguments]: null | |
, [length]: 2 | |
, [name]: 'replaceChild' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, removeChild: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'removeChild' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, setAttribute: | |
{ [Function] | |
[arguments]: null | |
, [length]: 2 | |
, [name]: 'setAttribute' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, nodeType: 1 | |
, _childNodes: [Circular] | |
, hasChildNodes: | |
{ [Function] | |
[arguments]: null | |
, [length]: 0 | |
, [name]: 'hasChildNodes' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, nodeName: 'piyo' | |
} | |
, [length]: 2 | |
] | |
, _ownerDocument: [Circular] | |
, setAttributeNode: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'setAttributeNode' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, nodeValue: null | |
, insertBefore: [Circular] | |
, getAttribute: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'getAttribute' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, _parentNode: | |
{ replaceChild: | |
{ [Function] | |
[arguments]: null | |
, [length]: 2 | |
, [name]: 'replaceChild' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, nodeType: [Getter] | |
, ownerDocument: [Getter] | |
, removeChild: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'removeChild' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, nodeValue: null | |
, appendChild: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'appendChild' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, _ownerDocument: null | |
, hasChildNodes: | |
{ [Function] | |
[arguments]: null | |
, [length]: 0 | |
, [name]: 'hasChildNodes' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, nodeName: [Getter] | |
, childNodes: [Getter] | |
, _parentNode: null | |
, parentNode: [Getter] | |
, insertBefore: | |
{ [Function] | |
[arguments]: null | |
, [length]: 2 | |
, [name]: 'insertBefore' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, _childNodes: [Circular] | |
} | |
, removeAttribute: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'removeAttribute' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, appendChild: [Circular] | |
, getAttributeNode: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'getAttributeNode' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, getElementsByTagName: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: '' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, tagName: [Getter] | |
, removeAttributeNode: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'removeAttributeNode' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, ownerDocument: null | |
, parentNode: null | |
, replaceChild: [Circular] | |
, removeChild: [Circular] | |
, setAttribute: | |
{ [Function] | |
[arguments]: null | |
, [length]: 2 | |
, [name]: 'setAttribute' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, nodeType: 1 | |
, _childNodes: [Circular] | |
, hasChildNodes: [Circular] | |
, nodeName: 'foo' | |
} | |
, { childNodes: | |
[ { childNodes: [ [length]: 0 ] | |
, _ownerDocument: [Circular] | |
, setAttributeNode: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'setAttributeNode' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, nodeValue: null | |
, insertBefore: | |
{ [Function] | |
[arguments]: null | |
, [length]: 2 | |
, [name]: 'insertBefore' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, getAttribute: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'getAttribute' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, _parentNode: | |
{ replaceChild: | |
{ [Function] | |
[arguments]: null | |
, [length]: 2 | |
, [name]: 'replaceChild' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, nodeType: [Getter] | |
, ownerDocument: [Getter] | |
, removeChild: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'removeChild' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, nodeValue: null | |
, appendChild: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'appendChild' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, _ownerDocument: null | |
, hasChildNodes: | |
{ [Function] | |
[arguments]: null | |
, [length]: 0 | |
, [name]: 'hasChildNodes' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, nodeName: [Getter] | |
, childNodes: [Getter] | |
, _parentNode: null | |
, parentNode: [Getter] | |
, insertBefore: | |
{ [Function] | |
[arguments]: null | |
, [length]: 2 | |
, [name]: 'insertBefore' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, _childNodes: [Circular] | |
} | |
, removeAttribute: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'removeAttribute' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, appendChild: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'appendChild' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, getAttributeNode: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'getAttributeNode' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, getElementsByTagName: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: '' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, tagName: [Getter] | |
, removeAttributeNode: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'removeAttributeNode' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, ownerDocument: null | |
, parentNode: null | |
, replaceChild: | |
{ [Function] | |
[arguments]: null | |
, [length]: 2 | |
, [name]: 'replaceChild' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, removeChild: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'removeChild' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, setAttribute: | |
{ [Function] | |
[arguments]: null | |
, [length]: 2 | |
, [name]: 'setAttribute' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, nodeType: 1 | |
, _childNodes: [Circular] | |
, hasChildNodes: | |
{ [Function] | |
[arguments]: null | |
, [length]: 0 | |
, [name]: 'hasChildNodes' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, nodeName: 'fuga' | |
} | |
, [length]: 1 | |
] | |
, _ownerDocument: [Circular] | |
, setAttributeNode: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'setAttributeNode' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, nodeValue: null | |
, insertBefore: [Circular] | |
, getAttribute: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'getAttribute' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, _parentNode: [Circular] | |
, removeAttribute: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'removeAttribute' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, appendChild: [Circular] | |
, getAttributeNode: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'getAttributeNode' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, getElementsByTagName: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: '' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, tagName: [Getter] | |
, removeAttributeNode: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'removeAttributeNode' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, ownerDocument: null | |
, parentNode: null | |
, replaceChild: [Circular] | |
, removeChild: [Circular] | |
, setAttribute: | |
{ [Function] | |
[arguments]: null | |
, [length]: 2 | |
, [name]: 'setAttribute' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, nodeType: 1 | |
, _childNodes: [Circular] | |
, hasChildNodes: [Circular] | |
, nodeName: 'bar' | |
} | |
, { childNodes: [ [length]: 0 ] | |
, _ownerDocument: [Circular] | |
, setAttributeNode: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'setAttributeNode' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, nodeValue: null | |
, insertBefore: | |
{ [Function] | |
[arguments]: null | |
, [length]: 2 | |
, [name]: 'insertBefore' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, getAttribute: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'getAttribute' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, _parentNode: [Circular] | |
, removeAttribute: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'removeAttribute' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, appendChild: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'appendChild' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, getAttributeNode: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'getAttributeNode' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, getElementsByTagName: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: '' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, tagName: [Getter] | |
, removeAttributeNode: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'removeAttributeNode' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, ownerDocument: null | |
, parentNode: null | |
, replaceChild: | |
{ [Function] | |
[arguments]: null | |
, [length]: 2 | |
, [name]: 'replaceChild' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, removeChild: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'removeChild' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, setAttribute: | |
{ [Function] | |
[arguments]: null | |
, [length]: 2 | |
, [name]: 'setAttribute' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, nodeType: 1 | |
, _childNodes: [Circular] | |
, hasChildNodes: | |
{ [Function] | |
[arguments]: null | |
, [length]: 0 | |
, [name]: 'hasChildNodes' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, nodeName: 'baz' | |
} | |
, { childNodes: | |
[ { childNodes: | |
[ { childNodes: | |
[ { nodeType: 3 | |
, hasChildNodes: | |
{ [Function] | |
[arguments]: null | |
, [length]: 0 | |
, [name]: 'hasChildNodes' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, _childNodes: [ [length]: 0 ] | |
, parentNode: null | |
, _parentNode: | |
{ replaceChild: | |
{ [Function] | |
[arguments]: null | |
, [length]: 2 | |
, [name]: 'replaceChild' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, nodeType: [Getter] | |
, ownerDocument: [Getter] | |
, removeChild: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'removeChild' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, nodeValue: null | |
, appendChild: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'appendChild' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, _ownerDocument: null | |
, hasChildNodes: | |
{ [Function] | |
[arguments]: null | |
, [length]: 0 | |
, [name]: 'hasChildNodes' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, nodeName: [Getter] | |
, childNodes: [Getter] | |
, _parentNode: null | |
, parentNode: [Getter] | |
, insertBefore: | |
{ [Function] | |
[arguments]: null | |
, [length]: 2 | |
, [name]: 'insertBefore' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, _childNodes: [Circular] | |
} | |
, childNodes: [Circular] | |
, replaceChild: | |
{ [Function] | |
[arguments]: null | |
, [length]: 2 | |
, [name]: 'replaceChild' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, removeChild: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'removeChild' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, appendChild: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'appendChild' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, _ownerDocument: [Circular] | |
, nodeValue: 'quux' | |
, ownerDocument: null | |
, nodeName: '#text' | |
, insertBefore: | |
{ [Function] | |
[arguments]: null | |
, [length]: 2 | |
, [name]: 'insertBefore' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
} | |
, [length]: 1 | |
] | |
, _ownerDocument: [Circular] | |
, setAttributeNode: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'setAttributeNode' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, nodeValue: null | |
, insertBefore: [Circular] | |
, getAttribute: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'getAttribute' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, _parentNode: | |
{ replaceChild: | |
{ [Function] | |
[arguments]: null | |
, [length]: 2 | |
, [name]: 'replaceChild' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, nodeType: [Getter] | |
, ownerDocument: [Getter] | |
, removeChild: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'removeChild' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, nodeValue: null | |
, appendChild: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'appendChild' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, _ownerDocument: null | |
, hasChildNodes: | |
{ [Function] | |
[arguments]: null | |
, [length]: 0 | |
, [name]: 'hasChildNodes' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, nodeName: [Getter] | |
, childNodes: [Getter] | |
, _parentNode: null | |
, parentNode: [Getter] | |
, insertBefore: | |
{ [Function] | |
[arguments]: null | |
, [length]: 2 | |
, [name]: 'insertBefore' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, _childNodes: [Circular] | |
} | |
, removeAttribute: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'removeAttribute' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, appendChild: [Circular] | |
, getAttributeNode: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'getAttributeNode' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, getElementsByTagName: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: '' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, tagName: [Getter] | |
, removeAttributeNode: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'removeAttributeNode' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, ownerDocument: null | |
, parentNode: null | |
, replaceChild: [Circular] | |
, removeChild: [Circular] | |
, setAttribute: | |
{ [Function] | |
[arguments]: null | |
, [length]: 2 | |
, [name]: 'setAttribute' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, nodeType: 1 | |
, _childNodes: [Circular] | |
, hasChildNodes: [Circular] | |
, nodeName: 'qux' | |
} | |
, [length]: 1 | |
] | |
, _ownerDocument: [Circular] | |
, setAttributeNode: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'setAttributeNode' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, nodeValue: null | |
, insertBefore: [Circular] | |
, getAttribute: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'getAttribute' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, _parentNode: | |
{ replaceChild: | |
{ [Function] | |
[arguments]: null | |
, [length]: 2 | |
, [name]: 'replaceChild' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, nodeType: [Getter] | |
, ownerDocument: [Getter] | |
, removeChild: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'removeChild' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, nodeValue: null | |
, appendChild: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'appendChild' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, _ownerDocument: null | |
, hasChildNodes: | |
{ [Function] | |
[arguments]: null | |
, [length]: 0 | |
, [name]: 'hasChildNodes' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, nodeName: [Getter] | |
, childNodes: [Getter] | |
, _parentNode: null | |
, parentNode: [Getter] | |
, insertBefore: | |
{ [Function] | |
[arguments]: null | |
, [length]: 2 | |
, [name]: 'insertBefore' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, _childNodes: [Circular] | |
} | |
, removeAttribute: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'removeAttribute' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, appendChild: [Circular] | |
, getAttributeNode: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'getAttributeNode' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, getElementsByTagName: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: '' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, tagName: [Getter] | |
, removeAttributeNode: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'removeAttributeNode' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, ownerDocument: null | |
, parentNode: null | |
, replaceChild: [Circular] | |
, removeChild: [Circular] | |
, setAttribute: | |
{ [Function] | |
[arguments]: null | |
, [length]: 2 | |
, [name]: 'setAttribute' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, nodeType: 1 | |
, _childNodes: [Circular] | |
, hasChildNodes: [Circular] | |
, nodeName: 'hoge' | |
} | |
, [length]: 1 | |
] | |
, _ownerDocument: [Circular] | |
, setAttributeNode: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'setAttributeNode' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, nodeValue: null | |
, insertBefore: [Circular] | |
, getAttribute: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'getAttribute' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, _parentNode: [Circular] | |
, removeAttribute: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'removeAttribute' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, appendChild: [Circular] | |
, getAttributeNode: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'getAttributeNode' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, getElementsByTagName: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: '' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, tagName: [Getter] | |
, removeAttributeNode: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'removeAttributeNode' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, ownerDocument: null | |
, parentNode: null | |
, replaceChild: [Circular] | |
, removeChild: [Circular] | |
, setAttribute: | |
{ [Function] | |
[arguments]: null | |
, [length]: 2 | |
, [name]: 'setAttribute' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, nodeType: 1 | |
, _childNodes: [Circular] | |
, hasChildNodes: [Circular] | |
, nodeName: 'foo' | |
} | |
, { childNodes: [ [length]: 0 ] | |
, _ownerDocument: [Circular] | |
, setAttributeNode: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'setAttributeNode' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, nodeValue: null | |
, insertBefore: | |
{ [Function] | |
[arguments]: null | |
, [length]: 2 | |
, [name]: 'insertBefore' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, getAttribute: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'getAttribute' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, _parentNode: [Circular] | |
, removeAttribute: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'removeAttribute' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, appendChild: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'appendChild' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, getAttributeNode: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'getAttributeNode' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, getElementsByTagName: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: '' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, tagName: [Getter] | |
, removeAttributeNode: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'removeAttributeNode' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, ownerDocument: null | |
, parentNode: null | |
, replaceChild: | |
{ [Function] | |
[arguments]: null | |
, [length]: 2 | |
, [name]: 'replaceChild' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, removeChild: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'removeChild' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, setAttribute: | |
{ [Function] | |
[arguments]: null | |
, [length]: 2 | |
, [name]: 'setAttribute' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, nodeType: 1 | |
, _childNodes: [Circular] | |
, hasChildNodes: | |
{ [Function] | |
[arguments]: null | |
, [length]: 0 | |
, [name]: 'hasChildNodes' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, nodeName: 'bar' | |
} | |
, [length]: 5 | |
] | |
, _ownerDocument: [Circular] | |
, setAttributeNode: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'setAttributeNode' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, nodeValue: null | |
, insertBefore: [Circular] | |
, getAttribute: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'getAttribute' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, _parentNode: | |
{ replaceChild: | |
{ [Function] | |
[arguments]: null | |
, [length]: 2 | |
, [name]: 'replaceChild' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, nodeType: [Getter] | |
, ownerDocument: [Getter] | |
, removeChild: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'removeChild' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, nodeValue: null | |
, appendChild: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'appendChild' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, _ownerDocument: null | |
, hasChildNodes: [Circular] | |
, nodeName: [Getter] | |
, childNodes: [Getter] | |
, _parentNode: null | |
, parentNode: [Getter] | |
, insertBefore: | |
{ [Function] | |
[arguments]: null | |
, [length]: 2 | |
, [name]: 'insertBefore' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, _childNodes: [Circular] | |
} | |
, removeAttribute: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'removeAttribute' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, appendChild: [Circular] | |
, getAttributeNode: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'getAttributeNode' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, getElementsByTagName: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: '' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, tagName: [Getter] | |
, removeAttributeNode: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'removeAttributeNode' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, ownerDocument: null | |
, parentNode: null | |
, replaceChild: [Circular] | |
, removeChild: [Circular] | |
, setAttribute: | |
{ [Function] | |
[arguments]: null | |
, [length]: 2 | |
, [name]: 'setAttribute' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, nodeType: 1 | |
, _childNodes: [Circular] | |
, hasChildNodes: [Circular] | |
, nodeName: 'root' | |
} | |
, [length]: 1 | |
] | |
, parentNode: null | |
, _parentNode: null | |
, createAttribute: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'createAttribute' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, childNodes: [Circular] | |
, replaceChild: [Circular] | |
, removeChild: [Circular] | |
, appendChild: [Circular] | |
, _ownerDocument: null | |
, getElementsByTagName: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: '' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, createElement: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'createElement' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, documentElement: [Circular] | |
, nodeValue: null | |
, createTextNode: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'createTextNode' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, ownerDocument: null | |
, nodeName: '#document' | |
, insertBefore: [Circular] | |
} | |
, name: [Getter] | |
, value: [Getter/Setter] | |
, nodeValue: [Getter/Setter] | |
, ownerDocument: null | |
, nodeName: 'attr' | |
, insertBefore: | |
{ [Function] | |
[arguments]: null | |
, [length]: 2 | |
, [name]: 'insertBefore' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
} | |
{ nodeType: 9 | |
, hasChildNodes: | |
{ [Function] | |
[arguments]: null | |
, [length]: 0 | |
, [name]: 'hasChildNodes' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, _childNodes: | |
[ { childNodes: | |
[ { childNodes: | |
[ { childNodes: [ [length]: 0 ] | |
, _ownerDocument: [Circular] | |
, setAttributeNode: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'setAttributeNode' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, nodeValue: null | |
, insertBefore: | |
{ [Function] | |
[arguments]: null | |
, [length]: 2 | |
, [name]: 'insertBefore' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, getAttribute: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'getAttribute' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, _parentNode: | |
{ replaceChild: | |
{ [Function] | |
[arguments]: null | |
, [length]: 2 | |
, [name]: 'replaceChild' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, nodeType: [Getter] | |
, ownerDocument: [Getter] | |
, removeChild: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'removeChild' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, nodeValue: null | |
, appendChild: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'appendChild' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, _ownerDocument: null | |
, hasChildNodes: | |
{ [Function] | |
[arguments]: null | |
, [length]: 0 | |
, [name]: 'hasChildNodes' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, nodeName: [Getter] | |
, childNodes: [Getter] | |
, _parentNode: null | |
, parentNode: [Getter] | |
, insertBefore: | |
{ [Function] | |
[arguments]: null | |
, [length]: 2 | |
, [name]: 'insertBefore' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, _childNodes: [Circular] | |
} | |
, removeAttribute: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'removeAttribute' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, appendChild: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'appendChild' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, getAttributeNode: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'getAttributeNode' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, getElementsByTagName: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: '' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, tagName: [Getter] | |
, removeAttributeNode: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'removeAttributeNode' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, ownerDocument: null | |
, parentNode: null | |
, replaceChild: | |
{ [Function] | |
[arguments]: null | |
, [length]: 2 | |
, [name]: 'replaceChild' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, removeChild: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'removeChild' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, setAttribute: | |
{ [Function] | |
[arguments]: null | |
, [length]: 2 | |
, [name]: 'setAttribute' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, nodeType: 1 | |
, _childNodes: [Circular] | |
, hasChildNodes: | |
{ [Function] | |
[arguments]: null | |
, [length]: 0 | |
, [name]: 'hasChildNodes' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, nodeName: 'hoge' | |
} | |
, { childNodes: [ [length]: 0 ] | |
, _ownerDocument: [Circular] | |
, setAttributeNode: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'setAttributeNode' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, nodeValue: null | |
, insertBefore: | |
{ [Function] | |
[arguments]: null | |
, [length]: 2 | |
, [name]: 'insertBefore' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, getAttribute: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'getAttribute' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, _parentNode: [Circular] | |
, removeAttribute: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'removeAttribute' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, appendChild: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'appendChild' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, getAttributeNode: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'getAttributeNode' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, getElementsByTagName: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: '' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, tagName: [Getter] | |
, removeAttributeNode: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'removeAttributeNode' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, ownerDocument: null | |
, parentNode: null | |
, replaceChild: | |
{ [Function] | |
[arguments]: null | |
, [length]: 2 | |
, [name]: 'replaceChild' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, removeChild: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'removeChild' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, setAttribute: | |
{ [Function] | |
[arguments]: null | |
, [length]: 2 | |
, [name]: 'setAttribute' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, nodeType: 1 | |
, _childNodes: [Circular] | |
, hasChildNodes: | |
{ [Function] | |
[arguments]: null | |
, [length]: 0 | |
, [name]: 'hasChildNodes' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, nodeName: 'piyo' | |
} | |
, [length]: 2 | |
] | |
, _ownerDocument: [Circular] | |
, setAttributeNode: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'setAttributeNode' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, nodeValue: null | |
, insertBefore: [Circular] | |
, getAttribute: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'getAttribute' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, _parentNode: | |
{ replaceChild: | |
{ [Function] | |
[arguments]: null | |
, [length]: 2 | |
, [name]: 'replaceChild' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, nodeType: [Getter] | |
, ownerDocument: [Getter] | |
, removeChild: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'removeChild' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, nodeValue: null | |
, appendChild: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'appendChild' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, _ownerDocument: null | |
, hasChildNodes: | |
{ [Function] | |
[arguments]: null | |
, [length]: 0 | |
, [name]: 'hasChildNodes' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, nodeName: [Getter] | |
, childNodes: [Getter] | |
, _parentNode: null | |
, parentNode: [Getter] | |
, insertBefore: | |
{ [Function] | |
[arguments]: null | |
, [length]: 2 | |
, [name]: 'insertBefore' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, _childNodes: [Circular] | |
} | |
, removeAttribute: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'removeAttribute' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, appendChild: [Circular] | |
, getAttributeNode: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'getAttributeNode' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, getElementsByTagName: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: '' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, tagName: [Getter] | |
, removeAttributeNode: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'removeAttributeNode' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, ownerDocument: null | |
, parentNode: null | |
, replaceChild: [Circular] | |
, removeChild: [Circular] | |
, setAttribute: | |
{ [Function] | |
[arguments]: null | |
, [length]: 2 | |
, [name]: 'setAttribute' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, nodeType: 1 | |
, _childNodes: [Circular] | |
, hasChildNodes: [Circular] | |
, nodeName: 'foo' | |
} | |
, { childNodes: | |
[ { childNodes: [ [length]: 0 ] | |
, _ownerDocument: [Circular] | |
, setAttributeNode: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'setAttributeNode' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, nodeValue: null | |
, insertBefore: | |
{ [Function] | |
[arguments]: null | |
, [length]: 2 | |
, [name]: 'insertBefore' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, getAttribute: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'getAttribute' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, _parentNode: | |
{ replaceChild: | |
{ [Function] | |
[arguments]: null | |
, [length]: 2 | |
, [name]: 'replaceChild' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, nodeType: [Getter] | |
, ownerDocument: [Getter] | |
, removeChild: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'removeChild' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, nodeValue: null | |
, appendChild: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'appendChild' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, _ownerDocument: null | |
, hasChildNodes: | |
{ [Function] | |
[arguments]: null | |
, [length]: 0 | |
, [name]: 'hasChildNodes' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, nodeName: [Getter] | |
, childNodes: [Getter] | |
, _parentNode: null | |
, parentNode: [Getter] | |
, insertBefore: | |
{ [Function] | |
[arguments]: null | |
, [length]: 2 | |
, [name]: 'insertBefore' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, _childNodes: [Circular] | |
} | |
, removeAttribute: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'removeAttribute' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, appendChild: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'appendChild' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, getAttributeNode: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'getAttributeNode' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, getElementsByTagName: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: '' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, tagName: [Getter] | |
, removeAttributeNode: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'removeAttributeNode' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, ownerDocument: null | |
, parentNode: null | |
, replaceChild: | |
{ [Function] | |
[arguments]: null | |
, [length]: 2 | |
, [name]: 'replaceChild' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, removeChild: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'removeChild' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, setAttribute: | |
{ [Function] | |
[arguments]: null | |
, [length]: 2 | |
, [name]: 'setAttribute' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, nodeType: 1 | |
, _childNodes: [Circular] | |
, hasChildNodes: | |
{ [Function] | |
[arguments]: null | |
, [length]: 0 | |
, [name]: 'hasChildNodes' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, nodeName: 'fuga' | |
} | |
, [length]: 1 | |
] | |
, _ownerDocument: [Circular] | |
, setAttributeNode: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'setAttributeNode' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, nodeValue: null | |
, insertBefore: [Circular] | |
, getAttribute: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'getAttribute' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, _parentNode: [Circular] | |
, removeAttribute: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'removeAttribute' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, appendChild: [Circular] | |
, getAttributeNode: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'getAttributeNode' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, getElementsByTagName: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: '' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, tagName: [Getter] | |
, removeAttributeNode: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'removeAttributeNode' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, ownerDocument: null | |
, parentNode: null | |
, replaceChild: [Circular] | |
, removeChild: [Circular] | |
, setAttribute: | |
{ [Function] | |
[arguments]: null | |
, [length]: 2 | |
, [name]: 'setAttribute' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, nodeType: 1 | |
, _childNodes: [Circular] | |
, hasChildNodes: [Circular] | |
, nodeName: 'bar' | |
} | |
, { childNodes: [ [length]: 0 ] | |
, _ownerDocument: [Circular] | |
, setAttributeNode: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'setAttributeNode' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, nodeValue: null | |
, insertBefore: | |
{ [Function] | |
[arguments]: null | |
, [length]: 2 | |
, [name]: 'insertBefore' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, getAttribute: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'getAttribute' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, _parentNode: [Circular] | |
, removeAttribute: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'removeAttribute' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, appendChild: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'appendChild' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, getAttributeNode: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'getAttributeNode' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, getElementsByTagName: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: '' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, tagName: [Getter] | |
, removeAttributeNode: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'removeAttributeNode' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, ownerDocument: null | |
, parentNode: null | |
, replaceChild: | |
{ [Function] | |
[arguments]: null | |
, [length]: 2 | |
, [name]: 'replaceChild' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, removeChild: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'removeChild' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, setAttribute: | |
{ [Function] | |
[arguments]: null | |
, [length]: 2 | |
, [name]: 'setAttribute' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, nodeType: 1 | |
, _childNodes: [Circular] | |
, hasChildNodes: | |
{ [Function] | |
[arguments]: null | |
, [length]: 0 | |
, [name]: 'hasChildNodes' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, nodeName: 'baz' | |
} | |
, { childNodes: | |
[ { childNodes: | |
[ { childNodes: | |
[ { nodeType: 3 | |
, hasChildNodes: | |
{ [Function] | |
[arguments]: null | |
, [length]: 0 | |
, [name]: 'hasChildNodes' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, _childNodes: [ [length]: 0 ] | |
, parentNode: null | |
, _parentNode: | |
{ replaceChild: | |
{ [Function] | |
[arguments]: null | |
, [length]: 2 | |
, [name]: 'replaceChild' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, nodeType: [Getter] | |
, ownerDocument: [Getter] | |
, removeChild: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'removeChild' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, nodeValue: null | |
, appendChild: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'appendChild' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, _ownerDocument: null | |
, hasChildNodes: | |
{ [Function] | |
[arguments]: null | |
, [length]: 0 | |
, [name]: 'hasChildNodes' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, nodeName: [Getter] | |
, childNodes: [Getter] | |
, _parentNode: null | |
, parentNode: [Getter] | |
, insertBefore: | |
{ [Function] | |
[arguments]: null | |
, [length]: 2 | |
, [name]: 'insertBefore' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, _childNodes: [Circular] | |
} | |
, childNodes: [Circular] | |
, replaceChild: | |
{ [Function] | |
[arguments]: null | |
, [length]: 2 | |
, [name]: 'replaceChild' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, removeChild: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'removeChild' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, appendChild: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'appendChild' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, _ownerDocument: [Circular] | |
, nodeValue: 'quux' | |
, ownerDocument: null | |
, nodeName: '#text' | |
, insertBefore: | |
{ [Function] | |
[arguments]: null | |
, [length]: 2 | |
, [name]: 'insertBefore' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
} | |
, [length]: 1 | |
] | |
, _ownerDocument: [Circular] | |
, setAttributeNode: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'setAttributeNode' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, nodeValue: null | |
, insertBefore: [Circular] | |
, getAttribute: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'getAttribute' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, _parentNode: | |
{ replaceChild: | |
{ [Function] | |
[arguments]: null | |
, [length]: 2 | |
, [name]: 'replaceChild' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, nodeType: [Getter] | |
, ownerDocument: [Getter] | |
, removeChild: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'removeChild' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, nodeValue: null | |
, appendChild: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'appendChild' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, _ownerDocument: null | |
, hasChildNodes: | |
{ [Function] | |
[arguments]: null | |
, [length]: 0 | |
, [name]: 'hasChildNodes' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, nodeName: [Getter] | |
, childNodes: [Getter] | |
, _parentNode: null | |
, parentNode: [Getter] | |
, insertBefore: | |
{ [Function] | |
[arguments]: null | |
, [length]: 2 | |
, [name]: 'insertBefore' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, _childNodes: [Circular] | |
} | |
, removeAttribute: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'removeAttribute' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, appendChild: [Circular] | |
, getAttributeNode: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'getAttributeNode' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, getElementsByTagName: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: '' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, tagName: [Getter] | |
, removeAttributeNode: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'removeAttributeNode' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, ownerDocument: null | |
, parentNode: null | |
, replaceChild: [Circular] | |
, removeChild: [Circular] | |
, setAttribute: | |
{ [Function] | |
[arguments]: null | |
, [length]: 2 | |
, [name]: 'setAttribute' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, nodeType: 1 | |
, _childNodes: [Circular] | |
, hasChildNodes: [Circular] | |
, nodeName: 'qux' | |
} | |
, [length]: 1 | |
] | |
, _ownerDocument: [Circular] | |
, setAttributeNode: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'setAttributeNode' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, nodeValue: null | |
, insertBefore: [Circular] | |
, getAttribute: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'getAttribute' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, _parentNode: | |
{ replaceChild: | |
{ [Function] | |
[arguments]: null | |
, [length]: 2 | |
, [name]: 'replaceChild' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, nodeType: [Getter] | |
, ownerDocument: [Getter] | |
, removeChild: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'removeChild' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, nodeValue: null | |
, appendChild: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'appendChild' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, _ownerDocument: null | |
, hasChildNodes: | |
{ [Function] | |
[arguments]: null | |
, [length]: 0 | |
, [name]: 'hasChildNodes' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, nodeName: [Getter] | |
, childNodes: [Getter] | |
, _parentNode: null | |
, parentNode: [Getter] | |
, insertBefore: | |
{ [Function] | |
[arguments]: null | |
, [length]: 2 | |
, [name]: 'insertBefore' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, _childNodes: [Circular] | |
} | |
, removeAttribute: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'removeAttribute' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, appendChild: [Circular] | |
, getAttributeNode: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'getAttributeNode' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, getElementsByTagName: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: '' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, tagName: [Getter] | |
, removeAttributeNode: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'removeAttributeNode' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, ownerDocument: null | |
, parentNode: null | |
, replaceChild: [Circular] | |
, removeChild: [Circular] | |
, setAttribute: | |
{ [Function] | |
[arguments]: null | |
, [length]: 2 | |
, [name]: 'setAttribute' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, nodeType: 1 | |
, _childNodes: [Circular] | |
, hasChildNodes: [Circular] | |
, nodeName: 'hoge' | |
} | |
, [length]: 1 | |
] | |
, _ownerDocument: [Circular] | |
, setAttributeNode: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'setAttributeNode' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, nodeValue: null | |
, insertBefore: [Circular] | |
, getAttribute: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'getAttribute' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, _parentNode: [Circular] | |
, removeAttribute: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'removeAttribute' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, appendChild: [Circular] | |
, getAttributeNode: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'getAttributeNode' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, getElementsByTagName: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: '' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, tagName: [Getter] | |
, removeAttributeNode: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'removeAttributeNode' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, ownerDocument: null | |
, parentNode: null | |
, replaceChild: [Circular] | |
, removeChild: [Circular] | |
, setAttribute: | |
{ [Function] | |
[arguments]: null | |
, [length]: 2 | |
, [name]: 'setAttribute' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, nodeType: 1 | |
, _childNodes: [Circular] | |
, hasChildNodes: [Circular] | |
, nodeName: 'foo' | |
} | |
, { childNodes: [ [length]: 0 ] | |
, _ownerDocument: [Circular] | |
, setAttributeNode: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'setAttributeNode' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, nodeValue: null | |
, insertBefore: | |
{ [Function] | |
[arguments]: null | |
, [length]: 2 | |
, [name]: 'insertBefore' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, getAttribute: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'getAttribute' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, _parentNode: [Circular] | |
, removeAttribute: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'removeAttribute' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, appendChild: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'appendChild' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, getAttributeNode: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'getAttributeNode' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, getElementsByTagName: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: '' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, tagName: [Getter] | |
, removeAttributeNode: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'removeAttributeNode' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, ownerDocument: null | |
, parentNode: null | |
, replaceChild: | |
{ [Function] | |
[arguments]: null | |
, [length]: 2 | |
, [name]: 'replaceChild' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, removeChild: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'removeChild' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, setAttribute: | |
{ [Function] | |
[arguments]: null | |
, [length]: 2 | |
, [name]: 'setAttribute' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, nodeType: 1 | |
, _childNodes: [Circular] | |
, hasChildNodes: | |
{ [Function] | |
[arguments]: null | |
, [length]: 0 | |
, [name]: 'hasChildNodes' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, nodeName: 'bar' | |
} | |
, [length]: 5 | |
] | |
, _ownerDocument: [Circular] | |
, setAttributeNode: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'setAttributeNode' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, nodeValue: null | |
, insertBefore: [Circular] | |
, getAttribute: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'getAttribute' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, _parentNode: | |
{ replaceChild: | |
{ [Function] | |
[arguments]: null | |
, [length]: 2 | |
, [name]: 'replaceChild' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, nodeType: [Getter] | |
, ownerDocument: [Getter] | |
, removeChild: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'removeChild' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, nodeValue: null | |
, appendChild: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'appendChild' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, _ownerDocument: null | |
, hasChildNodes: [Circular] | |
, nodeName: [Getter] | |
, childNodes: [Getter] | |
, _parentNode: null | |
, parentNode: [Getter] | |
, insertBefore: | |
{ [Function] | |
[arguments]: null | |
, [length]: 2 | |
, [name]: 'insertBefore' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, _childNodes: [Circular] | |
} | |
, removeAttribute: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'removeAttribute' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, appendChild: [Circular] | |
, getAttributeNode: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'getAttributeNode' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, getElementsByTagName: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: '' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, tagName: [Getter] | |
, removeAttributeNode: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'removeAttributeNode' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, ownerDocument: null | |
, parentNode: null | |
, replaceChild: [Circular] | |
, removeChild: [Circular] | |
, setAttribute: | |
{ [Function] | |
[arguments]: null | |
, [length]: 2 | |
, [name]: 'setAttribute' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, nodeType: 1 | |
, _childNodes: [Circular] | |
, hasChildNodes: [Circular] | |
, nodeName: 'root' | |
} | |
, [length]: 1 | |
] | |
, parentNode: null | |
, _parentNode: null | |
, createAttribute: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'createAttribute' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, childNodes: [Circular] | |
, replaceChild: [Circular] | |
, removeChild: [Circular] | |
, appendChild: [Circular] | |
, _ownerDocument: null | |
, getElementsByTagName: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: '' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, createElement: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'createElement' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, documentElement: [Circular] | |
, nodeValue: null | |
, createTextNode: | |
{ [Function] | |
[arguments]: null | |
, [length]: 1 | |
, [name]: 'createTextNode' | |
, [prototype]: { [constructor]: [Circular] } | |
, [caller]: null | |
} | |
, ownerDocument: null | |
, nodeName: '#document' | |
, insertBefore: [Circular] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment