<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[204083] trunk/Source/WebCore</title>
</head>
<body>
<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; }
#msg dl a { font-weight: bold}
#msg dl a:link { color:#fc3; }
#msg dl a:active { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://trac.webkit.org/projects/webkit/changeset/204083">204083</a></dd>
<dt>Author</dt> <dd>andersca@apple.com</dd>
<dt>Date</dt> <dd>2016-08-03 09:53:15 -0700 (Wed, 03 Aug 2016)</dd>
</dl>
<h3>Log Message</h3>
<pre>Freeze the last of the Objective-C bindings
https://bugs.webkit.org/show_bug.cgi?id=160482
Reviewed by Darin Adler.
* WebCore.xcodeproj/project.pbxproj:
* bindings/objc/DOMAttr.h: Added.
* bindings/objc/DOMAttr.mm: Added.
* bindings/objc/DOMAttrInternal.h: Added.
* bindings/objc/DOMCDATASection.h: Added.
* bindings/objc/DOMCDATASection.mm: Added.
* bindings/objc/DOMCDATASectionInternal.h: Added.
* bindings/objc/DOMCharacterData.h
* bindings/objc/DOMCharacterData.mm: Added.
* bindings/objc/DOMCharacterDataInternal.h: Added.
* bindings/objc/DOMComment.h: Added.
* bindings/objc/DOMComment.mm: Added.
* bindings/objc/DOMCommentInternal.h: Added.
* bindings/objc/DOMDOMImplementation.h: Added.
* bindings/objc/DOMDOMImplementation.mm: Added.
* bindings/objc/DOMDOMImplementationInternal.h: Added.
* bindings/objc/DOMDocument.h: Added.
* bindings/objc/DOMDocument.mm: Added.
* bindings/objc/DOMDocumentFragment.h: Added.
* bindings/objc/DOMDocumentFragment.mm: Added.
* bindings/objc/DOMDocumentFragmentInternal.h: Added.
* bindings/objc/DOMDocumentFragmentPrivate.h: Added.
* bindings/objc/DOMDocumentInternal.h: Added.
* bindings/objc/DOMDocumentPrivate.h: Added.
* bindings/objc/DOMDocumentType.h: Added.
* bindings/objc/DOMDocumentType.mm: Added.
* bindings/objc/DOMDocumentTypeInternal.h: Added.
* bindings/objc/DOMElement.h: Added.
* bindings/objc/DOMElement.mm: Added.
* bindings/objc/DOMElementInternal.h: Added.
* bindings/objc/DOMEntity.h: Added.
* bindings/objc/DOMEntity.mm: Added.
* bindings/objc/DOMEntityInternal.h: Added.
* bindings/objc/DOMEntityReference.h: Added.
* bindings/objc/DOMEntityReference.mm: Added.
* bindings/objc/DOMEntityReferenceInternal.h: Added.
* bindings/objc/DOMNamedNodeMap.h: Added.
* bindings/objc/DOMNamedNodeMap.mm: Added.
* bindings/objc/DOMNamedNodeMapInternal.h: Added.
* bindings/objc/DOMNode.h: Added.
* bindings/objc/DOMNode.mm: Added.
* bindings/objc/DOMNodeInternal.h: Added.
* bindings/objc/DOMNodeList.h: Added.
* bindings/objc/DOMNodeList.mm: Added.
* bindings/objc/DOMNodeListInternal.h: Added.
* bindings/objc/DOMNodePrivate.h: Added.
* bindings/objc/DOMProcessingInstruction.h: Added.
* bindings/objc/DOMProcessingInstruction.mm: Added.
* bindings/objc/DOMProcessingInstructionInternal.h: Added.
* bindings/objc/DOMText.h: Added.
* bindings/objc/DOMText.mm: Added.
* bindings/objc/DOMTextEvent.mm:
* bindings/objc/DOMTextEventInternal.h:
* bindings/objc/DOMTextInternal.h: Added.</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkSourceWebCoreChangeLog">trunk/Source/WebCore/ChangeLog</a></li>
<li><a href="#trunkSourceWebCoreWebCorexcodeprojprojectpbxproj">trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj</a></li>
<li><a href="#trunkSourceWebCorebindingsobjcDOMTextEventmm">trunk/Source/WebCore/bindings/objc/DOMTextEvent.mm</a></li>
<li><a href="#trunkSourceWebCorebindingsobjcDOMTextEventInternalh">trunk/Source/WebCore/bindings/objc/DOMTextEventInternal.h</a></li>
</ul>
<h3>Added Paths</h3>
<ul>
<li><a href="#trunkSourceWebCorebindingsobjcDOMAttrh">trunk/Source/WebCore/bindings/objc/DOMAttr.h</a></li>
<li><a href="#trunkSourceWebCorebindingsobjcDOMAttrmm">trunk/Source/WebCore/bindings/objc/DOMAttr.mm</a></li>
<li><a href="#trunkSourceWebCorebindingsobjcDOMAttrInternalh">trunk/Source/WebCore/bindings/objc/DOMAttrInternal.h</a></li>
<li><a href="#trunkSourceWebCorebindingsobjcDOMCDATASectionh">trunk/Source/WebCore/bindings/objc/DOMCDATASection.h</a></li>
<li><a href="#trunkSourceWebCorebindingsobjcDOMCDATASectionmm">trunk/Source/WebCore/bindings/objc/DOMCDATASection.mm</a></li>
<li><a href="#trunkSourceWebCorebindingsobjcDOMCDATASectionInternalh">trunk/Source/WebCore/bindings/objc/DOMCDATASectionInternal.h</a></li>
<li><a href="#trunkSourceWebCorebindingsobjcDOMCharacterDatah">trunk/Source/WebCore/bindings/objc/DOMCharacterData.h</a></li>
<li><a href="#trunkSourceWebCorebindingsobjcDOMCharacterDatamm">trunk/Source/WebCore/bindings/objc/DOMCharacterData.mm</a></li>
<li><a href="#trunkSourceWebCorebindingsobjcDOMCharacterDataInternalh">trunk/Source/WebCore/bindings/objc/DOMCharacterDataInternal.h</a></li>
<li><a href="#trunkSourceWebCorebindingsobjcDOMCommenth">trunk/Source/WebCore/bindings/objc/DOMComment.h</a></li>
<li><a href="#trunkSourceWebCorebindingsobjcDOMCommentmm">trunk/Source/WebCore/bindings/objc/DOMComment.mm</a></li>
<li><a href="#trunkSourceWebCorebindingsobjcDOMCommentInternalh">trunk/Source/WebCore/bindings/objc/DOMCommentInternal.h</a></li>
<li><a href="#trunkSourceWebCorebindingsobjcDOMDOMImplementationh">trunk/Source/WebCore/bindings/objc/DOMDOMImplementation.h</a></li>
<li><a href="#trunkSourceWebCorebindingsobjcDOMDOMImplementationmm">trunk/Source/WebCore/bindings/objc/DOMDOMImplementation.mm</a></li>
<li><a href="#trunkSourceWebCorebindingsobjcDOMDOMImplementationInternalh">trunk/Source/WebCore/bindings/objc/DOMDOMImplementationInternal.h</a></li>
<li><a href="#trunkSourceWebCorebindingsobjcDOMDocumenth">trunk/Source/WebCore/bindings/objc/DOMDocument.h</a></li>
<li><a href="#trunkSourceWebCorebindingsobjcDOMDocumentmm">trunk/Source/WebCore/bindings/objc/DOMDocument.mm</a></li>
<li><a href="#trunkSourceWebCorebindingsobjcDOMDocumentFragmenth">trunk/Source/WebCore/bindings/objc/DOMDocumentFragment.h</a></li>
<li><a href="#trunkSourceWebCorebindingsobjcDOMDocumentFragmentmm">trunk/Source/WebCore/bindings/objc/DOMDocumentFragment.mm</a></li>
<li><a href="#trunkSourceWebCorebindingsobjcDOMDocumentFragmentInternalh">trunk/Source/WebCore/bindings/objc/DOMDocumentFragmentInternal.h</a></li>
<li><a href="#trunkSourceWebCorebindingsobjcDOMDocumentFragmentPrivateh">trunk/Source/WebCore/bindings/objc/DOMDocumentFragmentPrivate.h</a></li>
<li><a href="#trunkSourceWebCorebindingsobjcDOMDocumentInternalh">trunk/Source/WebCore/bindings/objc/DOMDocumentInternal.h</a></li>
<li><a href="#trunkSourceWebCorebindingsobjcDOMDocumentPrivateh">trunk/Source/WebCore/bindings/objc/DOMDocumentPrivate.h</a></li>
<li><a href="#trunkSourceWebCorebindingsobjcDOMDocumentTypeh">trunk/Source/WebCore/bindings/objc/DOMDocumentType.h</a></li>
<li><a href="#trunkSourceWebCorebindingsobjcDOMDocumentTypemm">trunk/Source/WebCore/bindings/objc/DOMDocumentType.mm</a></li>
<li><a href="#trunkSourceWebCorebindingsobjcDOMDocumentTypeInternalh">trunk/Source/WebCore/bindings/objc/DOMDocumentTypeInternal.h</a></li>
<li><a href="#trunkSourceWebCorebindingsobjcDOMElementh">trunk/Source/WebCore/bindings/objc/DOMElement.h</a></li>
<li><a href="#trunkSourceWebCorebindingsobjcDOMElementmm">trunk/Source/WebCore/bindings/objc/DOMElement.mm</a></li>
<li><a href="#trunkSourceWebCorebindingsobjcDOMElementInternalh">trunk/Source/WebCore/bindings/objc/DOMElementInternal.h</a></li>
<li><a href="#trunkSourceWebCorebindingsobjcDOMEntityh">trunk/Source/WebCore/bindings/objc/DOMEntity.h</a></li>
<li><a href="#trunkSourceWebCorebindingsobjcDOMEntitymm">trunk/Source/WebCore/bindings/objc/DOMEntity.mm</a></li>
<li><a href="#trunkSourceWebCorebindingsobjcDOMEntityInternalh">trunk/Source/WebCore/bindings/objc/DOMEntityInternal.h</a></li>
<li><a href="#trunkSourceWebCorebindingsobjcDOMEntityReferenceh">trunk/Source/WebCore/bindings/objc/DOMEntityReference.h</a></li>
<li><a href="#trunkSourceWebCorebindingsobjcDOMEntityReferencemm">trunk/Source/WebCore/bindings/objc/DOMEntityReference.mm</a></li>
<li><a href="#trunkSourceWebCorebindingsobjcDOMEntityReferenceInternalh">trunk/Source/WebCore/bindings/objc/DOMEntityReferenceInternal.h</a></li>
<li><a href="#trunkSourceWebCorebindingsobjcDOMNamedNodeMaph">trunk/Source/WebCore/bindings/objc/DOMNamedNodeMap.h</a></li>
<li><a href="#trunkSourceWebCorebindingsobjcDOMNamedNodeMapmm">trunk/Source/WebCore/bindings/objc/DOMNamedNodeMap.mm</a></li>
<li><a href="#trunkSourceWebCorebindingsobjcDOMNamedNodeMapInternalh">trunk/Source/WebCore/bindings/objc/DOMNamedNodeMapInternal.h</a></li>
<li><a href="#trunkSourceWebCorebindingsobjcDOMNodeh">trunk/Source/WebCore/bindings/objc/DOMNode.h</a></li>
<li><a href="#trunkSourceWebCorebindingsobjcDOMNodemm">trunk/Source/WebCore/bindings/objc/DOMNode.mm</a></li>
<li><a href="#trunkSourceWebCorebindingsobjcDOMNodeInternalh">trunk/Source/WebCore/bindings/objc/DOMNodeInternal.h</a></li>
<li><a href="#trunkSourceWebCorebindingsobjcDOMNodeListh">trunk/Source/WebCore/bindings/objc/DOMNodeList.h</a></li>
<li><a href="#trunkSourceWebCorebindingsobjcDOMNodeListmm">trunk/Source/WebCore/bindings/objc/DOMNodeList.mm</a></li>
<li><a href="#trunkSourceWebCorebindingsobjcDOMNodeListInternalh">trunk/Source/WebCore/bindings/objc/DOMNodeListInternal.h</a></li>
<li><a href="#trunkSourceWebCorebindingsobjcDOMNodePrivateh">trunk/Source/WebCore/bindings/objc/DOMNodePrivate.h</a></li>
<li><a href="#trunkSourceWebCorebindingsobjcDOMProcessingInstructionh">trunk/Source/WebCore/bindings/objc/DOMProcessingInstruction.h</a></li>
<li><a href="#trunkSourceWebCorebindingsobjcDOMProcessingInstructionmm">trunk/Source/WebCore/bindings/objc/DOMProcessingInstruction.mm</a></li>
<li><a href="#trunkSourceWebCorebindingsobjcDOMProcessingInstructionInternalh">trunk/Source/WebCore/bindings/objc/DOMProcessingInstructionInternal.h</a></li>
<li><a href="#trunkSourceWebCorebindingsobjcDOMTexth">trunk/Source/WebCore/bindings/objc/DOMText.h</a></li>
<li><a href="#trunkSourceWebCorebindingsobjcDOMTextmm">trunk/Source/WebCore/bindings/objc/DOMText.mm</a></li>
<li><a href="#trunkSourceWebCorebindingsobjcDOMTextInternalh">trunk/Source/WebCore/bindings/objc/DOMTextInternal.h</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (204082 => 204083)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog        2016-08-03 16:33:40 UTC (rev 204082)
+++ trunk/Source/WebCore/ChangeLog        2016-08-03 16:53:15 UTC (rev 204083)
</span><span class="lines">@@ -1,3 +1,65 @@
</span><ins>+2016-08-02 Anders Carlsson <andersca@apple.com>
+
+ Freeze the last of the Objective-C bindings
+ https://bugs.webkit.org/show_bug.cgi?id=160482
+
+ Reviewed by Darin Adler.
+
+ * WebCore.xcodeproj/project.pbxproj:
+ * bindings/objc/DOMAttr.h: Added.
+ * bindings/objc/DOMAttr.mm: Added.
+ * bindings/objc/DOMAttrInternal.h: Added.
+ * bindings/objc/DOMCDATASection.h: Added.
+ * bindings/objc/DOMCDATASection.mm: Added.
+ * bindings/objc/DOMCDATASectionInternal.h: Added.
+ * bindings/objc/DOMCharacterData.h
+ * bindings/objc/DOMCharacterData.mm: Added.
+ * bindings/objc/DOMCharacterDataInternal.h: Added.
+ * bindings/objc/DOMComment.h: Added.
+ * bindings/objc/DOMComment.mm: Added.
+ * bindings/objc/DOMCommentInternal.h: Added.
+ * bindings/objc/DOMDOMImplementation.h: Added.
+ * bindings/objc/DOMDOMImplementation.mm: Added.
+ * bindings/objc/DOMDOMImplementationInternal.h: Added.
+ * bindings/objc/DOMDocument.h: Added.
+ * bindings/objc/DOMDocument.mm: Added.
+ * bindings/objc/DOMDocumentFragment.h: Added.
+ * bindings/objc/DOMDocumentFragment.mm: Added.
+ * bindings/objc/DOMDocumentFragmentInternal.h: Added.
+ * bindings/objc/DOMDocumentFragmentPrivate.h: Added.
+ * bindings/objc/DOMDocumentInternal.h: Added.
+ * bindings/objc/DOMDocumentPrivate.h: Added.
+ * bindings/objc/DOMDocumentType.h: Added.
+ * bindings/objc/DOMDocumentType.mm: Added.
+ * bindings/objc/DOMDocumentTypeInternal.h: Added.
+ * bindings/objc/DOMElement.h: Added.
+ * bindings/objc/DOMElement.mm: Added.
+ * bindings/objc/DOMElementInternal.h: Added.
+ * bindings/objc/DOMEntity.h: Added.
+ * bindings/objc/DOMEntity.mm: Added.
+ * bindings/objc/DOMEntityInternal.h: Added.
+ * bindings/objc/DOMEntityReference.h: Added.
+ * bindings/objc/DOMEntityReference.mm: Added.
+ * bindings/objc/DOMEntityReferenceInternal.h: Added.
+ * bindings/objc/DOMNamedNodeMap.h: Added.
+ * bindings/objc/DOMNamedNodeMap.mm: Added.
+ * bindings/objc/DOMNamedNodeMapInternal.h: Added.
+ * bindings/objc/DOMNode.h: Added.
+ * bindings/objc/DOMNode.mm: Added.
+ * bindings/objc/DOMNodeInternal.h: Added.
+ * bindings/objc/DOMNodeList.h: Added.
+ * bindings/objc/DOMNodeList.mm: Added.
+ * bindings/objc/DOMNodeListInternal.h: Added.
+ * bindings/objc/DOMNodePrivate.h: Added.
+ * bindings/objc/DOMProcessingInstruction.h: Added.
+ * bindings/objc/DOMProcessingInstruction.mm: Added.
+ * bindings/objc/DOMProcessingInstructionInternal.h: Added.
+ * bindings/objc/DOMText.h: Added.
+ * bindings/objc/DOMText.mm: Added.
+ * bindings/objc/DOMTextEvent.mm:
+ * bindings/objc/DOMTextEventInternal.h:
+ * bindings/objc/DOMTextInternal.h: Added.
+
</ins><span class="cx"> 2016-08-03 Eric Carlson <eric.carlson@apple.com>
</span><span class="cx">
</span><span class="cx"> [Mac][iOS] Adopt MediaRemote "seek to playback position"
</span></span></pre></div>
<a id="trunkSourceWebCoreWebCorexcodeprojprojectpbxproj"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj (204082 => 204083)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj        2016-08-03 16:33:40 UTC (rev 204082)
+++ trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj        2016-08-03 16:53:15 UTC (rev 204083)
</span><span class="lines">@@ -560,7 +560,6 @@
</span><span class="cx">                 0FEA3E88191B3BD7000F1B55 /* ScrollingTreeFrameScrollingNode.h in Headers */ = {isa = PBXBuildFile; fileRef = 0FEA3E86191B3BD7000F1B55 /* ScrollingTreeFrameScrollingNode.h */; settings = {ATTRIBUTES = (Private, ); }; };
</span><span class="cx">                 0FEF20CE1BD4A24100128E5D /* LengthSize.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 0FEF20CD1BD4A24100128E5D /* LengthSize.cpp */; };
</span><span class="cx">                 0FEF20D01BD4A64F00128E5D /* RenderStyleConstants.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 0FEF20CF1BD4A64F00128E5D /* RenderStyleConstants.cpp */; };
</span><del>-                0FF50263102BA92C0066F39A /* DOMStyleMediaInternal.h in Headers */ = {isa = PBXBuildFile; fileRef = 0FF50262102BA92B0066F39A /* DOMStyleMediaInternal.h */; };
</del><span class="cx">                 0FF50269102BA9430066F39A /* JSStyleMedia.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 0FF50267102BA9430066F39A /* JSStyleMedia.cpp */; };
</span><span class="cx">                 0FF5026A102BA9430066F39A /* JSStyleMedia.h in Headers */ = {isa = PBXBuildFile; fileRef = 0FF50268102BA9430066F39A /* JSStyleMedia.h */; };
</span><span class="cx">                 0FF50271102BA96A0066F39A /* StyleMedia.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 0FF5026E102BA9660066F39A /* StyleMedia.cpp */; };
</span><span class="lines">@@ -7826,7 +7825,6 @@
</span><span class="cx">                 0FEA3E86191B3BD7000F1B55 /* ScrollingTreeFrameScrollingNode.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ScrollingTreeFrameScrollingNode.h; sourceTree = "<group>"; };
</span><span class="cx">                 0FEF20CD1BD4A24100128E5D /* LengthSize.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = LengthSize.cpp; sourceTree = "<group>"; };
</span><span class="cx">                 0FEF20CF1BD4A64F00128E5D /* RenderStyleConstants.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = RenderStyleConstants.cpp; sourceTree = "<group>"; };
</span><del>-                0FF50262102BA92B0066F39A /* DOMStyleMediaInternal.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DOMStyleMediaInternal.h; sourceTree = "<group>"; };
</del><span class="cx">                 0FF50267102BA9430066F39A /* JSStyleMedia.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSStyleMedia.cpp; sourceTree = "<group>"; };
</span><span class="cx">                 0FF50268102BA9430066F39A /* JSStyleMedia.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSStyleMedia.h; sourceTree = "<group>"; };
</span><span class="cx">                 0FF5026E102BA9660066F39A /* StyleMedia.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = StyleMedia.cpp; sourceTree = "<group>"; };
</span><span class="lines">@@ -9110,8 +9108,8 @@
</span><span class="cx">                 442ABCD517D9262F00D30715 /* SynchronousLoaderClientCFNet.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = SynchronousLoaderClientCFNet.cpp; sourceTree = "<group>"; };
</span><span class="cx">                 442AF7A7102CDDEA008FD4D3 /* QuickLook.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = QuickLook.h; sourceTree = "<group>"; };
</span><span class="cx">                 442AF7A8102CDDEA008FD4D3 /* QuickLook.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = QuickLook.mm; sourceTree = "<group>"; };
</span><del>-                44311CD412E4E22D000A8D19 /* DOMDocumentFragmentPrivate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DOMDocumentFragmentPrivate.h; sourceTree = "<group>"; };
-                44311CD512E4E22D000A8D19 /* DOMDocumentPrivate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DOMDocumentPrivate.h; sourceTree = "<group>"; };
</del><ins>+                44311CD412E4E22D000A8D19 /* DOMDocumentFragmentPrivate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; lineEnding = 0; path = DOMDocumentFragmentPrivate.h; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; };
+                44311CD512E4E22D000A8D19 /* DOMDocumentPrivate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; lineEnding = 0; path = DOMDocumentPrivate.h; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; };
</ins><span class="cx">                 443817FD1A91B2F8006E04F2 /* CoreMediaSoftLink.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = CoreMediaSoftLink.cpp; sourceTree = "<group>"; };
</span><span class="cx">                 443817FE1A91B2F8006E04F2 /* CoreMediaSoftLink.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CoreMediaSoftLink.h; sourceTree = "<group>"; };
</span><span class="cx">                 443917FD1A91B2F8006E04F2 /* QuickLookSoftLink.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = QuickLookSoftLink.mm; sourceTree = "<group>"; };
</span><span class="lines">@@ -10610,14 +10608,14 @@
</span><span class="cx">                 85089CC70A98C22600A275AA /* Comment.idl */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text; path = Comment.idl; sourceTree = "<group>"; };
</span><span class="cx">                 85089CC90A98C2AB00A275AA /* CDATASection.idl */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text; path = CDATASection.idl; sourceTree = "<group>"; };
</span><span class="cx">                 85089CCB0A98C33A00A275AA /* EntityReference.idl */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text; path = EntityReference.idl; sourceTree = "<group>"; };
</span><del>-                85089CCF0A98C42700A275AA /* DOMCDATASection.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMCDATASection.h; sourceTree = "<group>"; };
-                85089CD00A98C42700A275AA /* DOMCDATASection.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMCDATASection.mm; sourceTree = "<group>"; };
-                85089CD10A98C42700A275AA /* DOMComment.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMComment.h; sourceTree = "<group>"; };
-                85089CD20A98C42700A275AA /* DOMComment.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMComment.mm; sourceTree = "<group>"; };
-                85089CD30A98C42800A275AA /* DOMDocumentFragment.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMDocumentFragment.h; sourceTree = "<group>"; };
-                85089CD40A98C42800A275AA /* DOMDocumentFragment.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMDocumentFragment.mm; sourceTree = "<group>"; };
-                85089CD50A98C42800A275AA /* DOMEntityReference.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMEntityReference.h; sourceTree = "<group>"; };
-                85089CD60A98C42800A275AA /* DOMEntityReference.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMEntityReference.mm; sourceTree = "<group>"; };
</del><ins>+                85089CCF0A98C42700A275AA /* DOMCDATASection.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; lineEnding = 0; path = DOMCDATASection.h; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; };
+                85089CD00A98C42700A275AA /* DOMCDATASection.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; lineEnding = 0; path = DOMCDATASection.mm; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; };
+                85089CD10A98C42700A275AA /* DOMComment.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; lineEnding = 0; path = DOMComment.h; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; };
+                85089CD20A98C42700A275AA /* DOMComment.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; lineEnding = 0; path = DOMComment.mm; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; };
+                85089CD30A98C42800A275AA /* DOMDocumentFragment.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; lineEnding = 0; path = DOMDocumentFragment.h; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; };
+                85089CD40A98C42800A275AA /* DOMDocumentFragment.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; lineEnding = 0; path = DOMDocumentFragment.mm; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; };
+                85089CD50A98C42800A275AA /* DOMEntityReference.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; lineEnding = 0; path = DOMEntityReference.h; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; };
+                85089CD60A98C42800A275AA /* DOMEntityReference.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; lineEnding = 0; path = DOMEntityReference.mm; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; };
</ins><span class="cx">                 850B41C00AD9E7E700A6ED4F /* DOMNodeIteratorInternal.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMNodeIteratorInternal.h; sourceTree = "<group>"; };
</span><span class="cx">                 850B41C10AD9E7E700A6ED4F /* DOMTreeWalkerInternal.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMTreeWalkerInternal.h; sourceTree = "<group>"; };
</span><span class="cx">                 85183B380AA6926100F19FA3 /* DOMHTMLBRElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; lineEnding = 0; path = DOMHTMLBRElement.h; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; };
</span><span class="lines">@@ -10630,10 +10628,10 @@
</span><span class="cx">                 85183B3F0AA6926100F19FA3 /* DOMHTMLPreElement.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMHTMLPreElement.mm; sourceTree = "<group>"; };
</span><span class="cx">                 85183B400AA6926100F19FA3 /* DOMHTMLQuoteElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMHTMLQuoteElement.h; sourceTree = "<group>"; };
</span><span class="cx">                 85183B410AA6926100F19FA3 /* DOMHTMLQuoteElement.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMHTMLQuoteElement.mm; sourceTree = "<group>"; };
</span><del>-                8518DCE70A9CC80C0091B7A6 /* DOMDOMImplementation.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMDOMImplementation.h; sourceTree = "<group>"; };
-                8518DCE80A9CC80D0091B7A6 /* DOMDOMImplementation.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMDOMImplementation.mm; sourceTree = "<group>"; };
-                8518DD760A9CF31B0091B7A6 /* DOMNamedNodeMap.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMNamedNodeMap.h; sourceTree = "<group>"; };
-                8518DD770A9CF31B0091B7A6 /* DOMNamedNodeMap.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMNamedNodeMap.mm; sourceTree = "<group>"; };
</del><ins>+                8518DCE70A9CC80C0091B7A6 /* DOMDOMImplementation.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; lineEnding = 0; path = DOMDOMImplementation.h; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; };
+                8518DCE80A9CC80D0091B7A6 /* DOMDOMImplementation.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; lineEnding = 0; path = DOMDOMImplementation.mm; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; };
+                8518DD760A9CF31B0091B7A6 /* DOMNamedNodeMap.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; lineEnding = 0; path = DOMNamedNodeMap.h; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; };
+                8518DD770A9CF31B0091B7A6 /* DOMNamedNodeMap.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; lineEnding = 0; path = DOMNamedNodeMap.mm; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; };
</ins><span class="cx">                 851EE8100ABCA39600A6AA33 /* DOMEventException.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DOMEventException.h; sourceTree = "<group>"; };
</span><span class="cx">                 851EE8200ABCA58100A6AA33 /* DOMRangeException.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DOMRangeException.h; sourceTree = "<group>"; };
</span><span class="cx">                 85217E000A5ECD4700DB8D00 /* XSLImportRule.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = XSLImportRule.cpp; sourceTree = "<group>"; };
</span><span class="lines">@@ -10645,7 +10643,7 @@
</span><span class="cx">                 8538F0590AD722F1006A81D1 /* DOMRange.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMRange.mm; sourceTree = "<group>"; };
</span><span class="cx">                 8538F05A0AD722F1006A81D1 /* DOMRangeInternal.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMRangeInternal.h; sourceTree = "<group>"; };
</span><span class="cx">                 8538F0840AD72CB6006A81D1 /* DOMRanges.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DOMRanges.h; sourceTree = "<group>"; };
</span><del>-                853BF4D90ABB6B55008647BB /* DOMNode.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMNode.h; sourceTree = "<group>"; };
</del><ins>+                853BF4D90ABB6B55008647BB /* DOMNode.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; lineEnding = 0; path = DOMNode.h; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; };
</ins><span class="cx">                 853BF4DA0ABB6B55008647BB /* DOMNode.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMNode.mm; sourceTree = "<group>"; };
</span><span class="cx">                 8540751F0AD6C5FB00620C57 /* DOMEventTarget.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; lineEnding = 0; path = DOMEventTarget.h; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; };
</span><span class="cx">                 854075250AD6C66700620C57 /* DOMNodeFilter.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMNodeFilter.h; sourceTree = "<group>"; };
</span><span class="lines">@@ -10742,18 +10740,18 @@
</span><span class="cx">                 859A9C450AA5E3BD00B694B2 /* DOMHTMLStyleElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMHTMLStyleElement.h; sourceTree = "<group>"; };
</span><span class="cx">                 859A9C460AA5E3BD00B694B2 /* DOMHTMLStyleElement.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMHTMLStyleElement.mm; sourceTree = "<group>"; };
</span><span class="cx">                 859B7FB90A8D288800A5F1EA /* CodeGeneratorObjC.pm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text.script.perl; name = CodeGeneratorObjC.pm; path = ../scripts/CodeGeneratorObjC.pm; sourceTree = "<group>"; tabWidth = 8; usesTabs = 0; };
</span><del>-                85ACA9840A9B520300671E90 /* DOMCharacterData.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMCharacterData.h; sourceTree = "<group>"; };
-                85ACA9850A9B520300671E90 /* DOMCharacterData.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMCharacterData.mm; sourceTree = "<group>"; };
</del><ins>+                85ACA9840A9B520300671E90 /* DOMCharacterData.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; lineEnding = 0; path = DOMCharacterData.h; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; };
+                85ACA9850A9B520300671E90 /* DOMCharacterData.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; lineEnding = 0; path = DOMCharacterData.mm; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; };
</ins><span class="cx">                 85ACA99A0A9B575900671E90 /* DOMText.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMText.h; sourceTree = "<group>"; };
</span><span class="cx">                 85ACA99B0A9B575900671E90 /* DOMText.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMText.mm; sourceTree = "<group>"; };
</span><del>-                85ACA9BE0A9B5FA500671E90 /* DOMElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMElement.h; sourceTree = "<group>"; };
-                85ACA9BF0A9B5FA500671E90 /* DOMElement.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMElement.mm; sourceTree = "<group>"; };
</del><ins>+                85ACA9BE0A9B5FA500671E90 /* DOMElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; lineEnding = 0; path = DOMElement.h; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; };
+                85ACA9BF0A9B5FA500671E90 /* DOMElement.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; lineEnding = 0; path = DOMElement.mm; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; };
</ins><span class="cx">                 85ACA9F90A9B631000671E90 /* NamedNodeMap.idl */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text; path = NamedNodeMap.idl; sourceTree = "<group>"; };
</span><span class="cx">                 85ACA9FA0A9B631000671E90 /* NodeList.idl */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text; path = NodeList.idl; sourceTree = "<group>"; };
</span><span class="cx">                 85ACAA890A9B759C00671E90 /* DOMNodeList.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMNodeList.h; sourceTree = "<group>"; };
</span><span class="cx">                 85ACAA8A0A9B759C00671E90 /* DOMNodeList.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMNodeList.mm; sourceTree = "<group>"; };
</span><del>-                85ACABAE0A9CAF8000671E90 /* DOMDocument.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMDocument.h; sourceTree = "<group>"; };
-                85ACABAF0A9CAF8000671E90 /* DOMDocument.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMDocument.mm; sourceTree = "<group>"; };
</del><ins>+                85ACABAE0A9CAF8000671E90 /* DOMDocument.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; lineEnding = 0; path = DOMDocument.h; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; };
+                85ACABAF0A9CAF8000671E90 /* DOMDocument.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; lineEnding = 0; path = DOMDocument.mm; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; };
</ins><span class="cx">                 85AFA7410AAF298400E84305 /* EventListener.idl */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text; path = EventListener.idl; sourceTree = "<group>"; };
</span><span class="cx">                 85AFA7420AAF298400E84305 /* EventTarget.idl */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text; path = EventTarget.idl; sourceTree = "<group>"; };
</span><span class="cx">                 85AFA8200AAF528A00E84305 /* DOMEvent.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; lineEnding = 0; path = DOMEvent.h; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; };
</span><span class="lines">@@ -10806,13 +10804,13 @@
</span><span class="cx">                 85C7F5CF0AAFB8D9004014DD /* DOMOverflowEvent.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; lineEnding = 0; path = DOMOverflowEvent.mm; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; };
</span><span class="cx">                 85C7F5E50AAFBAFB004014DD /* DOMWheelEvent.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; lineEnding = 0; path = DOMWheelEvent.h; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; };
</span><span class="cx">                 85C7F5E60AAFBAFB004014DD /* DOMWheelEvent.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; lineEnding = 0; path = DOMWheelEvent.mm; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; };
</span><del>-                85CA96B60A9621A600690CCF /* DOMEntity.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMEntity.h; sourceTree = "<group>"; };
-                85CA96B70A9621A600690CCF /* DOMEntity.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMEntity.mm; sourceTree = "<group>"; };
-                85CA975A0A962E5400690CCF /* DOMDocumentType.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMDocumentType.h; sourceTree = "<group>"; };
-                85CA975B0A962E5400690CCF /* DOMDocumentType.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMDocumentType.mm; sourceTree = "<group>"; };
</del><ins>+                85CA96B60A9621A600690CCF /* DOMEntity.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; lineEnding = 0; path = DOMEntity.h; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; };
+                85CA96B70A9621A600690CCF /* DOMEntity.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; lineEnding = 0; path = DOMEntity.mm; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; };
+                85CA975A0A962E5400690CCF /* DOMDocumentType.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; lineEnding = 0; path = DOMDocumentType.h; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; };
+                85CA975B0A962E5400690CCF /* DOMDocumentType.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; lineEnding = 0; path = DOMDocumentType.mm; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; };
</ins><span class="cx">                 85D2AD670AB1A40A00C313EA /* DOMEventListener.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; lineEnding = 0; path = DOMEventListener.h; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; };
</span><del>-                85D389B00A991A7F00282145 /* DOMAttr.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMAttr.h; sourceTree = "<group>"; };
-                85D389B10A991A7F00282145 /* DOMAttr.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMAttr.mm; sourceTree = "<group>"; };
</del><ins>+                85D389B00A991A7F00282145 /* DOMAttr.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; lineEnding = 0; path = DOMAttr.h; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; };
+                85D389B10A991A7F00282145 /* DOMAttr.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; lineEnding = 0; path = DOMAttr.mm; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; };
</ins><span class="cx">                 85DF2C100AA341F600AD64C5 /* DOMHTMLFormElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; lineEnding = 0; path = DOMHTMLFormElement.h; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; };
</span><span class="cx">                 85DF2C110AA341F600AD64C5 /* DOMHTMLFormElement.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMHTMLFormElement.mm; sourceTree = "<group>"; };
</span><span class="cx">                 85DF2EEB0AA387CB00AD64C5 /* DOMHTMLElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; lineEnding = 0; path = DOMHTMLElement.h; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; };
</span><span class="lines">@@ -10849,20 +10847,20 @@
</span><span class="cx">                 85DF821C0AA7849E00486AD7 /* DOMHTMLTableSectionElement.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMHTMLTableSectionElement.mm; sourceTree = "<group>"; };
</span><span class="cx">                 85DF826E0AA78B8A00486AD7 /* DOMHTMLTableElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMHTMLTableElement.h; sourceTree = "<group>"; };
</span><span class="cx">                 85DF826F0AA78B8A00486AD7 /* DOMHTMLTableElement.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMHTMLTableElement.mm; sourceTree = "<group>"; };
</span><del>-                85E7113E0AC5D5340053270F /* DOMAttrInternal.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMAttrInternal.h; sourceTree = "<group>"; };
-                85E7113F0AC5D5340053270F /* DOMCDATASectionInternal.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMCDATASectionInternal.h; sourceTree = "<group>"; };
-                85E711400AC5D5340053270F /* DOMCharacterDataInternal.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMCharacterDataInternal.h; sourceTree = "<group>"; };
-                85E711410AC5D5340053270F /* DOMCommentInternal.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMCommentInternal.h; sourceTree = "<group>"; };
</del><ins>+                85E7113E0AC5D5340053270F /* DOMAttrInternal.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; lineEnding = 0; path = DOMAttrInternal.h; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; };
+                85E7113F0AC5D5340053270F /* DOMCDATASectionInternal.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; lineEnding = 0; path = DOMCDATASectionInternal.h; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; };
+                85E711400AC5D5340053270F /* DOMCharacterDataInternal.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; lineEnding = 0; path = DOMCharacterDataInternal.h; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; };
+                85E711410AC5D5340053270F /* DOMCommentInternal.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; lineEnding = 0; path = DOMCommentInternal.h; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; };
</ins><span class="cx">                 85E711420AC5D5340053270F /* DOMCounterInternal.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; lineEnding = 0; path = DOMCounterInternal.h; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; };
</span><span class="cx">                 85E711430AC5D5340053270F /* DOMCSSRuleListInternal.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; lineEnding = 0; path = DOMCSSRuleListInternal.h; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; };
</span><span class="cx">                 85E711440AC5D5340053270F /* DOMCSSStyleDeclarationInternal.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; lineEnding = 0; path = DOMCSSStyleDeclarationInternal.h; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; };
</span><del>-                85E711450AC5D5340053270F /* DOMDocumentFragmentInternal.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMDocumentFragmentInternal.h; sourceTree = "<group>"; };
-                85E711460AC5D5340053270F /* DOMDocumentInternal.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMDocumentInternal.h; sourceTree = "<group>"; };
-                85E711470AC5D5340053270F /* DOMDocumentTypeInternal.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMDocumentTypeInternal.h; sourceTree = "<group>"; };
-                85E711480AC5D5340053270F /* DOMDOMImplementationInternal.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMDOMImplementationInternal.h; sourceTree = "<group>"; };
-                85E711490AC5D5340053270F /* DOMElementInternal.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMElementInternal.h; sourceTree = "<group>"; };
-                85E7114A0AC5D5340053270F /* DOMEntityInternal.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMEntityInternal.h; sourceTree = "<group>"; };
-                85E7114B0AC5D5340053270F /* DOMEntityReferenceInternal.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMEntityReferenceInternal.h; sourceTree = "<group>"; };
</del><ins>+                85E711450AC5D5340053270F /* DOMDocumentFragmentInternal.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; lineEnding = 0; path = DOMDocumentFragmentInternal.h; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; };
+                85E711460AC5D5340053270F /* DOMDocumentInternal.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; lineEnding = 0; path = DOMDocumentInternal.h; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; };
+                85E711470AC5D5340053270F /* DOMDocumentTypeInternal.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; lineEnding = 0; path = DOMDocumentTypeInternal.h; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; };
+                85E711480AC5D5340053270F /* DOMDOMImplementationInternal.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; lineEnding = 0; path = DOMDOMImplementationInternal.h; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; };
+                85E711490AC5D5340053270F /* DOMElementInternal.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; lineEnding = 0; path = DOMElementInternal.h; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; };
+                85E7114A0AC5D5340053270F /* DOMEntityInternal.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; lineEnding = 0; path = DOMEntityInternal.h; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; };
+                85E7114B0AC5D5340053270F /* DOMEntityReferenceInternal.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; lineEnding = 0; path = DOMEntityReferenceInternal.h; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; };
</ins><span class="cx">                 85E7114C0AC5D5340053270F /* DOMHTMLAnchorElementInternal.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; lineEnding = 0; path = DOMHTMLAnchorElementInternal.h; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; };
</span><span class="cx">                 85E7114D0AC5D5340053270F /* DOMHTMLAreaElementInternal.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; lineEnding = 0; path = DOMHTMLAreaElementInternal.h; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; };
</span><span class="cx">                 85E7114E0AC5D5340053270F /* DOMHTMLBaseElementInternal.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; lineEnding = 0; path = DOMHTMLBaseElementInternal.h; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; };
</span><span class="lines">@@ -18550,88 +18548,63 @@
</span><span class="cx">                 854F12AC0A8EBC18000940B5 /* Core */ = {
</span><span class="cx">                         isa = PBXGroup;
</span><span class="cx">                         children = (
</span><del>-                                856C8AE20A912649005C687B /* DOMObject.h */,
-                                856C8AE30A912649005C687B /* DOMObject.mm */,
-                        );
-                        name = Core;
-                        sourceTree = "<group>";
-                };
-                85967D9F0AA8BB59005FEDEE /* Core */ = {
-                        isa = PBXGroup;
-                        children = (
</del><span class="cx">                                 85D389B00A991A7F00282145 /* DOMAttr.h */,
</span><span class="cx">                                 85D389B10A991A7F00282145 /* DOMAttr.mm */,
</span><ins>+                                85E7113E0AC5D5340053270F /* DOMAttrInternal.h */,
</ins><span class="cx">                                 85089CCF0A98C42700A275AA /* DOMCDATASection.h */,
</span><span class="cx">                                 85089CD00A98C42700A275AA /* DOMCDATASection.mm */,
</span><ins>+                                85E7113F0AC5D5340053270F /* DOMCDATASectionInternal.h */,
</ins><span class="cx">                                 85ACA9840A9B520300671E90 /* DOMCharacterData.h */,
</span><span class="cx">                                 85ACA9850A9B520300671E90 /* DOMCharacterData.mm */,
</span><ins>+                                85E711400AC5D5340053270F /* DOMCharacterDataInternal.h */,
</ins><span class="cx">                                 85089CD10A98C42700A275AA /* DOMComment.h */,
</span><span class="cx">                                 85089CD20A98C42700A275AA /* DOMComment.mm */,
</span><ins>+                                85E711410AC5D5340053270F /* DOMCommentInternal.h */,
</ins><span class="cx">                                 85ACABAE0A9CAF8000671E90 /* DOMDocument.h */,
</span><span class="cx">                                 85ACABAF0A9CAF8000671E90 /* DOMDocument.mm */,
</span><span class="cx">                                 85089CD30A98C42800A275AA /* DOMDocumentFragment.h */,
</span><span class="cx">                                 85089CD40A98C42800A275AA /* DOMDocumentFragment.mm */,
</span><ins>+                                85E711450AC5D5340053270F /* DOMDocumentFragmentInternal.h */,
</ins><span class="cx">                                 44311CD412E4E22D000A8D19 /* DOMDocumentFragmentPrivate.h */,
</span><ins>+                                85E711460AC5D5340053270F /* DOMDocumentInternal.h */,
</ins><span class="cx">                                 44311CD512E4E22D000A8D19 /* DOMDocumentPrivate.h */,
</span><span class="cx">                                 85CA975A0A962E5400690CCF /* DOMDocumentType.h */,
</span><span class="cx">                                 85CA975B0A962E5400690CCF /* DOMDocumentType.mm */,
</span><ins>+                                85E711470AC5D5340053270F /* DOMDocumentTypeInternal.h */,
</ins><span class="cx">                                 8518DCE70A9CC80C0091B7A6 /* DOMDOMImplementation.h */,
</span><span class="cx">                                 8518DCE80A9CC80D0091B7A6 /* DOMDOMImplementation.mm */,
</span><ins>+                                85E711480AC5D5340053270F /* DOMDOMImplementationInternal.h */,
</ins><span class="cx">                                 85ACA9BE0A9B5FA500671E90 /* DOMElement.h */,
</span><span class="cx">                                 85ACA9BF0A9B5FA500671E90 /* DOMElement.mm */,
</span><ins>+                                85E711490AC5D5340053270F /* DOMElementInternal.h */,
</ins><span class="cx">                                 85CA96B60A9621A600690CCF /* DOMEntity.h */,
</span><span class="cx">                                 85CA96B70A9621A600690CCF /* DOMEntity.mm */,
</span><ins>+                                85E7114A0AC5D5340053270F /* DOMEntityInternal.h */,
</ins><span class="cx">                                 85089CD50A98C42800A275AA /* DOMEntityReference.h */,
</span><span class="cx">                                 85089CD60A98C42800A275AA /* DOMEntityReference.mm */,
</span><ins>+                                85E7114B0AC5D5340053270F /* DOMEntityReferenceInternal.h */,
</ins><span class="cx">                                 8518DD760A9CF31B0091B7A6 /* DOMNamedNodeMap.h */,
</span><span class="cx">                                 8518DD770A9CF31B0091B7A6 /* DOMNamedNodeMap.mm */,
</span><ins>+                                85E711830AC5D5350053270F /* DOMNamedNodeMapInternal.h */,
</ins><span class="cx">                                 853BF4D90ABB6B55008647BB /* DOMNode.h */,
</span><span class="cx">                                 853BF4DA0ABB6B55008647BB /* DOMNode.mm */,
</span><ins>+                                85B498FA0ADB340200925CBB /* DOMNodeInternal.h */,
</ins><span class="cx">                                 85ACAA890A9B759C00671E90 /* DOMNodeList.h */,
</span><span class="cx">                                 85ACAA8A0A9B759C00671E90 /* DOMNodeList.mm */,
</span><ins>+                                85E711840AC5D5350053270F /* DOMNodeListInternal.h */,
</ins><span class="cx">                                 A54A82EA15228CA300C72BA6 /* DOMNodePrivate.h */,
</span><ins>+                                856C8AE20A912649005C687B /* DOMObject.h */,
+                                856C8AE30A912649005C687B /* DOMObject.mm */,
</ins><span class="cx">                                 85F56A780A98CE3700ADB60A /* DOMProcessingInstruction.h */,
</span><span class="cx">                                 85F56A790A98CE3700ADB60A /* DOMProcessingInstruction.mm */,
</span><ins>+                                85E711860AC5D5350053270F /* DOMProcessingInstructionInternal.h */,
</ins><span class="cx">                                 85ACA99A0A9B575900671E90 /* DOMText.h */,
</span><span class="cx">                                 85ACA99B0A9B575900671E90 /* DOMText.mm */,
</span><ins>+                                85E7118A0AC5D5350053270F /* DOMTextInternal.h */,
</ins><span class="cx">                         );
</span><span class="cx">                         name = Core;
</span><span class="cx">                         sourceTree = "<group>";
</span><span class="cx">                 };
</span><del>-                85B232260A8BF3A100FDF47B /* Derived Sources */ = {
-                        isa = PBXGroup;
-                        children = (
-                                85967D9F0AA8BB59005FEDEE /* Core */,
-                                85E7113D0AC5D4A10053270F /* Internal */,
-                        );
-                        name = "Derived Sources";
-                        path = DerivedSources/WebCore;
-                        sourceTree = BUILT_PRODUCTS_DIR;
-                };
-                85E7113D0AC5D4A10053270F /* Internal */ = {
-                        isa = PBXGroup;
-                        children = (
-                                85E7113E0AC5D5340053270F /* DOMAttrInternal.h */,
-                                85E7113F0AC5D5340053270F /* DOMCDATASectionInternal.h */,
-                                85E711400AC5D5340053270F /* DOMCharacterDataInternal.h */,
-                                85E711410AC5D5340053270F /* DOMCommentInternal.h */,
-                                85E711450AC5D5340053270F /* DOMDocumentFragmentInternal.h */,
-                                85E711460AC5D5340053270F /* DOMDocumentInternal.h */,
-                                85E711470AC5D5340053270F /* DOMDocumentTypeInternal.h */,
-                                85E711480AC5D5340053270F /* DOMDOMImplementationInternal.h */,
-                                85E711490AC5D5340053270F /* DOMElementInternal.h */,
-                                85E7114A0AC5D5340053270F /* DOMEntityInternal.h */,
-                                85E7114B0AC5D5340053270F /* DOMEntityReferenceInternal.h */,
-                                85E711830AC5D5350053270F /* DOMNamedNodeMapInternal.h */,
-                                85B498FA0ADB340200925CBB /* DOMNodeInternal.h */,
-                                85E711840AC5D5350053270F /* DOMNodeListInternal.h */,
-                                85E711860AC5D5350053270F /* DOMProcessingInstructionInternal.h */,
-                                0FF50262102BA92B0066F39A /* DOMStyleMediaInternal.h */,
-                                85E7118A0AC5D5350053270F /* DOMTextInternal.h */,
-                        );
-                        name = Internal;
-                        sourceTree = "<group>";
-                };
</del><span class="cx">                 89878576122CA1DA003AABDA /* FileAPI */ = {
</span><span class="cx">                         isa = PBXGroup;
</span><span class="cx">                         children = (
</span><span class="lines">@@ -22228,7 +22201,6 @@
</span><span class="cx">                                 854F12AC0A8EBC18000940B5 /* Core */,
</span><span class="cx">                                 854075420AD6C73E00620C57 /* DOMExceptions */,
</span><span class="cx">                                 1AD2D15C1D4FD6B200B7DE36 /* HTML */,
</span><del>-                                85B232260A8BF3A100FDF47B /* Derived Sources */,
</del><span class="cx">                                 BCD0FBCE0DBD624100B2F630 /* Views */,
</span><span class="cx">                                 1ACF3FB51D5012440063AEFB /* XPath */,
</span><span class="cx">                                 859B7FB90A8D288800A5F1EA /* CodeGeneratorObjC.pm */,
</span><span class="lines">@@ -25703,7 +25675,6 @@
</span><span class="cx">                                 4ACBC0C412713CCA0094F9B2 /* DOMSettableTokenList.h in Headers */,
</span><span class="cx">                                 C544274B11A57E7A0063A749 /* DOMStringList.h in Headers */,
</span><span class="cx">                                 BC64640A11D7F304006455B0 /* DOMStringMap.h in Headers */,
</span><del>-                                0FF50263102BA92C0066F39A /* DOMStyleMediaInternal.h in Headers */,
</del><span class="cx">                                 850657000AAB4763002D15C0 /* DOMStyleSheet.h in Headers */,
</span><span class="cx">                                 85B498FF0ADB348100925CBB /* DOMStyleSheetInternal.h in Headers */,
</span><span class="cx">                                 850657020AAB4763002D15C0 /* DOMStyleSheetList.h in Headers */,
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsobjcDOMAttrhfromrev204082trunkSourceWebCorebindingsobjcDOMTextEventInternalh"></a>
<div class="copfile"><h4>Copied: trunk/Source/WebCore/bindings/objc/DOMAttr.h (from rev 204082, trunk/Source/WebCore/bindings/objc/DOMTextEventInternal.h) (0 => 204083)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/objc/DOMAttr.h         (rev 0)
+++ trunk/Source/WebCore/bindings/objc/DOMAttr.h        2016-08-03 16:53:15 UTC (rev 204083)
</span><span class="lines">@@ -0,0 +1,39 @@
</span><ins>+/*
+ * Copyright (C) 2004-2016 Apple Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#import <WebCore/DOMNode.h>
+
+@class DOMCSSStyleDeclaration;
+@class DOMElement;
+@class NSString;
+
+WEBKIT_CLASS_AVAILABLE_MAC(10_4)
+WEBCORE_EXPORT @interface DOMAttr : DOMNode
+@property (readonly, copy) NSString *name;
+@property (readonly) BOOL specified;
+@property (copy) NSString *value;
+@property (readonly, strong) DOMElement *ownerElement;
+@property (readonly, strong) DOMCSSStyleDeclaration *style WEBKIT_AVAILABLE_MAC(10_5);
+@end
</ins></span></pre></div>
<a id="trunkSourceWebCorebindingsobjcDOMAttrmmfromrev204082trunkSourceWebCorebindingsobjcDOMTextEventmm"></a>
<div class="copfile"><h4>Copied: trunk/Source/WebCore/bindings/objc/DOMAttr.mm (from rev 204082, trunk/Source/WebCore/bindings/objc/DOMTextEvent.mm) (0 => 204083)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/objc/DOMAttr.mm         (rev 0)
+++ trunk/Source/WebCore/bindings/objc/DOMAttr.mm        2016-08-03 16:53:15 UTC (rev 204083)
</span><span class="lines">@@ -0,0 +1,100 @@
</span><ins>+/*
+ * Copyright (C) 2004-2016 Apple Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#import "config.h"
+#import "DOMAttrInternal.h"
+
+#import "Attr.h"
+#import "CSSStyleDeclaration.h"
+#import "DOMCSSStyleDeclarationInternal.h"
+#import "DOMElementInternal.h"
+#import "DOMNodeInternal.h"
+#import "Element.h"
+#import "ExceptionHandlers.h"
+#import "JSMainThreadExecState.h"
+#import "StyleProperties.h"
+#import "ThreadCheck.h"
+#import "URL.h"
+#import "WebScriptObjectPrivate.h"
+#import <wtf/GetPtr.h>
+
+#define IMPL static_cast<WebCore::Attr*>(reinterpret_cast<WebCore::Node*>(_internal))
+
+@implementation DOMAttr
+
+- (NSString *)name
+{
+ WebCore::JSMainThreadNullState state;
+ return IMPL->name();
+}
+
+- (BOOL)specified
+{
+ WebCore::JSMainThreadNullState state;
+ return IMPL->specified();
+}
+
+- (NSString *)value
+{
+ WebCore::JSMainThreadNullState state;
+ return IMPL->valueForBindings();
+}
+
+- (void)setValue:(NSString *)newValue
+{
+ WebCore::JSMainThreadNullState state;
+ IMPL->setValueForBindings(newValue);
+}
+
+- (DOMElement *)ownerElement
+{
+ WebCore::JSMainThreadNullState state;
+ return kit(WTF::getPtr(IMPL->ownerElement()));
+}
+
+- (BOOL)isId
+{
+ WebCore::JSMainThreadNullState state;
+ return IMPL->isId();
+}
+
+- (DOMCSSStyleDeclaration *)style
+{
+ WebCore::JSMainThreadNullState state;
+ return kit(WTF::getPtr(IMPL->style()));
+}
+
+@end
+
+WebCore::Attr* core(DOMAttr *wrapper)
+{
+ return wrapper ? reinterpret_cast<WebCore::Attr*>(wrapper->_internal) : 0;
+}
+
+DOMAttr *kit(WebCore::Attr* value)
+{
+ WebCoreThreadViolationCheckRoundOne();
+ return static_cast<DOMAttr*>(kit(static_cast<WebCore::Node*>(value)));
+}
</ins></span></pre></div>
<a id="trunkSourceWebCorebindingsobjcDOMAttrInternalhfromrev204082trunkSourceWebCorebindingsobjcDOMTextEventInternalh"></a>
<div class="copfile"><h4>Copied: trunk/Source/WebCore/bindings/objc/DOMAttrInternal.h (from rev 204082, trunk/Source/WebCore/bindings/objc/DOMTextEventInternal.h) (0 => 204083)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/objc/DOMAttrInternal.h         (rev 0)
+++ trunk/Source/WebCore/bindings/objc/DOMAttrInternal.h        2016-08-03 16:53:15 UTC (rev 204083)
</span><span class="lines">@@ -0,0 +1,33 @@
</span><ins>+/*
+ * Copyright (C) 2004-2016 Apple Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#import <WebCore/DOMAttr.h>
+
+namespace WebCore {
+class Attr;
+}
+
+WEBCORE_EXPORT WebCore::Attr* core(DOMAttr *);
+WEBCORE_EXPORT DOMAttr *kit(WebCore::Attr*);
</ins></span></pre></div>
<a id="trunkSourceWebCorebindingsobjcDOMCDATASectionhfromrev204082trunkSourceWebCorebindingsobjcDOMTextEventInternalh"></a>
<div class="copfile"><h4>Copied: trunk/Source/WebCore/bindings/objc/DOMCDATASection.h (from rev 204082, trunk/Source/WebCore/bindings/objc/DOMTextEventInternal.h) (0 => 204083)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/objc/DOMCDATASection.h         (rev 0)
+++ trunk/Source/WebCore/bindings/objc/DOMCDATASection.h        2016-08-03 16:53:15 UTC (rev 204083)
</span><span class="lines">@@ -0,0 +1,30 @@
</span><ins>+/*
+ * Copyright (C) 2004-2016 Apple Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#import <WebCore/DOMText.h>
+
+WEBKIT_CLASS_AVAILABLE_MAC(10_4)
+WEBCORE_EXPORT @interface DOMCDATASection : DOMText
+@end
</ins></span></pre></div>
<a id="trunkSourceWebCorebindingsobjcDOMCDATASectionmmfromrev204082trunkSourceWebCorebindingsobjcDOMTextEventInternalh"></a>
<div class="copfile"><h4>Copied: trunk/Source/WebCore/bindings/objc/DOMCDATASection.mm (from rev 204082, trunk/Source/WebCore/bindings/objc/DOMTextEventInternal.h) (0 => 204083)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/objc/DOMCDATASection.mm         (rev 0)
+++ trunk/Source/WebCore/bindings/objc/DOMCDATASection.mm        2016-08-03 16:53:15 UTC (rev 204083)
</span><span class="lines">@@ -0,0 +1,52 @@
</span><ins>+/*
+ * Copyright (C) 2004-2016 Apple Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#import "config.h"
+#import "DOMCDATASectionInternal.h"
+
+#import "CDATASection.h"
+#import "DOMNodeInternal.h"
+#import "ExceptionHandlers.h"
+#import "JSMainThreadExecState.h"
+#import "ThreadCheck.h"
+#import "WebScriptObjectPrivate.h"
+#import <wtf/GetPtr.h>
+
+#define IMPL static_cast<WebCore::CDATASection*>(reinterpret_cast<WebCore::Node*>(_internal))
+
+@implementation DOMCDATASection
+
+@end
+
+WebCore::CDATASection* core(DOMCDATASection *wrapper)
+{
+ return wrapper ? reinterpret_cast<WebCore::CDATASection*>(wrapper->_internal) : 0;
+}
+
+DOMCDATASection *kit(WebCore::CDATASection* value)
+{
+ WebCoreThreadViolationCheckRoundOne();
+ return static_cast<DOMCDATASection*>(kit(static_cast<WebCore::Node*>(value)));
+}
</ins></span></pre></div>
<a id="trunkSourceWebCorebindingsobjcDOMCDATASectionInternalhfromrev204082trunkSourceWebCorebindingsobjcDOMTextEventInternalh"></a>
<div class="copfile"><h4>Copied: trunk/Source/WebCore/bindings/objc/DOMCDATASectionInternal.h (from rev 204082, trunk/Source/WebCore/bindings/objc/DOMTextEventInternal.h) (0 => 204083)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/objc/DOMCDATASectionInternal.h         (rev 0)
+++ trunk/Source/WebCore/bindings/objc/DOMCDATASectionInternal.h        2016-08-03 16:53:15 UTC (rev 204083)
</span><span class="lines">@@ -0,0 +1,33 @@
</span><ins>+/*
+ * Copyright (C) 2004-2016 Apple Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#import <WebCore/DOMCDATASection.h>
+
+namespace WebCore {
+class CDATASection;
+}
+
+WEBCORE_EXPORT WebCore::CDATASection* core(DOMCDATASection *);
+WEBCORE_EXPORT DOMCDATASection *kit(WebCore::CDATASection*);
</ins></span></pre></div>
<a id="trunkSourceWebCorebindingsobjcDOMCharacterDatahfromrev204082trunkSourceWebCorebindingsobjcDOMTextEventInternalh"></a>
<div class="copfile"><h4>Copied: trunk/Source/WebCore/bindings/objc/DOMCharacterData.h (from rev 204082, trunk/Source/WebCore/bindings/objc/DOMTextEventInternal.h) (0 => 204083)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/objc/DOMCharacterData.h         (rev 0)
+++ trunk/Source/WebCore/bindings/objc/DOMCharacterData.h        2016-08-03 16:53:15 UTC (rev 204083)
</span><span class="lines">@@ -0,0 +1,47 @@
</span><ins>+/*
+ * Copyright (C) 2004-2016 Apple Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#import <WebCore/DOMNode.h>
+
+@class NSString;
+
+WEBKIT_CLASS_AVAILABLE_MAC(10_4)
+WEBCORE_EXPORT @interface DOMCharacterData : DOMNode
+@property (copy) NSString *data;
+@property (readonly) unsigned length;
+
+- (NSString *)substringData:(unsigned)offset length:(unsigned)length WEBKIT_AVAILABLE_MAC(10_5);
+- (void)appendData:(NSString *)data;
+- (void)insertData:(unsigned)offset data:(NSString *)data WEBKIT_AVAILABLE_MAC(10_5);
+- (void)deleteData:(unsigned)offset length:(unsigned)length WEBKIT_AVAILABLE_MAC(10_5);
+- (void)replaceData:(unsigned)offset length:(unsigned)length data:(NSString *)data WEBKIT_AVAILABLE_MAC(10_5);
+@end
+
+@interface DOMCharacterData (DOMCharacterDataDeprecated)
+- (NSString *)substringData:(unsigned)offset :(unsigned)length WEBKIT_DEPRECATED_MAC(10_4, 10_5);
+- (void)insertData:(unsigned)offset :(NSString *)data WEBKIT_DEPRECATED_MAC(10_4, 10_5);
+- (void)deleteData:(unsigned)offset :(unsigned)length WEBKIT_DEPRECATED_MAC(10_4, 10_5);
+- (void)replaceData:(unsigned)offset :(unsigned)length :(NSString *)data WEBKIT_DEPRECATED_MAC(10_4, 10_5);
+@end
</ins></span></pre></div>
<a id="trunkSourceWebCorebindingsobjcDOMCharacterDatamm"></a>
<div class="addfile"><h4>Added: trunk/Source/WebCore/bindings/objc/DOMCharacterData.mm (0 => 204083)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/objc/DOMCharacterData.mm         (rev 0)
+++ trunk/Source/WebCore/bindings/objc/DOMCharacterData.mm        2016-08-03 16:53:15 UTC (rev 204083)
</span><span class="lines">@@ -0,0 +1,165 @@
</span><ins>+/*
+ * Copyright (C) 2004-2016 Apple Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#import "config.h"
+#import "DOMCharacterDataInternal.h"
+
+#import "CharacterData.h"
+#import "DOMElementInternal.h"
+#import "DOMNodeInternal.h"
+#import "Element.h"
+#import "ExceptionHandlers.h"
+#import "JSMainThreadExecState.h"
+#import "ThreadCheck.h"
+#import "URL.h"
+#import "WebScriptObjectPrivate.h"
+#import <wtf/GetPtr.h>
+
+#define IMPL static_cast<WebCore::CharacterData*>(reinterpret_cast<WebCore::Node*>(_internal))
+
+@implementation DOMCharacterData
+
+- (NSString *)data
+{
+ WebCore::JSMainThreadNullState state;
+ return IMPL->data();
+}
+
+- (void)setData:(NSString *)newData
+{
+ WebCore::JSMainThreadNullState state;
+ IMPL->setData(newData);
+}
+
+- (unsigned)length
+{
+ WebCore::JSMainThreadNullState state;
+ return IMPL->length();
+}
+
+- (DOMElement *)previousElementSibling
+{
+ WebCore::JSMainThreadNullState state;
+ return kit(WTF::getPtr(IMPL->previousElementSibling()));
+}
+
+- (DOMElement *)nextElementSibling
+{
+ WebCore::JSMainThreadNullState state;
+ return kit(WTF::getPtr(IMPL->nextElementSibling()));
+}
+
+- (NSString *)substringData:(unsigned)offset length:(unsigned)inLength
+{
+ WebCore::JSMainThreadNullState state;
+ WebCore::ExceptionCode ec = 0;
+ NSString *result = IMPL->substringData(offset, inLength, ec);
+ WebCore::raiseOnDOMError(ec);
+ return result;
+}
+
+- (NSString *)substringData:(unsigned)offset :(unsigned)inLength
+{
+ WebCore::JSMainThreadNullState state;
+ WebCore::ExceptionCode ec = 0;
+ NSString *result = IMPL->substringData(offset, inLength, ec);
+ WebCore::raiseOnDOMError(ec);
+ return result;
+}
+
+- (void)appendData:(NSString *)inData
+{
+ WebCore::JSMainThreadNullState state;
+ IMPL->appendData(inData);
+}
+
+- (void)insertData:(unsigned)offset data:(NSString *)inData
+{
+ WebCore::JSMainThreadNullState state;
+ WebCore::ExceptionCode ec = 0;
+ IMPL->insertData(offset, inData, ec);
+ WebCore::raiseOnDOMError(ec);
+}
+
+- (void)insertData:(unsigned)offset :(NSString *)inData
+{
+ WebCore::JSMainThreadNullState state;
+ WebCore::ExceptionCode ec = 0;
+ IMPL->insertData(offset, inData, ec);
+ WebCore::raiseOnDOMError(ec);
+}
+
+- (void)deleteData:(unsigned)offset length:(unsigned)inLength
+{
+ WebCore::JSMainThreadNullState state;
+ WebCore::ExceptionCode ec = 0;
+ IMPL->deleteData(offset, inLength, ec);
+ WebCore::raiseOnDOMError(ec);
+}
+
+- (void)deleteData:(unsigned)offset :(unsigned)inLength
+{
+ WebCore::JSMainThreadNullState state;
+ WebCore::ExceptionCode ec = 0;
+ IMPL->deleteData(offset, inLength, ec);
+ WebCore::raiseOnDOMError(ec);
+}
+
+- (void)replaceData:(unsigned)offset length:(unsigned)inLength data:(NSString *)inData
+{
+ WebCore::JSMainThreadNullState state;
+ WebCore::ExceptionCode ec = 0;
+ IMPL->replaceData(offset, inLength, inData, ec);
+ WebCore::raiseOnDOMError(ec);
+}
+
+- (void)replaceData:(unsigned)offset :(unsigned)inLength :(NSString *)inData
+{
+ WebCore::JSMainThreadNullState state;
+ WebCore::ExceptionCode ec = 0;
+ IMPL->replaceData(offset, inLength, inData, ec);
+ WebCore::raiseOnDOMError(ec);
+}
+
+- (void)remove
+{
+ WebCore::JSMainThreadNullState state;
+ WebCore::ExceptionCode ec = 0;
+ IMPL->remove(ec);
+ WebCore::raiseOnDOMError(ec);
+}
+
+@end
+
+WebCore::CharacterData* core(DOMCharacterData *wrapper)
+{
+ return wrapper ? reinterpret_cast<WebCore::CharacterData*>(wrapper->_internal) : 0;
+}
+
+DOMCharacterData *kit(WebCore::CharacterData* value)
+{
+ WebCoreThreadViolationCheckRoundOne();
+ return static_cast<DOMCharacterData*>(kit(static_cast<WebCore::Node*>(value)));
+}
</ins></span></pre></div>
<a id="trunkSourceWebCorebindingsobjcDOMCharacterDataInternalhfromrev204082trunkSourceWebCorebindingsobjcDOMTextEventInternalh"></a>
<div class="copfile"><h4>Copied: trunk/Source/WebCore/bindings/objc/DOMCharacterDataInternal.h (from rev 204082, trunk/Source/WebCore/bindings/objc/DOMTextEventInternal.h) (0 => 204083)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/objc/DOMCharacterDataInternal.h         (rev 0)
+++ trunk/Source/WebCore/bindings/objc/DOMCharacterDataInternal.h        2016-08-03 16:53:15 UTC (rev 204083)
</span><span class="lines">@@ -0,0 +1,33 @@
</span><ins>+/*
+ * Copyright (C) 2004-2016 Apple Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#import <WebCore/DOMCharacterData.h>
+
+namespace WebCore {
+class CharacterData;
+}
+
+WEBCORE_EXPORT WebCore::CharacterData* core(DOMCharacterData *);
+WEBCORE_EXPORT DOMCharacterData *kit(WebCore::CharacterData*);
</ins></span></pre></div>
<a id="trunkSourceWebCorebindingsobjcDOMCommenthfromrev204082trunkSourceWebCorebindingsobjcDOMTextEventInternalh"></a>
<div class="copfile"><h4>Copied: trunk/Source/WebCore/bindings/objc/DOMComment.h (from rev 204082, trunk/Source/WebCore/bindings/objc/DOMTextEventInternal.h) (0 => 204083)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/objc/DOMComment.h         (rev 0)
+++ trunk/Source/WebCore/bindings/objc/DOMComment.h        2016-08-03 16:53:15 UTC (rev 204083)
</span><span class="lines">@@ -0,0 +1,30 @@
</span><ins>+/*
+ * Copyright (C) 2004-2016 Apple Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#import <WebCore/DOMCharacterData.h>
+
+WEBKIT_CLASS_AVAILABLE_MAC(10_4)
+WEBCORE_EXPORT @interface DOMComment : DOMCharacterData
+@end
</ins></span></pre></div>
<a id="trunkSourceWebCorebindingsobjcDOMCommentmmfromrev204082trunkSourceWebCorebindingsobjcDOMTextEventInternalh"></a>
<div class="copfile"><h4>Copied: trunk/Source/WebCore/bindings/objc/DOMComment.mm (from rev 204082, trunk/Source/WebCore/bindings/objc/DOMTextEventInternal.h) (0 => 204083)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/objc/DOMComment.mm         (rev 0)
+++ trunk/Source/WebCore/bindings/objc/DOMComment.mm        2016-08-03 16:53:15 UTC (rev 204083)
</span><span class="lines">@@ -0,0 +1,52 @@
</span><ins>+/*
+ * Copyright (C) 2004-2016 Apple Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#import "config.h"
+#import "DOMCommentInternal.h"
+
+#import "Comment.h"
+#import "DOMNodeInternal.h"
+#import "ExceptionHandlers.h"
+#import "JSMainThreadExecState.h"
+#import "ThreadCheck.h"
+#import "WebScriptObjectPrivate.h"
+#import <wtf/GetPtr.h>
+
+#define IMPL static_cast<WebCore::Comment*>(reinterpret_cast<WebCore::Node*>(_internal))
+
+@implementation DOMComment
+
+@end
+
+WebCore::Comment* core(DOMComment *wrapper)
+{
+ return wrapper ? reinterpret_cast<WebCore::Comment*>(wrapper->_internal) : 0;
+}
+
+DOMComment *kit(WebCore::Comment* value)
+{
+ WebCoreThreadViolationCheckRoundOne();
+ return static_cast<DOMComment*>(kit(static_cast<WebCore::Node*>(value)));
+}
</ins></span></pre></div>
<a id="trunkSourceWebCorebindingsobjcDOMCommentInternalhfromrev204082trunkSourceWebCorebindingsobjcDOMTextEventInternalh"></a>
<div class="copfile"><h4>Copied: trunk/Source/WebCore/bindings/objc/DOMCommentInternal.h (from rev 204082, trunk/Source/WebCore/bindings/objc/DOMTextEventInternal.h) (0 => 204083)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/objc/DOMCommentInternal.h         (rev 0)
+++ trunk/Source/WebCore/bindings/objc/DOMCommentInternal.h        2016-08-03 16:53:15 UTC (rev 204083)
</span><span class="lines">@@ -0,0 +1,33 @@
</span><ins>+/*
+ * Copyright (C) 2004-2016 Apple Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#import <WebCore/DOMComment.h>
+
+namespace WebCore {
+class Comment;
+}
+
+WEBCORE_EXPORT WebCore::Comment* core(DOMComment *);
+WEBCORE_EXPORT DOMComment *kit(WebCore::Comment*);
</ins></span></pre></div>
<a id="trunkSourceWebCorebindingsobjcDOMDOMImplementationh"></a>
<div class="addfile"><h4>Added: trunk/Source/WebCore/bindings/objc/DOMDOMImplementation.h (0 => 204083)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/objc/DOMDOMImplementation.h         (rev 0)
+++ trunk/Source/WebCore/bindings/objc/DOMDOMImplementation.h        2016-08-03 16:53:15 UTC (rev 204083)
</span><span class="lines">@@ -0,0 +1,48 @@
</span><ins>+/*
+ * Copyright (C) 2004-2016 Apple Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#import <WebCore/DOMObject.h>
+
+@class DOMCSSStyleSheet;
+@class DOMDocument;
+@class DOMDocumentType;
+@class DOMHTMLDocument;
+@class NSString;
+
+WEBKIT_CLASS_AVAILABLE_MAC(10_4)
+WEBCORE_EXPORT @interface DOMImplementation : DOMObject
+- (BOOL)hasFeature:(NSString *)feature version:(NSString *)version WEBKIT_AVAILABLE_MAC(10_5);
+- (DOMDocumentType *)createDocumentType:(NSString *)qualifiedName publicId:(NSString *)publicId systemId:(NSString *)systemId WEBKIT_AVAILABLE_MAC(10_5);
+- (DOMDocument *)createDocument:(NSString *)namespaceURI qualifiedName:(NSString *)qualifiedName doctype:(DOMDocumentType *)doctype WEBKIT_AVAILABLE_MAC(10_5);
+- (DOMCSSStyleSheet *)createCSSStyleSheet:(NSString *)title media:(NSString *)media WEBKIT_AVAILABLE_MAC(10_5);
+- (DOMHTMLDocument *)createHTMLDocument:(NSString *)title WEBKIT_AVAILABLE_MAC(10_5);
+@end
+
+@interface DOMImplementation (DOMImplementationDeprecated)
+- (BOOL)hasFeature:(NSString *)feature :(NSString *)version WEBKIT_DEPRECATED_MAC(10_4, 10_5);
+- (DOMDocumentType *)createDocumentType:(NSString *)qualifiedName :(NSString *)publicId :(NSString *)systemId WEBKIT_DEPRECATED_MAC(10_4, 10_5);
+- (DOMDocument *)createDocument:(NSString *)namespaceURI :(NSString *)qualifiedName :(DOMDocumentType *)doctype WEBKIT_DEPRECATED_MAC(10_4, 10_5);
+- (DOMCSSStyleSheet *)createCSSStyleSheet:(NSString *)title :(NSString *)media WEBKIT_DEPRECATED_MAC(10_4, 10_5);
+@end
</ins></span></pre></div>
<a id="trunkSourceWebCorebindingsobjcDOMDOMImplementationmm"></a>
<div class="addfile"><h4>Added: trunk/Source/WebCore/bindings/objc/DOMDOMImplementation.mm (0 => 204083)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/objc/DOMDOMImplementation.mm         (rev 0)
+++ trunk/Source/WebCore/bindings/objc/DOMDOMImplementation.mm        2016-08-03 16:53:15 UTC (rev 204083)
</span><span class="lines">@@ -0,0 +1,153 @@
</span><ins>+/*
+ * Copyright (C) 2004-2016 Apple Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#import "config.h"
+#import "DOMDOMImplementationInternal.h"
+
+#import "CSSStyleSheet.h"
+#import "DOMCSSStyleSheetInternal.h"
+#import "DOMDocumentInternal.h"
+#import "DOMDocumentTypeInternal.h"
+#import "DOMHTMLDocumentInternal.h"
+#import "DOMImplementation.h"
+#import "DOMInternal.h"
+#import "DOMNodeInternal.h"
+#import "Document.h"
+#import "DocumentType.h"
+#import "ExceptionHandlers.h"
+#import "HTMLDocument.h"
+#import "JSMainThreadExecState.h"
+#import "ThreadCheck.h"
+#import "URL.h"
+#import "WebCoreObjCExtras.h"
+#import "WebScriptObjectPrivate.h"
+#import <wtf/GetPtr.h>
+
+#define IMPL reinterpret_cast<WebCore::DOMImplementation*>(_internal)
+
+@implementation DOMImplementation
+
+- (void)dealloc
+{
+ if (WebCoreObjCScheduleDeallocateOnMainThread([DOMImplementation class], self))
+ return;
+
+ if (_internal)
+ IMPL->deref();
+ [super dealloc];
+}
+
+- (BOOL)hasFeature:(NSString *)feature version:(NSString *)version
+{
+ WebCore::JSMainThreadNullState state;
+ return IMPL->hasFeature(feature, version);
+}
+
+- (BOOL)hasFeature:(NSString *)feature :(NSString *)version
+{
+ WebCore::JSMainThreadNullState state;
+ return IMPL->hasFeature(feature, version);
+}
+
+- (DOMDocumentType *)createDocumentType:(NSString *)qualifiedName publicId:(NSString *)publicId systemId:(NSString *)systemId
+{
+ WebCore::JSMainThreadNullState state;
+ WebCore::ExceptionCode ec = 0;
+ DOMDocumentType *result = kit(WTF::getPtr(IMPL->createDocumentType(qualifiedName, publicId, systemId, ec)));
+ WebCore::raiseOnDOMError(ec);
+ return result;
+}
+
+- (DOMDocumentType *)createDocumentType:(NSString *)qualifiedName :(NSString *)publicId :(NSString *)systemId
+{
+ WebCore::JSMainThreadNullState state;
+ WebCore::ExceptionCode ec = 0;
+ DOMDocumentType *result = kit(WTF::getPtr(IMPL->createDocumentType(qualifiedName, publicId, systemId, ec)));
+ WebCore::raiseOnDOMError(ec);
+ return result;
+}
+
+- (DOMDocument *)createDocument:(NSString *)namespaceURI qualifiedName:(NSString *)qualifiedName doctype:(DOMDocumentType *)doctype
+{
+ WebCore::JSMainThreadNullState state;
+ WebCore::ExceptionCode ec = 0;
+ DOMDocument *result = kit(WTF::getPtr(IMPL->createDocument(namespaceURI, qualifiedName, core(doctype), ec)));
+ WebCore::raiseOnDOMError(ec);
+ return result;
+}
+
+- (DOMDocument *)createDocument:(NSString *)namespaceURI :(NSString *)qualifiedName :(DOMDocumentType *)doctype
+{
+ WebCore::JSMainThreadNullState state;
+ WebCore::ExceptionCode ec = 0;
+ DOMDocument *result = kit(WTF::getPtr(IMPL->createDocument(namespaceURI, qualifiedName, core(doctype), ec)));
+ WebCore::raiseOnDOMError(ec);
+ return result;
+}
+
+- (DOMCSSStyleSheet *)createCSSStyleSheet:(NSString *)title media:(NSString *)media
+{
+ WebCore::JSMainThreadNullState state;
+ WebCore::ExceptionCode ec = 0;
+ DOMCSSStyleSheet *result = kit(WTF::getPtr(IMPL->createCSSStyleSheet(title, media, ec)));
+ WebCore::raiseOnDOMError(ec);
+ return result;
+}
+
+- (DOMCSSStyleSheet *)createCSSStyleSheet:(NSString *)title :(NSString *)media
+{
+ WebCore::JSMainThreadNullState state;
+ WebCore::ExceptionCode ec = 0;
+ DOMCSSStyleSheet *result = kit(WTF::getPtr(IMPL->createCSSStyleSheet(title, media, ec)));
+ WebCore::raiseOnDOMError(ec);
+ return result;
+}
+
+- (DOMHTMLDocument *)createHTMLDocument:(NSString *)title
+{
+ WebCore::JSMainThreadNullState state;
+ return kit(WTF::getPtr(IMPL->createHTMLDocument(title)));
+}
+
+@end
+
+WebCore::DOMImplementation* core(DOMImplementation *wrapper)
+{
+ return wrapper ? reinterpret_cast<WebCore::DOMImplementation*>(wrapper->_internal) : 0;
+}
+
+DOMImplementation *kit(WebCore::DOMImplementation* value)
+{
+ WebCoreThreadViolationCheckRoundOne();
+ if (!value)
+ return nil;
+ if (DOMImplementation *wrapper = getDOMWrapper(value))
+ return [[wrapper retain] autorelease];
+ DOMImplementation *wrapper = [[DOMImplementation alloc] _init];
+ wrapper->_internal = reinterpret_cast<DOMObjectInternal*>(value);
+ value->ref();
+ addDOMWrapper(wrapper, value);
+ return [wrapper autorelease];
+}
</ins></span></pre></div>
<a id="trunkSourceWebCorebindingsobjcDOMDOMImplementationInternalhfromrev204082trunkSourceWebCorebindingsobjcDOMTextEventInternalh"></a>
<div class="copfile"><h4>Copied: trunk/Source/WebCore/bindings/objc/DOMDOMImplementationInternal.h (from rev 204082, trunk/Source/WebCore/bindings/objc/DOMTextEventInternal.h) (0 => 204083)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/objc/DOMDOMImplementationInternal.h         (rev 0)
+++ trunk/Source/WebCore/bindings/objc/DOMDOMImplementationInternal.h        2016-08-03 16:53:15 UTC (rev 204083)
</span><span class="lines">@@ -0,0 +1,33 @@
</span><ins>+/*
+ * Copyright (C) 2004-2016 Apple Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#import <WebCore/DOMDOMImplementation.h>
+
+namespace WebCore {
+class DOMImplementation;
+}
+
+WEBCORE_EXPORT WebCore::DOMImplementation* core(DOMImplementation *);
+WEBCORE_EXPORT DOMImplementation *kit(WebCore::DOMImplementation*);
</ins></span></pre></div>
<a id="trunkSourceWebCorebindingsobjcDOMDocumenth"></a>
<div class="addfile"><h4>Added: trunk/Source/WebCore/bindings/objc/DOMDocument.h (0 => 204083)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/objc/DOMDocument.h         (rev 0)
+++ trunk/Source/WebCore/bindings/objc/DOMDocument.h        2016-08-03 16:53:15 UTC (rev 204083)
</span><span class="lines">@@ -0,0 +1,146 @@
</span><ins>+/*
+ * Copyright (C) 2004-2016 Apple Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#import <WebCore/DOMNode.h>
+
+@class DOMAbstractView;
+@class DOMAttr;
+@class DOMCDATASection;
+@class DOMCSSRuleList;
+@class DOMCSSStyleDeclaration;
+@class DOMComment;
+@class DOMDocumentFragment;
+@class DOMDocumentType;
+@class DOMElement;
+@class DOMEntityReference;
+@class DOMEvent;
+@class DOMHTMLCollection;
+@class DOMHTMLElement;
+@class DOMImplementation;
+@class DOMNode;
+@class DOMNodeIterator;
+@class DOMNodeList;
+@class DOMProcessingInstruction;
+@class DOMRange;
+@class DOMStyleSheetList;
+@class DOMText;
+@class DOMTreeWalker;
+@class DOMXPathExpression;
+@class DOMXPathResult;
+@class NSString;
+@protocol DOMNodeFilter;
+@protocol DOMXPathNSResolver;
+
+WEBKIT_CLASS_AVAILABLE_MAC(10_4)
+WEBCORE_EXPORT @interface DOMDocument : DOMNode
+@property (readonly, strong) DOMDocumentType *doctype;
+@property (readonly, strong) DOMImplementation *implementation;
+@property (readonly, strong) DOMElement *documentElement;
+@property (readonly, copy) NSString *inputEncoding WEBKIT_AVAILABLE_MAC(10_5);
+@property (readonly, copy) NSString *xmlEncoding WEBKIT_AVAILABLE_MAC(10_5);
+@property (copy) NSString *xmlVersion WEBKIT_AVAILABLE_MAC(10_5);
+@property BOOL xmlStandalone WEBKIT_AVAILABLE_MAC(10_5);
+@property (copy) NSString *documentURI WEBKIT_AVAILABLE_MAC(10_5);
+@property (readonly, strong) DOMAbstractView *defaultView;
+@property (readonly, strong) DOMStyleSheetList *styleSheets;
+@property (copy) NSString *title;
+@property (readonly, copy) NSString *referrer;
+@property (readonly, copy) NSString *domain;
+@property (readonly, copy) NSString *URL;
+@property (copy) NSString *cookie;
+@property (strong) DOMHTMLElement *body;
+@property (readonly, strong) DOMHTMLCollection *images;
+@property (readonly, strong) DOMHTMLCollection *applets;
+@property (readonly, strong) DOMHTMLCollection *links;
+@property (readonly, strong) DOMHTMLCollection *forms;
+@property (readonly, strong) DOMHTMLCollection *anchors;
+@property (readonly, copy) NSString *lastModified WEBKIT_AVAILABLE_MAC(10_6);
+@property (copy) NSString *charset WEBKIT_AVAILABLE_MAC(10_5);
+@property (readonly, copy) NSString *defaultCharset WEBKIT_AVAILABLE_MAC(10_5);
+@property (readonly, copy) NSString *readyState WEBKIT_AVAILABLE_MAC(10_5);
+@property (readonly, copy) NSString *characterSet WEBKIT_AVAILABLE_MAC(10_5);
+@property (readonly, copy) NSString *preferredStylesheetSet WEBKIT_AVAILABLE_MAC(10_5);
+@property (copy) NSString *selectedStylesheetSet WEBKIT_AVAILABLE_MAC(10_5);
+@property (readonly, strong) DOMElement *activeElement WEBKIT_AVAILABLE_MAC(10_6);
+
+- (DOMElement *)createElement:(NSString *)tagName;
+- (DOMDocumentFragment *)createDocumentFragment;
+- (DOMText *)createTextNode:(NSString *)data;
+- (DOMComment *)createComment:(NSString *)data;
+- (DOMCDATASection *)createCDATASection:(NSString *)data;
+- (DOMProcessingInstruction *)createProcessingInstruction:(NSString *)target data:(NSString *)data WEBKIT_AVAILABLE_MAC(10_5);
+- (DOMAttr *)createAttribute:(NSString *)name;
+- (DOMEntityReference *)createEntityReference:(NSString *)name;
+- (DOMNodeList *)getElementsByTagName:(NSString *)tagname;
+- (DOMNode *)importNode:(DOMNode *)importedNode deep:(BOOL)deep WEBKIT_AVAILABLE_MAC(10_5);
+- (DOMElement *)createElementNS:(NSString *)namespaceURI qualifiedName:(NSString *)qualifiedName WEBKIT_AVAILABLE_MAC(10_5);
+- (DOMAttr *)createAttributeNS:(NSString *)namespaceURI qualifiedName:(NSString *)qualifiedName WEBKIT_AVAILABLE_MAC(10_5);
+- (DOMNodeList *)getElementsByTagNameNS:(NSString *)namespaceURI localName:(NSString *)localName WEBKIT_AVAILABLE_MAC(10_5);
+- (DOMNode *)adoptNode:(DOMNode *)source WEBKIT_AVAILABLE_MAC(10_5);
+- (DOMEvent *)createEvent:(NSString *)eventType;
+- (DOMRange *)createRange;
+- (DOMNodeIterator *)createNodeIterator:(DOMNode *)root whatToShow:(unsigned)whatToShow filter:(id <DOMNodeFilter>)filter expandEntityReferences:(BOOL)expandEntityReferences WEBKIT_AVAILABLE_MAC(10_5);
+- (DOMTreeWalker *)createTreeWalker:(DOMNode *)root whatToShow:(unsigned)whatToShow filter:(id <DOMNodeFilter>)filter expandEntityReferences:(BOOL)expandEntityReferences WEBKIT_AVAILABLE_MAC(10_5);
+- (DOMCSSStyleDeclaration *)getOverrideStyle:(DOMElement *)element pseudoElement:(NSString *)pseudoElement WEBKIT_AVAILABLE_MAC(10_5);
+- (DOMXPathExpression *)createExpression:(NSString *)expression resolver:(id <DOMXPathNSResolver>)resolver WEBKIT_AVAILABLE_MAC(10_5);
+- (id <DOMXPathNSResolver>)createNSResolver:(DOMNode *)nodeResolver WEBKIT_AVAILABLE_MAC(10_5);
+- (DOMXPathResult *)evaluate:(NSString *)expression contextNode:(DOMNode *)contextNode resolver:(id <DOMXPathNSResolver>)resolver type:(unsigned short)type inResult:(DOMXPathResult *)inResult WEBKIT_AVAILABLE_MAC(10_5);
+- (BOOL)execCommand:(NSString *)command userInterface:(BOOL)userInterface value:(NSString *)value WEBKIT_AVAILABLE_MAC(10_5);
+- (BOOL)execCommand:(NSString *)command userInterface:(BOOL)userInterface WEBKIT_AVAILABLE_MAC(10_5);
+- (BOOL)execCommand:(NSString *)command WEBKIT_AVAILABLE_MAC(10_5);
+- (BOOL)queryCommandEnabled:(NSString *)command WEBKIT_AVAILABLE_MAC(10_5);
+- (BOOL)queryCommandIndeterm:(NSString *)command WEBKIT_AVAILABLE_MAC(10_5);
+- (BOOL)queryCommandState:(NSString *)command WEBKIT_AVAILABLE_MAC(10_5);
+- (BOOL)queryCommandSupported:(NSString *)command WEBKIT_AVAILABLE_MAC(10_5);
+- (NSString *)queryCommandValue:(NSString *)command WEBKIT_AVAILABLE_MAC(10_5);
+- (DOMNodeList *)getElementsByName:(NSString *)elementName;
+- (DOMElement *)elementFromPoint:(int)x y:(int)y WEBKIT_AVAILABLE_MAC(10_5);
+- (DOMCSSStyleDeclaration *)createCSSStyleDeclaration WEBKIT_AVAILABLE_MAC(10_5);
+- (DOMCSSStyleDeclaration *)getComputedStyle:(DOMElement *)element pseudoElement:(NSString *)pseudoElement WEBKIT_AVAILABLE_MAC(10_5);
+- (DOMCSSRuleList *)getMatchedCSSRules:(DOMElement *)element pseudoElement:(NSString *)pseudoElement WEBKIT_AVAILABLE_MAC(10_5);
+- (DOMCSSRuleList *)getMatchedCSSRules:(DOMElement *)element pseudoElement:(NSString *)pseudoElement authorOnly:(BOOL)authorOnly WEBKIT_AVAILABLE_MAC(10_5);
+- (DOMNodeList *)getElementsByClassName:(NSString *)classNames WEBKIT_AVAILABLE_MAC(10_6);
+- (BOOL)hasFocus WEBKIT_AVAILABLE_MAC(10_6);
+#if !TARGET_OS_IPHONE
+- (void)webkitCancelFullScreen WEBKIT_AVAILABLE_MAC(10_6);
+#endif
+- (DOMElement *)getElementById:(NSString *)elementId;
+- (DOMElement *)querySelector:(NSString *)selectors WEBKIT_AVAILABLE_MAC(10_6);
+- (DOMNodeList *)querySelectorAll:(NSString *)selectors WEBKIT_AVAILABLE_MAC(10_6);
+@end
+
+@interface DOMDocument (DOMDocumentDeprecated)
+- (DOMProcessingInstruction *)createProcessingInstruction:(NSString *)target :(NSString *)data WEBKIT_DEPRECATED_MAC(10_4, 10_5);
+- (DOMNode *)importNode:(DOMNode *)importedNode :(BOOL)deep WEBKIT_DEPRECATED_MAC(10_4, 10_5);
+- (DOMElement *)createElementNS:(NSString *)namespaceURI :(NSString *)qualifiedName WEBKIT_DEPRECATED_MAC(10_4, 10_5);
+- (DOMAttr *)createAttributeNS:(NSString *)namespaceURI :(NSString *)qualifiedName WEBKIT_DEPRECATED_MAC(10_4, 10_5);
+- (DOMNodeList *)getElementsByTagNameNS:(NSString *)namespaceURI :(NSString *)localName WEBKIT_DEPRECATED_MAC(10_4, 10_5);
+- (DOMNodeIterator *)createNodeIterator:(DOMNode *)root :(unsigned)whatToShow :(id <DOMNodeFilter>)filter :(BOOL)expandEntityReferences WEBKIT_DEPRECATED_MAC(10_4, 10_5);
+- (DOMTreeWalker *)createTreeWalker:(DOMNode *)root :(unsigned)whatToShow :(id <DOMNodeFilter>)filter :(BOOL)expandEntityReferences WEBKIT_DEPRECATED_MAC(10_4, 10_5);
+- (DOMCSSStyleDeclaration *)getOverrideStyle:(DOMElement *)element :(NSString *)pseudoElement WEBKIT_DEPRECATED_MAC(10_4, 10_5);
+- (DOMXPathExpression *)createExpression:(NSString *)expression :(id <DOMXPathNSResolver>)resolver WEBKIT_DEPRECATED_MAC(10_5, 10_5);
+- (DOMXPathResult *)evaluate:(NSString *)expression :(DOMNode *)contextNode :(id <DOMXPathNSResolver>)resolver :(unsigned short)type :(DOMXPathResult *)inResult WEBKIT_DEPRECATED_MAC(10_5, 10_5);
+- (DOMCSSStyleDeclaration *)getComputedStyle:(DOMElement *)element :(NSString *)pseudoElement WEBKIT_DEPRECATED_MAC(10_4, 10_5);
+@end
</ins></span></pre></div>
<a id="trunkSourceWebCorebindingsobjcDOMDocumentmm"></a>
<div class="addfile"><h4>Added: trunk/Source/WebCore/bindings/objc/DOMDocument.mm (0 => 204083)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/objc/DOMDocument.mm         (rev 0)
+++ trunk/Source/WebCore/bindings/objc/DOMDocument.mm        2016-08-03 16:53:15 UTC (rev 204083)
</span><span class="lines">@@ -0,0 +1,955 @@
</span><ins>+/*
+ * Copyright (C) 2004-2016 Apple Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#import "config.h"
+#import "DOMDocumentInternal.h"
+
+#import "Attr.h"
+#import "CDATASection.h"
+#import "CSSRuleList.h"
+#import "CSSStyleDeclaration.h"
+#import "Comment.h"
+#import "DOMAbstractViewInternal.h"
+#import "DOMAttrInternal.h"
+#import "DOMCDATASectionInternal.h"
+#import "DOMCSSRuleListInternal.h"
+#import "DOMCSSStyleDeclarationInternal.h"
+#import "DOMCommentInternal.h"
+#import "DOMCustomXPathNSResolver.h"
+#import "DOMDOMImplementationInternal.h"
+#import "DOMDocumentFragmentInternal.h"
+#import "DOMDocumentTypeInternal.h"
+#import "DOMElementInternal.h"
+#import "DOMEntityReferenceInternal.h"
+#import "DOMEventInternal.h"
+#import "DOMHTMLCollectionInternal.h"
+#import "DOMHTMLElementInternal.h"
+#import "DOMHTMLHeadElementInternal.h"
+#import "DOMHTMLScriptElementInternal.h"
+#import "DOMImplementation.h"
+#import "DOMInternal.h"
+#import "DOMNodeInternal.h"
+#import "DOMNodeIteratorInternal.h"
+#import "DOMNodeListInternal.h"
+#import "DOMProcessingInstructionInternal.h"
+#import "DOMRangeInternal.h"
+#import "DOMStyleSheetListInternal.h"
+#import "DOMTextInternal.h"
+#import "DOMTreeWalkerInternal.h"
+#import "DOMWindow.h"
+#import "DOMXPathExpressionInternal.h"
+#import "DOMXPathResultInternal.h"
+#import "Document.h"
+#import "DocumentFragment.h"
+#import "DocumentType.h"
+#import "Element.h"
+#import "EntityReference.h"
+#import "Event.h"
+#import "ExceptionHandlers.h"
+#import "HTMLCollection.h"
+#import "HTMLElement.h"
+#import "HTMLHeadElement.h"
+#import "HTMLScriptElement.h"
+#import "JSMainThreadExecState.h"
+#import "NameNodeList.h"
+#import "NativeNodeFilter.h"
+#import "Node.h"
+#import "NodeIterator.h"
+#import "NodeList.h"
+#import "ObjCNodeFilterCondition.h"
+#import "ProcessingInstruction.h"
+#import "Range.h"
+#import "StyleProperties.h"
+#import "StyleSheetList.h"
+#import "Text.h"
+#import "ThreadCheck.h"
+#import "TreeWalker.h"
+#import "URL.h"
+#import "WebScriptObjectPrivate.h"
+#import "XPathExpression.h"
+#import "XPathNSResolver.h"
+#import "XPathResult.h"
+#import <wtf/GetPtr.h>
+
+#define IMPL static_cast<WebCore::Document*>(reinterpret_cast<WebCore::Node*>(_internal))
+
+@implementation DOMDocument
+
+- (DOMDocumentType *)doctype
+{
+ WebCore::JSMainThreadNullState state;
+ return kit(WTF::getPtr(IMPL->doctype()));
+}
+
+- (DOMImplementation *)implementation
+{
+ WebCore::JSMainThreadNullState state;
+ return kit(WTF::getPtr(IMPL->implementation()));
+}
+
+- (DOMElement *)documentElement
+{
+ WebCore::JSMainThreadNullState state;
+ return kit(WTF::getPtr(IMPL->documentElement()));
+}
+
+- (NSString *)inputEncoding
+{
+ WebCore::JSMainThreadNullState state;
+ return IMPL->characterSetWithUTF8Fallback();
+}
+
+- (NSString *)xmlEncoding
+{
+ WebCore::JSMainThreadNullState state;
+ return IMPL->xmlEncoding();
+}
+
+- (NSString *)xmlVersion
+{
+ WebCore::JSMainThreadNullState state;
+ return IMPL->xmlVersion();
+}
+
+- (void)setXmlVersion:(NSString *)newXmlVersion
+{
+ WebCore::JSMainThreadNullState state;
+ WebCore::ExceptionCode ec = 0;
+ IMPL->setXMLVersion(newXmlVersion, ec);
+ WebCore::raiseOnDOMError(ec);
+}
+
+- (BOOL)xmlStandalone
+{
+ WebCore::JSMainThreadNullState state;
+ return IMPL->xmlStandalone();
+}
+
+- (void)setXmlStandalone:(BOOL)newXmlStandalone
+{
+ WebCore::JSMainThreadNullState state;
+ WebCore::ExceptionCode ec = 0;
+ IMPL->setXMLStandalone(newXmlStandalone, ec);
+ WebCore::raiseOnDOMError(ec);
+}
+
+- (NSString *)documentURI
+{
+ WebCore::JSMainThreadNullState state;
+ return IMPL->documentURI();
+}
+
+- (void)setDocumentURI:(NSString *)newDocumentURI
+{
+ WebCore::JSMainThreadNullState state;
+ IMPL->setDocumentURI(newDocumentURI);
+}
+
+- (DOMAbstractView *)defaultView
+{
+ WebCore::JSMainThreadNullState state;
+ return kit(WTF::getPtr(IMPL->defaultView()));
+}
+
+- (DOMStyleSheetList *)styleSheets
+{
+ WebCore::JSMainThreadNullState state;
+ return kit(WTF::getPtr(IMPL->styleSheets()));
+}
+
+- (NSString *)contentType
+{
+ WebCore::JSMainThreadNullState state;
+ return IMPL->contentType();
+}
+
+- (NSString *)title
+{
+ WebCore::JSMainThreadNullState state;
+ return IMPL->title();
+}
+
+- (void)setTitle:(NSString *)newTitle
+{
+ WebCore::JSMainThreadNullState state;
+ WebCore::ExceptionCode ec = 0;
+ IMPL->setTitle(newTitle, ec);
+ WebCore::raiseOnDOMError(ec);
+}
+
+- (NSString *)dir
+{
+ WebCore::JSMainThreadNullState state;
+ return IMPL->dir();
+}
+
+- (void)setDir:(NSString *)newDir
+{
+ WebCore::JSMainThreadNullState state;
+ IMPL->setDir(newDir);
+}
+
+- (NSString *)referrer
+{
+ WebCore::JSMainThreadNullState state;
+ return IMPL->referrer();
+}
+
+- (NSString *)domain
+{
+ WebCore::JSMainThreadNullState state;
+ return IMPL->domain();
+}
+
+- (NSString *)URL
+{
+ WebCore::JSMainThreadNullState state;
+ return IMPL->urlForBindings();
+}
+
+- (NSString *)cookie
+{
+ WebCore::JSMainThreadNullState state;
+ WebCore::ExceptionCode ec = 0;
+ NSString *result = IMPL->cookie(ec);
+ WebCore::raiseOnDOMError(ec);
+ return result;
+}
+
+- (void)setCookie:(NSString *)newCookie
+{
+ WebCore::JSMainThreadNullState state;
+ WebCore::ExceptionCode ec = 0;
+ IMPL->setCookie(newCookie, ec);
+ WebCore::raiseOnDOMError(ec);
+}
+
+- (DOMHTMLElement *)body
+{
+ WebCore::JSMainThreadNullState state;
+ return kit(WTF::getPtr(IMPL->bodyOrFrameset()));
+}
+
+- (void)setBody:(DOMHTMLElement *)newBody
+{
+ WebCore::JSMainThreadNullState state;
+ ASSERT(newBody);
+
+ WebCore::ExceptionCode ec = 0;
+ IMPL->setBodyOrFrameset(core(newBody), ec);
+ WebCore::raiseOnDOMError(ec);
+}
+
+- (DOMHTMLHeadElement *)head
+{
+ WebCore::JSMainThreadNullState state;
+ return kit(WTF::getPtr(IMPL->head()));
+}
+
+- (DOMHTMLCollection *)images
+{
+ WebCore::JSMainThreadNullState state;
+ return kit(WTF::getPtr(IMPL->images()));
+}
+
+- (DOMHTMLCollection *)applets
+{
+ WebCore::JSMainThreadNullState state;
+ return kit(WTF::getPtr(IMPL->applets()));
+}
+
+- (DOMHTMLCollection *)links
+{
+ WebCore::JSMainThreadNullState state;
+ return kit(WTF::getPtr(IMPL->links()));
+}
+
+- (DOMHTMLCollection *)forms
+{
+ WebCore::JSMainThreadNullState state;
+ return kit(WTF::getPtr(IMPL->forms()));
+}
+
+- (DOMHTMLCollection *)anchors
+{
+ WebCore::JSMainThreadNullState state;
+ return kit(WTF::getPtr(IMPL->anchors()));
+}
+
+- (NSString *)lastModified
+{
+ WebCore::JSMainThreadNullState state;
+ return IMPL->lastModified();
+}
+
+- (NSString *)charset
+{
+ WebCore::JSMainThreadNullState state;
+ return IMPL->charset();
+}
+
+- (void)setCharset:(NSString *)newCharset
+{
+ WebCore::JSMainThreadNullState state;
+ IMPL->setCharset(newCharset);
+}
+
+- (NSString *)defaultCharset
+{
+ WebCore::JSMainThreadNullState state;
+ return IMPL->defaultCharset();
+}
+
+- (NSString *)readyState
+{
+ WebCore::JSMainThreadNullState state;
+ return IMPL->readyState();
+}
+
+- (NSString *)characterSet
+{
+ WebCore::JSMainThreadNullState state;
+ return IMPL->characterSetWithUTF8Fallback();
+}
+
+- (NSString *)preferredStylesheetSet
+{
+ WebCore::JSMainThreadNullState state;
+ return IMPL->preferredStylesheetSet();
+}
+
+- (NSString *)selectedStylesheetSet
+{
+ WebCore::JSMainThreadNullState state;
+ return IMPL->selectedStylesheetSet();
+}
+
+- (void)setSelectedStylesheetSet:(NSString *)newSelectedStylesheetSet
+{
+ WebCore::JSMainThreadNullState state;
+ IMPL->setSelectedStylesheetSet(newSelectedStylesheetSet);
+}
+
+- (DOMElement *)activeElement
+{
+ WebCore::JSMainThreadNullState state;
+ return kit(WTF::getPtr(IMPL->activeElement()));
+}
+
+- (NSString *)compatMode
+{
+ WebCore::JSMainThreadNullState state;
+ return IMPL->compatMode();
+}
+
+#if ENABLE(FULLSCREEN_API)
+- (BOOL)webkitIsFullScreen
+{
+ WebCore::JSMainThreadNullState state;
+ return IMPL->webkitIsFullScreen();
+}
+
+- (BOOL)webkitFullScreenKeyboardInputAllowed
+{
+ WebCore::JSMainThreadNullState state;
+ return IMPL->webkitFullScreenKeyboardInputAllowed();
+}
+
+- (DOMElement *)webkitCurrentFullScreenElement
+{
+ WebCore::JSMainThreadNullState state;
+ return kit(WTF::getPtr(IMPL->webkitCurrentFullScreenElement()));
+}
+
+- (BOOL)webkitFullscreenEnabled
+{
+ WebCore::JSMainThreadNullState state;
+ return IMPL->webkitFullscreenEnabled();
+}
+
+- (DOMElement *)webkitFullscreenElement
+{
+ WebCore::JSMainThreadNullState state;
+ return kit(WTF::getPtr(IMPL->webkitFullscreenElement()));
+}
+#endif
+
+#if ENABLE(POINTER_LOCK)
+- (DOMElement *)pointerLockElement
+{
+ WebCore::JSMainThreadNullState state;
+ return kit(WTF::getPtr(IMPL->pointerLockElement()));
+}
+#endif
+
+- (NSString *)visibilityState
+{
+ WebCore::JSMainThreadNullState state;
+ return IMPL->visibilityState();
+}
+
+- (BOOL)hidden
+{
+ WebCore::JSMainThreadNullState state;
+ return IMPL->hidden();
+}
+
+- (DOMHTMLScriptElement *)currentScript
+{
+ WebCore::JSMainThreadNullState state;
+ return kit(WTF::getPtr(IMPL->currentScript()));
+}
+
+- (NSString *)origin
+{
+ WebCore::JSMainThreadNullState state;
+ return IMPL->origin();
+}
+
+- (DOMElement *)scrollingElement
+{
+ WebCore::JSMainThreadNullState state;
+ return kit(WTF::getPtr(IMPL->scrollingElement()));
+}
+
+- (DOMHTMLCollection *)children
+{
+ WebCore::JSMainThreadNullState state;
+ return kit(WTF::getPtr(IMPL->children()));
+}
+
+- (DOMElement *)firstElementChild
+{
+ WebCore::JSMainThreadNullState state;
+ return kit(WTF::getPtr(IMPL->firstElementChild()));
+}
+
+- (DOMElement *)lastElementChild
+{
+ WebCore::JSMainThreadNullState state;
+ return kit(WTF::getPtr(IMPL->lastElementChild()));
+}
+
+- (unsigned)childElementCount
+{
+ WebCore::JSMainThreadNullState state;
+ return IMPL->childElementCount();
+}
+
+- (DOMElement *)createElement:(NSString *)tagName
+{
+ WebCore::JSMainThreadNullState state;
+ WebCore::ExceptionCode ec = 0;
+ DOMElement *result = kit(WTF::getPtr(IMPL->createElementForBindings(tagName, ec)));
+ WebCore::raiseOnDOMError(ec);
+ return result;
+}
+
+- (DOMDocumentFragment *)createDocumentFragment
+{
+ WebCore::JSMainThreadNullState state;
+ return kit(WTF::getPtr(IMPL->createDocumentFragment()));
+}
+
+- (DOMText *)createTextNode:(NSString *)data
+{
+ WebCore::JSMainThreadNullState state;
+ return kit(WTF::getPtr(IMPL->createTextNode(data)));
+}
+
+- (DOMComment *)createComment:(NSString *)data
+{
+ WebCore::JSMainThreadNullState state;
+ return kit(WTF::getPtr(IMPL->createComment(data)));
+}
+
+- (DOMCDATASection *)createCDATASection:(NSString *)data
+{
+ WebCore::JSMainThreadNullState state;
+ WebCore::ExceptionCode ec = 0;
+ DOMCDATASection *result = kit(WTF::getPtr(IMPL->createCDATASection(data, ec)));
+ WebCore::raiseOnDOMError(ec);
+ return result;
+}
+
+- (DOMProcessingInstruction *)createProcessingInstruction:(NSString *)target data:(NSString *)data
+{
+ WebCore::JSMainThreadNullState state;
+ WebCore::ExceptionCode ec = 0;
+ DOMProcessingInstruction *result = kit(WTF::getPtr(IMPL->createProcessingInstruction(target, data, ec)));
+ WebCore::raiseOnDOMError(ec);
+ return result;
+}
+
+- (DOMProcessingInstruction *)createProcessingInstruction:(NSString *)target :(NSString *)data
+{
+ WebCore::JSMainThreadNullState state;
+ WebCore::ExceptionCode ec = 0;
+ DOMProcessingInstruction *result = kit(WTF::getPtr(IMPL->createProcessingInstruction(target, data, ec)));
+ WebCore::raiseOnDOMError(ec);
+ return result;
+}
+
+- (DOMAttr *)createAttribute:(NSString *)name
+{
+ WebCore::JSMainThreadNullState state;
+ WebCore::ExceptionCode ec = 0;
+ DOMAttr *result = kit(WTF::getPtr(IMPL->createAttribute(name, ec)));
+ WebCore::raiseOnDOMError(ec);
+ return result;
+}
+
+- (DOMEntityReference *)createEntityReference:(NSString *)name
+{
+ WebCore::JSMainThreadNullState state;
+ WebCore::ExceptionCode ec = 0;
+ DOMEntityReference *result = kit(WTF::getPtr(IMPL->createEntityReference(name, ec)));
+ WebCore::raiseOnDOMError(ec);
+ return result;
+}
+
+- (DOMNodeList *)getElementsByTagName:(NSString *)tagname
+{
+ WebCore::JSMainThreadNullState state;
+ return kit(WTF::getPtr(IMPL->getElementsByTagNameForObjC(tagname)));
+}
+
+- (DOMNode *)importNode:(DOMNode *)importedNode deep:(BOOL)deep
+{
+ WebCore::JSMainThreadNullState state;
+ if (!importedNode)
+ WebCore::raiseTypeErrorException();
+ WebCore::ExceptionCode ec = 0;
+ DOMNode *result = kit(WTF::getPtr(IMPL->importNode(*core(importedNode), deep, ec)));
+ WebCore::raiseOnDOMError(ec);
+ return result;
+}
+
+- (DOMNode *)importNode:(DOMNode *)importedNode :(BOOL)deep
+{
+ WebCore::JSMainThreadNullState state;
+ if (!importedNode)
+ WebCore::raiseTypeErrorException();
+ WebCore::ExceptionCode ec = 0;
+ DOMNode *result = kit(WTF::getPtr(IMPL->importNode(*core(importedNode), deep, ec)));
+ WebCore::raiseOnDOMError(ec);
+ return result;
+}
+
+- (DOMElement *)createElementNS:(NSString *)namespaceURI qualifiedName:(NSString *)qualifiedName
+{
+ WebCore::JSMainThreadNullState state;
+ WebCore::ExceptionCode ec = 0;
+ DOMElement *result = kit(WTF::getPtr(IMPL->createElementNS(namespaceURI, qualifiedName, ec)));
+ WebCore::raiseOnDOMError(ec);
+ return result;
+}
+
+- (DOMElement *)createElementNS:(NSString *)namespaceURI :(NSString *)qualifiedName
+{
+ WebCore::JSMainThreadNullState state;
+ WebCore::ExceptionCode ec = 0;
+ DOMElement *result = kit(WTF::getPtr(IMPL->createElementNS(namespaceURI, qualifiedName, ec)));
+ WebCore::raiseOnDOMError(ec);
+ return result;
+}
+
+- (DOMAttr *)createAttributeNS:(NSString *)namespaceURI qualifiedName:(NSString *)qualifiedName
+{
+ WebCore::JSMainThreadNullState state;
+ WebCore::ExceptionCode ec = 0;
+ DOMAttr *result = kit(WTF::getPtr(IMPL->createAttributeNS(namespaceURI, qualifiedName, ec)));
+ WebCore::raiseOnDOMError(ec);
+ return result;
+}
+
+- (DOMAttr *)createAttributeNS:(NSString *)namespaceURI :(NSString *)qualifiedName
+{
+ WebCore::JSMainThreadNullState state;
+ WebCore::ExceptionCode ec = 0;
+ DOMAttr *result = kit(WTF::getPtr(IMPL->createAttributeNS(namespaceURI, qualifiedName, ec)));
+ WebCore::raiseOnDOMError(ec);
+ return result;
+}
+
+- (DOMNodeList *)getElementsByTagNameNS:(NSString *)namespaceURI localName:(NSString *)localName
+{
+ WebCore::JSMainThreadNullState state;
+ return kit(WTF::getPtr(IMPL->getElementsByTagNameNSForObjC(namespaceURI, localName)));
+}
+
+- (DOMNodeList *)getElementsByTagNameNS:(NSString *)namespaceURI :(NSString *)localName
+{
+ WebCore::JSMainThreadNullState state;
+ return kit(WTF::getPtr(IMPL->getElementsByTagNameNSForObjC(namespaceURI, localName)));
+}
+
+- (DOMNode *)adoptNode:(DOMNode *)source
+{
+ WebCore::JSMainThreadNullState state;
+ if (!source)
+ WebCore::raiseTypeErrorException();
+ WebCore::ExceptionCode ec = 0;
+ DOMNode *result = kit(WTF::getPtr(IMPL->adoptNode(*core(source), ec)));
+ WebCore::raiseOnDOMError(ec);
+ return result;
+}
+
+- (DOMEvent *)createEvent:(NSString *)eventType
+{
+ WebCore::JSMainThreadNullState state;
+ WebCore::ExceptionCode ec = 0;
+ DOMEvent *result = kit(WTF::getPtr(IMPL->createEvent(eventType, ec)));
+ WebCore::raiseOnDOMError(ec);
+ return result;
+}
+
+- (DOMRange *)createRange
+{
+ WebCore::JSMainThreadNullState state;
+ return kit(WTF::getPtr(IMPL->createRange()));
+}
+
+- (DOMNodeIterator *)createNodeIterator:(DOMNode *)root whatToShow:(unsigned)whatToShow filter:(id <DOMNodeFilter>)filter expandEntityReferences:(BOOL)expandEntityReferences
+{
+ WebCore::JSMainThreadNullState state;
+ if (!root)
+ WebCore::raiseTypeErrorException();
+ RefPtr<WebCore::NodeFilter> nativeNodeFilter;
+ if (filter)
+ nativeNodeFilter = WebCore::NativeNodeFilter::create(WebCore::ObjCNodeFilterCondition::create(filter));
+ return kit(WTF::getPtr(IMPL->createNodeIterator(*core(root), whatToShow, WTF::getPtr(nativeNodeFilter), expandEntityReferences)));
+}
+
+- (DOMNodeIterator *)createNodeIterator:(DOMNode *)root :(unsigned)whatToShow :(id <DOMNodeFilter>)filter :(BOOL)expandEntityReferences
+{
+ WebCore::JSMainThreadNullState state;
+ if (!root)
+ WebCore::raiseTypeErrorException();
+ RefPtr<WebCore::NodeFilter> nativeNodeFilter;
+ if (filter)
+ nativeNodeFilter = WebCore::NativeNodeFilter::create(WebCore::ObjCNodeFilterCondition::create(filter));
+ return kit(WTF::getPtr(IMPL->createNodeIterator(*core(root), whatToShow, WTF::getPtr(nativeNodeFilter), expandEntityReferences)));
+}
+
+- (DOMTreeWalker *)createTreeWalker:(DOMNode *)root whatToShow:(unsigned)whatToShow filter:(id <DOMNodeFilter>)filter expandEntityReferences:(BOOL)expandEntityReferences
+{
+ WebCore::JSMainThreadNullState state;
+ if (!root)
+ WebCore::raiseTypeErrorException();
+ RefPtr<WebCore::NodeFilter> nativeNodeFilter;
+ if (filter)
+ nativeNodeFilter = WebCore::NativeNodeFilter::create(WebCore::ObjCNodeFilterCondition::create(filter));
+ return kit(WTF::getPtr(IMPL->createTreeWalker(*core(root), whatToShow, WTF::getPtr(nativeNodeFilter), expandEntityReferences)));
+}
+
+- (DOMTreeWalker *)createTreeWalker:(DOMNode *)root :(unsigned)whatToShow :(id <DOMNodeFilter>)filter :(BOOL)expandEntityReferences
+{
+ WebCore::JSMainThreadNullState state;
+ if (!root)
+ WebCore::raiseTypeErrorException();
+ RefPtr<WebCore::NodeFilter> nativeNodeFilter;
+ if (filter)
+ nativeNodeFilter = WebCore::NativeNodeFilter::create(WebCore::ObjCNodeFilterCondition::create(filter));
+ return kit(WTF::getPtr(IMPL->createTreeWalker(*core(root), whatToShow, WTF::getPtr(nativeNodeFilter), expandEntityReferences)));
+}
+
+- (DOMCSSStyleDeclaration *)getOverrideStyle:(DOMElement *)element pseudoElement:(NSString *)pseudoElement
+{
+ WebCore::JSMainThreadNullState state;
+ return kit(WTF::getPtr(IMPL->getOverrideStyle(core(element), pseudoElement)));
+}
+
+- (DOMCSSStyleDeclaration *)getOverrideStyle:(DOMElement *)element :(NSString *)pseudoElement
+{
+ WebCore::JSMainThreadNullState state;
+ return kit(WTF::getPtr(IMPL->getOverrideStyle(core(element), pseudoElement)));
+}
+
+- (DOMXPathExpression *)createExpression:(NSString *)expression resolver:(id <DOMXPathNSResolver>)resolver
+{
+ WebCore::JSMainThreadNullState state;
+ WebCore::XPathNSResolver* nativeResolver = 0;
+ RefPtr<WebCore::XPathNSResolver> customResolver;
+ if (resolver) {
+ if ([resolver isMemberOfClass:[DOMNativeXPathNSResolver class]])
+ nativeResolver = core(static_cast<DOMNativeXPathNSResolver *>(resolver));
+ else {
+ customResolver = WebCore::DOMCustomXPathNSResolver::create(resolver);
+ nativeResolver = WTF::getPtr(customResolver);
+ }
+ }
+ WebCore::ExceptionCode ec = 0;
+ DOMXPathExpression *result = kit(WTF::getPtr(IMPL->createExpression(expression, WTF::getPtr(nativeResolver), ec)));
+ WebCore::raiseOnDOMError(ec);
+ return result;
+}
+
+- (DOMXPathExpression *)createExpression:(NSString *)expression :(id <DOMXPathNSResolver>)resolver
+{
+ WebCore::JSMainThreadNullState state;
+ WebCore::XPathNSResolver* nativeResolver = 0;
+ RefPtr<WebCore::XPathNSResolver> customResolver;
+ if (resolver) {
+ if ([resolver isMemberOfClass:[DOMNativeXPathNSResolver class]])
+ nativeResolver = core(static_cast<DOMNativeXPathNSResolver *>(resolver));
+ else {
+ customResolver = WebCore::DOMCustomXPathNSResolver::create(resolver);
+ nativeResolver = WTF::getPtr(customResolver);
+ }
+ }
+ WebCore::ExceptionCode ec = 0;
+ DOMXPathExpression *result = kit(WTF::getPtr(IMPL->createExpression(expression, WTF::getPtr(nativeResolver), ec)));
+ WebCore::raiseOnDOMError(ec);
+ return result;
+}
+
+- (id <DOMXPathNSResolver>)createNSResolver:(DOMNode *)nodeResolver
+{
+ WebCore::JSMainThreadNullState state;
+ return kit(WTF::getPtr(IMPL->createNSResolver(core(nodeResolver))));
+}
+
+- (DOMXPathResult *)evaluate:(NSString *)expression contextNode:(DOMNode *)contextNode resolver:(id <DOMXPathNSResolver>)resolver type:(unsigned short)type inResult:(DOMXPathResult *)inResult
+{
+ WebCore::JSMainThreadNullState state;
+ WebCore::XPathNSResolver* nativeResolver = 0;
+ RefPtr<WebCore::XPathNSResolver> customResolver;
+ if (resolver) {
+ if ([resolver isMemberOfClass:[DOMNativeXPathNSResolver class]])
+ nativeResolver = core(static_cast<DOMNativeXPathNSResolver *>(resolver));
+ else {
+ customResolver = WebCore::DOMCustomXPathNSResolver::create(resolver);
+ nativeResolver = WTF::getPtr(customResolver);
+ }
+ }
+ WebCore::ExceptionCode ec = 0;
+ DOMXPathResult *result = kit(WTF::getPtr(IMPL->evaluate(expression, core(contextNode), WTF::getPtr(nativeResolver), type, core(inResult), ec)));
+ WebCore::raiseOnDOMError(ec);
+ return result;
+}
+
+- (DOMXPathResult *)evaluate:(NSString *)expression :(DOMNode *)contextNode :(id <DOMXPathNSResolver>)resolver :(unsigned short)type :(DOMXPathResult *)inResult
+{
+ WebCore::JSMainThreadNullState state;
+ WebCore::XPathNSResolver* nativeResolver = 0;
+ RefPtr<WebCore::XPathNSResolver> customResolver;
+ if (resolver) {
+ if ([resolver isMemberOfClass:[DOMNativeXPathNSResolver class]])
+ nativeResolver = core(static_cast<DOMNativeXPathNSResolver *>(resolver));
+ else {
+ customResolver = WebCore::DOMCustomXPathNSResolver::create(resolver);
+ nativeResolver = WTF::getPtr(customResolver);
+ }
+ }
+ WebCore::ExceptionCode ec = 0;
+ DOMXPathResult *result = kit(WTF::getPtr(IMPL->evaluate(expression, core(contextNode), WTF::getPtr(nativeResolver), type, core(inResult), ec)));
+ WebCore::raiseOnDOMError(ec);
+ return result;
+}
+
+- (BOOL)execCommand:(NSString *)command userInterface:(BOOL)userInterface value:(NSString *)value
+{
+ WebCore::JSMainThreadNullState state;
+ return IMPL->execCommand(command, userInterface, value);
+}
+
+- (BOOL)execCommand:(NSString *)command userInterface:(BOOL)userInterface
+{
+ WebCore::JSMainThreadNullState state;
+ return IMPL->execCommand(command, userInterface);
+}
+
+- (BOOL)execCommand:(NSString *)command
+{
+ WebCore::JSMainThreadNullState state;
+ return IMPL->execCommand(command);
+}
+
+- (BOOL)queryCommandEnabled:(NSString *)command
+{
+ WebCore::JSMainThreadNullState state;
+ return IMPL->queryCommandEnabled(command);
+}
+
+- (BOOL)queryCommandIndeterm:(NSString *)command
+{
+ WebCore::JSMainThreadNullState state;
+ return IMPL->queryCommandIndeterm(command);
+}
+
+- (BOOL)queryCommandState:(NSString *)command
+{
+ WebCore::JSMainThreadNullState state;
+ return IMPL->queryCommandState(command);
+}
+
+- (BOOL)queryCommandSupported:(NSString *)command
+{
+ WebCore::JSMainThreadNullState state;
+ return IMPL->queryCommandSupported(command);
+}
+
+- (NSString *)queryCommandValue:(NSString *)command
+{
+ WebCore::JSMainThreadNullState state;
+ return IMPL->queryCommandValue(command);
+}
+
+- (DOMNodeList *)getElementsByName:(NSString *)elementName
+{
+ WebCore::JSMainThreadNullState state;
+ return kit(WTF::getPtr(IMPL->getElementsByName(elementName)));
+}
+
+- (DOMElement *)elementFromPoint:(int)x y:(int)y
+{
+ WebCore::JSMainThreadNullState state;
+ return kit(WTF::getPtr(IMPL->elementFromPoint(x, y)));
+}
+
+- (DOMRange *)caretRangeFromPoint:(int)x y:(int)y
+{
+ WebCore::JSMainThreadNullState state;
+ return kit(WTF::getPtr(IMPL->caretRangeFromPoint(x, y)));
+}
+
+- (DOMCSSStyleDeclaration *)createCSSStyleDeclaration
+{
+ WebCore::JSMainThreadNullState state;
+ return kit(WTF::getPtr(IMPL->createCSSStyleDeclaration()));
+}
+
+- (DOMCSSStyleDeclaration *)getComputedStyle:(DOMElement *)element pseudoElement:(NSString *)pseudoElement
+{
+ WebCore::JSMainThreadNullState state;
+ if (!element)
+ WebCore::raiseTypeErrorException();
+ WebCore::DOMWindow* dv = IMPL->defaultView();
+ if (!dv)
+ return nil;
+ return kit(WTF::getPtr(dv->getComputedStyle(*core(element), pseudoElement)));
+}
+
+- (DOMCSSStyleDeclaration *)getComputedStyle:(DOMElement *)element :(NSString *)pseudoElement
+{
+ WebCore::JSMainThreadNullState state;
+ if (!element)
+ WebCore::raiseTypeErrorException();
+ WebCore::DOMWindow* dv = IMPL->defaultView();
+ if (!dv)
+ return nil;
+ return kit(WTF::getPtr(dv->getComputedStyle(*core(element), pseudoElement)));
+}
+
+- (DOMCSSRuleList *)getMatchedCSSRules:(DOMElement *)element pseudoElement:(NSString *)pseudoElement
+{
+ WebCore::JSMainThreadNullState state;
+ WebCore::DOMWindow* dv = IMPL->defaultView();
+ if (!dv)
+ return nil;
+ return kit(WTF::getPtr(dv->getMatchedCSSRules(core(element), pseudoElement)));
+}
+
+- (DOMCSSRuleList *)getMatchedCSSRules:(DOMElement *)element pseudoElement:(NSString *)pseudoElement authorOnly:(BOOL)authorOnly
+{
+ WebCore::JSMainThreadNullState state;
+ WebCore::DOMWindow* dv = IMPL->defaultView();
+ if (!dv)
+ return nil;
+ return kit(WTF::getPtr(dv->getMatchedCSSRules(core(element), pseudoElement, authorOnly)));
+}
+
+- (DOMNodeList *)getElementsByClassName:(NSString *)classNames
+{
+ WebCore::JSMainThreadNullState state;
+ return kit(WTF::getPtr(IMPL->getElementsByClassNameForObjC(classNames)));
+}
+
+- (BOOL)hasFocus
+{
+ WebCore::JSMainThreadNullState state;
+ return IMPL->hasFocus();
+}
+
+#if ENABLE(FULLSCREEN_API)
+- (void)webkitCancelFullScreen
+{
+ WebCore::JSMainThreadNullState state;
+ IMPL->webkitCancelFullScreen();
+}
+
+- (void)webkitExitFullscreen
+{
+ WebCore::JSMainThreadNullState state;
+ IMPL->webkitExitFullscreen();
+}
+#endif
+
+#if ENABLE(POINTER_LOCK)
+- (void)exitPointerLock
+{
+ WebCore::JSMainThreadNullState state;
+ IMPL->exitPointerLock();
+}
+
+#endif
+
+- (DOMElement *)getElementById:(NSString *)elementId
+{
+ WebCore::JSMainThreadNullState state;
+ return kit(WTF::getPtr(IMPL->getElementById(AtomicString(elementId))));
+}
+
+- (DOMElement *)querySelector:(NSString *)selectors
+{
+ WebCore::JSMainThreadNullState state;
+ WebCore::ExceptionCode ec = 0;
+ DOMElement *result = kit(WTF::getPtr(IMPL->querySelector(selectors, ec)));
+ WebCore::raiseOnDOMError(ec);
+ return result;
+}
+
+- (DOMNodeList *)querySelectorAll:(NSString *)selectors
+{
+ WebCore::JSMainThreadNullState state;
+ WebCore::ExceptionCode ec = 0;
+ DOMNodeList *result = kit(WTF::getPtr(IMPL->querySelectorAll(selectors, ec)));
+ WebCore::raiseOnDOMError(ec);
+ return result;
+}
+
+@end
+
+WebCore::Document* core(DOMDocument *wrapper)
+{
+ return wrapper ? reinterpret_cast<WebCore::Document*>(wrapper->_internal) : 0;
+}
+
+DOMDocument *kit(WebCore::Document* value)
+{
+ WebCoreThreadViolationCheckRoundOne();
+ return static_cast<DOMDocument*>(kit(static_cast<WebCore::Node*>(value)));
+}
</ins></span></pre></div>
<a id="trunkSourceWebCorebindingsobjcDOMDocumentFragmenthfromrev204082trunkSourceWebCorebindingsobjcDOMTextEventInternalh"></a>
<div class="copfile"><h4>Copied: trunk/Source/WebCore/bindings/objc/DOMDocumentFragment.h (from rev 204082, trunk/Source/WebCore/bindings/objc/DOMTextEventInternal.h) (0 => 204083)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/objc/DOMDocumentFragment.h         (rev 0)
+++ trunk/Source/WebCore/bindings/objc/DOMDocumentFragment.h        2016-08-03 16:53:15 UTC (rev 204083)
</span><span class="lines">@@ -0,0 +1,30 @@
</span><ins>+/*
+ * Copyright (C) 2004-2016 Apple Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#import <WebCore/DOMNode.h>
+
+WEBKIT_CLASS_AVAILABLE_MAC(10_4)
+WEBCORE_EXPORT @interface DOMDocumentFragment : DOMNode
+@end
</ins></span></pre></div>
<a id="trunkSourceWebCorebindingsobjcDOMDocumentFragmentmm"></a>
<div class="addfile"><h4>Added: trunk/Source/WebCore/bindings/objc/DOMDocumentFragment.mm (0 => 204083)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/objc/DOMDocumentFragment.mm         (rev 0)
+++ trunk/Source/WebCore/bindings/objc/DOMDocumentFragment.mm        2016-08-03 16:53:15 UTC (rev 204083)
</span><span class="lines">@@ -0,0 +1,108 @@
</span><ins>+/*
+ * Copyright (C) 2004-2016 Apple Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#import "config.h"
+#import "DOMDocumentFragmentInternal.h"
+
+#import "DOMElementInternal.h"
+#import "DOMHTMLCollectionInternal.h"
+#import "DOMNodeInternal.h"
+#import "DOMNodeListInternal.h"
+#import "DocumentFragment.h"
+#import "Element.h"
+#import "ExceptionHandlers.h"
+#import "HTMLCollection.h"
+#import "JSMainThreadExecState.h"
+#import "NameNodeList.h"
+#import "NodeList.h"
+#import "ThreadCheck.h"
+#import "URL.h"
+#import "WebScriptObjectPrivate.h"
+#import <wtf/GetPtr.h>
+
+#define IMPL static_cast<WebCore::DocumentFragment*>(reinterpret_cast<WebCore::Node*>(_internal))
+
+@implementation DOMDocumentFragment
+
+- (DOMHTMLCollection *)children
+{
+ WebCore::JSMainThreadNullState state;
+ return kit(WTF::getPtr(IMPL->children()));
+}
+
+- (DOMElement *)firstElementChild
+{
+ WebCore::JSMainThreadNullState state;
+ return kit(WTF::getPtr(IMPL->firstElementChild()));
+}
+
+- (DOMElement *)lastElementChild
+{
+ WebCore::JSMainThreadNullState state;
+ return kit(WTF::getPtr(IMPL->lastElementChild()));
+}
+
+- (unsigned)childElementCount
+{
+ WebCore::JSMainThreadNullState state;
+ return IMPL->childElementCount();
+}
+
+- (DOMElement *)getElementById:(NSString *)elementId
+{
+ WebCore::JSMainThreadNullState state;
+ return kit(WTF::getPtr(IMPL->getElementById(AtomicString(elementId))));
+}
+
+- (DOMElement *)querySelector:(NSString *)selectors
+{
+ WebCore::JSMainThreadNullState state;
+ WebCore::ExceptionCode ec = 0;
+ DOMElement *result = kit(WTF::getPtr(IMPL->querySelector(selectors, ec)));
+ WebCore::raiseOnDOMError(ec);
+ return result;
+}
+
+- (DOMNodeList *)querySelectorAll:(NSString *)selectors
+{
+ WebCore::JSMainThreadNullState state;
+ WebCore::ExceptionCode ec = 0;
+ DOMNodeList *result = kit(WTF::getPtr(IMPL->querySelectorAll(selectors, ec)));
+ WebCore::raiseOnDOMError(ec);
+ return result;
+}
+
+@end
+
+WebCore::DocumentFragment* core(DOMDocumentFragment *wrapper)
+{
+ return wrapper ? reinterpret_cast<WebCore::DocumentFragment*>(wrapper->_internal) : 0;
+}
+
+DOMDocumentFragment *kit(WebCore::DocumentFragment* value)
+{
+ WebCoreThreadViolationCheckRoundOne();
+ return static_cast<DOMDocumentFragment*>(kit(static_cast<WebCore::Node*>(value)));
+}
</ins></span></pre></div>
<a id="trunkSourceWebCorebindingsobjcDOMDocumentFragmentInternalhfromrev204082trunkSourceWebCorebindingsobjcDOMTextEventInternalh"></a>
<div class="copfile"><h4>Copied: trunk/Source/WebCore/bindings/objc/DOMDocumentFragmentInternal.h (from rev 204082, trunk/Source/WebCore/bindings/objc/DOMTextEventInternal.h) (0 => 204083)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/objc/DOMDocumentFragmentInternal.h         (rev 0)
+++ trunk/Source/WebCore/bindings/objc/DOMDocumentFragmentInternal.h        2016-08-03 16:53:15 UTC (rev 204083)
</span><span class="lines">@@ -0,0 +1,33 @@
</span><ins>+/*
+ * Copyright (C) 2004-2016 Apple Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#import <WebCore/DOMDocumentFragment.h>
+
+namespace WebCore {
+class DocumentFragment;
+}
+
+WEBCORE_EXPORT WebCore::DocumentFragment* core(DOMDocumentFragment *);
+WEBCORE_EXPORT DOMDocumentFragment *kit(WebCore::DocumentFragment*);
</ins></span></pre></div>
<a id="trunkSourceWebCorebindingsobjcDOMDocumentFragmentPrivatehfromrev204082trunkSourceWebCorebindingsobjcDOMTextEventInternalh"></a>
<div class="copfile"><h4>Copied: trunk/Source/WebCore/bindings/objc/DOMDocumentFragmentPrivate.h (from rev 204082, trunk/Source/WebCore/bindings/objc/DOMTextEventInternal.h) (0 => 204083)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/objc/DOMDocumentFragmentPrivate.h         (rev 0)
+++ trunk/Source/WebCore/bindings/objc/DOMDocumentFragmentPrivate.h        2016-08-03 16:53:15 UTC (rev 204083)
</span><span class="lines">@@ -0,0 +1,42 @@
</span><ins>+/*
+ * Copyright (C) 2004-2016 Apple Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#import <WebCore/DOMDocumentFragment.h>
+
+@class DOMElement;
+@class DOMHTMLCollection;
+@class DOMNodeList;
+@class NSString;
+
+@interface DOMDocumentFragment (DOMDocumentFragmentPrivate)
+@property (readonly, strong) DOMHTMLCollection *children;
+@property (readonly, strong) DOMElement *firstElementChild;
+@property (readonly, strong) DOMElement *lastElementChild;
+@property (readonly) unsigned childElementCount;
+
+- (DOMElement *)getElementById:(NSString *)elementId;
+- (DOMElement *)querySelector:(NSString *)selectors;
+- (DOMNodeList *)querySelectorAll:(NSString *)selectors;
+@end
</ins></span></pre></div>
<a id="trunkSourceWebCorebindingsobjcDOMDocumentInternalhfromrev204082trunkSourceWebCorebindingsobjcDOMTextEventInternalh"></a>
<div class="copfile"><h4>Copied: trunk/Source/WebCore/bindings/objc/DOMDocumentInternal.h (from rev 204082, trunk/Source/WebCore/bindings/objc/DOMTextEventInternal.h) (0 => 204083)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/objc/DOMDocumentInternal.h         (rev 0)
+++ trunk/Source/WebCore/bindings/objc/DOMDocumentInternal.h        2016-08-03 16:53:15 UTC (rev 204083)
</span><span class="lines">@@ -0,0 +1,33 @@
</span><ins>+/*
+ * Copyright (C) 2004-2016 Apple Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#import <WebCore/DOMDocument.h>
+
+namespace WebCore {
+class Document;
+}
+
+WEBCORE_EXPORT WebCore::Document* core(DOMDocument *);
+WEBCORE_EXPORT DOMDocument *kit(WebCore::Document*);
</ins></span></pre></div>
<a id="trunkSourceWebCorebindingsobjcDOMDocumentPrivatehfromrev204082trunkSourceWebCorebindingsobjcDOMTextEventmm"></a>
<div class="copfile"><h4>Copied: trunk/Source/WebCore/bindings/objc/DOMDocumentPrivate.h (from rev 204082, trunk/Source/WebCore/bindings/objc/DOMTextEvent.mm) (0 => 204083)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/objc/DOMDocumentPrivate.h         (rev 0)
+++ trunk/Source/WebCore/bindings/objc/DOMDocumentPrivate.h        2016-08-03 16:53:15 UTC (rev 204083)
</span><span class="lines">@@ -0,0 +1,58 @@
</span><ins>+/*
+ * Copyright (C) 2004-2016 Apple Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#import <WebCore/DOMDocument.h>
+
+@class DOMHTMLHeadElement;
+@class DOMHTMLScriptElement;
+
+@interface DOMDocument (DOMDocumentPrivate)
+@property (readonly, copy) NSString *contentType;
+@property (copy) NSString *dir;
+@property (readonly, strong) DOMHTMLHeadElement *head;
+@property (readonly, copy) NSString *compatMode;
+#if !TARGET_OS_IPHONE
+@property (readonly) BOOL webkitIsFullScreen;
+@property (readonly) BOOL webkitFullScreenKeyboardInputAllowed;
+@property (readonly, strong) DOMElement *webkitCurrentFullScreenElement;
+@property (readonly) BOOL webkitFullscreenEnabled;
+@property (readonly, strong) DOMElement *webkitFullscreenElement;
+#endif
+@property (readonly, strong) DOMElement *pointerLockElement;
+@property (readonly, copy) NSString *visibilityState;
+@property (readonly) BOOL hidden;
+@property (readonly, strong) DOMHTMLScriptElement *currentScript;
+@property (readonly, copy) NSString *origin;
+@property (readonly, strong) DOMElement *scrollingElement;
+@property (readonly, strong) DOMHTMLCollection *children;
+@property (readonly, strong) DOMElement *firstElementChild;
+@property (readonly, strong) DOMElement *lastElementChild;
+@property (readonly) unsigned childElementCount;
+
+- (DOMRange *)caretRangeFromPoint:(int)x y:(int)y;
+#if !TARGET_OS_IPHONE
+- (void)webkitExitFullscreen;
+#endif
+@end
</ins></span></pre></div>
<a id="trunkSourceWebCorebindingsobjcDOMDocumentTypehfromrev204082trunkSourceWebCorebindingsobjcDOMTextEventInternalh"></a>
<div class="copfile"><h4>Copied: trunk/Source/WebCore/bindings/objc/DOMDocumentType.h (from rev 204082, trunk/Source/WebCore/bindings/objc/DOMTextEventInternal.h) (0 => 204083)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/objc/DOMDocumentType.h         (rev 0)
+++ trunk/Source/WebCore/bindings/objc/DOMDocumentType.h        2016-08-03 16:53:15 UTC (rev 204083)
</span><span class="lines">@@ -0,0 +1,39 @@
</span><ins>+/*
+ * Copyright (C) 2004-2016 Apple Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#import <WebCore/DOMNode.h>
+
+@class DOMNamedNodeMap;
+@class NSString;
+
+WEBKIT_CLASS_AVAILABLE_MAC(10_4)
+WEBCORE_EXPORT @interface DOMDocumentType : DOMNode
+@property (readonly, copy) NSString *name;
+@property (readonly, strong) DOMNamedNodeMap *entities;
+@property (readonly, strong) DOMNamedNodeMap *notations;
+@property (readonly, copy) NSString *publicId;
+@property (readonly, copy) NSString *systemId;
+@property (readonly, copy) NSString *internalSubset;
+@end
</ins></span></pre></div>
<a id="trunkSourceWebCorebindingsobjcDOMDocumentTypemmfromrev204082trunkSourceWebCorebindingsobjcDOMTextEventmm"></a>
<div class="copfile"><h4>Copied: trunk/Source/WebCore/bindings/objc/DOMDocumentType.mm (from rev 204082, trunk/Source/WebCore/bindings/objc/DOMTextEvent.mm) (0 => 204083)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/objc/DOMDocumentType.mm         (rev 0)
+++ trunk/Source/WebCore/bindings/objc/DOMDocumentType.mm        2016-08-03 16:53:15 UTC (rev 204083)
</span><span class="lines">@@ -0,0 +1,99 @@
</span><ins>+/*
+ * Copyright (C) 2004-2016 Apple Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#import "config.h"
+#import "DOMDocumentTypeInternal.h"
+
+#import "DOMNamedNodeMapInternal.h"
+#import "DOMNodeInternal.h"
+#import "DocumentType.h"
+#import "ExceptionHandlers.h"
+#import "JSMainThreadExecState.h"
+#import "NamedNodeMap.h"
+#import "ThreadCheck.h"
+#import "URL.h"
+#import "WebScriptObjectPrivate.h"
+#import <wtf/GetPtr.h>
+
+#define IMPL static_cast<WebCore::DocumentType*>(reinterpret_cast<WebCore::Node*>(_internal))
+
+@implementation DOMDocumentType
+
+- (NSString *)name
+{
+ WebCore::JSMainThreadNullState state;
+ return IMPL->name();
+}
+
+- (DOMNamedNodeMap *)entities
+{
+ WebCore::JSMainThreadNullState state;
+ return kit(WTF::getPtr(IMPL->entitiesForBindings()));
+}
+
+- (DOMNamedNodeMap *)notations
+{
+ WebCore::JSMainThreadNullState state;
+ return kit(WTF::getPtr(IMPL->notationsForBindings()));
+}
+
+- (NSString *)publicId
+{
+ WebCore::JSMainThreadNullState state;
+ return IMPL->publicId();
+}
+
+- (NSString *)systemId
+{
+ WebCore::JSMainThreadNullState state;
+ return IMPL->systemId();
+}
+
+- (NSString *)internalSubset
+{
+ WebCore::JSMainThreadNullState state;
+ return IMPL->internalSubset();
+}
+
+- (void)remove
+{
+ WebCore::JSMainThreadNullState state;
+ WebCore::ExceptionCode ec = 0;
+ IMPL->remove(ec);
+ WebCore::raiseOnDOMError(ec);
+}
+
+@end
+
+WebCore::DocumentType* core(DOMDocumentType *wrapper)
+{
+ return wrapper ? reinterpret_cast<WebCore::DocumentType*>(wrapper->_internal) : 0;
+}
+
+DOMDocumentType *kit(WebCore::DocumentType* value)
+{
+ WebCoreThreadViolationCheckRoundOne();
+ return static_cast<DOMDocumentType*>(kit(static_cast<WebCore::Node*>(value)));
+}
</ins></span></pre></div>
<a id="trunkSourceWebCorebindingsobjcDOMDocumentTypeInternalhfromrev204082trunkSourceWebCorebindingsobjcDOMTextEventInternalh"></a>
<div class="copfile"><h4>Copied: trunk/Source/WebCore/bindings/objc/DOMDocumentTypeInternal.h (from rev 204082, trunk/Source/WebCore/bindings/objc/DOMTextEventInternal.h) (0 => 204083)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/objc/DOMDocumentTypeInternal.h         (rev 0)
+++ trunk/Source/WebCore/bindings/objc/DOMDocumentTypeInternal.h        2016-08-03 16:53:15 UTC (rev 204083)
</span><span class="lines">@@ -0,0 +1,33 @@
</span><ins>+/*
+ * Copyright (C) 2004-2016 Apple Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#import <WebCore/DOMDocumentType.h>
+
+namespace WebCore {
+class DocumentType;
+}
+
+WEBCORE_EXPORT WebCore::DocumentType* core(DOMDocumentType *);
+WEBCORE_EXPORT DOMDocumentType *kit(WebCore::DocumentType*);
</ins></span></pre></div>
<a id="trunkSourceWebCorebindingsobjcDOMElementh"></a>
<div class="addfile"><h4>Added: trunk/Source/WebCore/bindings/objc/DOMElement.h (0 => 204083)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/objc/DOMElement.h         (rev 0)
+++ trunk/Source/WebCore/bindings/objc/DOMElement.h        2016-08-03 16:53:15 UTC (rev 204083)
</span><span class="lines">@@ -0,0 +1,102 @@
</span><ins>+/*
+ * Copyright (C) 2004-2016 Apple Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#import <WebCore/DOMNode.h>
+
+@class DOMAttr;
+@class DOMCSSStyleDeclaration;
+@class DOMElement;
+@class DOMNodeList;
+@class NSString;
+
+enum {
+ DOM_ALLOW_KEYBOARD_INPUT = 1
+} WEBKIT_ENUM_AVAILABLE_MAC(10_4);
+
+WEBKIT_CLASS_AVAILABLE_MAC(10_4)
+WEBCORE_EXPORT @interface DOMElement : DOMNode
+@property (readonly, copy) NSString *tagName;
+@property (readonly, strong) DOMCSSStyleDeclaration *style;
+@property (readonly) int offsetLeft;
+@property (readonly) int offsetTop;
+@property (readonly) int offsetWidth;
+@property (readonly) int offsetHeight;
+@property (readonly) int clientLeft WEBKIT_AVAILABLE_MAC(10_5);
+@property (readonly) int clientTop WEBKIT_AVAILABLE_MAC(10_5);
+@property (readonly) int clientWidth;
+@property (readonly) int clientHeight;
+@property int scrollLeft;
+@property int scrollTop;
+@property (readonly) int scrollWidth;
+@property (readonly) int scrollHeight;
+@property (readonly, strong) DOMElement *offsetParent;
+@property (copy) NSString *innerHTML;
+@property (copy) NSString *outerHTML;
+@property (copy) NSString *className;
+@property (readonly, copy) NSString *innerText WEBKIT_AVAILABLE_MAC(10_5);
+@property (readonly, strong) DOMElement *previousElementSibling WEBKIT_AVAILABLE_MAC(10_6);
+@property (readonly, strong) DOMElement *nextElementSibling WEBKIT_AVAILABLE_MAC(10_6);
+@property (readonly, strong) DOMElement *firstElementChild WEBKIT_AVAILABLE_MAC(10_6);
+@property (readonly, strong) DOMElement *lastElementChild WEBKIT_AVAILABLE_MAC(10_6);
+@property (readonly) unsigned childElementCount WEBKIT_AVAILABLE_MAC(10_6);
+
+- (NSString *)getAttribute:(NSString *)name;
+- (void)setAttribute:(NSString *)name value:(NSString *)value WEBKIT_AVAILABLE_MAC(10_5);
+- (void)removeAttribute:(NSString *)name;
+- (DOMAttr *)getAttributeNode:(NSString *)name;
+- (DOMAttr *)setAttributeNode:(DOMAttr *)newAttr;
+- (DOMAttr *)removeAttributeNode:(DOMAttr *)oldAttr;
+- (DOMNodeList *)getElementsByTagName:(NSString *)name;
+- (NSString *)getAttributeNS:(NSString *)namespaceURI localName:(NSString *)localName WEBKIT_AVAILABLE_MAC(10_5);
+- (void)setAttributeNS:(NSString *)namespaceURI qualifiedName:(NSString *)qualifiedName value:(NSString *)value WEBKIT_AVAILABLE_MAC(10_5);
+- (void)removeAttributeNS:(NSString *)namespaceURI localName:(NSString *)localName WEBKIT_AVAILABLE_MAC(10_5);
+- (DOMNodeList *)getElementsByTagNameNS:(NSString *)namespaceURI localName:(NSString *)localName WEBKIT_AVAILABLE_MAC(10_5);
+- (DOMAttr *)getAttributeNodeNS:(NSString *)namespaceURI localName:(NSString *)localName WEBKIT_AVAILABLE_MAC(10_5);
+- (DOMAttr *)setAttributeNodeNS:(DOMAttr *)newAttr;
+- (BOOL)hasAttribute:(NSString *)name;
+- (BOOL)hasAttributeNS:(NSString *)namespaceURI localName:(NSString *)localName WEBKIT_AVAILABLE_MAC(10_5);
+- (void)focus WEBKIT_AVAILABLE_MAC(10_6);
+- (void)blur WEBKIT_AVAILABLE_MAC(10_6);
+- (void)scrollIntoView:(BOOL)alignWithTop WEBKIT_AVAILABLE_MAC(10_5);
+- (void)scrollIntoViewIfNeeded:(BOOL)centerIfNeeded WEBKIT_AVAILABLE_MAC(10_5);
+- (void)scrollByLines:(int)lines WEBKIT_AVAILABLE_MAC(10_5);
+- (void)scrollByPages:(int)pages WEBKIT_AVAILABLE_MAC(10_5);
+- (DOMNodeList *)getElementsByClassName:(NSString *)name WEBKIT_AVAILABLE_MAC(10_6);
+#if !TARGET_OS_IPHONE
+- (void)webkitRequestFullScreen:(unsigned short)flags WEBKIT_AVAILABLE_MAC(10_6);
+#endif
+- (DOMElement *)querySelector:(NSString *)selectors WEBKIT_AVAILABLE_MAC(10_6);
+- (DOMNodeList *)querySelectorAll:(NSString *)selectors WEBKIT_AVAILABLE_MAC(10_6);
+@end
+
+@interface DOMElement (DOMElementDeprecated)
+- (void)setAttribute:(NSString *)name :(NSString *)value WEBKIT_DEPRECATED_MAC(10_4, 10_5);
+- (NSString *)getAttributeNS:(NSString *)namespaceURI :(NSString *)localName WEBKIT_DEPRECATED_MAC(10_4, 10_5);
+- (void)setAttributeNS:(NSString *)namespaceURI :(NSString *)qualifiedName :(NSString *)value WEBKIT_DEPRECATED_MAC(10_4, 10_5);
+- (void)removeAttributeNS:(NSString *)namespaceURI :(NSString *)localName WEBKIT_DEPRECATED_MAC(10_4, 10_5);
+- (DOMNodeList *)getElementsByTagNameNS:(NSString *)namespaceURI :(NSString *)localName WEBKIT_DEPRECATED_MAC(10_4, 10_5);
+- (DOMAttr *)getAttributeNodeNS:(NSString *)namespaceURI :(NSString *)localName WEBKIT_DEPRECATED_MAC(10_4, 10_5);
+- (BOOL)hasAttributeNS:(NSString *)namespaceURI :(NSString *)localName WEBKIT_DEPRECATED_MAC(10_4, 10_5);
+@end
</ins></span></pre></div>
<a id="trunkSourceWebCorebindingsobjcDOMElementmm"></a>
<div class="addfile"><h4>Added: trunk/Source/WebCore/bindings/objc/DOMElement.mm (0 => 204083)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/objc/DOMElement.mm         (rev 0)
+++ trunk/Source/WebCore/bindings/objc/DOMElement.mm        2016-08-03 16:53:15 UTC (rev 204083)
</span><span class="lines">@@ -0,0 +1,549 @@
</span><ins>+/*
+ * Copyright (C) 2004-2016 Apple Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#import "config.h"
+#import "DOMElementInternal.h"
+
+#import "Attr.h"
+#import "CSSStyleDeclaration.h"
+#import "DOMAttrInternal.h"
+#import "DOMCSSStyleDeclarationInternal.h"
+#import "DOMDOMTokenListInternal.h"
+#import "DOMHTMLCollectionInternal.h"
+#import "DOMNodeInternal.h"
+#import "DOMNodeListInternal.h"
+#import "DOMTokenList.h"
+#import "Element.h"
+#import "ExceptionHandlers.h"
+#import "HTMLCollection.h"
+#import "HTMLNames.h"
+#import "JSMainThreadExecState.h"
+#import "NameNodeList.h"
+#import "NodeList.h"
+#import "StyleProperties.h"
+#import "ThreadCheck.h"
+#import "URL.h"
+#import "WebScriptObjectPrivate.h"
+#import <wtf/GetPtr.h>
+
+#define IMPL static_cast<WebCore::Element*>(reinterpret_cast<WebCore::Node*>(_internal))
+
+@implementation DOMElement
+
+- (NSString *)tagName
+{
+ WebCore::JSMainThreadNullState state;
+ return IMPL->tagName();
+}
+
+- (DOMCSSStyleDeclaration *)style
+{
+ WebCore::JSMainThreadNullState state;
+ return kit(WTF::getPtr(IMPL->cssomStyle()));
+}
+
+- (int)offsetLeft
+{
+ WebCore::JSMainThreadNullState state;
+ return IMPL->offsetLeft();
+}
+
+- (int)offsetTop
+{
+ WebCore::JSMainThreadNullState state;
+ return IMPL->offsetTop();
+}
+
+- (int)offsetWidth
+{
+ WebCore::JSMainThreadNullState state;
+ return IMPL->offsetWidth();
+}
+
+- (int)offsetHeight
+{
+ WebCore::JSMainThreadNullState state;
+ return IMPL->offsetHeight();
+}
+
+- (int)clientLeft
+{
+ WebCore::JSMainThreadNullState state;
+ return IMPL->clientLeft();
+}
+
+- (int)clientTop
+{
+ WebCore::JSMainThreadNullState state;
+ return IMPL->clientTop();
+}
+
+- (int)clientWidth
+{
+ WebCore::JSMainThreadNullState state;
+ return IMPL->clientWidth();
+}
+
+- (int)clientHeight
+{
+ WebCore::JSMainThreadNullState state;
+ return IMPL->clientHeight();
+}
+
+- (int)scrollLeft
+{
+ WebCore::JSMainThreadNullState state;
+ return IMPL->scrollLeft();
+}
+
+- (void)setScrollLeft:(int)newScrollLeft
+{
+ WebCore::JSMainThreadNullState state;
+ IMPL->setScrollLeft(newScrollLeft);
+}
+
+- (int)scrollTop
+{
+ WebCore::JSMainThreadNullState state;
+ return IMPL->scrollTop();
+}
+
+- (void)setScrollTop:(int)newScrollTop
+{
+ WebCore::JSMainThreadNullState state;
+ IMPL->setScrollTop(newScrollTop);
+}
+
+- (int)scrollWidth
+{
+ WebCore::JSMainThreadNullState state;
+ return IMPL->scrollWidth();
+}
+
+- (int)scrollHeight
+{
+ WebCore::JSMainThreadNullState state;
+ return IMPL->scrollHeight();
+}
+
+- (DOMElement *)offsetParent
+{
+ WebCore::JSMainThreadNullState state;
+ return kit(WTF::getPtr(IMPL->bindingsOffsetParent()));
+}
+
+- (NSString *)innerHTML
+{
+ WebCore::JSMainThreadNullState state;
+ return IMPL->innerHTML();
+}
+
+- (void)setInnerHTML:(NSString *)newInnerHTML
+{
+ WebCore::JSMainThreadNullState state;
+ WebCore::ExceptionCode ec = 0;
+ IMPL->setInnerHTML(newInnerHTML, ec);
+ WebCore::raiseOnDOMError(ec);
+}
+
+- (NSString *)outerHTML
+{
+ WebCore::JSMainThreadNullState state;
+ return IMPL->outerHTML();
+}
+
+- (void)setOuterHTML:(NSString *)newOuterHTML
+{
+ WebCore::JSMainThreadNullState state;
+ WebCore::ExceptionCode ec = 0;
+ IMPL->setOuterHTML(newOuterHTML, ec);
+ WebCore::raiseOnDOMError(ec);
+}
+
+- (NSString *)className
+{
+ WebCore::JSMainThreadNullState state;
+ return IMPL->getAttribute(WebCore::HTMLNames::classAttr);
+}
+
+- (void)setClassName:(NSString *)newClassName
+{
+ WebCore::JSMainThreadNullState state;
+ IMPL->setAttributeWithoutSynchronization(WebCore::HTMLNames::classAttr, newClassName);
+}
+
+- (DOMDOMTokenList *)classList
+{
+ WebCore::JSMainThreadNullState state;
+ return kit(WTF::getPtr(IMPL->classList()));
+}
+
+- (NSString *)innerText
+{
+ WebCore::JSMainThreadNullState state;
+ return IMPL->innerText();
+}
+
+- (NSString *)uiactions
+{
+ WebCore::JSMainThreadNullState state;
+ return IMPL->getAttribute(WebCore::HTMLNames::uiactionsAttr);
+}
+
+- (void)setUiactions:(NSString *)newUiactions
+{
+ WebCore::JSMainThreadNullState state;
+ IMPL->setAttributeWithoutSynchronization(WebCore::HTMLNames::uiactionsAttr, newUiactions);
+}
+
+#if ENABLE(CSS_REGIONS)
+- (NSString *)webkitRegionOverset
+{
+ WebCore::JSMainThreadNullState state;
+ return IMPL->webkitRegionOverset();
+}
+#endif
+
+- (DOMElement *)previousElementSibling
+{
+ WebCore::JSMainThreadNullState state;
+ return kit(WTF::getPtr(IMPL->previousElementSibling()));
+}
+
+- (DOMElement *)nextElementSibling
+{
+ WebCore::JSMainThreadNullState state;
+ return kit(WTF::getPtr(IMPL->nextElementSibling()));
+}
+
+- (DOMHTMLCollection *)children
+{
+ WebCore::JSMainThreadNullState state;
+ return kit(WTF::getPtr(IMPL->children()));
+}
+
+- (DOMElement *)firstElementChild
+{
+ WebCore::JSMainThreadNullState state;
+ return kit(WTF::getPtr(IMPL->firstElementChild()));
+}
+
+- (DOMElement *)lastElementChild
+{
+ WebCore::JSMainThreadNullState state;
+ return kit(WTF::getPtr(IMPL->lastElementChild()));
+}
+
+- (unsigned)childElementCount
+{
+ WebCore::JSMainThreadNullState state;
+ return IMPL->childElementCount();
+}
+
+- (NSString *)getAttribute:(NSString *)name
+{
+ WebCore::JSMainThreadNullState state;
+ return IMPL->getAttribute(name);
+}
+
+- (void)setAttribute:(NSString *)name value:(NSString *)value
+{
+ WebCore::JSMainThreadNullState state;
+ WebCore::ExceptionCode ec = 0;
+ IMPL->setAttribute(name, value, ec);
+ WebCore::raiseOnDOMError(ec);
+}
+
+- (void)setAttribute:(NSString *)name :(NSString *)value
+{
+ WebCore::JSMainThreadNullState state;
+ WebCore::ExceptionCode ec = 0;
+ IMPL->setAttribute(name, value, ec);
+ WebCore::raiseOnDOMError(ec);
+}
+
+- (void)removeAttribute:(NSString *)name
+{
+ WebCore::JSMainThreadNullState state;
+ IMPL->removeAttribute(name);
+}
+
+- (DOMAttr *)getAttributeNode:(NSString *)name
+{
+ WebCore::JSMainThreadNullState state;
+ return kit(WTF::getPtr(IMPL->getAttributeNode(name)));
+}
+
+- (DOMAttr *)setAttributeNode:(DOMAttr *)newAttr
+{
+ WebCore::JSMainThreadNullState state;
+ if (!newAttr)
+ WebCore::raiseTypeErrorException();
+ WebCore::ExceptionCode ec = 0;
+ DOMAttr *result = kit(WTF::getPtr(IMPL->setAttributeNode(*core(newAttr), ec)));
+ WebCore::raiseOnDOMError(ec);
+ return result;
+}
+
+- (DOMAttr *)removeAttributeNode:(DOMAttr *)oldAttr
+{
+ WebCore::JSMainThreadNullState state;
+ if (!oldAttr)
+ WebCore::raiseTypeErrorException();
+ WebCore::ExceptionCode ec = 0;
+ DOMAttr *result = kit(WTF::getPtr(IMPL->removeAttributeNode(*core(oldAttr), ec)));
+ WebCore::raiseOnDOMError(ec);
+ return result;
+}
+
+- (DOMNodeList *)getElementsByTagName:(NSString *)name
+{
+ WebCore::JSMainThreadNullState state;
+ return kit(WTF::getPtr(IMPL->getElementsByTagNameForObjC(name)));
+}
+
+- (NSString *)getAttributeNS:(NSString *)namespaceURI localName:(NSString *)localName
+{
+ WebCore::JSMainThreadNullState state;
+ return IMPL->getAttributeNS(namespaceURI, localName);
+}
+
+- (NSString *)getAttributeNS:(NSString *)namespaceURI :(NSString *)localName
+{
+ WebCore::JSMainThreadNullState state;
+ return IMPL->getAttributeNS(namespaceURI, localName);
+}
+
+- (void)setAttributeNS:(NSString *)namespaceURI qualifiedName:(NSString *)qualifiedName value:(NSString *)value
+{
+ WebCore::JSMainThreadNullState state;
+ WebCore::ExceptionCode ec = 0;
+ IMPL->setAttributeNS(namespaceURI, qualifiedName, value, ec);
+ WebCore::raiseOnDOMError(ec);
+}
+
+- (void)setAttributeNS:(NSString *)namespaceURI :(NSString *)qualifiedName :(NSString *)value
+{
+ WebCore::JSMainThreadNullState state;
+ WebCore::ExceptionCode ec = 0;
+ IMPL->setAttributeNS(namespaceURI, qualifiedName, value, ec);
+ WebCore::raiseOnDOMError(ec);
+}
+
+- (void)removeAttributeNS:(NSString *)namespaceURI localName:(NSString *)localName
+{
+ WebCore::JSMainThreadNullState state;
+ IMPL->removeAttributeNS(namespaceURI, localName);
+}
+
+- (void)removeAttributeNS:(NSString *)namespaceURI :(NSString *)localName
+{
+ WebCore::JSMainThreadNullState state;
+ IMPL->removeAttributeNS(namespaceURI, localName);
+}
+
+- (DOMNodeList *)getElementsByTagNameNS:(NSString *)namespaceURI localName:(NSString *)localName
+{
+ WebCore::JSMainThreadNullState state;
+ return kit(WTF::getPtr(IMPL->getElementsByTagNameNSForObjC(namespaceURI, localName)));
+}
+
+- (DOMNodeList *)getElementsByTagNameNS:(NSString *)namespaceURI :(NSString *)localName
+{
+ WebCore::JSMainThreadNullState state;
+ return kit(WTF::getPtr(IMPL->getElementsByTagNameNSForObjC(namespaceURI, localName)));
+}
+
+- (DOMAttr *)getAttributeNodeNS:(NSString *)namespaceURI localName:(NSString *)localName
+{
+ WebCore::JSMainThreadNullState state;
+ return kit(WTF::getPtr(IMPL->getAttributeNodeNS(namespaceURI, localName)));
+}
+
+- (DOMAttr *)getAttributeNodeNS:(NSString *)namespaceURI :(NSString *)localName
+{
+ WebCore::JSMainThreadNullState state;
+ return kit(WTF::getPtr(IMPL->getAttributeNodeNS(namespaceURI, localName)));
+}
+
+- (DOMAttr *)setAttributeNodeNS:(DOMAttr *)newAttr
+{
+ WebCore::JSMainThreadNullState state;
+ if (!newAttr)
+ WebCore::raiseTypeErrorException();
+ WebCore::ExceptionCode ec = 0;
+ DOMAttr *result = kit(WTF::getPtr(IMPL->setAttributeNodeNS(*core(newAttr), ec)));
+ WebCore::raiseOnDOMError(ec);
+ return result;
+}
+
+- (BOOL)hasAttribute:(NSString *)name
+{
+ WebCore::JSMainThreadNullState state;
+ return IMPL->hasAttribute(name);
+}
+
+- (BOOL)hasAttributeNS:(NSString *)namespaceURI localName:(NSString *)localName
+{
+ WebCore::JSMainThreadNullState state;
+ return IMPL->hasAttributeNS(namespaceURI, localName);
+}
+
+- (BOOL)hasAttributeNS:(NSString *)namespaceURI :(NSString *)localName
+{
+ WebCore::JSMainThreadNullState state;
+ return IMPL->hasAttributeNS(namespaceURI, localName);
+}
+
+- (void)focus
+{
+ WebCore::JSMainThreadNullState state;
+ IMPL->focus();
+}
+
+- (void)blur
+{
+ WebCore::JSMainThreadNullState state;
+ IMPL->blur();
+}
+
+- (void)scrollIntoView:(BOOL)alignWithTop
+{
+ WebCore::JSMainThreadNullState state;
+ IMPL->scrollIntoView(alignWithTop);
+}
+
+- (void)scrollIntoViewIfNeeded:(BOOL)centerIfNeeded
+{
+ WebCore::JSMainThreadNullState state;
+ IMPL->scrollIntoViewIfNeeded(centerIfNeeded);
+}
+
+- (void)scrollByLines:(int)lines
+{
+ WebCore::JSMainThreadNullState state;
+ IMPL->scrollByLines(lines);
+}
+
+- (void)scrollByPages:(int)pages
+{
+ WebCore::JSMainThreadNullState state;
+ IMPL->scrollByPages(pages);
+}
+
+- (DOMNodeList *)getElementsByClassName:(NSString *)name
+{
+ WebCore::JSMainThreadNullState state;
+ return kit(WTF::getPtr(IMPL->getElementsByClassNameForObjC(name)));
+}
+
+- (BOOL)matches:(NSString *)selectors
+{
+ WebCore::JSMainThreadNullState state;
+ WebCore::ExceptionCode ec = 0;
+ BOOL result = IMPL->matches(selectors, ec);
+ WebCore::raiseOnDOMError(ec);
+ return result;
+}
+
+- (DOMElement *)closest:(NSString *)selectors
+{
+ WebCore::JSMainThreadNullState state;
+ WebCore::ExceptionCode ec = 0;
+ DOMElement *result = kit(WTF::getPtr(IMPL->closest(selectors, ec)));
+ WebCore::raiseOnDOMError(ec);
+ return result;
+}
+
+- (BOOL)webkitMatchesSelector:(NSString *)selectors
+{
+ WebCore::JSMainThreadNullState state;
+ WebCore::ExceptionCode ec = 0;
+ BOOL result = IMPL->matches(selectors, ec);
+ WebCore::raiseOnDOMError(ec);
+ return result;
+}
+
+#if ENABLE(FULLSCREEN_API)
+- (void)webkitRequestFullScreen:(unsigned short)flags
+{
+ WebCore::JSMainThreadNullState state;
+ IMPL->webkitRequestFullScreen(flags);
+}
+
+- (void)webkitRequestFullscreen
+{
+ WebCore::JSMainThreadNullState state;
+ IMPL->webkitRequestFullscreen();
+}
+#endif
+
+#if ENABLE(POINTER_LOCK)
+- (void)requestPointerLock
+{
+ WebCore::JSMainThreadNullState state;
+ IMPL->requestPointerLock();
+}
+
+#endif
+
+- (void)remove
+{
+ WebCore::JSMainThreadNullState state;
+ WebCore::ExceptionCode ec = 0;
+ IMPL->remove(ec);
+ WebCore::raiseOnDOMError(ec);
+}
+
+- (DOMElement *)querySelector:(NSString *)selectors
+{
+ WebCore::JSMainThreadNullState state;
+ WebCore::ExceptionCode ec = 0;
+ DOMElement *result = kit(WTF::getPtr(IMPL->querySelector(selectors, ec)));
+ WebCore::raiseOnDOMError(ec);
+ return result;
+}
+
+- (DOMNodeList *)querySelectorAll:(NSString *)selectors
+{
+ WebCore::JSMainThreadNullState state;
+ WebCore::ExceptionCode ec = 0;
+ DOMNodeList *result = kit(WTF::getPtr(IMPL->querySelectorAll(selectors, ec)));
+ WebCore::raiseOnDOMError(ec);
+ return result;
+}
+
+@end
+
+WebCore::Element* core(DOMElement *wrapper)
+{
+ return wrapper ? reinterpret_cast<WebCore::Element*>(wrapper->_internal) : 0;
+}
+
+DOMElement *kit(WebCore::Element* value)
+{
+ WebCoreThreadViolationCheckRoundOne();
+ return static_cast<DOMElement*>(kit(static_cast<WebCore::Node*>(value)));
+}
</ins></span></pre></div>
<a id="trunkSourceWebCorebindingsobjcDOMElementInternalhfromrev204082trunkSourceWebCorebindingsobjcDOMTextEventInternalh"></a>
<div class="copfile"><h4>Copied: trunk/Source/WebCore/bindings/objc/DOMElementInternal.h (from rev 204082, trunk/Source/WebCore/bindings/objc/DOMTextEventInternal.h) (0 => 204083)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/objc/DOMElementInternal.h         (rev 0)
+++ trunk/Source/WebCore/bindings/objc/DOMElementInternal.h        2016-08-03 16:53:15 UTC (rev 204083)
</span><span class="lines">@@ -0,0 +1,33 @@
</span><ins>+/*
+ * Copyright (C) 2004-2016 Apple Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#import <WebCore/DOMElement.h>
+
+namespace WebCore {
+class Element;
+}
+
+WEBCORE_EXPORT WebCore::Element* core(DOMElement *);
+WEBCORE_EXPORT DOMElement *kit(WebCore::Element*);
</ins></span></pre></div>
<a id="trunkSourceWebCorebindingsobjcDOMEntityhfromrev204082trunkSourceWebCorebindingsobjcDOMTextEventInternalh"></a>
<div class="copfile"><h4>Copied: trunk/Source/WebCore/bindings/objc/DOMEntity.h (from rev 204082, trunk/Source/WebCore/bindings/objc/DOMTextEventInternal.h) (0 => 204083)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/objc/DOMEntity.h         (rev 0)
+++ trunk/Source/WebCore/bindings/objc/DOMEntity.h        2016-08-03 16:53:15 UTC (rev 204083)
</span><span class="lines">@@ -0,0 +1,35 @@
</span><ins>+/*
+ * Copyright (C) 2004-2016 Apple Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#import <WebCore/DOMNode.h>
+
+@class NSString;
+
+WEBKIT_CLASS_AVAILABLE_MAC(10_4)
+WEBCORE_EXPORT @interface DOMEntity : DOMNode
+@property (readonly, copy) NSString *publicId;
+@property (readonly, copy) NSString *systemId;
+@property (readonly, copy) NSString *notationName;
+@end
</ins></span></pre></div>
<a id="trunkSourceWebCorebindingsobjcDOMEntitymmfromrev204082trunkSourceWebCorebindingsobjcDOMTextEventmm"></a>
<div class="copfile"><h4>Copied: trunk/Source/WebCore/bindings/objc/DOMEntity.mm (from rev 204082, trunk/Source/WebCore/bindings/objc/DOMTextEvent.mm) (0 => 204083)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/objc/DOMEntity.mm         (rev 0)
+++ trunk/Source/WebCore/bindings/objc/DOMEntity.mm        2016-08-03 16:53:15 UTC (rev 204083)
</span><span class="lines">@@ -0,0 +1,71 @@
</span><ins>+/*
+ * Copyright (C) 2004-2016 Apple Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#import "config.h"
+#import "DOMEntityInternal.h"
+
+#import "DOMNodeInternal.h"
+#import "Entity.h"
+#import "ExceptionHandlers.h"
+#import "JSMainThreadExecState.h"
+#import "ThreadCheck.h"
+#import "URL.h"
+#import "WebScriptObjectPrivate.h"
+#import <wtf/GetPtr.h>
+
+#define IMPL static_cast<WebCore::Entity*>(reinterpret_cast<WebCore::Node*>(_internal))
+
+@implementation DOMEntity
+
+- (NSString *)publicId
+{
+ WebCore::JSMainThreadNullState state;
+ return IMPL->publicId();
+}
+
+- (NSString *)systemId
+{
+ WebCore::JSMainThreadNullState state;
+ return IMPL->systemId();
+}
+
+- (NSString *)notationName
+{
+ WebCore::JSMainThreadNullState state;
+ return IMPL->notationName();
+}
+
+@end
+
+WebCore::Entity* core(DOMEntity *wrapper)
+{
+ return wrapper ? reinterpret_cast<WebCore::Entity*>(wrapper->_internal) : 0;
+}
+
+DOMEntity *kit(WebCore::Entity* value)
+{
+ WebCoreThreadViolationCheckRoundOne();
+ return static_cast<DOMEntity*>(kit(static_cast<WebCore::Node*>(value)));
+}
</ins></span></pre></div>
<a id="trunkSourceWebCorebindingsobjcDOMEntityInternalhfromrev204082trunkSourceWebCorebindingsobjcDOMTextEventInternalh"></a>
<div class="copfile"><h4>Copied: trunk/Source/WebCore/bindings/objc/DOMEntityInternal.h (from rev 204082, trunk/Source/WebCore/bindings/objc/DOMTextEventInternal.h) (0 => 204083)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/objc/DOMEntityInternal.h         (rev 0)
+++ trunk/Source/WebCore/bindings/objc/DOMEntityInternal.h        2016-08-03 16:53:15 UTC (rev 204083)
</span><span class="lines">@@ -0,0 +1,33 @@
</span><ins>+/*
+ * Copyright (C) 2004-2016 Apple Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#import <WebCore/DOMEntity.h>
+
+namespace WebCore {
+class Entity;
+}
+
+WEBCORE_EXPORT WebCore::Entity* core(DOMEntity *);
+WEBCORE_EXPORT DOMEntity *kit(WebCore::Entity*);
</ins></span></pre></div>
<a id="trunkSourceWebCorebindingsobjcDOMEntityReferencehfromrev204082trunkSourceWebCorebindingsobjcDOMTextEventInternalh"></a>
<div class="copfile"><h4>Copied: trunk/Source/WebCore/bindings/objc/DOMEntityReference.h (from rev 204082, trunk/Source/WebCore/bindings/objc/DOMTextEventInternal.h) (0 => 204083)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/objc/DOMEntityReference.h         (rev 0)
+++ trunk/Source/WebCore/bindings/objc/DOMEntityReference.h        2016-08-03 16:53:15 UTC (rev 204083)
</span><span class="lines">@@ -0,0 +1,30 @@
</span><ins>+/*
+ * Copyright (C) 2004-2016 Apple Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#import <WebCore/DOMNode.h>
+
+WEBKIT_CLASS_AVAILABLE_MAC(10_4)
+WEBCORE_EXPORT @interface DOMEntityReference : DOMNode
+@end
</ins></span></pre></div>
<a id="trunkSourceWebCorebindingsobjcDOMEntityReferencemmfromrev204082trunkSourceWebCorebindingsobjcDOMTextEventInternalh"></a>
<div class="copfile"><h4>Copied: trunk/Source/WebCore/bindings/objc/DOMEntityReference.mm (from rev 204082, trunk/Source/WebCore/bindings/objc/DOMTextEventInternal.h) (0 => 204083)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/objc/DOMEntityReference.mm         (rev 0)
+++ trunk/Source/WebCore/bindings/objc/DOMEntityReference.mm        2016-08-03 16:53:15 UTC (rev 204083)
</span><span class="lines">@@ -0,0 +1,52 @@
</span><ins>+/*
+ * Copyright (C) 2004-2016 Apple Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#import "config.h"
+#import "DOMEntityReferenceInternal.h"
+
+#import "DOMNodeInternal.h"
+#import "EntityReference.h"
+#import "ExceptionHandlers.h"
+#import "JSMainThreadExecState.h"
+#import "ThreadCheck.h"
+#import "WebScriptObjectPrivate.h"
+#import <wtf/GetPtr.h>
+
+#define IMPL static_cast<WebCore::EntityReference*>(reinterpret_cast<WebCore::Node*>(_internal))
+
+@implementation DOMEntityReference
+
+@end
+
+WebCore::EntityReference* core(DOMEntityReference *wrapper)
+{
+ return wrapper ? reinterpret_cast<WebCore::EntityReference*>(wrapper->_internal) : 0;
+}
+
+DOMEntityReference *kit(WebCore::EntityReference* value)
+{
+ WebCoreThreadViolationCheckRoundOne();
+ return static_cast<DOMEntityReference*>(kit(static_cast<WebCore::Node*>(value)));
+}
</ins></span></pre></div>
<a id="trunkSourceWebCorebindingsobjcDOMEntityReferenceInternalhfromrev204082trunkSourceWebCorebindingsobjcDOMTextEventInternalh"></a>
<div class="copfile"><h4>Copied: trunk/Source/WebCore/bindings/objc/DOMEntityReferenceInternal.h (from rev 204082, trunk/Source/WebCore/bindings/objc/DOMTextEventInternal.h) (0 => 204083)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/objc/DOMEntityReferenceInternal.h         (rev 0)
+++ trunk/Source/WebCore/bindings/objc/DOMEntityReferenceInternal.h        2016-08-03 16:53:15 UTC (rev 204083)
</span><span class="lines">@@ -0,0 +1,33 @@
</span><ins>+/*
+ * Copyright (C) 2004-2016 Apple Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#import <WebCore/DOMEntityReference.h>
+
+namespace WebCore {
+class EntityReference;
+}
+
+WEBCORE_EXPORT WebCore::EntityReference* core(DOMEntityReference *);
+WEBCORE_EXPORT DOMEntityReference *kit(WebCore::EntityReference*);
</ins></span></pre></div>
<a id="trunkSourceWebCorebindingsobjcDOMNamedNodeMaphfromrev204082trunkSourceWebCorebindingsobjcDOMTextEventInternalh"></a>
<div class="copfile"><h4>Copied: trunk/Source/WebCore/bindings/objc/DOMNamedNodeMap.h (from rev 204082, trunk/Source/WebCore/bindings/objc/DOMTextEventInternal.h) (0 => 204083)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/objc/DOMNamedNodeMap.h         (rev 0)
+++ trunk/Source/WebCore/bindings/objc/DOMNamedNodeMap.h        2016-08-03 16:53:15 UTC (rev 204083)
</span><span class="lines">@@ -0,0 +1,47 @@
</span><ins>+/*
+ * Copyright (C) 2004-2016 Apple Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#import <WebCore/DOMObject.h>
+
+@class DOMNode;
+@class NSString;
+
+WEBKIT_CLASS_AVAILABLE_MAC(10_4)
+WEBCORE_EXPORT @interface DOMNamedNodeMap : DOMObject
+@property (readonly) unsigned length;
+
+- (DOMNode *)getNamedItem:(NSString *)name;
+- (DOMNode *)setNamedItem:(DOMNode *)node;
+- (DOMNode *)removeNamedItem:(NSString *)name;
+- (DOMNode *)item:(unsigned)index;
+- (DOMNode *)getNamedItemNS:(NSString *)namespaceURI localName:(NSString *)localName WEBKIT_AVAILABLE_MAC(10_5);
+- (DOMNode *)setNamedItemNS:(DOMNode *)node;
+- (DOMNode *)removeNamedItemNS:(NSString *)namespaceURI localName:(NSString *)localName WEBKIT_AVAILABLE_MAC(10_5);
+@end
+
+@interface DOMNamedNodeMap (DOMNamedNodeMapDeprecated)
+- (DOMNode *)getNamedItemNS:(NSString *)namespaceURI :(NSString *)localName WEBKIT_DEPRECATED_MAC(10_4, 10_5);
+- (DOMNode *)removeNamedItemNS:(NSString *)namespaceURI :(NSString *)localName WEBKIT_DEPRECATED_MAC(10_4, 10_5);
+@end
</ins></span></pre></div>
<a id="trunkSourceWebCorebindingsobjcDOMNamedNodeMapmm"></a>
<div class="addfile"><h4>Added: trunk/Source/WebCore/bindings/objc/DOMNamedNodeMap.mm (0 => 204083)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/objc/DOMNamedNodeMap.mm         (rev 0)
+++ trunk/Source/WebCore/bindings/objc/DOMNamedNodeMap.mm        2016-08-03 16:53:15 UTC (rev 204083)
</span><span class="lines">@@ -0,0 +1,153 @@
</span><ins>+/*
+ * Copyright (C) 2004-2016 Apple Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#import "config.h"
+#import "DOMNamedNodeMapInternal.h"
+
+#import "DOMNodeInternal.h"
+#import "DOMInternal.h"
+#import "ExceptionHandlers.h"
+#import "JSMainThreadExecState.h"
+#import "NamedNodeMap.h"
+#import "Node.h"
+#import "ThreadCheck.h"
+#import "URL.h"
+#import "WebCoreObjCExtras.h"
+#import "WebScriptObjectPrivate.h"
+#import <wtf/GetPtr.h>
+
+#define IMPL reinterpret_cast<WebCore::NamedNodeMap*>(_internal)
+
+@implementation DOMNamedNodeMap
+
+- (void)dealloc
+{
+ if (WebCoreObjCScheduleDeallocateOnMainThread([DOMNamedNodeMap class], self))
+ return;
+
+ if (_internal)
+ IMPL->deref();
+ [super dealloc];
+}
+
+- (unsigned)length
+{
+ WebCore::JSMainThreadNullState state;
+ return IMPL->length();
+}
+
+- (DOMNode *)getNamedItem:(NSString *)name
+{
+ WebCore::JSMainThreadNullState state;
+ return kit(WTF::getPtr(IMPL->getNamedItem(name)));
+}
+
+- (DOMNode *)setNamedItem:(DOMNode *)node
+{
+ WebCore::JSMainThreadNullState state;
+ if (!node)
+ WebCore::raiseTypeErrorException();
+ WebCore::ExceptionCode ec = 0;
+ DOMNode *result = kit(WTF::getPtr(IMPL->setNamedItem(*core(node), ec)));
+ WebCore::raiseOnDOMError(ec);
+ return result;
+}
+
+- (DOMNode *)removeNamedItem:(NSString *)name
+{
+ WebCore::JSMainThreadNullState state;
+ WebCore::ExceptionCode ec = 0;
+ DOMNode *result = kit(WTF::getPtr(IMPL->removeNamedItem(name, ec)));
+ WebCore::raiseOnDOMError(ec);
+ return result;
+}
+
+- (DOMNode *)item:(unsigned)index
+{
+ WebCore::JSMainThreadNullState state;
+ return kit(WTF::getPtr(IMPL->item(index)));
+}
+
+- (DOMNode *)getNamedItemNS:(NSString *)namespaceURI localName:(NSString *)localName
+{
+ WebCore::JSMainThreadNullState state;
+ return kit(WTF::getPtr(IMPL->getNamedItemNS(namespaceURI, localName)));
+}
+
+- (DOMNode *)getNamedItemNS:(NSString *)namespaceURI :(NSString *)localName
+{
+ WebCore::JSMainThreadNullState state;
+ return kit(WTF::getPtr(IMPL->getNamedItemNS(namespaceURI, localName)));
+}
+
+- (DOMNode *)setNamedItemNS:(DOMNode *)node
+{
+ WebCore::JSMainThreadNullState state;
+ if (!node)
+ WebCore::raiseTypeErrorException();
+ WebCore::ExceptionCode ec = 0;
+ DOMNode *result = kit(WTF::getPtr(IMPL->setNamedItem(*core(node), ec)));
+ WebCore::raiseOnDOMError(ec);
+ return result;
+}
+
+- (DOMNode *)removeNamedItemNS:(NSString *)namespaceURI localName:(NSString *)localName
+{
+ WebCore::JSMainThreadNullState state;
+ WebCore::ExceptionCode ec = 0;
+ DOMNode *result = kit(WTF::getPtr(IMPL->removeNamedItemNS(namespaceURI, localName, ec)));
+ WebCore::raiseOnDOMError(ec);
+ return result;
+}
+
+- (DOMNode *)removeNamedItemNS:(NSString *)namespaceURI :(NSString *)localName
+{
+ WebCore::JSMainThreadNullState state;
+ WebCore::ExceptionCode ec = 0;
+ DOMNode *result = kit(WTF::getPtr(IMPL->removeNamedItemNS(namespaceURI, localName, ec)));
+ WebCore::raiseOnDOMError(ec);
+ return result;
+}
+
+@end
+
+WebCore::NamedNodeMap* core(DOMNamedNodeMap *wrapper)
+{
+ return wrapper ? reinterpret_cast<WebCore::NamedNodeMap*>(wrapper->_internal) : 0;
+}
+
+DOMNamedNodeMap *kit(WebCore::NamedNodeMap* value)
+{
+ WebCoreThreadViolationCheckRoundOne();
+ if (!value)
+ return nil;
+ if (DOMNamedNodeMap *wrapper = getDOMWrapper(value))
+ return [[wrapper retain] autorelease];
+ DOMNamedNodeMap *wrapper = [[DOMNamedNodeMap alloc] _init];
+ wrapper->_internal = reinterpret_cast<DOMObjectInternal*>(value);
+ value->ref();
+ addDOMWrapper(wrapper, value);
+ return [wrapper autorelease];
+}
</ins></span></pre></div>
<a id="trunkSourceWebCorebindingsobjcDOMNamedNodeMapInternalhfromrev204082trunkSourceWebCorebindingsobjcDOMTextEventInternalh"></a>
<div class="copfile"><h4>Copied: trunk/Source/WebCore/bindings/objc/DOMNamedNodeMapInternal.h (from rev 204082, trunk/Source/WebCore/bindings/objc/DOMTextEventInternal.h) (0 => 204083)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/objc/DOMNamedNodeMapInternal.h         (rev 0)
+++ trunk/Source/WebCore/bindings/objc/DOMNamedNodeMapInternal.h        2016-08-03 16:53:15 UTC (rev 204083)
</span><span class="lines">@@ -0,0 +1,33 @@
</span><ins>+/*
+ * Copyright (C) 2004-2016 Apple Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#import <WebCore/DOMNamedNodeMap.h>
+
+namespace WebCore {
+class NamedNodeMap;
+}
+
+WEBCORE_EXPORT WebCore::NamedNodeMap* core(DOMNamedNodeMap *);
+WEBCORE_EXPORT DOMNamedNodeMap *kit(WebCore::NamedNodeMap*);
</ins></span></pre></div>
<a id="trunkSourceWebCorebindingsobjcDOMNodeh"></a>
<div class="addfile"><h4>Added: trunk/Source/WebCore/bindings/objc/DOMNode.h (0 => 204083)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/objc/DOMNode.h         (rev 0)
+++ trunk/Source/WebCore/bindings/objc/DOMNode.h        2016-08-03 16:53:15 UTC (rev 204083)
</span><span class="lines">@@ -0,0 +1,100 @@
</span><ins>+/*
+ * Copyright (C) 2004-2016 Apple Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#import <WebCore/DOMObject.h>
+#import <WebCore/DOMEventTarget.h>
+
+@class DOMDocument;
+@class DOMElement;
+@class DOMNamedNodeMap;
+@class DOMNode;
+@class DOMNodeList;
+@class NSString;
+
+enum {
+ DOM_ELEMENT_NODE = 1,
+ DOM_ATTRIBUTE_NODE = 2,
+ DOM_TEXT_NODE = 3,
+ DOM_CDATA_SECTION_NODE = 4,
+ DOM_ENTITY_REFERENCE_NODE = 5,
+ DOM_ENTITY_NODE = 6,
+ DOM_PROCESSING_INSTRUCTION_NODE = 7,
+ DOM_COMMENT_NODE = 8,
+ DOM_DOCUMENT_NODE = 9,
+ DOM_DOCUMENT_TYPE_NODE = 10,
+ DOM_DOCUMENT_FRAGMENT_NODE = 11,
+ DOM_NOTATION_NODE = 12,
+ DOM_DOCUMENT_POSITION_DISCONNECTED = 0x01,
+ DOM_DOCUMENT_POSITION_PRECEDING = 0x02,
+ DOM_DOCUMENT_POSITION_FOLLOWING = 0x04,
+ DOM_DOCUMENT_POSITION_CONTAINS = 0x08,
+ DOM_DOCUMENT_POSITION_CONTAINED_BY = 0x10,
+ DOM_DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC = 0x20
+} WEBKIT_ENUM_AVAILABLE_MAC(10_4);
+
+WEBKIT_CLASS_AVAILABLE_MAC(10_4)
+WEBCORE_EXPORT @interface DOMNode : DOMObject <DOMEventTarget>
+@property (readonly, copy) NSString *nodeName;
+@property (copy) NSString *nodeValue;
+@property (readonly) unsigned short nodeType;
+@property (readonly, strong) DOMNode *parentNode;
+@property (readonly, strong) DOMNodeList *childNodes;
+@property (readonly, strong) DOMNode *firstChild;
+@property (readonly, strong) DOMNode *lastChild;
+@property (readonly, strong) DOMNode *previousSibling;
+@property (readonly, strong) DOMNode *nextSibling;
+@property (readonly, strong) DOMDocument *ownerDocument;
+@property (readonly, copy) NSString *namespaceURI;
+@property (copy) NSString *prefix;
+@property (readonly, copy) NSString *localName;
+@property (readonly, strong) DOMNamedNodeMap *attributes;
+@property (readonly, copy) NSString *baseURI WEBKIT_AVAILABLE_MAC(10_5);
+@property (copy) NSString *textContent WEBKIT_AVAILABLE_MAC(10_5);
+@property (readonly, strong) DOMElement *parentElement WEBKIT_AVAILABLE_MAC(10_5);
+@property (readonly) BOOL isContentEditable WEBKIT_AVAILABLE_MAC(10_5);
+
+- (DOMNode *)insertBefore:(DOMNode *)newChild refChild:(DOMNode *)refChild WEBKIT_AVAILABLE_MAC(10_5);
+- (DOMNode *)replaceChild:(DOMNode *)newChild oldChild:(DOMNode *)oldChild WEBKIT_AVAILABLE_MAC(10_5);
+- (DOMNode *)removeChild:(DOMNode *)oldChild;
+- (DOMNode *)appendChild:(DOMNode *)newChild;
+- (BOOL)hasChildNodes;
+- (DOMNode *)cloneNode:(BOOL)deep;
+- (void)normalize;
+- (BOOL)isSupported:(NSString *)feature version:(NSString *)version WEBKIT_AVAILABLE_MAC(10_5);
+- (BOOL)hasAttributes;
+- (BOOL)isSameNode:(DOMNode *)other WEBKIT_AVAILABLE_MAC(10_5);
+- (BOOL)isEqualNode:(DOMNode *)other WEBKIT_AVAILABLE_MAC(10_5);
+- (NSString *)lookupPrefix:(NSString *)namespaceURI WEBKIT_AVAILABLE_MAC(10_5);
+- (NSString *)lookupNamespaceURI:(NSString *)prefix WEBKIT_AVAILABLE_MAC(10_5);
+- (BOOL)isDefaultNamespace:(NSString *)namespaceURI WEBKIT_AVAILABLE_MAC(10_5);
+- (unsigned short)compareDocumentPosition:(DOMNode *)other WEBKIT_AVAILABLE_MAC(10_6);
+- (BOOL)contains:(DOMNode *)other WEBKIT_AVAILABLE_MAC(10_5);
+@end
+
+@interface DOMNode (DOMNodeDeprecated)
+- (DOMNode *)insertBefore:(DOMNode *)newChild :(DOMNode *)refChild WEBKIT_DEPRECATED_MAC(10_4, 10_5);
+- (DOMNode *)replaceChild:(DOMNode *)newChild :(DOMNode *)oldChild WEBKIT_DEPRECATED_MAC(10_4, 10_5);
+- (BOOL)isSupported:(NSString *)feature :(NSString *)version WEBKIT_DEPRECATED_MAC(10_4, 10_5);
+@end
</ins></span></pre></div>
<a id="trunkSourceWebCorebindingsobjcDOMNodemm"></a>
<div class="addfile"><h4>Added: trunk/Source/WebCore/bindings/objc/DOMNode.mm (0 => 204083)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/objc/DOMNode.mm         (rev 0)
+++ trunk/Source/WebCore/bindings/objc/DOMNode.mm        2016-08-03 16:53:15 UTC (rev 204083)
</span><span class="lines">@@ -0,0 +1,429 @@
</span><ins>+/*
+ * Copyright (C) 2004-2016 Apple Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#import "config.h"
+#import "DOMNodeInternal.h"
+
+#import "DOMDocumentInternal.h"
+#import "DOMElementInternal.h"
+#import "DOMEventInternal.h"
+#import "DOMInternal.h"
+#import "DOMNamedNodeMapInternal.h"
+#import "DOMNodeListInternal.h"
+#import "Document.h"
+#import "Element.h"
+#import "Event.h"
+#import "EventListener.h"
+#import "ExceptionHandlers.h"
+#import "JSMainThreadExecState.h"
+#import "NameNodeList.h"
+#import "NamedNodeMap.h"
+#import "Node.h"
+#import "NodeList.h"
+#import "ObjCEventListener.h"
+#import "ThreadCheck.h"
+#import "URL.h"
+#import "WebCoreObjCExtras.h"
+#import "WebScriptObjectPrivate.h"
+#import <wtf/GetPtr.h>
+
+#define IMPL reinterpret_cast<WebCore::Node*>(_internal)
+
+@implementation DOMNode
+
+- (void)dealloc
+{
+ if (WebCoreObjCScheduleDeallocateOnMainThread([DOMNode class], self))
+ return;
+
+ if (_internal)
+ IMPL->deref();
+ [super dealloc];
+}
+
+- (NSString *)nodeName
+{
+ WebCore::JSMainThreadNullState state;
+ return IMPL->nodeName();
+}
+
+- (NSString *)nodeValue
+{
+ WebCore::JSMainThreadNullState state;
+ return IMPL->nodeValue();
+}
+
+- (void)setNodeValue:(NSString *)newNodeValue
+{
+ WebCore::JSMainThreadNullState state;
+ WebCore::ExceptionCode ec = 0;
+ IMPL->setNodeValue(newNodeValue, ec);
+ WebCore::raiseOnDOMError(ec);
+}
+
+- (unsigned short)nodeType
+{
+ WebCore::JSMainThreadNullState state;
+ return IMPL->nodeType();
+}
+
+- (DOMNode *)parentNode
+{
+ WebCore::JSMainThreadNullState state;
+ return kit(WTF::getPtr(IMPL->parentNode()));
+}
+
+- (DOMNodeList *)childNodes
+{
+ WebCore::JSMainThreadNullState state;
+ return kit(WTF::getPtr(IMPL->childNodes()));
+}
+
+- (DOMNode *)firstChild
+{
+ WebCore::JSMainThreadNullState state;
+ return kit(WTF::getPtr(IMPL->firstChild()));
+}
+
+- (DOMNode *)lastChild
+{
+ WebCore::JSMainThreadNullState state;
+ return kit(WTF::getPtr(IMPL->lastChild()));
+}
+
+- (DOMNode *)previousSibling
+{
+ WebCore::JSMainThreadNullState state;
+ return kit(WTF::getPtr(IMPL->previousSibling()));
+}
+
+- (DOMNode *)nextSibling
+{
+ WebCore::JSMainThreadNullState state;
+ return kit(WTF::getPtr(IMPL->nextSibling()));
+}
+
+- (DOMDocument *)ownerDocument
+{
+ WebCore::JSMainThreadNullState state;
+ return kit(WTF::getPtr(IMPL->document()));
+}
+
+- (NSString *)namespaceURI
+{
+ WebCore::JSMainThreadNullState state;
+ return IMPL->namespaceURI();
+}
+
+- (NSString *)prefix
+{
+ WebCore::JSMainThreadNullState state;
+ return IMPL->prefix();
+}
+
+- (void)setPrefix:(NSString *)newPrefix
+{
+ WebCore::JSMainThreadNullState state;
+ WebCore::ExceptionCode ec = 0;
+ IMPL->setPrefix(newPrefix, ec);
+ WebCore::raiseOnDOMError(ec);
+}
+
+- (NSString *)localName
+{
+ WebCore::JSMainThreadNullState state;
+ return IMPL->localName();
+}
+
+- (DOMNamedNodeMap *)attributes
+{
+ WebCore::JSMainThreadNullState state;
+ return kit(WTF::getPtr(IMPL->attributes()));
+}
+
+- (NSString *)baseURI
+{
+ WebCore::JSMainThreadNullState state;
+ return IMPL->baseURI();
+}
+
+- (NSString *)textContent
+{
+ WebCore::JSMainThreadNullState state;
+ return IMPL->textContent();
+}
+
+- (void)setTextContent:(NSString *)newTextContent
+{
+ WebCore::JSMainThreadNullState state;
+ WebCore::ExceptionCode ec = 0;
+ IMPL->setTextContent(newTextContent, ec);
+ WebCore::raiseOnDOMError(ec);
+}
+
+- (BOOL)isConnected
+{
+ WebCore::JSMainThreadNullState state;
+ return IMPL->inDocument();
+}
+
+- (DOMElement *)parentElement
+{
+ WebCore::JSMainThreadNullState state;
+ return kit(WTF::getPtr(IMPL->parentElement()));
+}
+
+- (BOOL)isContentEditable
+{
+ WebCore::JSMainThreadNullState state;
+ return IMPL->isContentEditable();
+}
+
+- (DOMNode *)insertBefore:(DOMNode *)newChild refChild:(DOMNode *)refChild
+{
+ WebCore::JSMainThreadNullState state;
+ if (!newChild)
+ WebCore::raiseTypeErrorException();
+ WebCore::ExceptionCode ec = 0;
+ if (IMPL->insertBefore(*core(newChild), core(refChild), ec))
+ return newChild;
+ WebCore::raiseOnDOMError(ec);
+ return nil;
+}
+
+- (DOMNode *)insertBefore:(DOMNode *)newChild :(DOMNode *)refChild
+{
+ WebCore::JSMainThreadNullState state;
+ if (!newChild)
+ WebCore::raiseTypeErrorException();
+ WebCore::ExceptionCode ec = 0;
+ if (IMPL->insertBefore(*core(newChild), core(refChild), ec))
+ return newChild;
+ WebCore::raiseOnDOMError(ec);
+ return nil;
+}
+
+- (DOMNode *)replaceChild:(DOMNode *)newChild oldChild:(DOMNode *)oldChild
+{
+ WebCore::JSMainThreadNullState state;
+ if (!newChild)
+ WebCore::raiseTypeErrorException();
+ if (!oldChild)
+ WebCore::raiseTypeErrorException();
+ WebCore::ExceptionCode ec = 0;
+ if (IMPL->replaceChild(*core(newChild), *core(oldChild), ec))
+ return oldChild;
+ WebCore::raiseOnDOMError(ec);
+ return nil;
+}
+
+- (DOMNode *)replaceChild:(DOMNode *)newChild :(DOMNode *)oldChild
+{
+ WebCore::JSMainThreadNullState state;
+ if (!newChild)
+ WebCore::raiseTypeErrorException();
+ if (!oldChild)
+ WebCore::raiseTypeErrorException();
+ WebCore::ExceptionCode ec = 0;
+ if (IMPL->replaceChild(*core(newChild), *core(oldChild), ec))
+ return oldChild;
+ WebCore::raiseOnDOMError(ec);
+ return nil;
+}
+
+- (DOMNode *)removeChild:(DOMNode *)oldChild
+{
+ WebCore::JSMainThreadNullState state;
+ if (!oldChild)
+ WebCore::raiseTypeErrorException();
+ WebCore::ExceptionCode ec = 0;
+ if (IMPL->removeChild(*core(oldChild), ec))
+ return oldChild;
+ WebCore::raiseOnDOMError(ec);
+ return nil;
+}
+
+- (DOMNode *)appendChild:(DOMNode *)newChild
+{
+ WebCore::JSMainThreadNullState state;
+ if (!newChild)
+ WebCore::raiseTypeErrorException();
+ WebCore::ExceptionCode ec = 0;
+ if (IMPL->appendChild(*core(newChild), ec))
+ return newChild;
+ WebCore::raiseOnDOMError(ec);
+ return nil;
+}
+
+- (BOOL)hasChildNodes
+{
+ WebCore::JSMainThreadNullState state;
+ return IMPL->hasChildNodes();
+}
+
+- (DOMNode *)cloneNode:(BOOL)deep
+{
+ WebCore::JSMainThreadNullState state;
+ WebCore::ExceptionCode ec = 0;
+ DOMNode *result = kit(WTF::getPtr(IMPL->cloneNodeForBindings(deep, ec)));
+ WebCore::raiseOnDOMError(ec);
+ return result;
+}
+
+- (void)normalize
+{
+ WebCore::JSMainThreadNullState state;
+ IMPL->normalize();
+}
+
+- (BOOL)isSupported:(NSString *)feature version:(NSString *)version
+{
+ WebCore::JSMainThreadNullState state;
+ return IMPL->isSupportedForBindings(feature, version);
+}
+
+- (BOOL)isSupported:(NSString *)feature :(NSString *)version
+{
+ WebCore::JSMainThreadNullState state;
+ return IMPL->isSupportedForBindings(feature, version);
+}
+
+- (BOOL)hasAttributes
+{
+ WebCore::JSMainThreadNullState state;
+ return IMPL->hasAttributes();
+}
+
+- (BOOL)isSameNode:(DOMNode *)other
+{
+ WebCore::JSMainThreadNullState state;
+ return IMPL->isSameNode(core(other));
+}
+
+- (BOOL)isEqualNode:(DOMNode *)other
+{
+ WebCore::JSMainThreadNullState state;
+ return IMPL->isEqualNode(core(other));
+}
+
+- (NSString *)lookupPrefix:(NSString *)inNamespaceURI
+{
+ WebCore::JSMainThreadNullState state;
+ return IMPL->lookupPrefix(inNamespaceURI);
+}
+
+- (NSString *)lookupNamespaceURI:(NSString *)inPrefix
+{
+ WebCore::JSMainThreadNullState state;
+ return IMPL->lookupNamespaceURI(inPrefix);
+}
+
+- (BOOL)isDefaultNamespace:(NSString *)inNamespaceURI
+{
+ WebCore::JSMainThreadNullState state;
+ return IMPL->isDefaultNamespace(inNamespaceURI);
+}
+
+- (unsigned short)compareDocumentPosition:(DOMNode *)other
+{
+ WebCore::JSMainThreadNullState state;
+ if (!other)
+ WebCore::raiseTypeErrorException();
+ return IMPL->compareDocumentPosition(*core(other));
+}
+
+- (BOOL)contains:(DOMNode *)other
+{
+ WebCore::JSMainThreadNullState state;
+ return IMPL->contains(core(other));
+}
+
+- (void)inspect
+{
+ WebCore::JSMainThreadNullState state;
+ IMPL->inspect();
+}
+
+- (void)addEventListener:(NSString *)type listener:(id <DOMEventListener>)listener useCapture:(BOOL)useCapture
+{
+ WebCore::JSMainThreadNullState state;
+ RefPtr<WebCore::EventListener> nativeEventListener = WebCore::ObjCEventListener::wrap(listener);
+ IMPL->addEventListenerForBindings(type, WTF::getPtr(nativeEventListener), useCapture);
+}
+
+- (void)addEventListener:(NSString *)type :(id <DOMEventListener>)listener :(BOOL)useCapture
+{
+ WebCore::JSMainThreadNullState state;
+ RefPtr<WebCore::EventListener> nativeEventListener = WebCore::ObjCEventListener::wrap(listener);
+ IMPL->addEventListenerForBindings(type, WTF::getPtr(nativeEventListener), useCapture);
+}
+
+- (void)removeEventListener:(NSString *)type listener:(id <DOMEventListener>)listener useCapture:(BOOL)useCapture
+{
+ WebCore::JSMainThreadNullState state;
+ RefPtr<WebCore::EventListener> nativeEventListener = WebCore::ObjCEventListener::wrap(listener);
+ IMPL->removeEventListenerForBindings(type, WTF::getPtr(nativeEventListener), useCapture);
+}
+
+- (void)removeEventListener:(NSString *)type :(id <DOMEventListener>)listener :(BOOL)useCapture
+{
+ WebCore::JSMainThreadNullState state;
+ RefPtr<WebCore::EventListener> nativeEventListener = WebCore::ObjCEventListener::wrap(listener);
+ IMPL->removeEventListenerForBindings(type, WTF::getPtr(nativeEventListener), useCapture);
+}
+
+- (BOOL)dispatchEvent:(DOMEvent *)event
+{
+ WebCore::JSMainThreadNullState state;
+ if (!event)
+ WebCore::raiseTypeErrorException();
+ WebCore::ExceptionCode ec = 0;
+ BOOL result = IMPL->dispatchEventForBindings(*core(event), ec);
+ WebCore::raiseOnDOMError(ec);
+ return result;
+}
+
+@end
+
+WebCore::Node* core(DOMNode *wrapper)
+{
+ return wrapper ? reinterpret_cast<WebCore::Node*>(wrapper->_internal) : 0;
+}
+
+DOMNode *kit(WebCore::Node* value)
+{
+ WebCoreThreadViolationCheckRoundOne();
+ if (!value)
+ return nil;
+ if (DOMNode *wrapper = getDOMWrapper(value))
+ return [[wrapper retain] autorelease];
+ DOMNode *wrapper = [[kitClass(value) alloc] _init];
+ if (!wrapper)
+ return nil;
+ wrapper->_internal = reinterpret_cast<DOMObjectInternal*>(value);
+ value->ref();
+ addDOMWrapper(wrapper, value);
+ return [wrapper autorelease];
+}
</ins></span></pre></div>
<a id="trunkSourceWebCorebindingsobjcDOMNodeInternalhfromrev204082trunkSourceWebCorebindingsobjcDOMTextEventInternalh"></a>
<div class="copfile"><h4>Copied: trunk/Source/WebCore/bindings/objc/DOMNodeInternal.h (from rev 204082, trunk/Source/WebCore/bindings/objc/DOMTextEventInternal.h) (0 => 204083)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/objc/DOMNodeInternal.h         (rev 0)
+++ trunk/Source/WebCore/bindings/objc/DOMNodeInternal.h        2016-08-03 16:53:15 UTC (rev 204083)
</span><span class="lines">@@ -0,0 +1,38 @@
</span><ins>+/*
+ * Copyright (C) 2004-2016 Apple Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#import <WebCore/DOMNode.h>
+
+@protocol DOMEventTarget;
+
+namespace WebCore {
+class EventTarget;
+ class Node;
+}
+
+WEBCORE_EXPORT WebCore::Node* core(DOMNode *);
+WEBCORE_EXPORT DOMNode *kit(WebCore::Node*);
+Class kitClass(WebCore::Node*);
+id <DOMEventTarget> kit(WebCore::EventTarget*);
</ins></span></pre></div>
<a id="trunkSourceWebCorebindingsobjcDOMNodeListhfromrev204082trunkSourceWebCorebindingsobjcDOMTextEventInternalh"></a>
<div class="copfile"><h4>Copied: trunk/Source/WebCore/bindings/objc/DOMNodeList.h (from rev 204082, trunk/Source/WebCore/bindings/objc/DOMTextEventInternal.h) (0 => 204083)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/objc/DOMNodeList.h         (rev 0)
+++ trunk/Source/WebCore/bindings/objc/DOMNodeList.h        2016-08-03 16:53:15 UTC (rev 204083)
</span><span class="lines">@@ -0,0 +1,35 @@
</span><ins>+/*
+ * Copyright (C) 2004-2016 Apple Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#import <WebCore/DOMObject.h>
+
+@class DOMNode;
+
+WEBKIT_CLASS_AVAILABLE_MAC(10_4)
+WEBCORE_EXPORT @interface DOMNodeList : DOMObject
+@property (readonly) unsigned length;
+
+- (DOMNode *)item:(unsigned)index;
+@end
</ins></span></pre></div>
<a id="trunkSourceWebCorebindingsobjcDOMNodeListmmfromrev204082trunkSourceWebCorebindingsobjcDOMTextEventmm"></a>
<div class="copfile"><h4>Copied: trunk/Source/WebCore/bindings/objc/DOMNodeList.mm (from rev 204082, trunk/Source/WebCore/bindings/objc/DOMTextEvent.mm) (0 => 204083)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/objc/DOMNodeList.mm         (rev 0)
+++ trunk/Source/WebCore/bindings/objc/DOMNodeList.mm        2016-08-03 16:53:15 UTC (rev 204083)
</span><span class="lines">@@ -0,0 +1,85 @@
</span><ins>+/*
+ * Copyright (C) 2004-2016 Apple Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#import "config.h"
+#import "DOMNodeListInternal.h"
+
+#import "DOMInternal.h"
+#import "DOMNodeInternal.h"
+#import "ExceptionHandlers.h"
+#import "JSMainThreadExecState.h"
+#import "Node.h"
+#import "NodeList.h"
+#import "ThreadCheck.h"
+#import "WebCoreObjCExtras.h"
+#import "WebScriptObjectPrivate.h"
+#import <wtf/GetPtr.h>
+
+#define IMPL reinterpret_cast<WebCore::NodeList*>(_internal)
+
+@implementation DOMNodeList
+
+- (void)dealloc
+{
+ if (WebCoreObjCScheduleDeallocateOnMainThread([DOMNodeList class], self))
+ return;
+
+ if (_internal)
+ IMPL->deref();
+ [super dealloc];
+}
+
+- (unsigned)length
+{
+ WebCore::JSMainThreadNullState state;
+ return IMPL->length();
+}
+
+- (DOMNode *)item:(unsigned)index
+{
+ WebCore::JSMainThreadNullState state;
+ return kit(WTF::getPtr(IMPL->item(index)));
+}
+
+@end
+
+WebCore::NodeList* core(DOMNodeList *wrapper)
+{
+ return wrapper ? reinterpret_cast<WebCore::NodeList*>(wrapper->_internal) : 0;
+}
+
+DOMNodeList *kit(WebCore::NodeList* value)
+{
+ WebCoreThreadViolationCheckRoundOne();
+ if (!value)
+ return nil;
+ if (DOMNodeList *wrapper = getDOMWrapper(value))
+ return [[wrapper retain] autorelease];
+ DOMNodeList *wrapper = [[DOMNodeList alloc] _init];
+ wrapper->_internal = reinterpret_cast<DOMObjectInternal*>(value);
+ value->ref();
+ addDOMWrapper(wrapper, value);
+ return [wrapper autorelease];
+}
</ins></span></pre></div>
<a id="trunkSourceWebCorebindingsobjcDOMNodeListInternalhfromrev204082trunkSourceWebCorebindingsobjcDOMTextEventInternalh"></a>
<div class="copfile"><h4>Copied: trunk/Source/WebCore/bindings/objc/DOMNodeListInternal.h (from rev 204082, trunk/Source/WebCore/bindings/objc/DOMTextEventInternal.h) (0 => 204083)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/objc/DOMNodeListInternal.h         (rev 0)
+++ trunk/Source/WebCore/bindings/objc/DOMNodeListInternal.h        2016-08-03 16:53:15 UTC (rev 204083)
</span><span class="lines">@@ -0,0 +1,33 @@
</span><ins>+/*
+ * Copyright (C) 2004-2016 Apple Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#import <WebCore/DOMNodeList.h>
+
+namespace WebCore {
+class NodeList;
+}
+
+WEBCORE_EXPORT WebCore::NodeList* core(DOMNodeList *);
+WEBCORE_EXPORT DOMNodeList *kit(WebCore::NodeList*);
</ins></span></pre></div>
<a id="trunkSourceWebCorebindingsobjcDOMNodePrivatehfromrev204082trunkSourceWebCorebindingsobjcDOMTextEventInternalh"></a>
<div class="copfile"><h4>Copied: trunk/Source/WebCore/bindings/objc/DOMNodePrivate.h (from rev 204082, trunk/Source/WebCore/bindings/objc/DOMTextEventInternal.h) (0 => 204083)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/objc/DOMNodePrivate.h         (rev 0)
+++ trunk/Source/WebCore/bindings/objc/DOMNodePrivate.h        2016-08-03 16:53:15 UTC (rev 204083)
</span><span class="lines">@@ -0,0 +1,32 @@
</span><ins>+/*
+ * Copyright (C) 2004-2016 Apple Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#import <WebCore/DOMNode.h>
+
+@interface DOMNode (DOMNodePrivate)
+@property (readonly) BOOL isConnected;
+
+- (void)inspect;
+@end
</ins></span></pre></div>
<a id="trunkSourceWebCorebindingsobjcDOMProcessingInstructionhfromrev204082trunkSourceWebCorebindingsobjcDOMTextEventInternalh"></a>
<div class="copfile"><h4>Copied: trunk/Source/WebCore/bindings/objc/DOMProcessingInstruction.h (from rev 204082, trunk/Source/WebCore/bindings/objc/DOMTextEventInternal.h) (0 => 204083)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/objc/DOMProcessingInstruction.h         (rev 0)
+++ trunk/Source/WebCore/bindings/objc/DOMProcessingInstruction.h        2016-08-03 16:53:15 UTC (rev 204083)
</span><span class="lines">@@ -0,0 +1,35 @@
</span><ins>+/*
+ * Copyright (C) 2004-2016 Apple Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#import <WebCore/DOMCharacterData.h>
+
+@class DOMStyleSheet;
+@class NSString;
+
+WEBKIT_CLASS_AVAILABLE_MAC(10_4)
+WEBCORE_EXPORT @interface DOMProcessingInstruction : DOMCharacterData
+@property (readonly, copy) NSString *target;
+@property (readonly, strong) DOMStyleSheet *sheet WEBKIT_AVAILABLE_MAC(10_4);
+@end
</ins></span></pre></div>
<a id="trunkSourceWebCorebindingsobjcDOMProcessingInstructionmmfromrev204082trunkSourceWebCorebindingsobjcDOMTextEventmm"></a>
<div class="copfile"><h4>Copied: trunk/Source/WebCore/bindings/objc/DOMProcessingInstruction.mm (from rev 204082, trunk/Source/WebCore/bindings/objc/DOMTextEvent.mm) (0 => 204083)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/objc/DOMProcessingInstruction.mm         (rev 0)
+++ trunk/Source/WebCore/bindings/objc/DOMProcessingInstruction.mm        2016-08-03 16:53:15 UTC (rev 204083)
</span><span class="lines">@@ -0,0 +1,67 @@
</span><ins>+/*
+ * Copyright (C) 2004-2016 Apple Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#import "config.h"
+#import "DOMProcessingInstructionInternal.h"
+
+#import "DOMNodeInternal.h"
+#import "DOMStyleSheetInternal.h"
+#import "ExceptionHandlers.h"
+#import "JSMainThreadExecState.h"
+#import "ProcessingInstruction.h"
+#import "StyleSheet.h"
+#import "ThreadCheck.h"
+#import "URL.h"
+#import "WebScriptObjectPrivate.h"
+#import <wtf/GetPtr.h>
+
+#define IMPL static_cast<WebCore::ProcessingInstruction*>(reinterpret_cast<WebCore::Node*>(_internal))
+
+@implementation DOMProcessingInstruction
+
+- (NSString *)target
+{
+ WebCore::JSMainThreadNullState state;
+ return IMPL->target();
+}
+
+- (DOMStyleSheet *)sheet
+{
+ WebCore::JSMainThreadNullState state;
+ return kit(WTF::getPtr(IMPL->sheet()));
+}
+
+@end
+
+WebCore::ProcessingInstruction* core(DOMProcessingInstruction *wrapper)
+{
+ return wrapper ? reinterpret_cast<WebCore::ProcessingInstruction*>(wrapper->_internal) : 0;
+}
+
+DOMProcessingInstruction *kit(WebCore::ProcessingInstruction* value)
+{
+ WebCoreThreadViolationCheckRoundOne();
+ return static_cast<DOMProcessingInstruction*>(kit(static_cast<WebCore::Node*>(value)));
+}
</ins></span></pre></div>
<a id="trunkSourceWebCorebindingsobjcDOMProcessingInstructionInternalhfromrev204082trunkSourceWebCorebindingsobjcDOMTextEventInternalh"></a>
<div class="copfile"><h4>Copied: trunk/Source/WebCore/bindings/objc/DOMProcessingInstructionInternal.h (from rev 204082, trunk/Source/WebCore/bindings/objc/DOMTextEventInternal.h) (0 => 204083)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/objc/DOMProcessingInstructionInternal.h         (rev 0)
+++ trunk/Source/WebCore/bindings/objc/DOMProcessingInstructionInternal.h        2016-08-03 16:53:15 UTC (rev 204083)
</span><span class="lines">@@ -0,0 +1,33 @@
</span><ins>+/*
+ * Copyright (C) 2004-2016 Apple Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#import <WebCore/DOMProcessingInstruction.h>
+
+namespace WebCore {
+class ProcessingInstruction;
+}
+
+WEBCORE_EXPORT WebCore::ProcessingInstruction* core(DOMProcessingInstruction *);
+WEBCORE_EXPORT DOMProcessingInstruction *kit(WebCore::ProcessingInstruction*);
</ins></span></pre></div>
<a id="trunkSourceWebCorebindingsobjcDOMTexthfromrev204082trunkSourceWebCorebindingsobjcDOMTextEventInternalh"></a>
<div class="copfile"><h4>Copied: trunk/Source/WebCore/bindings/objc/DOMText.h (from rev 204082, trunk/Source/WebCore/bindings/objc/DOMTextEventInternal.h) (0 => 204083)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/objc/DOMText.h         (rev 0)
+++ trunk/Source/WebCore/bindings/objc/DOMText.h        2016-08-03 16:53:15 UTC (rev 204083)
</span><span class="lines">@@ -0,0 +1,37 @@
</span><ins>+/*
+ * Copyright (C) 2004-2016 Apple Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#import <WebCore/DOMCharacterData.h>
+
+@class DOMText;
+@class NSString;
+
+WEBKIT_CLASS_AVAILABLE_MAC(10_4)
+WEBCORE_EXPORT @interface DOMText : DOMCharacterData
+@property (readonly, copy) NSString *wholeText WEBKIT_AVAILABLE_MAC(10_6);
+
+- (DOMText *)splitText:(unsigned)offset;
+- (DOMText *)replaceWholeText:(NSString *)content WEBKIT_AVAILABLE_MAC(10_6);
+@end
</ins></span></pre></div>
<a id="trunkSourceWebCorebindingsobjcDOMTextmmfromrev204082trunkSourceWebCorebindingsobjcDOMTextEventmm"></a>
<div class="copfile"><h4>Copied: trunk/Source/WebCore/bindings/objc/DOMText.mm (from rev 204082, trunk/Source/WebCore/bindings/objc/DOMTextEvent.mm) (0 => 204083)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/objc/DOMText.mm         (rev 0)
+++ trunk/Source/WebCore/bindings/objc/DOMText.mm        2016-08-03 16:53:15 UTC (rev 204083)
</span><span class="lines">@@ -0,0 +1,77 @@
</span><ins>+/*
+ * Copyright (C) 2004-2016 Apple Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#import "config.h"
+#import "DOMTextInternal.h"
+
+#import "DOMNodeInternal.h"
+#import "ExceptionHandlers.h"
+#import "JSMainThreadExecState.h"
+#import "Text.h"
+#import "ThreadCheck.h"
+#import "URL.h"
+#import "WebScriptObjectPrivate.h"
+#import <wtf/GetPtr.h>
+
+#define IMPL static_cast<WebCore::Text*>(reinterpret_cast<WebCore::Node*>(_internal))
+
+@implementation DOMText
+
+- (NSString *)wholeText
+{
+ WebCore::JSMainThreadNullState state;
+ return IMPL->wholeText();
+}
+
+- (DOMText *)splitText:(unsigned)offset
+{
+ WebCore::JSMainThreadNullState state;
+ WebCore::ExceptionCode ec = 0;
+ DOMText *result = kit(WTF::getPtr(IMPL->splitText(offset, ec)));
+ WebCore::raiseOnDOMError(ec);
+ return result;
+}
+
+- (DOMText *)replaceWholeText:(NSString *)content
+{
+ WebCore::JSMainThreadNullState state;
+ WebCore::ExceptionCode ec = 0;
+ DOMText *result = kit(WTF::getPtr(IMPL->replaceWholeText(content, ec)));
+ WebCore::raiseOnDOMError(ec);
+ return result;
+}
+
+@end
+
+WebCore::Text* core(DOMText *wrapper)
+{
+ return wrapper ? reinterpret_cast<WebCore::Text*>(wrapper->_internal) : 0;
+}
+
+DOMText *kit(WebCore::Text* value)
+{
+ WebCoreThreadViolationCheckRoundOne();
+ return static_cast<DOMText*>(kit(static_cast<WebCore::Node*>(value)));
+}
</ins></span></pre></div>
<a id="trunkSourceWebCorebindingsobjcDOMTextEventmm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/objc/DOMTextEvent.mm (204082 => 204083)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/objc/DOMTextEvent.mm        2016-08-03 16:33:40 UTC (rev 204082)
+++ trunk/Source/WebCore/bindings/objc/DOMTextEvent.mm        2016-08-03 16:53:15 UTC (rev 204083)
</span><span class="lines">@@ -24,11 +24,14 @@
</span><span class="cx"> */
</span><span class="cx">
</span><span class="cx"> #import "config.h"
</span><del>-#import "DOMTextEventInternal.h"
</del><ins>+#import "DOMInternal.h"
</ins><span class="cx">
</span><ins>+#import "DOMTextEvent.h"
+
</ins><span class="cx"> #import "DOMAbstractViewInternal.h"
</span><span class="cx"> #import "DOMEventInternal.h"
</span><span class="cx"> #import "DOMNodeInternal.h"
</span><ins>+#import "DOMTextEventInternal.h"
</ins><span class="cx"> #import "DOMWindow.h"
</span><span class="cx"> #import "ExceptionHandlers.h"
</span><span class="cx"> #import "JSMainThreadExecState.h"
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsobjcDOMTextEventInternalh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/objc/DOMTextEventInternal.h (204082 => 204083)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/objc/DOMTextEventInternal.h        2016-08-03 16:33:40 UTC (rev 204082)
+++ trunk/Source/WebCore/bindings/objc/DOMTextEventInternal.h        2016-08-03 16:53:15 UTC (rev 204083)
</span><span class="lines">@@ -23,7 +23,6 @@
</span><span class="cx"> * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
</span><span class="cx"> */
</span><span class="cx">
</span><del>-
</del><span class="cx"> #import <WebCore/DOMTextEvent.h>
</span><span class="cx">
</span><span class="cx"> namespace WebCore {
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsobjcDOMTextInternalhfromrev204082trunkSourceWebCorebindingsobjcDOMTextEventInternalh"></a>
<div class="copfile"><h4>Copied: trunk/Source/WebCore/bindings/objc/DOMTextInternal.h (from rev 204082, trunk/Source/WebCore/bindings/objc/DOMTextEventInternal.h) (0 => 204083)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/objc/DOMTextInternal.h         (rev 0)
+++ trunk/Source/WebCore/bindings/objc/DOMTextInternal.h        2016-08-03 16:53:15 UTC (rev 204083)
</span><span class="lines">@@ -0,0 +1,33 @@
</span><ins>+/*
+ * Copyright (C) 2004-2016 Apple Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#import <WebCore/DOMText.h>
+
+namespace WebCore {
+class Text;
+}
+
+WEBCORE_EXPORT WebCore::Text* core(DOMText *);
+WEBCORE_EXPORT DOMText *kit(WebCore::Text*);
</ins></span></pre>
</div>
</div>
</body>
</html>