Delete Notation because we don't use it
authormmaxfield@apple.com <mmaxfield@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 15 Dec 2014 19:40:36 +0000 (19:40 +0000)
committermmaxfield@apple.com <mmaxfield@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 15 Dec 2014 19:40:36 +0000 (19:40 +0000)
https://bugs.webkit.org/show_bug.cgi?id=139171

Reviewed by Kent Tamura.

Source/WebCore:

No tests because this is un-exposing something that never gets instantiated.

* CMakeLists.txt:
* DerivedSources.cpp:
* DerivedSources.make:
* WebCore.exp.in:
* WebCore.order:
* WebCore.vcxproj/WebCore.vcxproj:
* WebCore.vcxproj/WebCore.vcxproj.filters:
* WebCore.xcodeproj/project.pbxproj:
* bindings/gobject/WebKitDOMNodeFilter.h:
* bindings/gobject/WebKitDOMNodeFilter.symbols:
* bindings/gobject/WebKitDOMPrivate.cpp:
(WebKit::wrap):
* bindings/gobject/webkitdom.symbols:
* bindings/js/JSNodeCustom.cpp:
(WebCore::createWrapperInline):
* bindings/objc/DOM.mm:
(kitClass):
* bindings/objc/DOMCore.h:
* bindings/objc/PublicDOMInterfaces.h:
* dom/DOMAllInOne.cpp:
* dom/Document.cpp:
(WebCore::Document::importNode):
(WebCore::Document::adoptNode):
(WebCore::Document::childTypeAllowed):
(WebCore::Document::canReplaceChild):
* dom/Node.cpp:
(WebCore::Node::dumpStatistics):
(WebCore::Node::isDefaultNamespace):
(WebCore::Node::lookupPrefix):
(WebCore::Node::lookupNamespaceURI):
(WebCore::appendTextContent):
(WebCore::Node::setTextContent):
* dom/Node.h:
* dom/Node.idl:
* dom/NodeFilter.h:
* dom/NodeFilter.idl:
* dom/Notation.cpp: Removed.
* dom/Notation.h: Removed.
* dom/Notation.idl: Removed.
* dom/Range.cpp:
(WebCore::lengthOfContentsInNode):
(WebCore::Range::processContentsBetweenOffsets):
(WebCore::Range::insertNode):
(WebCore::Range::checkNodeWOffset):
(WebCore::Range::checkNodeBA):
(WebCore::Range::selectNode):
(WebCore::Range::selectNodeContents):
(WebCore::Range::surroundContents):
* editing/MarkupAccumulator.cpp:
(WebCore::MarkupAccumulator::appendStartMarkup):
* xml/XPathUtil.cpp:
(WebCore::XPath::isValidContextNode):

Source/WebKit/mac:

* MigrateHeaders.make:

Source/WebKit2:

* WebProcess/InjectedBundle/API/mac/WKDOMInternals.mm:
(WebKit::WKDOMNodeClass):
* mac/MigrateHeadersFromWebKitLegacy.make:

LayoutTests:

Updating for removed property

* fast/dom/Window/get-set-properties-expected.txt:
* fast/dom/Window/get-set-properties.html:
* fast/dom/Window/resources/window-properties.js:
* fast/dom/Window/window-lookup-precedence-expected.txt:
* fast/dom/constants-expected.txt:
* fast/dom/constants.html:
* fast/dom/dom-constructors-expected.txt:
* fast/dom/dom-constructors.html:
* http/tests/security/cross-frame-access-getOwnPropertyDescriptor.html:
* http/tests/security/cross-frame-access-put-expected.txt:
* http/tests/security/cross-frame-access-put.html:
* http/tests/security/resources/cross-frame-iframe-for-put-test.html:
* js/dom/global-constructors-attributes-expected.txt:
* platform/efl/js/dom/global-constructors-attributes-expected.txt:
* platform/gtk/fast/dom/Window/window-lookup-precedence-expected.txt:
* platform/gtk/js/dom/global-constructors-attributes-expected.txt:
* platform/ios-sim-deprecated/http/tests/security/cross-frame-access-put-expected.txt:
* platform/ios-sim-deprecated/js/dom/global-constructors-attributes-expected.txt:
* platform/ios-simulator/fast/dom/Window/window-lookup-precedence-expected.txt:
* platform/mac-mavericks/js/dom/global-constructors-attributes-expected.txt:
* platform/mac-mountainlion/js/dom/global-constructors-attributes-expected.txt:
* platform/mac/fast/dom/Window/window-lookup-precedence-expected.txt:
* platform/mac/js/dom/global-constructors-attributes-expected.txt:
* platform/win/js/dom/global-constructors-attributes-expected.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@177297 268f45cc-cd09-0410-ab3c-d52691b4dbfc

55 files changed:
LayoutTests/ChangeLog
LayoutTests/fast/dom/Window/get-set-properties-expected.txt
LayoutTests/fast/dom/Window/get-set-properties.html
LayoutTests/fast/dom/Window/resources/window-properties.js
LayoutTests/fast/dom/Window/window-lookup-precedence-expected.txt
LayoutTests/fast/dom/dom-constructors-expected.txt
LayoutTests/fast/dom/dom-constructors.html
LayoutTests/http/tests/security/cross-frame-access-getOwnPropertyDescriptor-expected.txt
LayoutTests/http/tests/security/cross-frame-access-getOwnPropertyDescriptor.html
LayoutTests/http/tests/security/cross-frame-access-put-expected.txt
LayoutTests/http/tests/security/cross-frame-access-put.html
LayoutTests/http/tests/security/resources/cross-frame-iframe-for-put-test.html
LayoutTests/js/dom/global-constructors-attributes-expected.txt
LayoutTests/platform/efl/js/dom/global-constructors-attributes-expected.txt
LayoutTests/platform/gtk/fast/dom/Window/window-lookup-precedence-expected.txt
LayoutTests/platform/gtk/js/dom/global-constructors-attributes-expected.txt
LayoutTests/platform/ios-sim-deprecated/http/tests/security/cross-frame-access-getOwnPropertyDescriptor-expected.txt
LayoutTests/platform/ios-sim-deprecated/http/tests/security/cross-frame-access-put-expected.txt
LayoutTests/platform/ios-sim-deprecated/js/dom/global-constructors-attributes-expected.txt
LayoutTests/platform/ios-simulator/fast/dom/Window/window-lookup-precedence-expected.txt
LayoutTests/platform/mac-mavericks/js/dom/global-constructors-attributes-expected.txt
LayoutTests/platform/mac-mountainlion/js/dom/global-constructors-attributes-expected.txt
LayoutTests/platform/mac/fast/dom/Window/window-lookup-precedence-expected.txt
LayoutTests/platform/mac/js/dom/global-constructors-attributes-expected.txt
LayoutTests/platform/win/js/dom/global-constructors-attributes-expected.txt
Source/WebCore/CMakeLists.txt
Source/WebCore/ChangeLog
Source/WebCore/DerivedSources.cpp
Source/WebCore/DerivedSources.make
Source/WebCore/WebCore.exp.in
Source/WebCore/WebCore.order
Source/WebCore/WebCore.vcxproj/WebCore.vcxproj
Source/WebCore/WebCore.vcxproj/WebCore.vcxproj.filters
Source/WebCore/WebCore.xcodeproj/project.pbxproj
Source/WebCore/bindings/gobject/WebKitDOMPrivate.cpp
Source/WebCore/bindings/gobject/webkitdom.symbols
Source/WebCore/bindings/js/JSNodeCustom.cpp
Source/WebCore/bindings/objc/DOM.mm
Source/WebCore/bindings/objc/DOMCore.h
Source/WebCore/bindings/objc/PublicDOMInterfaces.h
Source/WebCore/dom/DOMAllInOne.cpp
Source/WebCore/dom/Document.cpp
Source/WebCore/dom/Node.cpp
Source/WebCore/dom/Node.h
Source/WebCore/dom/Notation.cpp [deleted file]
Source/WebCore/dom/Notation.h [deleted file]
Source/WebCore/dom/Notation.idl [deleted file]
Source/WebCore/dom/Range.cpp
Source/WebCore/editing/MarkupAccumulator.cpp
Source/WebCore/xml/XPathUtil.cpp
Source/WebKit/mac/ChangeLog
Source/WebKit/mac/MigrateHeaders.make
Source/WebKit2/ChangeLog
Source/WebKit2/WebProcess/InjectedBundle/API/mac/WKDOMInternals.mm
Source/WebKit2/mac/MigrateHeadersFromWebKitLegacy.make

index 900f43d..af45f8b 100644 (file)
@@ -1,3 +1,37 @@
+2014-12-15  Myles C. Maxfield  <mmaxfield@apple.com>
+
+        Delete Notation because we don't use it
+        https://bugs.webkit.org/show_bug.cgi?id=139171
+
+        Reviewed by Kent Tamura.
+
+        Updating for removed property
+
+        * fast/dom/Window/get-set-properties-expected.txt:
+        * fast/dom/Window/get-set-properties.html:
+        * fast/dom/Window/resources/window-properties.js:
+        * fast/dom/Window/window-lookup-precedence-expected.txt:
+        * fast/dom/constants-expected.txt:
+        * fast/dom/constants.html:
+        * fast/dom/dom-constructors-expected.txt:
+        * fast/dom/dom-constructors.html:
+        * http/tests/security/cross-frame-access-getOwnPropertyDescriptor.html:
+        * http/tests/security/cross-frame-access-put-expected.txt:
+        * http/tests/security/cross-frame-access-put.html:
+        * http/tests/security/resources/cross-frame-iframe-for-put-test.html:
+        * js/dom/global-constructors-attributes-expected.txt:
+        * platform/efl/js/dom/global-constructors-attributes-expected.txt:
+        * platform/gtk/fast/dom/Window/window-lookup-precedence-expected.txt:
+        * platform/gtk/js/dom/global-constructors-attributes-expected.txt:
+        * platform/ios-sim-deprecated/http/tests/security/cross-frame-access-put-expected.txt:
+        * platform/ios-sim-deprecated/js/dom/global-constructors-attributes-expected.txt:
+        * platform/ios-simulator/fast/dom/Window/window-lookup-precedence-expected.txt:
+        * platform/mac-mavericks/js/dom/global-constructors-attributes-expected.txt:
+        * platform/mac-mountainlion/js/dom/global-constructors-attributes-expected.txt:
+        * platform/mac/fast/dom/Window/window-lookup-precedence-expected.txt:
+        * platform/mac/js/dom/global-constructors-attributes-expected.txt:
+        * platform/win/js/dom/global-constructors-attributes-expected.txt:
+
 2014-12-15  Antti Koivisto  <antti@apple.com>
 
         WebKit level persistent caching
index 4e25de9..b695647 100644 (file)
@@ -159,8 +159,6 @@ PASS: canGet('Node') should be 'true' and is.
 PASS: canSet('Node') should be 'true' and is.
 PASS: canGet('NodeFilter') should be 'true' and is.
 PASS: canSet('NodeFilter') should be 'true' and is.
-PASS: canGet('Notation') should be 'true' and is.
-PASS: canSet('Notation') should be 'true' and is.
 PASS: canGet('Option') should be 'true' and is.
 PASS: canSet('Option') should be 'true' and is.
 PASS: canGet('ProcessingInstruction') should be 'true' and is.
index aef6e8f..1087857 100644 (file)
@@ -147,7 +147,6 @@ var windowReadWriteProperties = [
     "MutationEvent", 
     "Node", 
     "NodeFilter", 
-    "Notation", 
     "Option", 
     "ProcessingInstruction", 
     "Range", 
index 14835cc..7d759c5 100644 (file)
@@ -125,7 +125,6 @@ var propertyInfo = [
     ["Node", "object"],
     ["NodeFilter", "object"],
     ["NodeList", "object"],
-    ["Notation", "object"],
     ["OverflowEvent", "object"],
     ["ProcessingInstruction", "object"],
     ["ProgressEvent", "object"],
index 0704614..76add42 100644 (file)
@@ -252,8 +252,6 @@ PASS win['NodeFilter'] == '[object NodeFilterConstructor]' is true
 PASS win['NodeFilter'] == '[object NodeFilterConstructor]' is true
 PASS win['NodeList'] == '[object NodeListConstructor]' is true
 PASS win['NodeList'] == '[object NodeListConstructor]' is true
-PASS win['Notation'] == '[object NotationConstructor]' is true
-PASS win['Notation'] == '[object NotationConstructor]' is true
 PASS win['OverflowEvent'] == '[object OverflowEventConstructor]' is true
 PASS win['OverflowEvent'] == '[object OverflowEventConstructor]' is true
 PASS win['ProcessingInstruction'] == '[object ProcessingInstructionConstructor]' is true
index 755b155..607e893 100644 (file)
@@ -12,7 +12,6 @@ PASS TryAllocate('Entity') is 'exception'
 PASS TryAllocate('EntityReference') is 'exception'
 PASS TryAllocate('HTMLDocument') is 'exception'
 PASS TryAllocate('Node') is 'exception'
-PASS TryAllocate('Notation') is 'exception'
 PASS TryAllocate('ProcessingInstruction') is 'exception'
 PASS TryAllocate('HTMLAllCollection') is 'exception'
 PASS TryAllocate('HTMLAnchorElement') is 'exception'
index 9cabf80..f3f113c 100644 (file)
@@ -22,7 +22,6 @@ var objects_exception = [
     'EntityReference',
     'HTMLDocument',
     'Node',
-    'Notation',
     'ProcessingInstruction',
     'HTMLAllCollection',
     'HTMLAnchorElement',
index dd7d84a..d61a8a4 100644 (file)
@@ -145,7 +145,6 @@ PASS: canGetDescriptor(targetWindow, 'Image') should be 'false' and is.
 PASS: canGetDescriptor(targetWindow, 'MutationEvent') should be 'false' and is.
 PASS: canGetDescriptor(targetWindow, 'Node') should be 'false' and is.
 PASS: canGetDescriptor(targetWindow, 'NodeFilter') should be 'false' and is.
-PASS: canGetDescriptor(targetWindow, 'Notation') should be 'false' and is.
 PASS: canGetDescriptor(targetWindow, 'Option') should be 'false' and is.
 PASS: canGetDescriptor(targetWindow, 'ProcessingInstruction') should be 'false' and is.
 PASS: canGetDescriptor(targetWindow, 'Range') should be 'false' and is.
index 02a8637..c74fbff 100644 (file)
@@ -86,7 +86,6 @@
             "MutationEvent", 
             "Node", 
             "NodeFilter", 
-            "Notation", 
             "Option", 
             "ProcessingInstruction", 
             "Range", 
index 10b3f2e..119c4f0 100644 (file)
@@ -184,7 +184,6 @@ CONSOLE MESSAGE: Blocked a frame with origin "http://127.0.0.1:8000" from access
 CONSOLE MESSAGE: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a frame with origin "http://localhost:8000". Protocols, domains, and ports must match.
 CONSOLE MESSAGE: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a frame with origin "http://localhost:8000". Protocols, domains, and ports must match.
 CONSOLE MESSAGE: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a frame with origin "http://localhost:8000". Protocols, domains, and ports must match.
-CONSOLE MESSAGE: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a frame with origin "http://localhost:8000". Protocols, domains, and ports must match.
 ALERT: PASS: window.Attr should be '[object AttrConstructor]' and is.
 ALERT: PASS: window.CDATASection should be '[object CDATASectionConstructor]' and is.
 ALERT: PASS: window.CharacterData should be '[object CharacterDataConstructor]' and is.
@@ -262,7 +261,6 @@ ALERT: PASS: window.HTMLUListElement should be '[object HTMLUListElementConstruc
 ALERT: PASS: window.MutationEvent should be '[object MutationEventConstructor]' and is.
 ALERT: PASS: window.Node should be '[object NodeConstructor]' and is.
 ALERT: PASS: window.NodeFilter should be '[object NodeFilterConstructor]' and is.
-ALERT: PASS: window.Notation should be '[object NotationConstructor]' and is.
 ALERT: PASS: window.ProcessingInstruction should be '[object ProcessingInstructionConstructor]' and is.
 ALERT: PASS: window.Range should be '[object RangeConstructor]' and is.
 ALERT: PASS: window.RangeError should be 'function RangeError() {    [native code]}' and is.
index 5a99420..0f7dcab 100644 (file)
@@ -104,7 +104,6 @@ window.onload = function()
     setForbiddenProperty(targetWindow, "MutationEvent");
     setForbiddenProperty(targetWindow, "Node");
     setForbiddenProperty(targetWindow, "NodeFilter");
-    setForbiddenProperty(targetWindow, "Notation");
     setForbiddenProperty(targetWindow, "ProcessingInstruction");
     setForbiddenProperty(targetWindow, "Range");
     setForbiddenProperty(targetWindow, "RangeError");
index f47c1ea..a9bd063 100644 (file)
         var MutationEventOld = window.MutationEvent;
         var NodeFilterOld = window.NodeFilter;
         var NodeOld = window.Node;
-        var NotationOld = window.Notation;
         var ProcessingInstructionOld = window.ProcessingInstruction;
         var RangeErrorOld = window.RangeError;
         var RangeExceptionOld = window.RangeException;
             shouldBe("window.MutationEvent", "MutationEventOld");
             shouldBe("window.Node", "NodeOld");
             shouldBe("window.NodeFilter", "NodeFilterOld");
-            shouldBe("window.Notation", "NotationOld");
             shouldBe("window.ProcessingInstruction", "ProcessingInstructionOld");
             shouldBe("window.Range", "RangeOld");
             shouldBe("window.RangeError", "RangeErrorOld");
index 2f21442..ff403c3 100644 (file)
@@ -913,11 +913,6 @@ PASS Object.getOwnPropertyDescriptor(global, 'NodeList').hasOwnProperty('get') i
 PASS Object.getOwnPropertyDescriptor(global, 'NodeList').hasOwnProperty('set') is false
 PASS Object.getOwnPropertyDescriptor(global, 'NodeList').enumerable is false
 PASS Object.getOwnPropertyDescriptor(global, 'NodeList').configurable is true
-PASS Object.getOwnPropertyDescriptor(global, 'Notation').value is Notation
-PASS Object.getOwnPropertyDescriptor(global, 'Notation').hasOwnProperty('get') is false
-PASS Object.getOwnPropertyDescriptor(global, 'Notation').hasOwnProperty('set') is false
-PASS Object.getOwnPropertyDescriptor(global, 'Notation').enumerable is false
-PASS Object.getOwnPropertyDescriptor(global, 'Notation').configurable is true
 PASS Object.getOwnPropertyDescriptor(global, 'Notification').value is Notification
 PASS Object.getOwnPropertyDescriptor(global, 'Notification').hasOwnProperty('get') is false
 PASS Object.getOwnPropertyDescriptor(global, 'Notification').hasOwnProperty('set') is false
index cdccc41..f56d45a 100644 (file)
@@ -893,11 +893,6 @@ PASS Object.getOwnPropertyDescriptor(global, 'NodeList').hasOwnProperty('get') i
 PASS Object.getOwnPropertyDescriptor(global, 'NodeList').hasOwnProperty('set') is false
 PASS Object.getOwnPropertyDescriptor(global, 'NodeList').enumerable is false
 PASS Object.getOwnPropertyDescriptor(global, 'NodeList').configurable is true
-PASS Object.getOwnPropertyDescriptor(global, 'Notation').value is Notation
-PASS Object.getOwnPropertyDescriptor(global, 'Notation').hasOwnProperty('get') is false
-PASS Object.getOwnPropertyDescriptor(global, 'Notation').hasOwnProperty('set') is false
-PASS Object.getOwnPropertyDescriptor(global, 'Notation').enumerable is false
-PASS Object.getOwnPropertyDescriptor(global, 'Notation').configurable is true
 PASS Object.getOwnPropertyDescriptor(global, 'OfflineAudioCompletionEvent').value is OfflineAudioCompletionEvent
 PASS Object.getOwnPropertyDescriptor(global, 'OfflineAudioCompletionEvent').hasOwnProperty('get') is false
 PASS Object.getOwnPropertyDescriptor(global, 'OfflineAudioCompletionEvent').hasOwnProperty('set') is false
index f129ad1..0e4a8ca 100644 (file)
@@ -252,8 +252,6 @@ PASS win['NodeFilter'] == '[object NodeFilterConstructor]' is true
 PASS win['NodeFilter'] == '[object NodeFilterConstructor]' is true
 PASS win['NodeList'] == '[object NodeListConstructor]' is true
 PASS win['NodeList'] == '[object NodeListConstructor]' is true
-PASS win['Notation'] == '[object NotationConstructor]' is true
-PASS win['Notation'] == '[object NotationConstructor]' is true
 PASS win['OverflowEvent'] == '[object OverflowEventConstructor]' is true
 PASS win['OverflowEvent'] == '[object OverflowEventConstructor]' is true
 PASS win['ProcessingInstruction'] == '[object ProcessingInstructionConstructor]' is true
index 9c1e81b..f7ae29d 100644 (file)
@@ -948,11 +948,6 @@ PASS Object.getOwnPropertyDescriptor(global, 'NodeList').hasOwnProperty('get') i
 PASS Object.getOwnPropertyDescriptor(global, 'NodeList').hasOwnProperty('set') is false
 PASS Object.getOwnPropertyDescriptor(global, 'NodeList').enumerable is false
 PASS Object.getOwnPropertyDescriptor(global, 'NodeList').configurable is true
-PASS Object.getOwnPropertyDescriptor(global, 'Notation').value is Notation
-PASS Object.getOwnPropertyDescriptor(global, 'Notation').hasOwnProperty('get') is false
-PASS Object.getOwnPropertyDescriptor(global, 'Notation').hasOwnProperty('set') is false
-PASS Object.getOwnPropertyDescriptor(global, 'Notation').enumerable is false
-PASS Object.getOwnPropertyDescriptor(global, 'Notation').configurable is true
 PASS Object.getOwnPropertyDescriptor(global, 'OfflineAudioCompletionEvent').value is OfflineAudioCompletionEvent
 PASS Object.getOwnPropertyDescriptor(global, 'OfflineAudioCompletionEvent').hasOwnProperty('get') is false
 PASS Object.getOwnPropertyDescriptor(global, 'OfflineAudioCompletionEvent').hasOwnProperty('set') is false
index c337e9f..8bababe 100644 (file)
@@ -144,7 +144,6 @@ PASS: canGetDescriptor(targetWindow, 'Image') should be 'false' and is.
 PASS: canGetDescriptor(targetWindow, 'MutationEvent') should be 'false' and is.
 PASS: canGetDescriptor(targetWindow, 'Node') should be 'false' and is.
 PASS: canGetDescriptor(targetWindow, 'NodeFilter') should be 'false' and is.
-PASS: canGetDescriptor(targetWindow, 'Notation') should be 'false' and is.
 PASS: canGetDescriptor(targetWindow, 'Option') should be 'false' and is.
 PASS: canGetDescriptor(targetWindow, 'ProcessingInstruction') should be 'false' and is.
 PASS: canGetDescriptor(targetWindow, 'Range') should be 'false' and is.
index 0dcf43b..d280504 100644 (file)
@@ -447,7 +447,6 @@ ALERT: PASS: window.HTMLUListElement should be '[object HTMLUListElementConstruc
 ALERT: PASS: window.MutationEvent should be '[object MutationEventConstructor]' and is.
 ALERT: PASS: window.Node should be '[object NodeConstructor]' and is.
 ALERT: PASS: window.NodeFilter should be '[object NodeFilterConstructor]' and is.
-ALERT: PASS: window.Notation should be '[object NotationConstructor]' and is.
 ALERT: PASS: window.ProcessingInstruction should be '[object ProcessingInstructionConstructor]' and is.
 ALERT: PASS: window.Range should be '[object RangeConstructor]' and is.
 ALERT: PASS: window.RangeError should be 'function RangeError() {    [native code]}' and is.
index 23de744..ac41192 100644 (file)
@@ -908,11 +908,6 @@ PASS Object.getOwnPropertyDescriptor(global, 'NodeList').hasOwnProperty('get') i
 PASS Object.getOwnPropertyDescriptor(global, 'NodeList').hasOwnProperty('set') is false
 PASS Object.getOwnPropertyDescriptor(global, 'NodeList').enumerable is false
 PASS Object.getOwnPropertyDescriptor(global, 'NodeList').configurable is true
-PASS Object.getOwnPropertyDescriptor(global, 'Notation').value is Notation
-PASS Object.getOwnPropertyDescriptor(global, 'Notation').hasOwnProperty('get') is false
-PASS Object.getOwnPropertyDescriptor(global, 'Notation').hasOwnProperty('set') is false
-PASS Object.getOwnPropertyDescriptor(global, 'Notation').enumerable is false
-PASS Object.getOwnPropertyDescriptor(global, 'Notation').configurable is true
 PASS Object.getOwnPropertyDescriptor(global, 'OfflineAudioCompletionEvent').value is OfflineAudioCompletionEvent
 PASS Object.getOwnPropertyDescriptor(global, 'OfflineAudioCompletionEvent').hasOwnProperty('get') is false
 PASS Object.getOwnPropertyDescriptor(global, 'OfflineAudioCompletionEvent').hasOwnProperty('set') is false
index f129ad1..0e4a8ca 100644 (file)
@@ -252,8 +252,6 @@ PASS win['NodeFilter'] == '[object NodeFilterConstructor]' is true
 PASS win['NodeFilter'] == '[object NodeFilterConstructor]' is true
 PASS win['NodeList'] == '[object NodeListConstructor]' is true
 PASS win['NodeList'] == '[object NodeListConstructor]' is true
-PASS win['Notation'] == '[object NotationConstructor]' is true
-PASS win['Notation'] == '[object NotationConstructor]' is true
 PASS win['OverflowEvent'] == '[object OverflowEventConstructor]' is true
 PASS win['OverflowEvent'] == '[object OverflowEventConstructor]' is true
 PASS win['ProcessingInstruction'] == '[object ProcessingInstructionConstructor]' is true
index 2d4ae7c..c546591 100644 (file)
@@ -918,11 +918,6 @@ PASS Object.getOwnPropertyDescriptor(global, 'NodeList').hasOwnProperty('get') i
 PASS Object.getOwnPropertyDescriptor(global, 'NodeList').hasOwnProperty('set') is false
 PASS Object.getOwnPropertyDescriptor(global, 'NodeList').enumerable is false
 PASS Object.getOwnPropertyDescriptor(global, 'NodeList').configurable is true
-PASS Object.getOwnPropertyDescriptor(global, 'Notation').value is Notation
-PASS Object.getOwnPropertyDescriptor(global, 'Notation').hasOwnProperty('get') is false
-PASS Object.getOwnPropertyDescriptor(global, 'Notation').hasOwnProperty('set') is false
-PASS Object.getOwnPropertyDescriptor(global, 'Notation').enumerable is false
-PASS Object.getOwnPropertyDescriptor(global, 'Notation').configurable is true
 PASS Object.getOwnPropertyDescriptor(global, 'Notification').value is Notification
 PASS Object.getOwnPropertyDescriptor(global, 'Notification').hasOwnProperty('get') is false
 PASS Object.getOwnPropertyDescriptor(global, 'Notification').hasOwnProperty('set') is false
index dd4226e..7eb09a2 100644 (file)
@@ -908,11 +908,6 @@ PASS Object.getOwnPropertyDescriptor(global, 'NodeList').hasOwnProperty('get') i
 PASS Object.getOwnPropertyDescriptor(global, 'NodeList').hasOwnProperty('set') is false
 PASS Object.getOwnPropertyDescriptor(global, 'NodeList').enumerable is false
 PASS Object.getOwnPropertyDescriptor(global, 'NodeList').configurable is true
-PASS Object.getOwnPropertyDescriptor(global, 'Notation').value is Notation
-PASS Object.getOwnPropertyDescriptor(global, 'Notation').hasOwnProperty('get') is false
-PASS Object.getOwnPropertyDescriptor(global, 'Notation').hasOwnProperty('set') is false
-PASS Object.getOwnPropertyDescriptor(global, 'Notation').enumerable is false
-PASS Object.getOwnPropertyDescriptor(global, 'Notation').configurable is true
 PASS Object.getOwnPropertyDescriptor(global, 'Notification').value is Notification
 PASS Object.getOwnPropertyDescriptor(global, 'Notification').hasOwnProperty('get') is false
 PASS Object.getOwnPropertyDescriptor(global, 'Notification').hasOwnProperty('set') is false
index f129ad1..0e4a8ca 100644 (file)
@@ -252,8 +252,6 @@ PASS win['NodeFilter'] == '[object NodeFilterConstructor]' is true
 PASS win['NodeFilter'] == '[object NodeFilterConstructor]' is true
 PASS win['NodeList'] == '[object NodeListConstructor]' is true
 PASS win['NodeList'] == '[object NodeListConstructor]' is true
-PASS win['Notation'] == '[object NotationConstructor]' is true
-PASS win['Notation'] == '[object NotationConstructor]' is true
 PASS win['OverflowEvent'] == '[object OverflowEventConstructor]' is true
 PASS win['OverflowEvent'] == '[object OverflowEventConstructor]' is true
 PASS win['ProcessingInstruction'] == '[object ProcessingInstructionConstructor]' is true
index a2b7774..3ff1723 100644 (file)
@@ -923,11 +923,6 @@ PASS Object.getOwnPropertyDescriptor(global, 'NodeList').hasOwnProperty('get') i
 PASS Object.getOwnPropertyDescriptor(global, 'NodeList').hasOwnProperty('set') is false
 PASS Object.getOwnPropertyDescriptor(global, 'NodeList').enumerable is false
 PASS Object.getOwnPropertyDescriptor(global, 'NodeList').configurable is true
-PASS Object.getOwnPropertyDescriptor(global, 'Notation').value is Notation
-PASS Object.getOwnPropertyDescriptor(global, 'Notation').hasOwnProperty('get') is false
-PASS Object.getOwnPropertyDescriptor(global, 'Notation').hasOwnProperty('set') is false
-PASS Object.getOwnPropertyDescriptor(global, 'Notation').enumerable is false
-PASS Object.getOwnPropertyDescriptor(global, 'Notation').configurable is true
 PASS Object.getOwnPropertyDescriptor(global, 'Notification').value is Notification
 PASS Object.getOwnPropertyDescriptor(global, 'Notification').hasOwnProperty('get') is false
 PASS Object.getOwnPropertyDescriptor(global, 'Notification').hasOwnProperty('set') is false
index ba8df0f..13d96e8 100644 (file)
@@ -763,11 +763,6 @@ PASS Object.getOwnPropertyDescriptor(global, 'NodeList').hasOwnProperty('get') i
 PASS Object.getOwnPropertyDescriptor(global, 'NodeList').hasOwnProperty('set') is false
 PASS Object.getOwnPropertyDescriptor(global, 'NodeList').enumerable is false
 PASS Object.getOwnPropertyDescriptor(global, 'NodeList').configurable is true
-PASS Object.getOwnPropertyDescriptor(global, 'Notation').value is Notation
-PASS Object.getOwnPropertyDescriptor(global, 'Notation').hasOwnProperty('get') is false
-PASS Object.getOwnPropertyDescriptor(global, 'Notation').hasOwnProperty('set') is false
-PASS Object.getOwnPropertyDescriptor(global, 'Notation').enumerable is false
-PASS Object.getOwnPropertyDescriptor(global, 'Notation').configurable is true
 PASS Object.getOwnPropertyDescriptor(global, 'Option').value is Option
 PASS Object.getOwnPropertyDescriptor(global, 'Option').hasOwnProperty('get') is false
 PASS Object.getOwnPropertyDescriptor(global, 'Option').hasOwnProperty('set') is false
index f327578..72edef6 100644 (file)
@@ -405,7 +405,6 @@ set(WebCore_NON_SVG_IDL_FILES
     dom/NodeFilter.idl
     dom/NodeIterator.idl
     dom/NodeList.idl
-    dom/Notation.idl
     dom/OverflowEvent.idl
     dom/PageTransitionEvent.idl
     dom/PopStateEvent.idl
@@ -1391,7 +1390,6 @@ set(WebCore_SOURCES
     dom/NodeRareData.cpp
     dom/NodeRenderingTraversal.cpp
     dom/NodeTraversal.cpp
-    dom/Notation.cpp
     dom/OverflowEvent.cpp
     dom/PageTransitionEvent.cpp
     dom/PendingScript.cpp
index 8a4d290..ac3228c 100644 (file)
@@ -1,3 +1,65 @@
+2014-12-15  Myles C. Maxfield  <mmaxfield@apple.com>
+
+        Delete Notation because we don't use it
+        https://bugs.webkit.org/show_bug.cgi?id=139171
+
+        Reviewed by Kent Tamura.
+
+        No tests because this is un-exposing something that never gets instantiated.
+
+        * CMakeLists.txt:
+        * DerivedSources.cpp:
+        * DerivedSources.make:
+        * WebCore.exp.in:
+        * WebCore.order:
+        * WebCore.vcxproj/WebCore.vcxproj:
+        * WebCore.vcxproj/WebCore.vcxproj.filters:
+        * WebCore.xcodeproj/project.pbxproj:
+        * bindings/gobject/WebKitDOMNodeFilter.h:
+        * bindings/gobject/WebKitDOMNodeFilter.symbols:
+        * bindings/gobject/WebKitDOMPrivate.cpp:
+        (WebKit::wrap):
+        * bindings/gobject/webkitdom.symbols:
+        * bindings/js/JSNodeCustom.cpp:
+        (WebCore::createWrapperInline):
+        * bindings/objc/DOM.mm:
+        (kitClass):
+        * bindings/objc/DOMCore.h:
+        * bindings/objc/PublicDOMInterfaces.h:
+        * dom/DOMAllInOne.cpp:
+        * dom/Document.cpp:
+        (WebCore::Document::importNode):
+        (WebCore::Document::adoptNode):
+        (WebCore::Document::childTypeAllowed):
+        (WebCore::Document::canReplaceChild):
+        * dom/Node.cpp:
+        (WebCore::Node::dumpStatistics):
+        (WebCore::Node::isDefaultNamespace):
+        (WebCore::Node::lookupPrefix):
+        (WebCore::Node::lookupNamespaceURI):
+        (WebCore::appendTextContent):
+        (WebCore::Node::setTextContent):
+        * dom/Node.h:
+        * dom/Node.idl:
+        * dom/NodeFilter.h:
+        * dom/NodeFilter.idl:
+        * dom/Notation.cpp: Removed.
+        * dom/Notation.h: Removed.
+        * dom/Notation.idl: Removed.
+        * dom/Range.cpp:
+        (WebCore::lengthOfContentsInNode):
+        (WebCore::Range::processContentsBetweenOffsets):
+        (WebCore::Range::insertNode):
+        (WebCore::Range::checkNodeWOffset):
+        (WebCore::Range::checkNodeBA):
+        (WebCore::Range::selectNode):
+        (WebCore::Range::selectNodeContents):
+        (WebCore::Range::surroundContents):
+        * editing/MarkupAccumulator.cpp:
+        (WebCore::MarkupAccumulator::appendStartMarkup):
+        * xml/XPathUtil.cpp:
+        (WebCore::XPath::isValidContextNode):
+
 2014-12-15  Gavin Barraclough  <barraclough@apple.com>
 
         Change HysteresisActivity to use a lambda
index 4414681..4386877 100644 (file)
 #include "JSNodeFilter.cpp"
 #include "JSNodeIterator.cpp"
 #include "JSNodeList.cpp"
-#include "JSNotation.cpp"
 #include "JSNotificationCenter.cpp"
 #include "JSNotification.cpp"
 #include "JSOverflowEvent.cpp"
index d6814fa..cf74a3a 100644 (file)
@@ -299,7 +299,6 @@ NON_SVG_BINDING_IDLS = \
     $(WebCore)/dom/NodeFilter.idl \
     $(WebCore)/dom/NodeIterator.idl \
     $(WebCore)/dom/NodeList.idl \
-    $(WebCore)/dom/Notation.idl \
     $(WebCore)/dom/OverflowEvent.idl \
     $(WebCore)/dom/PageTransitionEvent.idl \
     $(WebCore)/dom/PopStateEvent.idl \
index 606be94..7a4b792 100644 (file)
@@ -2269,7 +2269,6 @@ __ZN7WebCore36initializeLoggingChannelsIfNecessaryEv
 .objc_class_name_DOMNodeFilter
 .objc_class_name_DOMNodeIterator
 .objc_class_name_DOMNodeList
-.objc_class_name_DOMNotation
 .objc_class_name_DOMObject
 .objc_class_name_DOMProcessingInstruction
 .objc_class_name_DOMRGBColor
index d133e5b..16b9cd5 100644 (file)
@@ -20141,8 +20141,6 @@ _OBJC_CLASS_$_DOMNodeIterator
 _OBJC_METACLASS_$_DOMNodeIterator
 _OBJC_CLASS_$_DOMNodeList
 _OBJC_METACLASS_$_DOMNodeList
-_OBJC_METACLASS_$_DOMNotation
-_OBJC_CLASS_$_DOMNotation
 _OBJC_CLASS_$_DOMObject
 _OBJC_METACLASS_$_DOMObject
 _OBJC_METACLASS_$_DOMOverflowEvent
@@ -22003,10 +22001,6 @@ __ZN7WebCore10JSNodeList6s_infoE
 __ZN7WebCoreL21JSNodeListTableValuesE
 __ZN7WebCoreL30JSNodeListPrototypeTableValuesE
 __ZTVN7WebCore15JSNodeListOwnerE
-__ZN7WebCore21JSNotationConstructor6s_infoE
-__ZN7WebCore19JSNotationPrototype6s_infoE
-__ZN7WebCore10JSNotation6s_infoE
-__ZN7WebCoreL21JSNotationTableValuesE
 __ZN7WebCore25JSNotificationConstructor6s_infoE
 __ZN7WebCore23JSNotificationPrototype6s_infoE
 __ZN7WebCore14JSNotification6s_infoE
@@ -25109,9 +25103,6 @@ __ZN7WebCoreL19JSNodeIteratorTableE
 __ZZN7WebCore12wrapperOwnerEPNS_15DOMWrapperWorldEPNS_12NodeIteratorEE19jsNodeIteratorOwner
 __ZGVZN7WebCore12wrapperOwnerEPNS_15DOMWrapperWorldEPNS_12NodeIteratorEE19jsNodeIteratorOwner
 __ZN7WebCoreL26JSNodeListConstructorTableE
-__ZN7WebCoreL26JSNotationConstructorTableE
-__ZN7WebCoreL24JSNotationPrototypeTableE
-__ZN7WebCoreL15JSNotationTableE
 __ZN7WebCoreL30JSNotificationConstructorTableE
 __ZN7WebCoreL28JSNotificationPrototypeTableE
 __ZN7WebCoreL19JSNotificationTableE
index 7e1eb69..2566390 100644 (file)
       <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Production|Win32'">true</ExcludedFromBuild>
       <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Production|x64'">true</ExcludedFromBuild>
     </ClCompile>
-    <ClCompile Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSNotation.cpp">
-      <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
-      <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
-      <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug_WinCairo|Win32'">true</ExcludedFromBuild>
-      <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug_WinCairo|x64'">true</ExcludedFromBuild>
-      <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='DebugSuffix|Win32'">true</ExcludedFromBuild>
-      <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='DebugSuffix|x64'">true</ExcludedFromBuild>
-      <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
-      <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
-      <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release_WinCairo|Win32'">true</ExcludedFromBuild>
-      <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release_WinCairo|x64'">true</ExcludedFromBuild>
-      <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Production|Win32'">true</ExcludedFromBuild>
-      <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Production|x64'">true</ExcludedFromBuild>
-    </ClCompile>
     <ClCompile Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSNotification.cpp">
       <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
       <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
     </ClCompile>
     <ClCompile Include="..\dom\NodeRareData.cpp" />
     <ClCompile Include="..\dom\NodeTraversal.cpp" />
-    <ClCompile Include="..\dom\Notation.cpp">
-      <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
-      <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
-      <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug_WinCairo|Win32'">true</ExcludedFromBuild>
-      <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug_WinCairo|x64'">true</ExcludedFromBuild>
-      <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='DebugSuffix|Win32'">true</ExcludedFromBuild>
-      <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='DebugSuffix|x64'">true</ExcludedFromBuild>
-      <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
-      <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
-      <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release_WinCairo|Win32'">true</ExcludedFromBuild>
-      <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release_WinCairo|x64'">true</ExcludedFromBuild>
-      <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Production|Win32'">true</ExcludedFromBuild>
-      <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Production|x64'">true</ExcludedFromBuild>
-    </ClCompile>
     <ClCompile Include="..\dom\OverflowEvent.cpp">
       <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
       <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
     <ClInclude Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSNodeFilter.h" />
     <ClInclude Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSNodeIterator.h" />
     <ClInclude Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSNodeList.h" />
-    <ClInclude Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSNotation.h" />
     <ClInclude Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSNotification.h" />
     <ClInclude Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSNotificationCenter.h" />
     <ClInclude Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSNotificationPermissionCallback.h" />
     <ClInclude Include="..\dom\NodeFilterCondition.h" />
     <ClInclude Include="..\dom\NodeIterator.h" />
     <ClInclude Include="..\dom\NodeTraversal.h" />
-    <ClInclude Include="..\dom\Notation.h" />
     <ClInclude Include="..\dom\OverflowEvent.h" />
     <ClInclude Include="..\dom\PageTransitionEvent.h" />
     <ClInclude Include="..\dom\PendingScript.h" />
index 2175f68..bf8afdd 100644 (file)
     <ClCompile Include="..\dom\NodeTraversal.cpp">
       <Filter>dom</Filter>
     </ClCompile>
-    <ClCompile Include="..\dom\Notation.cpp">
-      <Filter>dom</Filter>
-    </ClCompile>
     <ClCompile Include="..\dom\OverflowEvent.cpp">
       <Filter>dom</Filter>
     </ClCompile>
     <ClCompile Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSNodeList.cpp">
       <Filter>DerivedSources</Filter>
     </ClCompile>
-    <ClCompile Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSNotation.cpp">
-      <Filter>DerivedSources</Filter>
-    </ClCompile>
     <ClCompile Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSNotification.cpp">
       <Filter>DerivedSources</Filter>
     </ClCompile>
     <ClInclude Include="..\dom\NodeTraversal.h">
       <Filter>dom</Filter>
     </ClInclude>
-    <ClInclude Include="..\dom\Notation.h">
-      <Filter>dom</Filter>
-    </ClInclude>
     <ClInclude Include="..\dom\OverflowEvent.h">
       <Filter>dom</Filter>
     </ClInclude>
     <ClInclude Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSNodeList.h">
       <Filter>DerivedSources</Filter>
     </ClInclude>
-    <ClInclude Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSNotation.h">
-      <Filter>DerivedSources</Filter>
-    </ClInclude>
     <ClInclude Include="$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSNotification.h">
       <Filter>DerivedSources</Filter>
     </ClInclude>
index 21d5c3b..42ea125 100644 (file)
                1C010701192594DF008A4201 /* InlineTextBoxStyle.h in Headers */ = {isa = PBXBuildFile; fileRef = 1C0106FF192594DF008A4201 /* InlineTextBoxStyle.h */; };
                1C0939EA1A13E12900B788E5 /* CachedSVGFont.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1C0939E81A13E12900B788E5 /* CachedSVGFont.cpp */; };
                1C0939EB1A13E12900B788E5 /* CachedSVGFont.h in Headers */ = {isa = PBXBuildFile; fileRef = 1C0939E91A13E12900B788E5 /* CachedSVGFont.h */; };
-               1C11CCB50AA6093700DADB20 /* DOMNotation.h in Copy Generated Headers */ = {isa = PBXBuildFile; fileRef = 85CA96E80A9624E900690CCF /* DOMNotation.h */; };
                1C11CCB60AA6093700DADB20 /* DOMComment.h in Copy Generated Headers */ = {isa = PBXBuildFile; fileRef = 85089CD10A98C42700A275AA /* DOMComment.h */; };
                1C11CCB70AA6093700DADB20 /* DOMNamedNodeMap.h in Copy Generated Headers */ = {isa = PBXBuildFile; fileRef = 8518DD760A9CF31B0091B7A6 /* DOMNamedNodeMap.h */; };
                1C11CCB80AA6093700DADB20 /* DOMHTMLOptionsCollection.h in Copy Generated Headers */ = {isa = PBXBuildFile; fileRef = 85DF2F990AA3CAE500AD64C5 /* DOMHTMLOptionsCollection.h */; };
                65DF31FA09D1CC60000BE325 /* JSElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 65DF31E609D1CC60000BE325 /* JSElement.h */; settings = {ATTRIBUTES = (Private, ); }; };
                65DF31FB09D1CC60000BE325 /* JSMutationEvent.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 65DF31E709D1CC60000BE325 /* JSMutationEvent.cpp */; };
                65DF31FC09D1CC60000BE325 /* JSMutationEvent.h in Headers */ = {isa = PBXBuildFile; fileRef = 65DF31E809D1CC60000BE325 /* JSMutationEvent.h */; };
-               65DF31FD09D1CC60000BE325 /* JSNotation.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 65DF31E909D1CC60000BE325 /* JSNotation.cpp */; };
-               65DF31FE09D1CC60000BE325 /* JSNotation.h in Headers */ = {isa = PBXBuildFile; fileRef = 65DF31EA09D1CC60000BE325 /* JSNotation.h */; };
                65DF31FF09D1CC60000BE325 /* JSProcessingInstruction.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 65DF31EB09D1CC60000BE325 /* JSProcessingInstruction.cpp */; };
                65DF320009D1CC60000BE325 /* JSProcessingInstruction.h in Headers */ = {isa = PBXBuildFile; fileRef = 65DF31EC09D1CC60000BE325 /* JSProcessingInstruction.h */; };
                65DF320109D1CC60000BE325 /* JSRange.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 65DF31ED09D1CC60000BE325 /* JSRange.cpp */; };
                85C7F5E80AAFBAFB004014DD /* DOMWheelEvent.mm in Sources */ = {isa = PBXBuildFile; fileRef = 85C7F5E60AAFBAFB004014DD /* DOMWheelEvent.mm */; };
                85CA96B80A9621A600690CCF /* DOMEntity.h in Headers */ = {isa = PBXBuildFile; fileRef = 85CA96B60A9621A600690CCF /* DOMEntity.h */; settings = {ATTRIBUTES = (); }; };
                85CA96B90A9621A600690CCF /* DOMEntity.mm in Sources */ = {isa = PBXBuildFile; fileRef = 85CA96B70A9621A600690CCF /* DOMEntity.mm */; };
-               85CA96EA0A9624E900690CCF /* DOMNotation.h in Headers */ = {isa = PBXBuildFile; fileRef = 85CA96E80A9624E900690CCF /* DOMNotation.h */; settings = {ATTRIBUTES = (); }; };
-               85CA96EB0A9624E900690CCF /* DOMNotation.mm in Sources */ = {isa = PBXBuildFile; fileRef = 85CA96E90A9624E900690CCF /* DOMNotation.mm */; };
                85CA975C0A962E5400690CCF /* DOMDocumentType.h in Headers */ = {isa = PBXBuildFile; fileRef = 85CA975A0A962E5400690CCF /* DOMDocumentType.h */; settings = {ATTRIBUTES = (); }; };
                85CA975D0A962E5400690CCF /* DOMDocumentType.mm in Sources */ = {isa = PBXBuildFile; fileRef = 85CA975B0A962E5400690CCF /* DOMDocumentType.mm */; };
                85D2AD680AB1A40A00C313EA /* DOMEventListener.h in Headers */ = {isa = PBXBuildFile; fileRef = 85D2AD670AB1A40A00C313EA /* DOMEventListener.h */; };
                85E711D10AC5D5350053270F /* DOMMediaListInternal.h in Headers */ = {isa = PBXBuildFile; fileRef = 85E711820AC5D5350053270F /* DOMMediaListInternal.h */; };
                85E711D20AC5D5350053270F /* DOMNamedNodeMapInternal.h in Headers */ = {isa = PBXBuildFile; fileRef = 85E711830AC5D5350053270F /* DOMNamedNodeMapInternal.h */; };
                85E711D30AC5D5350053270F /* DOMNodeListInternal.h in Headers */ = {isa = PBXBuildFile; fileRef = 85E711840AC5D5350053270F /* DOMNodeListInternal.h */; };
-               85E711D40AC5D5350053270F /* DOMNotationInternal.h in Headers */ = {isa = PBXBuildFile; fileRef = 85E711850AC5D5350053270F /* DOMNotationInternal.h */; settings = {ATTRIBUTES = (); }; };
                85E711D50AC5D5350053270F /* DOMProcessingInstructionInternal.h in Headers */ = {isa = PBXBuildFile; fileRef = 85E711860AC5D5350053270F /* DOMProcessingInstructionInternal.h */; };
                85E711D60AC5D5350053270F /* DOMRectInternal.h in Headers */ = {isa = PBXBuildFile; fileRef = 85E711870AC5D5350053270F /* DOMRectInternal.h */; };
                85E711D70AC5D5350053270F /* DOMStyleSheetListInternal.h in Headers */ = {isa = PBXBuildFile; fileRef = 85E711880AC5D5350053270F /* DOMStyleSheetListInternal.h */; };
                A8EA7D320A19385500A8EF5F /* HTMLMapElement.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A8EA7D2A0A19385500A8EF5F /* HTMLMapElement.cpp */; };
                A8EA7EBC0A1945D000A8EF5F /* ProcessingInstruction.h in Headers */ = {isa = PBXBuildFile; fileRef = A8EA7EB40A1945D000A8EF5F /* ProcessingInstruction.h */; };
                A8EA7EBD0A1945D000A8EF5F /* ProcessingInstruction.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A8EA7EB50A1945D000A8EF5F /* ProcessingInstruction.cpp */; };
-               A8EA7EBE0A1945D000A8EF5F /* Notation.h in Headers */ = {isa = PBXBuildFile; fileRef = A8EA7EB60A1945D000A8EF5F /* Notation.h */; };
-               A8EA7EBF0A1945D000A8EF5F /* Notation.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A8EA7EB70A1945D000A8EF5F /* Notation.cpp */; };
                A8EA7EC00A1945D000A8EF5F /* EntityReference.h in Headers */ = {isa = PBXBuildFile; fileRef = A8EA7EB80A1945D000A8EF5F /* EntityReference.h */; };
                A8EA7EC10A1945D000A8EF5F /* EntityReference.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A8EA7EB90A1945D000A8EF5F /* EntityReference.cpp */; };
                A8EA7EC20A1945D000A8EF5F /* Entity.h in Headers */ = {isa = PBXBuildFile; fileRef = A8EA7EBA0A1945D000A8EF5F /* Entity.h */; };
                                85526C720AB0AE2F000302EA /* DOMNodeIterator.h in Copy Generated Headers */,
                                1C11CCBE0AA6093700DADB20 /* DOMNodeList.h in Copy Generated Headers */,
                                A54A82F115228DF600C72BA6 /* DOMNodePrivate.h in Copy Generated Headers */,
-                               1C11CCB50AA6093700DADB20 /* DOMNotation.h in Copy Generated Headers */,
                                85DF345F0AAFC2D400E59AE3 /* DOMOverflowEvent.h in Copy Generated Headers */,
                                1C11CCC30AA6093700DADB20 /* DOMProcessingInstruction.h in Copy Generated Headers */,
                                BCC5734D0D695C06006EF517 /* DOMProgressEvent.h in Copy Generated Headers */,
                65DF31E609D1CC60000BE325 /* JSElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = JSElement.h; sourceTree = "<group>"; };
                65DF31E709D1CC60000BE325 /* JSMutationEvent.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = JSMutationEvent.cpp; sourceTree = "<group>"; };
                65DF31E809D1CC60000BE325 /* JSMutationEvent.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = JSMutationEvent.h; sourceTree = "<group>"; };
-               65DF31E909D1CC60000BE325 /* JSNotation.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = JSNotation.cpp; sourceTree = "<group>"; };
-               65DF31EA09D1CC60000BE325 /* JSNotation.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = JSNotation.h; sourceTree = "<group>"; };
                65DF31EB09D1CC60000BE325 /* JSProcessingInstruction.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = JSProcessingInstruction.cpp; sourceTree = "<group>"; };
                65DF31EC09D1CC60000BE325 /* JSProcessingInstruction.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = JSProcessingInstruction.h; sourceTree = "<group>"; };
                65DF31ED09D1CC60000BE325 /* JSRange.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = JSRange.cpp; sourceTree = "<group>"; };
                85C7F5E60AAFBAFB004014DD /* DOMWheelEvent.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMWheelEvent.mm; sourceTree = "<group>"; };
                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>"; };
-               85CA96E80A9624E900690CCF /* DOMNotation.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMNotation.h; sourceTree = "<group>"; };
-               85CA96E90A9624E900690CCF /* DOMNotation.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMNotation.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>"; };
                85D2AD670AB1A40A00C313EA /* DOMEventListener.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMEventListener.h; sourceTree = "<group>"; };
                85E711820AC5D5350053270F /* DOMMediaListInternal.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMMediaListInternal.h; sourceTree = "<group>"; };
                85E711830AC5D5350053270F /* DOMNamedNodeMapInternal.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMNamedNodeMapInternal.h; sourceTree = "<group>"; };
                85E711840AC5D5350053270F /* DOMNodeListInternal.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMNodeListInternal.h; sourceTree = "<group>"; };
-               85E711850AC5D5350053270F /* DOMNotationInternal.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMNotationInternal.h; sourceTree = "<group>"; };
                85E711860AC5D5350053270F /* DOMProcessingInstructionInternal.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMProcessingInstructionInternal.h; sourceTree = "<group>"; };
                85E711870AC5D5350053270F /* DOMRectInternal.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMRectInternal.h; sourceTree = "<group>"; };
                85E711880AC5D5350053270F /* DOMStyleSheetListInternal.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMStyleSheetListInternal.h; sourceTree = "<group>"; };
                93EEC1EA09C2877700C515D1 /* Element.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = Element.idl; sourceTree = "<group>"; };
                93EEC1EB09C2877700C515D1 /* Entity.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = Entity.idl; sourceTree = "<group>"; };
                93EEC1F309C2877700C515D1 /* MutationEvent.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = MutationEvent.idl; sourceTree = "<group>"; };
-               93EEC1F409C2877700C515D1 /* Notation.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = Notation.idl; sourceTree = "<group>"; };
                93EEC1F509C2877700C515D1 /* ProcessingInstruction.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = ProcessingInstruction.idl; sourceTree = "<group>"; };
                93EEC1F609C2877700C515D1 /* Text.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = Text.idl; sourceTree = "<group>"; };
                93EEC1F709C2877700C515D1 /* WheelEvent.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = WheelEvent.idl; sourceTree = "<group>"; };
                A8EA7D2A0A19385500A8EF5F /* HTMLMapElement.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = HTMLMapElement.cpp; sourceTree = "<group>"; };
                A8EA7EB40A1945D000A8EF5F /* ProcessingInstruction.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = ProcessingInstruction.h; sourceTree = "<group>"; };
                A8EA7EB50A1945D000A8EF5F /* ProcessingInstruction.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = ProcessingInstruction.cpp; sourceTree = "<group>"; };
-               A8EA7EB60A1945D000A8EF5F /* Notation.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = Notation.h; sourceTree = "<group>"; };
-               A8EA7EB70A1945D000A8EF5F /* Notation.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = Notation.cpp; sourceTree = "<group>"; };
                A8EA7EB80A1945D000A8EF5F /* EntityReference.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = EntityReference.h; sourceTree = "<group>"; };
                A8EA7EB90A1945D000A8EF5F /* EntityReference.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = EntityReference.cpp; sourceTree = "<group>"; };
                A8EA7EBA0A1945D000A8EF5F /* Entity.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = Entity.h; sourceTree = "<group>"; };
                                85ACAA890A9B759C00671E90 /* DOMNodeList.h */,
                                85ACAA8A0A9B759C00671E90 /* DOMNodeList.mm */,
                                A54A82EA15228CA300C72BA6 /* DOMNodePrivate.h */,
-                               85CA96E80A9624E900690CCF /* DOMNotation.h */,
-                               85CA96E90A9624E900690CCF /* DOMNotation.mm */,
                                85F56A780A98CE3700ADB60A /* DOMProcessingInstruction.h */,
                                85F56A790A98CE3700ADB60A /* DOMProcessingInstruction.mm */,
                                85ACA99A0A9B575900671E90 /* DOMText.h */,
                                85B498FA0ADB340200925CBB /* DOMNodeInternal.h */,
                                850B41C00AD9E7E700A6ED4F /* DOMNodeIteratorInternal.h */,
                                85E711840AC5D5350053270F /* DOMNodeListInternal.h */,
-                               85E711850AC5D5350053270F /* DOMNotationInternal.h */,
                                85989DC80ACC8BBD00A0BC51 /* DOMOverflowEventInternal.h */,
                                85E711860AC5D5350053270F /* DOMProcessingInstructionInternal.h */,
                                BCC573370D695BD7006EF517 /* DOMProgressEventInternal.h */,
                                14DC0D3609FED073007B0235 /* JSNode.h */,
                                BCD9C2BE0C17B69E005C90A2 /* JSNodeList.cpp */,
                                BCD9C2BF0C17B69E005C90A2 /* JSNodeList.h */,
-                               65DF31E909D1CC60000BE325 /* JSNotation.cpp */,
-                               65DF31EA09D1CC60000BE325 /* JSNotation.h */,
                                598365E31355F604001B185D /* JSPositionCallback.cpp */,
                                598365DC1355F53C001B185D /* JSPositionCallback.h */,
                                FE80DA6D0E9C472F000D6F75 /* JSPositionError.cpp */,
                                E43105B716750F0C00DB2FB8 /* NodeTraversal.cpp */,
                                E43105BA16750F1600DB2FB8 /* NodeTraversal.h */,
                                9382AAB10D8C386100F357A6 /* NodeWithIndex.h */,
-                               A8EA7EB70A1945D000A8EF5F /* Notation.cpp */,
-                               A8EA7EB60A1945D000A8EF5F /* Notation.h */,
-                               93EEC1F409C2877700C515D1 /* Notation.idl */,
                                1A0D57340A5C77FE007EDD4C /* OverflowEvent.cpp */,
                                1A0D57350A5C77FE007EDD4C /* OverflowEvent.h */,
                                1A0D57380A5C7812007EDD4C /* OverflowEvent.idl */,
                                85ACAA8D0A9B759C00671E90 /* DOMNodeList.h in Headers */,
                                85E711D30AC5D5350053270F /* DOMNodeListInternal.h in Headers */,
                                A54A82EC15228D2F00C72BA6 /* DOMNodePrivate.h in Headers */,
-                               85CA96EA0A9624E900690CCF /* DOMNotation.h in Headers */,
-                               85E711D40AC5D5350053270F /* DOMNotationInternal.h in Headers */,
                                856C8AE40A912649005C687B /* DOMObject.h in Headers */,
                                85C7F5D00AAFB8D9004014DD /* DOMOverflowEvent.h in Headers */,
                                85989DCF0ACC8BBD00A0BC51 /* DOMOverflowEventInternal.h in Headers */,
                                1A750D8E0A90E521000FF215 /* JSNodeIterator.h in Headers */,
                                BCD9C2C30C17B69E005C90A2 /* JSNodeList.h in Headers */,
                                AD20B18D18E9D237005A8083 /* JSNodeListCustom.h in Headers */,
-                               65DF31FE09D1CC60000BE325 /* JSNotation.h in Headers */,
                                33503CA410179AD7003B47E1 /* JSNotification.h in Headers */,
                                33503CA610179AD7003B47E1 /* JSNotificationCenter.h in Headers */,
                                31EC1E2914FF60EE00C94662 /* JSNotificationPermissionCallback.h in Headers */,
                                E43105BB16750F1600DB2FB8 /* NodeTraversal.h in Headers */,
                                9382AAB40D8C386100F357A6 /* NodeWithIndex.h in Headers */,
                                BCD3F9831326C93700098A60 /* NonCJKGlyphOrientation.h in Headers */,
-                               A8EA7EBE0A1945D000A8EF5F /* Notation.h in Headers */,
                                312C0C41146DC6CC0016C911 /* Notification.h in Headers */,
                                3390CA560FFC157B00921962 /* NotificationCenter.h in Headers */,
                                33503C9A10179A74003B47E1 /* NotificationClient.h in Headers */,
                                CD5E5B611A15F156000C609E /* PageConfiguration.cpp in Sources */,
                                85526C380AB0A17E000302EA /* DOMNodeIterator.mm in Sources */,
                                85ACAA8E0A9B759C00671E90 /* DOMNodeList.mm in Sources */,
-                               85CA96EB0A9624E900690CCF /* DOMNotation.mm in Sources */,
                                856C8AE50A912649005C687B /* DOMObject.mm in Sources */,
                                85C7F5D10AAFB8D9004014DD /* DOMOverflowEvent.mm in Sources */,
                                E1284BD51044A01E00EAEB52 /* DOMPageTransitionEvent.mm in Sources */,
                                BCD9C2C20C17B69E005C90A2 /* JSNodeList.cpp in Sources */,
                                BCD9C2650C17AA67005C90A2 /* JSNodeListCustom.cpp in Sources */,
                                1A37636B1A2E68BB009A7EE2 /* StorageNamespaceProvider.cpp in Sources */,
-                               65DF31FD09D1CC60000BE325 /* JSNotation.cpp in Sources */,
                                33503CA310179AD7003B47E1 /* JSNotification.cpp in Sources */,
                                33503CA510179AD7003B47E1 /* JSNotificationCenter.cpp in Sources */,
                                31EC1E2814FF60EE00C94662 /* JSNotificationPermissionCallback.cpp in Sources */,
                                4FFC022B1643B710004E1638 /* NodeRareData.cpp in Sources */,
                                A74F3EF31678B24A00B05A6E /* NodeRenderingTraversal.cpp in Sources */,
                                E43105B816750F0C00DB2FB8 /* NodeTraversal.cpp in Sources */,
-                               A8EA7EBF0A1945D000A8EF5F /* Notation.cpp in Sources */,
                                33503CC71017A1B1003B47E1 /* Notification.cpp in Sources */,
                                3390CA550FFC157B00921962 /* NotificationCenter.cpp in Sources */,
                                3128CA68147331520074C72A /* NotificationController.cpp in Sources */,
index 425098b..60a1b36 100644 (file)
@@ -108,7 +108,6 @@ WebKitDOMNode* wrap(Node* node)
     case Node::DOCUMENT_FRAGMENT_NODE:
         return WEBKIT_DOM_NODE(wrapDocumentFragment(static_cast<DocumentFragment*>(node)));
     case Node::ENTITY_NODE:
-    case Node::NOTATION_NODE:
     case Node::XPATH_NAMESPACE_NODE:
         break;
     }
index 4e560d9..cb2240a 100644 (file)
@@ -192,7 +192,6 @@ WEBKIT_DOM_NODE_COMMENT_NODE
 WEBKIT_DOM_NODE_DOCUMENT_NODE
 WEBKIT_DOM_NODE_DOCUMENT_TYPE_NODE
 WEBKIT_DOM_NODE_DOCUMENT_FRAGMENT_NODE
-WEBKIT_DOM_NODE_NOTATION_NODE
 WEBKIT_DOM_NODE_DOCUMENT_POSITION_DISCONNECTED
 WEBKIT_DOM_NODE_DOCUMENT_POSITION_PRECEDING
 WEBKIT_DOM_NODE_DOCUMENT_POSITION_FOLLOWING
index d4793ab..a3304be 100644 (file)
 #include "JSEventListener.h"
 #include "JSHTMLElement.h"
 #include "JSHTMLElementWrapperFactory.h"
-#include "JSNotation.h"
 #include "JSProcessingInstruction.h"
 #include "JSSVGElementWrapperFactory.h"
 #include "JSText.h"
 #include "Node.h"
-#include "Notation.h"
 #include "ProcessingInstruction.h"
 #include "RegisteredEventListener.h"
 #include "SVGElement.h"
@@ -223,9 +221,6 @@ static ALWAYS_INLINE JSValue createWrapperInline(ExecState* exec, JSDOMGlobalObj
         case Node::DOCUMENT_TYPE_NODE:
             wrapper = CREATE_DOM_WRAPPER(globalObject, DocumentType, node);
             break;
-        case Node::NOTATION_NODE:
-            wrapper = CREATE_DOM_WRAPPER(globalObject, Notation, node);
-            break;
         case Node::DOCUMENT_FRAGMENT_NODE:
             wrapper = CREATE_DOM_WRAPPER(globalObject, DocumentFragment, node);
             break;
index 682dec9..65866ed 100644 (file)
@@ -326,8 +326,6 @@ Class kitClass(WebCore::Node* impl)
             return [DOMDocumentType class];
         case WebCore::Node::DOCUMENT_FRAGMENT_NODE:
             return [DOMDocumentFragment class];
-        case WebCore::Node::NOTATION_NODE:
-            return [DOMNotation class];
         case WebCore::Node::XPATH_NAMESPACE_NODE:
             // FIXME: Create an XPath objective C wrapper
             // See http://bugs.webkit.org/show_bug.cgi?id=8755
index 8b42a84..7eba43e 100644 (file)
@@ -39,7 +39,6 @@
 #import <WebCore/DOMNamedNodeMap.h>
 #import <WebCore/DOMNode.h>
 #import <WebCore/DOMNodeList.h>
-#import <WebCore/DOMNotation.h>
 #import <WebCore/DOMObject.h>
 #import <WebCore/DOMProcessingInstruction.h>
 #import <WebCore/DOMText.h>
index fce423c..73b26ec 100644 (file)
 - (DOMNode *)item:(unsigned)index;
 @end
 
-@interface DOMNotation : DOMNode 10_4
-@property (readonly, copy) NSString *publicId;
-@property (readonly, copy) NSString *systemId;
-@end
-
 @interface DOMProcessingInstruction : DOMCharacterData 10_4
 @property (readonly, copy) NSString *target;
 @property (readonly, strong) DOMStyleSheet *sheet WEBKIT_AVAILABLE_MAC(10_4);
index 1f53446..2546ff1 100644 (file)
 #include "NodeFilterCondition.cpp"
 #include "NodeIterator.cpp"
 #include "NodeRenderingTraversal.cpp"
-#include "Notation.cpp"
 #include "OverflowEvent.cpp"
 #include "PageTransitionEvent.cpp"
 #include "PendingScript.cpp"
index 6e56f28..65208e5 100644 (file)
@@ -990,7 +990,6 @@ RefPtr<Node> Document::importNode(Node* importedNode, bool deep, ExceptionCode&
         return newFragment.release();
     }
     case ENTITY_NODE:
-    case NOTATION_NODE:
         // FIXME: It should be possible to import these node types, however in DOM3 the DocumentType is readonly, so there isn't much sense in doing that.
         // Ability to add these imported nodes to a DocumentType will be considered for addition to a future release of the DOM.
     case DOCUMENT_NODE:
@@ -1019,7 +1018,6 @@ RefPtr<Node> Document::adoptNode(PassRefPtr<Node> source, ExceptionCode& ec)
 
     switch (source->nodeType()) {
     case ENTITY_NODE:
-    case NOTATION_NODE:
     case DOCUMENT_NODE:
     case DOCUMENT_TYPE_NODE:
     case XPATH_NAMESPACE_NODE:
@@ -3084,7 +3082,6 @@ bool Document::childTypeAllowed(NodeType type) const
     case DOCUMENT_NODE:
     case ENTITY_NODE:
     case ENTITY_REFERENCE_NODE:
-    case NOTATION_NODE:
     case TEXT_NODE:
     case XPATH_NAMESPACE_NODE:
         return false;
@@ -3143,7 +3140,6 @@ bool Document::canReplaceChild(Node* newChild, Node* oldChild)
             case DOCUMENT_NODE:
             case ENTITY_NODE:
             case ENTITY_REFERENCE_NODE:
-            case NOTATION_NODE:
             case TEXT_NODE:
             case XPATH_NAMESPACE_NODE:
                 return false;
@@ -3166,7 +3162,6 @@ bool Document::canReplaceChild(Node* newChild, Node* oldChild)
         case DOCUMENT_NODE:
         case ENTITY_NODE:
         case ENTITY_REFERENCE_NODE:
-        case NOTATION_NODE:
         case TEXT_NODE:
         case XPATH_NAMESPACE_NODE:
             return false;
index 3e199c0..1cf0068 100644 (file)
@@ -120,7 +120,6 @@ void Node::dumpStatistics()
     size_t documentNodes = 0;
     size_t docTypeNodes = 0;
     size_t fragmentNodes = 0;
-    size_t notationNodes = 0;
     size_t xpathNSNodes = 0;
     size_t shadowRootNodes = 0;
 
@@ -209,10 +208,6 @@ void Node::dumpStatistics()
                     ++fragmentNodes;
                 break;
             }
-            case NOTATION_NODE: {
-                ++notationNodes;
-                break;
-            }
             case XPATH_NAMESPACE_NODE: {
                 ++xpathNSNodes;
                 break;
@@ -235,7 +230,6 @@ void Node::dumpStatistics()
     printf("  Number of Document nodes: %zu\n", documentNodes);
     printf("  Number of DocumentType nodes: %zu\n", docTypeNodes);
     printf("  Number of DocumentFragment nodes: %zu\n", fragmentNodes);
-    printf("  Number of Notation nodes: %zu\n", notationNodes);
     printf("  Number of XPathNS nodes: %zu\n", xpathNSNodes);
     printf("  Number of ShadowRoot nodes: %zu\n", shadowRootNodes);
 
@@ -1164,7 +1158,6 @@ bool Node::isDefaultNamespace(const AtomicString& namespaceURIMaybeEmpty) const
                 return documentElement->isDefaultNamespace(namespaceURI);
             return false;
         case ENTITY_NODE:
-        case NOTATION_NODE:
         case DOCUMENT_TYPE_NODE:
         case DOCUMENT_FRAGMENT_NODE:
             return false;
@@ -1197,7 +1190,6 @@ String Node::lookupPrefix(const AtomicString &namespaceURI) const
                 return documentElement->lookupPrefix(namespaceURI);
             return String();
         case ENTITY_NODE:
-        case NOTATION_NODE:
         case DOCUMENT_FRAGMENT_NODE:
         case DOCUMENT_TYPE_NODE:
             return String();
@@ -1255,7 +1247,6 @@ String Node::lookupNamespaceURI(const String &prefix) const
                 return documentElement->lookupNamespaceURI(prefix);
             return String();
         case ENTITY_NODE:
-        case NOTATION_NODE:
         case DOCUMENT_TYPE_NODE:
         case DOCUMENT_FRAGMENT_NODE:
             return String();
@@ -1333,7 +1324,6 @@ static void appendTextContent(const Node* node, bool convertBRsToNewlines, bool&
 
     case Node::DOCUMENT_NODE:
     case Node::DOCUMENT_TYPE_NODE:
-    case Node::NOTATION_NODE:
     case Node::XPATH_NAMESPACE_NODE:
         break;
     }
@@ -1370,7 +1360,6 @@ void Node::setTextContent(const String& text, ExceptionCode& ec)
         }
         case DOCUMENT_NODE:
         case DOCUMENT_TYPE_NODE:
-        case NOTATION_NODE:
         case XPATH_NAMESPACE_NODE:
             // Do nothing.
             return;
index ac1ecf4..c6ef58f 100644 (file)
@@ -138,9 +138,11 @@ public:
         DOCUMENT_NODE = 9,
         DOCUMENT_TYPE_NODE = 10,
         DOCUMENT_FRAGMENT_NODE = 11,
-        NOTATION_NODE = 12,
         XPATH_NAMESPACE_NODE = 13,
     };
+    enum DeprecatedNodeType {
+        NOTATION_NODE = 12,
+    };
     enum DocumentPosition {
         DOCUMENT_POSITION_EQUIVALENT = 0x00,
         DOCUMENT_POSITION_DISCONNECTED = 0x01,
diff --git a/Source/WebCore/dom/Notation.cpp b/Source/WebCore/dom/Notation.cpp
deleted file mode 100644 (file)
index 6b191d3..0000000
+++ /dev/null
@@ -1 +0,0 @@
-// FIXME: remove me
diff --git a/Source/WebCore/dom/Notation.h b/Source/WebCore/dom/Notation.h
deleted file mode 100644 (file)
index 1e8e65f..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- * Copyright (C) 2000 Peter Kelly (pmk@post.com)
- * Copyright (C) 2006, 2009 Apple Inc. All rights reserved.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this library; see the file COPYING.LIB.  If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- *
- */
-
-#ifndef Notation_h
-#define Notation_h
-
-#include "ContainerNode.h"
-
-namespace WebCore {
-
-// FIXME: This class is never instantiated. Maybe it should be removed.
-
-class Notation : public ContainerNode {
-public:
-    String publicId() const { ASSERT_NOT_REACHED(); return String(); }
-    String systemId() const { ASSERT_NOT_REACHED(); return String(); }
-
-private:
-    Notation(Document& document)
-        : ContainerNode(document)
-    { }
-};
-
-} //namespace
-
-#endif
diff --git a/Source/WebCore/dom/Notation.idl b/Source/WebCore/dom/Notation.idl
deleted file mode 100644 (file)
index 14458f0..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-/*
- * Copyright (C) 2006 Apple Inc.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this library; see the file COPYING.LIB.  If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- */
-
-interface Notation : Node {
-    [TreatReturnedNullStringAs=Null] readonly attribute DOMString publicId;
-    [TreatReturnedNullStringAs=Null] readonly attribute DOMString systemId;
-};
-
index 95523e6..412a7a0 100644 (file)
@@ -669,7 +669,6 @@ static inline unsigned lengthOfContentsInNode(Node* node)
     case Node::DOCUMENT_NODE:
     case Node::DOCUMENT_TYPE_NODE:
     case Node::DOCUMENT_FRAGMENT_NODE:
-    case Node::NOTATION_NODE:
     case Node::XPATH_NAMESPACE_NODE:
         return node->countChildNodes();
     }
@@ -836,7 +835,6 @@ PassRefPtr<Node> Range::processContentsBetweenOffsets(ActionType action, PassRef
     case Node::DOCUMENT_NODE:
     case Node::DOCUMENT_TYPE_NODE:
     case Node::DOCUMENT_FRAGMENT_NODE:
-    case Node::NOTATION_NODE:
     case Node::XPATH_NAMESPACE_NODE:
         // FIXME: Should we assert that some nodes never appear here?
         if (action == Extract || action == Clone) {
@@ -1019,11 +1017,10 @@ void Range::insertNode(PassRefPtr<Node> prpNewNode, ExceptionCode& ec)
         }
     }
 
-    // INVALID_NODE_TYPE_ERR: Raised if newNode is an Attr, Entity, Notation, ShadowRoot or Document node.
+    // INVALID_NODE_TYPE_ERR: Raised if newNode is an Attr, Entity, ShadowRoot or Document node.
     switch (newNodeType) {
     case Node::ATTRIBUTE_NODE:
     case Node::ENTITY_NODE:
-    case Node::NOTATION_NODE:
     case Node::DOCUMENT_NODE:
         ec = RangeException::INVALID_NODE_TYPE_ERR;
         return;
@@ -1149,7 +1146,6 @@ Node* Range::checkNodeWOffset(Node* n, int offset, ExceptionCode& ec) const
     switch (n->nodeType()) {
         case Node::DOCUMENT_TYPE_NODE:
         case Node::ENTITY_NODE:
-        case Node::NOTATION_NODE:
             ec = RangeException::INVALID_NODE_TYPE_ERR;
             return nullptr;
         case Node::CDATA_SECTION_NODE:
@@ -1181,14 +1177,13 @@ void Range::checkNodeBA(Node* n, ExceptionCode& ec) const
 {
     // INVALID_NODE_TYPE_ERR: Raised if the root container of refNode is not an
     // Attr, Document, DocumentFragment or ShadowRoot node, or part of a SVG shadow DOM tree,
-    // or if refNode is a Document, DocumentFragment, ShadowRoot, Attr, Entity, or Notation node.
+    // or if refNode is a Document, DocumentFragment, ShadowRoot, Attr, or Entity node.
 
     switch (n->nodeType()) {
         case Node::ATTRIBUTE_NODE:
         case Node::DOCUMENT_FRAGMENT_NODE:
         case Node::DOCUMENT_NODE:
         case Node::ENTITY_NODE:
-        case Node::NOTATION_NODE:
             ec = RangeException::INVALID_NODE_TYPE_ERR;
             return;
         case Node::CDATA_SECTION_NODE:
@@ -1217,7 +1212,6 @@ void Range::checkNodeBA(Node* n, ExceptionCode& ec) const
         case Node::ELEMENT_NODE:
         case Node::ENTITY_NODE:
         case Node::ENTITY_REFERENCE_NODE:
-        case Node::NOTATION_NODE:
         case Node::PROCESSING_INSTRUCTION_NODE:
         case Node::TEXT_NODE:
         case Node::XPATH_NAMESPACE_NODE:
@@ -1308,8 +1302,8 @@ void Range::selectNode(Node* refNode, ExceptionCode& ec)
         return;
     }
 
-    // INVALID_NODE_TYPE_ERR: Raised if an ancestor of refNode is an Entity, Notation or
-    // DocumentType node or if refNode is a Document, DocumentFragment, ShadowRoot, Attr, Entity, or Notation
+    // INVALID_NODE_TYPE_ERR: Raised if an ancestor of refNode is an Entity, or
+    // DocumentType node or if refNode is a Document, DocumentFragment, ShadowRoot, Attr, or Entity
     // node.
     for (ContainerNode* anc = refNode->parentNode(); anc; anc = anc->parentNode()) {
         switch (anc->nodeType()) {
@@ -1326,7 +1320,6 @@ void Range::selectNode(Node* refNode, ExceptionCode& ec)
                 break;
             case Node::DOCUMENT_TYPE_NODE:
             case Node::ENTITY_NODE:
-            case Node::NOTATION_NODE:
                 ec = RangeException::INVALID_NODE_TYPE_ERR;
                 return;
         }
@@ -1346,7 +1339,6 @@ void Range::selectNode(Node* refNode, ExceptionCode& ec)
         case Node::DOCUMENT_FRAGMENT_NODE:
         case Node::DOCUMENT_NODE:
         case Node::ENTITY_NODE:
-        case Node::NOTATION_NODE:
             ec = RangeException::INVALID_NODE_TYPE_ERR;
             return;
     }
@@ -1373,7 +1365,7 @@ void Range::selectNodeContents(Node* refNode, ExceptionCode& ec)
         return;
     }
 
-    // INVALID_NODE_TYPE_ERR: Raised if refNode or an ancestor of refNode is an Entity, Notation
+    // INVALID_NODE_TYPE_ERR: Raised if refNode or an ancestor of refNode is an Entity,
     // or DocumentType node.
     for (Node* n = refNode; n; n = n->parentNode()) {
         switch (n->nodeType()) {
@@ -1390,7 +1382,6 @@ void Range::selectNodeContents(Node* refNode, ExceptionCode& ec)
                 break;
             case Node::DOCUMENT_TYPE_NODE:
             case Node::ENTITY_NODE:
-            case Node::NOTATION_NODE:
                 ec = RangeException::INVALID_NODE_TYPE_ERR;
                 return;
         }
@@ -1417,7 +1408,7 @@ void Range::surroundContents(PassRefPtr<Node> passNewParent, ExceptionCode& ec)
         return;
     }
 
-    // INVALID_NODE_TYPE_ERR: Raised if node is an Attr, Entity, DocumentType, Notation,
+    // INVALID_NODE_TYPE_ERR: Raised if node is an Attr, Entity, DocumentType,
     // Document, or DocumentFragment node.
     switch (newParent->nodeType()) {
         case Node::ATTRIBUTE_NODE:
@@ -1425,7 +1416,6 @@ void Range::surroundContents(PassRefPtr<Node> passNewParent, ExceptionCode& ec)
         case Node::DOCUMENT_NODE:
         case Node::DOCUMENT_TYPE_NODE:
         case Node::ENTITY_NODE:
-        case Node::NOTATION_NODE:
             ec = RangeException::INVALID_NODE_TYPE_ERR;
             return;
         case Node::CDATA_SECTION_NODE:
index c37d541..ce11027 100644 (file)
@@ -575,7 +575,6 @@ void MarkupAccumulator::appendStartMarkup(StringBuilder& result, const Node& nod
     case Node::ATTRIBUTE_NODE:
     case Node::ENTITY_NODE:
     case Node::ENTITY_REFERENCE_NODE:
-    case Node::NOTATION_NODE:
     case Node::XPATH_NAMESPACE_NODE:
         ASSERT_NOT_REACHED();
         break;
index 8d3cba7..60b4a68 100644 (file)
@@ -73,7 +73,6 @@ bool isValidContextNode(Node* node)
         case Node::DOCUMENT_TYPE_NODE:
         case Node::ENTITY_NODE:
         case Node::ENTITY_REFERENCE_NODE:
-        case Node::NOTATION_NODE:
             return false;
         case Node::TEXT_NODE:
             return !(node->parentNode() && node->parentNode()->isAttributeNode());
index 5bddd2e..9b7f0e2 100644 (file)
@@ -1,3 +1,12 @@
+2014-12-15  Myles C. Maxfield  <mmaxfield@apple.com>
+
+        Delete Notation because we don't use it
+        https://bugs.webkit.org/show_bug.cgi?id=139171
+
+        Reviewed by Kent Tamura.
+
+        * MigrateHeaders.make:
+
 2014-12-14  Andreas Kling  <akling@apple.com>
 
         Replace PassRef with Ref/Ref&& across the board.
index 9851d31..895e458 100644 (file)
@@ -156,7 +156,6 @@ all : \
     $(PRIVATE_HEADERS_DIR)/DOMNodeFilter.h \
     $(PRIVATE_HEADERS_DIR)/DOMNodeIterator.h \
     $(PRIVATE_HEADERS_DIR)/DOMNodeList.h \
-    $(PRIVATE_HEADERS_DIR)/DOMNotation.h \
     $(PRIVATE_HEADERS_DIR)/DOMObject.h \
     $(PRIVATE_HEADERS_DIR)/DOMOverflowEvent.h \
     $(PRIVATE_HEADERS_DIR)/DOMPrivate.h \
index 14e7fbd..b760f2d 100644 (file)
@@ -1,3 +1,14 @@
+2014-12-15  Myles C. Maxfield  <mmaxfield@apple.com>
+
+        Delete Notation because we don't use it
+        https://bugs.webkit.org/show_bug.cgi?id=139171
+
+        Reviewed by Kent Tamura.
+
+        * WebProcess/InjectedBundle/API/mac/WKDOMInternals.mm:
+        (WebKit::WKDOMNodeClass):
+        * mac/MigrateHeadersFromWebKitLegacy.make:
+
 2014-12-15  David Kilzer  <ddkilzer@apple.com>
 
         Remove last references to OfflineStorage process
index 511861b..959f42e 100644 (file)
@@ -82,7 +82,6 @@ static Class WKDOMNodeClass(WebCore::Node* impl)
     case WebCore::Node::COMMENT_NODE:
     case WebCore::Node::DOCUMENT_TYPE_NODE:
     case WebCore::Node::DOCUMENT_FRAGMENT_NODE:
-    case WebCore::Node::NOTATION_NODE:
     case WebCore::Node::XPATH_NAMESPACE_NODE:
         return [WKDOMNode class];
     }
index d56a980..1b0f1d3 100644 (file)
@@ -141,7 +141,6 @@ WEBKIT_PUBLIC_HEADERS = \
     DOMNodeFilter.h \
     DOMNodeIterator.h \
     DOMNodeList.h \
-    DOMNotation.h \
     DOMObject.h \
     DOMOverflowEvent.h \
     DOMProcessingInstruction.h \