Commit 96a2cf96 authored by weinig@apple.com's avatar weinig@apple.com

WebCore: Patch for https://bugs.webkit.org/show_bug.cgi?id=41146

<rdar://problem/8126069>
Implement the .dataset DOM property

Reviewed by Dan Bernstein.

Tests: fast/dom/dataset-xhtml.xhtml
       fast/dom/dataset.html

* DerivedSources.cpp:
* DerivedSources.make:
* GNUmakefile.am:
* WebCore.gypi:
* WebCore.pro:
* WebCore.vcproj/WebCore.vcproj:
* WebCore.xcodeproj/project.pbxproj:
* bindings/js/JSDOMStringMapCustom.cpp: Added.
(WebCore::JSDOMStringMap::canGetItemsForName):
(WebCore::JSDOMStringMap::nameGetter):
(WebCore::JSDOMStringMap::getOwnPropertyNames):
(WebCore::JSDOMStringMap::deleteProperty):
(WebCore::JSDOMStringMap::putDelegate):
* bindings/js/JSDOMStringMapCustom.h: Added.
* dom/DOMStringMap.cpp: Added.
(WebCore::DOMStringMap::~DOMStringMap):
* dom/DOMStringMap.h: Added.
(WebCore::DOMStringMap::DOMStringMap):
* dom/DOMStringMap.idl: Added.
* dom/DatasetDOMStringMap.cpp: Added.
(WebCore::isValidAttributeName):
(WebCore::convertAttributeNameToPropertyName):
(WebCore::propertyNameMatchesAttributeName):
(WebCore::isValidPropertyName):
(WebCore::convertPropertyNameToAttributeName):
(WebCore::DatasetDOMStringMap::ref):
(WebCore::DatasetDOMStringMap::deref):
(WebCore::DatasetDOMStringMap::getNames):
(WebCore::DatasetDOMStringMap::item):
(WebCore::DatasetDOMStringMap::contains):
(WebCore::DatasetDOMStringMap::setItem):
(WebCore::DatasetDOMStringMap::deleteItem):
* dom/DatasetDOMStringMap.h: Added.
(WebCore::DatasetDOMStringMap::create):
(WebCore::DatasetDOMStringMap::DatasetDOMStringMap):
* dom/Element.cpp:
(WebCore::Element::dataset):
* dom/Element.h:
* dom/Element.idl:
* dom/ElementRareData.h:
* page/DOMWindow.idl:

LayoutTests: Test changes for https://bugs.webkit.org/show_bug.cgi?id=41146
<rdar://problem/8126069>
Implement the .dataset DOM property

Reviewed by Dan Bernstein.

* fast/dom/Window/window-properties-expected.txt:
* fast/dom/Window/window-property-descriptors-expected.txt:
* fast/dom/dataset-expected.txt: Added.
* fast/dom/dataset-xhtml-expected.txt: Added.
* fast/dom/dataset-xhtml.xhtml: Added.
* fast/dom/dataset.html: Added.
* fast/dom/domListEnumeration-expected.txt:
* fast/dom/prototype-inheritance-2-expected.txt:
* fast/dom/prototype-inheritance-expected.txt:
* fast/dom/script-tests/dataset-xhtml.js: Added.
* fast/dom/script-tests/dataset.js: Added.
* fast/dom/script-tests/domListEnumeration.js:
* fast/js/global-constructors-expected.txt:



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@62215 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent b626253d
2010-06-29 Sam Weinig <sam@webkit.org>
Reviewed by Dan Bernstein.
Test changes for https://bugs.webkit.org/show_bug.cgi?id=41146
<rdar://problem/8126069>
Implement the .dataset DOM property
* fast/dom/Window/window-properties-expected.txt:
* fast/dom/Window/window-property-descriptors-expected.txt:
* fast/dom/dataset-expected.txt: Added.
* fast/dom/dataset-xhtml-expected.txt: Added.
* fast/dom/dataset-xhtml.xhtml: Added.
* fast/dom/dataset.html: Added.
* fast/dom/domListEnumeration-expected.txt:
* fast/dom/prototype-inheritance-2-expected.txt:
* fast/dom/prototype-inheritance-expected.txt:
* fast/dom/script-tests/dataset-xhtml.js: Added.
* fast/dom/script-tests/dataset.js: Added.
* fast/dom/script-tests/domListEnumeration.js:
* fast/js/global-constructors-expected.txt:
2010-06-30 Albert J. Wong <ajwong@chromium.org>
Not reviewed. Chromium: Disable flaky test.
......@@ -558,6 +558,8 @@ window.DOMStringList [object DOMStringListConstructor]
window.DOMStringList.prototype [object DOMStringListPrototype]
window.DOMStringList.prototype.contains [function]
window.DOMStringList.prototype.item [function]
window.DOMStringMap [object DOMStringMapConstructor]
window.DOMStringMap.prototype [object DOMStringMapPrototype]
window.Document [object DocumentConstructor]
window.Document.prototype [object DocumentPrototype]
window.Document.prototype.ATTRIBUTE_NODE [number]
......
......@@ -39,6 +39,7 @@ PASS typeof Object.getOwnPropertyDescriptor(window, 'DOMException') is 'object'
PASS typeof Object.getOwnPropertyDescriptor(window, 'DOMImplementation') is 'object'
PASS typeof Object.getOwnPropertyDescriptor(window, 'DOMParser') is 'object'
PASS typeof Object.getOwnPropertyDescriptor(window, 'DOMStringList') is 'object'
PASS typeof Object.getOwnPropertyDescriptor(window, 'DOMStringMap') is 'object'
PASS typeof Object.getOwnPropertyDescriptor(window, 'Date') is 'object'
PASS typeof Object.getOwnPropertyDescriptor(window, 'Document') is 'object'
PASS typeof Object.getOwnPropertyDescriptor(window, 'DocumentFragment') is 'object'
......
This tests element.dataset.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS testGet('data-foo', 'foo') is true
PASS testGet('data-foo-bar', 'fooBar') is true
PASS testGet('data--', '-') is true
PASS testGet('data--foo', 'Foo') is true
PASS testGet('data---foo', '-Foo') is true
PASS testGet('data-Foo', 'foo') is true
PASS testGet('data-', '') is true
PASS testGet('data-à', 'à') is true
PASS matchesNothingInDataset('dataFoo') is true
PASS testSet('foo', 'data-foo') is true
PASS testSet('fooBar', 'data-foo-bar') is true
PASS testSet('-', 'data--') is true
PASS testSet('Foo', 'data--foo') is true
PASS testSet('-Foo', 'data---foo') is true
PASS testSet('', 'data-') is true
PASS testSet('à', 'data-à') is true
PASS testSet('-foo', 'dummy') threw exception Error: SYNTAX_ERR: DOM Exception 12.
PASS testSet('foo ', 'dummy') threw exception Error: INVALID_CHARACTER_ERR: DOM Exception 5.
PASS testSet('foo豈', 'dummy') threw exception Error: INVALID_CHARACTER_ERR: DOM Exception 5.
PASS testDelete('data-foo', 'foo') is true
PASS testDelete('data-foo-bar', 'fooBar') is true
PASS testDelete('data--', '-') is true
PASS testDelete('data--foo', 'Foo') is true
PASS testDelete('data---foo', '-Foo') is true
PASS testDelete('data-', '') is true
PASS testDelete('data-à', 'à') is true
PASS testDelete('dummy', '-foo') threw exception Error: SYNTAX_ERR: DOM Exception 12.
PASS testForIn(['data-foo', 'data-bar', 'data-baz']) is 3
PASS testForIn(['data-foo', 'data-bar', 'dataFoo']) is 2
PASS testForIn(['data-foo', 'data-bar', 'style']) is 2
PASS testForIn(['data-foo', 'data-bar', 'data-']) is 3
PASS successfullyParsed is true
TEST COMPLETE
This tests element.dataset for XHTML.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS testGet('data-foo', 'foo') is true
PASS testGet('data-foo-bar', 'fooBar') is true
PASS testGet('data--', '-') is true
PASS testGet('data--foo', 'Foo') is true
PASS testGet('data---foo', '-Foo') is true
PASS testGet('data-', '') is true
PASS testGet('data-à', 'à') is true
PASS matchesNothingInDataset('dataFoo') is true
PASS matchesNothingInDataset('data-Foo') is true
PASS testSet('foo', 'data-foo') is true
PASS testSet('fooBar', 'data-foo-bar') is true
PASS testSet('-', 'data--') is true
PASS testSet('Foo', 'data--foo') is true
PASS testSet('-Foo', 'data---foo') is true
PASS testSet('', 'data-') is true
PASS testSet('à', 'data-à') is true
PASS testSet('-foo', 'dummy') threw exception Error: SYNTAX_ERR: DOM Exception 12.
PASS testSet('foo ', 'dummy') threw exception Error: INVALID_CHARACTER_ERR: DOM Exception 5.
PASS testSet('foo豈', 'dummy') threw exception Error: INVALID_CHARACTER_ERR: DOM Exception 5.
PASS testDelete('data-foo', 'foo') is true
PASS testDelete('data-foo-bar', 'fooBar') is true
PASS testDelete('data--', '-') is true
PASS testDelete('data--foo', 'Foo') is true
PASS testDelete('data---foo', '-Foo') is true
PASS testDelete('data-', '') is true
PASS testDelete('data-à', 'à') is true
PASS testDelete('dummy', '-foo') threw exception Error: SYNTAX_ERR: DOM Exception 12.
PASS testForIn(['data-foo', 'data-bar', 'data-baz']) is 3
PASS testForIn(['data-foo', 'data-bar', 'dataFoo']) is 2
PASS testForIn(['data-foo', 'data-bar', 'style']) is 2
PASS testForIn(['data-foo', 'data-bar', 'data-']) is 3
PASS successfullyParsed is true
TEST COMPLETE
<?xml version="1.0" encoding="UTF-8"?>
<!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" xml:lang="en">
<head>
<link rel="stylesheet" href="../js/resources/js-test-style.css"></link>
<script src="../js/resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
<div id="console"></div>
<script src="script-tests/dataset-xhtml.js"></script>
<script src="../js/resources/js-test-post.js"></script>
</body>
</html>
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
<link rel="stylesheet" href="../js/resources/js-test-style.css">
<script src="../js/resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
<div id="console"></div>
<script src="script-tests/dataset.js"></script>
<script src="../js/resources/js-test-post.js"></script>
</body>
</html>
......@@ -32,7 +32,7 @@ PASS resultArray[2].i is '2'
PASS resultArray[2].item is namedNodeMap.item(2)
[object HTMLFormElement]
PASS resultArray.length is 135
PASS resultArray.length is 136
PASS resultArray[0].i is '0'
PASS resultArray[0].item is document.getElementsByTagName('select')[0]
PASS resultArray[1].i is '1'
......@@ -41,7 +41,7 @@ PASS resultArray[2].i is '2'
PASS resultArray[2].item is document.getElementsByTagName('select')[2]
[object HTMLSelectElement]
PASS resultArray.length is 143
PASS resultArray.length is 144
PASS resultArray[0].i is '0'
PASS resultArray[0].item is document.getElementsByTagName('option')[0]
PASS resultArray[1].i is '1'
......
......@@ -74,6 +74,9 @@ PASS DOMApplicationCachePrototype from inner.document.forms.testForm.0.ownerDocu
PASS DOMImplementation from inner.document.forms.testForm.0.ownerDocument.implementation
PASS DOMImplementationConstructor from inner.document.forms.testForm.0.ownerDocument.implementation.constructor
PASS DOMImplementationPrototype from inner.document.forms.testForm.0.ownerDocument.implementation.__proto__
PASS DOMStringMap from inner.document.forms.testForm.0.dataset
PASS DOMStringMapConstructor from inner.document.forms.testForm.0.dataset.constructor
PASS DOMStringMapPrototype from inner.document.forms.testForm.0.dataset.__proto__
PASS DOMWindow from inner
PASS DOMWindowPrototype from inner.document.forms.testForm.0.ownerDocument.defaultView.__proto__
PASS DocumentPrototype from inner.document.forms.testForm.0.ownerDocument.__proto__.__proto__
......
......@@ -71,6 +71,8 @@ PASS inner.DOMParser.isInner is true
PASS inner.DOMParser.constructor.isInner is true
PASS inner.DOMStringList.isInner is true
PASS inner.DOMStringList.constructor.isInner is true
PASS inner.DOMStringMap.isInner is true
PASS inner.DOMStringMap.constructor.isInner is true
PASS inner.Document.isInner is true
PASS inner.Document.constructor.isInner is true
PASS inner.DocumentFragment.isInner is true
......
description("This tests element.dataset for XHTML.");
function testGet(attr, expected)
{
var d = document.createElement("div");
d.setAttribute(attr, "value");
return d.dataset[expected] == "value";
}
shouldBeTrue("testGet('data-foo', 'foo')");
shouldBeTrue("testGet('data-foo-bar', 'fooBar')");
shouldBeTrue("testGet('data--', '-')");
shouldBeTrue("testGet('data--foo', 'Foo')");
shouldBeTrue("testGet('data---foo', '-Foo')");
shouldBeTrue("testGet('data-', '')");
shouldBeTrue("testGet('data-\xE0', '\xE0')");
debug("");
function matchesNothingInDataset(attr)
{
var d = document.createElement("div");
d.setAttribute(attr, "value");
var count = 0;
for (var item in d.dataset)
count++;
return count == 0;
}
shouldBeTrue("matchesNothingInDataset('dataFoo')");
shouldBeTrue("matchesNothingInDataset('data-Foo')");
debug("");
function testSet(prop, expected)
{
var d = document.createElement("div");
d.dataset[prop] = "value";
return d.getAttribute(expected) == "value";
}
shouldBeTrue("testSet('foo', 'data-foo')");
shouldBeTrue("testSet('fooBar', 'data-foo-bar')");
shouldBeTrue("testSet('-', 'data--')");
shouldBeTrue("testSet('Foo', 'data--foo')");
shouldBeTrue("testSet('-Foo', 'data---foo')");
shouldBeTrue("testSet('', 'data-')");
shouldBeTrue("testSet('\xE0', 'data-\xE0')");
debug("");
shouldThrow("testSet('-foo', 'dummy')", "'Error: SYNTAX_ERR: DOM Exception 12'");
shouldThrow("testSet('foo\x20', 'dummy')", "'Error: INVALID_CHARACTER_ERR: DOM Exception 5'");
shouldThrow("testSet('foo\uF900', 'dummy')", "'Error: INVALID_CHARACTER_ERR: DOM Exception 5'");
debug("");
function testDelete(attr, prop)
{
var d = document.createElement("div");
d.setAttribute(attr, "value");
delete d.dataset[prop];
return d.getAttribute(attr) != "value";
}
shouldBeTrue("testDelete('data-foo', 'foo')");
shouldBeTrue("testDelete('data-foo-bar', 'fooBar')");
shouldBeTrue("testDelete('data--', '-')");
shouldBeTrue("testDelete('data--foo', 'Foo')");
shouldBeTrue("testDelete('data---foo', '-Foo')");
shouldBeTrue("testDelete('data-', '')");
shouldBeTrue("testDelete('data-\xE0', '\xE0')");
debug("");
shouldThrow("testDelete('dummy', '-foo')", "'Error: SYNTAX_ERR: DOM Exception 12'");
debug("");
function testForIn(array)
{
var d = document.createElement("div");
for (var i = 0; i < array.length; ++i) {
d.setAttribute(array[i], "value");
}
var count = 0;
for (var item in d.dataset)
count++;
return count;
}
shouldBe("testForIn(['data-foo', 'data-bar', 'data-baz'])", "3");
shouldBe("testForIn(['data-foo', 'data-bar', 'dataFoo'])", "2");
shouldBe("testForIn(['data-foo', 'data-bar', 'style'])", "2");
shouldBe("testForIn(['data-foo', 'data-bar', 'data-'])", "3");
var successfullyParsed = true;
description("This tests element.dataset.");
function testGet(attr, expected)
{
var d = document.createElement("div");
d.setAttribute(attr, "value");
return d.dataset[expected] == "value";
}
shouldBeTrue("testGet('data-foo', 'foo')");
shouldBeTrue("testGet('data-foo-bar', 'fooBar')");
shouldBeTrue("testGet('data--', '-')");
shouldBeTrue("testGet('data--foo', 'Foo')");
shouldBeTrue("testGet('data---foo', '-Foo')");
shouldBeTrue("testGet('data-Foo', 'foo')"); // HTML lowercases all attributes.
shouldBeTrue("testGet('data-', '')");
shouldBeTrue("testGet('data-\xE0', '\xE0')");
debug("");
function matchesNothingInDataset(attr)
{
var d = document.createElement("div");
d.setAttribute(attr, "value");
var count = 0;
for (var item in d.dataset)
count++;
return count == 0;
}
shouldBeTrue("matchesNothingInDataset('dataFoo')");
debug("");
function testSet(prop, expected)
{
var d = document.createElement("div");
d.dataset[prop] = "value";
return d.getAttribute(expected) == "value";
}
shouldBeTrue("testSet('foo', 'data-foo')");
shouldBeTrue("testSet('fooBar', 'data-foo-bar')");
shouldBeTrue("testSet('-', 'data--')");
shouldBeTrue("testSet('Foo', 'data--foo')");
shouldBeTrue("testSet('-Foo', 'data---foo')");
shouldBeTrue("testSet('', 'data-')");
shouldBeTrue("testSet('\xE0', 'data-\xE0')");
debug("");
shouldThrow("testSet('-foo', 'dummy')", "'Error: SYNTAX_ERR: DOM Exception 12'");
shouldThrow("testSet('foo\x20', 'dummy')", "'Error: INVALID_CHARACTER_ERR: DOM Exception 5'");
shouldThrow("testSet('foo\uF900', 'dummy')", "'Error: INVALID_CHARACTER_ERR: DOM Exception 5'");
debug("");
function testDelete(attr, prop)
{
var d = document.createElement("div");
d.setAttribute(attr, "value");
delete d.dataset[prop];
return d.getAttribute(attr) != "value";
}
shouldBeTrue("testDelete('data-foo', 'foo')");
shouldBeTrue("testDelete('data-foo-bar', 'fooBar')");
shouldBeTrue("testDelete('data--', '-')");
shouldBeTrue("testDelete('data--foo', 'Foo')");
shouldBeTrue("testDelete('data---foo', '-Foo')");
shouldBeTrue("testDelete('data-', '')");
shouldBeTrue("testDelete('data-\xE0', '\xE0')");
debug("");
shouldThrow("testDelete('dummy', '-foo')", "'Error: SYNTAX_ERR: DOM Exception 12'");
debug("");
function testForIn(array)
{
var d = document.createElement("div");
for (var i = 0; i < array.length; ++i) {
d.setAttribute(array[i], "value");
}
var count = 0;
for (var item in d.dataset)
count++;
return count;
}
shouldBe("testForIn(['data-foo', 'data-bar', 'data-baz'])", "3");
shouldBe("testForIn(['data-foo', 'data-bar', 'dataFoo'])", "2");
shouldBe("testForIn(['data-foo', 'data-bar', 'style'])", "2");
shouldBe("testForIn(['data-foo', 'data-bar', 'data-'])", "3");
var successfullyParsed = true;
......@@ -130,7 +130,7 @@ shouldBe("resultArray[2].item", "namedNodeMap.item(2)");
// HTMLFormElement
var htmlFormElement = document.getElementsByTagName('form')[0];
resultArray = iterateList(htmlFormElement);
shouldBe("resultArray.length", "135");
shouldBe("resultArray.length", "136");
shouldBe("resultArray[0].i", "'0'");
shouldBe("resultArray[0].item", "document.getElementsByTagName('select')[0]");
shouldBe("resultArray[1].i", "'1'");
......@@ -141,7 +141,7 @@ shouldBe("resultArray[2].item", "document.getElementsByTagName('select')[2]");
// HTMLSelectElement
var htmlSelectElement = document.getElementsByTagName('select')[0];
resultArray = iterateList(htmlSelectElement);
shouldBe("resultArray.length", "143");
shouldBe("resultArray.length", "144");
shouldBe("resultArray[0].i", "'0'");
shouldBe("resultArray[0].item", "document.getElementsByTagName('option')[0]");
shouldBe("resultArray[1].i", "'1'");
......
......@@ -37,6 +37,7 @@ PASS DOMException.toString() is '[object DOMExceptionConstructor]'
PASS DOMImplementation.toString() is '[object DOMImplementationConstructor]'
PASS DOMParser.toString() is '[object DOMParserConstructor]'
PASS DOMStringList.toString() is '[object DOMStringListConstructor]'
PASS DOMStringMap.toString() is '[object DOMStringMapConstructor]'
PASS Document.toString() is '[object DocumentConstructor]'
PASS DocumentFragment.toString() is '[object DocumentFragmentConstructor]'
PASS DocumentType.toString() is '[object DocumentTypeConstructor]'
......
2010-06-29 Sam Weinig <sam@webkit.org>
Reviewed by Dan Bernstein.
Patch for https://bugs.webkit.org/show_bug.cgi?id=41146
<rdar://problem/8126069>
Implement the .dataset DOM property
Tests: fast/dom/dataset-xhtml.xhtml
fast/dom/dataset.html
* DerivedSources.cpp:
* DerivedSources.make:
* GNUmakefile.am:
* WebCore.gypi:
* WebCore.pro:
* WebCore.vcproj/WebCore.vcproj:
* WebCore.xcodeproj/project.pbxproj:
* bindings/js/JSDOMStringMapCustom.cpp: Added.
(WebCore::JSDOMStringMap::canGetItemsForName):
(WebCore::JSDOMStringMap::nameGetter):
(WebCore::JSDOMStringMap::getOwnPropertyNames):
(WebCore::JSDOMStringMap::deleteProperty):
(WebCore::JSDOMStringMap::putDelegate):
* bindings/js/JSDOMStringMapCustom.h: Added.
* dom/DOMStringMap.cpp: Added.
(WebCore::DOMStringMap::~DOMStringMap):
* dom/DOMStringMap.h: Added.
(WebCore::DOMStringMap::DOMStringMap):
* dom/DOMStringMap.idl: Added.
* dom/DatasetDOMStringMap.cpp: Added.
(WebCore::isValidAttributeName):
(WebCore::convertAttributeNameToPropertyName):
(WebCore::propertyNameMatchesAttributeName):
(WebCore::isValidPropertyName):
(WebCore::convertPropertyNameToAttributeName):
(WebCore::DatasetDOMStringMap::ref):
(WebCore::DatasetDOMStringMap::deref):
(WebCore::DatasetDOMStringMap::getNames):
(WebCore::DatasetDOMStringMap::item):
(WebCore::DatasetDOMStringMap::contains):
(WebCore::DatasetDOMStringMap::setItem):
(WebCore::DatasetDOMStringMap::deleteItem):
* dom/DatasetDOMStringMap.h: Added.
(WebCore::DatasetDOMStringMap::create):
(WebCore::DatasetDOMStringMap::DatasetDOMStringMap):
* dom/Element.cpp:
(WebCore::Element::dataset):
* dom/Element.h:
* dom/Element.idl:
* dom/ElementRareData.h:
* page/DOMWindow.idl:
2010-06-30 Darin Adler <darin@apple.com>
More Qt build fix.
......@@ -82,6 +82,7 @@
#include "JSDOMParser.cpp"
#include "JSDOMSelection.cpp"
#include "JSDOMStringList.cpp"
#include "JSDOMStringMap.cpp"
#include "JSDOMWindow.cpp"
#include "JSElement.cpp"
#include "JSEntity.cpp"
......
......@@ -116,6 +116,7 @@ DOM_CLASSES = \
DOMParser \
DOMSelection \
DOMStringList \
DOMStringMap \
DOMWindow \
Database \
DatabaseCallback \
......
......@@ -426,6 +426,8 @@ webcore_sources += \
WebCore/bindings/js/JSDOMFormDataCustom.cpp \
WebCore/bindings/js/JSDOMGlobalObject.cpp \
WebCore/bindings/js/JSDOMGlobalObject.h \
WebCore/bindings/js/JSDOMStringMapCustom.cpp \
WebCore/bindings/js/JSDOMStringMapCustom.h \
WebCore/bindings/js/JSDOMWindowBase.cpp \
WebCore/bindings/js/JSDOMWindowBase.h \
WebCore/bindings/js/JSDOMWindowCustom.cpp \
......@@ -778,6 +780,10 @@ webcore_sources += \
WebCore/dom/DOMImplementation.h \
WebCore/dom/DOMStringList.cpp \
WebCore/dom/DOMStringList.h \
WebCore/dom/DOMStringMap.cpp \
WebCore/dom/DOMStringMap.h \
WebCore/dom/DatasetDOMStringMap.cpp \
WebCore/dom/DatasetDOMStringMap.h \
WebCore/dom/DecodedDataDocumentParser.cpp \
WebCore/dom/DecodedDataDocumentParser.h \
WebCore/dom/DeviceOrientation.cpp \
......@@ -4056,6 +4062,7 @@ IDL_BINDINGS_GDOM += \
WebCore/dom/DocumentType.idl \
WebCore/dom/DOMImplementation.idl \
WebCore/dom/DOMStringList.idl \
WebCore/dom/DOMStringMap.idl \
WebCore/dom/Element.idl \
WebCore/dom/EntityReference.idl \
WebCore/dom/Event.idl \
......
......@@ -42,6 +42,7 @@
'dom/DOMCoreException.idl',
'dom/DOMImplementation.idl',
'dom/DOMStringList.idl',
'dom/DOMStringMap.idl',
'dom/DeviceOrientationEvent.idl',
'dom/Document.idl',
'dom/DocumentFragment.idl',
......@@ -542,6 +543,8 @@
'bindings/js/JSDOMBinding.h',
'bindings/js/JSDOMGlobalObject.cpp',
'bindings/js/JSDOMGlobalObject.h',
'bindings/js/JSDOMStringMapCustom.cpp',
'bindings/js/JSDOMStringMapCustom.h',
'bindings/js/JSDOMWindowBase.cpp',
'bindings/js/JSDOMWindowBase.h',
'bindings/js/JSDOMWindowCustom.cpp',
......@@ -1105,6 +1108,10 @@
'dom/DOMImplementation.h',
'dom/DOMStringList.cpp',
'dom/DOMStringList.h',
'dom/DOMStringMap.cpp',
'dom/DOMStringMap.h',
'dom/DatasetDOMStringMap.cpp',
'dom/DatasetDOMStringMap.h',
'dom/DecodedDataDocumentParser.cpp',
'dom/DecodedDataDocumentParser.h',
'dom/DeviceOrientation.cpp',
......
......@@ -288,6 +288,7 @@ IDL_BINDINGS += \
dom/DOMCoreException.idl \
dom/DOMImplementation.idl \
dom/DOMStringList.idl \
dom/DOMStringMap.idl \
dom/Element.idl \
dom/Entity.idl \
dom/EntityReference.idl \
......
......@@ -301,6 +301,7 @@ SOURCES += \
bindings/js/JSDocumentCustom.cpp \
bindings/js/JSDOMFormDataCustom.cpp \
bindings/js/JSDOMGlobalObject.cpp \
bindings/js/JSDOMStringMapCustom.cpp \
bindings/js/JSDOMWindowBase.cpp \
bindings/js/JSDOMWindowCustom.cpp \
bindings/js/JSDOMWindowShell.cpp \
......@@ -483,6 +484,8 @@ SOURCES += \
dom/DocumentType.cpp \
dom/DOMImplementation.cpp \
dom/DOMStringList.cpp \
dom/DOMStringMap.cpp \
dom/DatasetDOMStringMap.cpp \
dom/DynamicNodeList.cpp \
dom/EditingText.cpp \
dom/Element.cpp \
......@@ -1080,7 +1083,7 @@ HEADERS += \
bindings/js/JSDebugWrapperSet.h \
bindings/js/JSDOMBinding.h \
bindings/js/JSDOMGlobalObject.h \
bindings/js/JSDOMWindowBase.h \
bindings/js/JSDOMStringMapCustom.h \
bindings/js/JSDOMWindowBase.h \
bindings/js/JSDOMWindowCustom.h \
bindings/js/JSDOMWindowShell.h \
......@@ -1232,6 +1235,8 @@ HEADERS += \
dom/DocumentType.h \
dom/DOMImplementation.h \
dom/DOMStringList.h \
dom/DOMStringMap.h \
dom/DatasetDOMStringMap.h \
dom/DynamicNodeList.h \
dom/EditingText.h \
dom/Element.h \
......
......@@ -3512,6 +3512,62 @@
RelativePath="$(WebKitOutputDir)\obj\$(ProjectName)\DerivedSources\JSDOMStringList.h"
>
</File>
<File
RelativePath="$(WebKitOutputDir)\obj\$(ProjectName)\DerivedSources\JSDOMStringMap.cpp"
>
<FileConfiguration
Name="Debug|Win32"
ExcludedFromBuild="true"
>
<Tool
Name="VCCLCompilerTool"
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
ExcludedFromBuild="true"
>
<Tool
Name="VCCLCompilerTool"
/>
</FileConfiguration>
<FileConfiguration
Name="Debug_Internal|Win32"
ExcludedFromBuild="true"
>
<Tool
Name="VCCLCompilerTool"
/>
</FileConfiguration>
<FileConfiguration
Name="Debug_Cairo|Win32"
ExcludedFromBuild="true"
>
<Tool
Name="VCCLCompilerTool"
/>
</FileConfiguration>
<FileConfiguration
Name="Release_Cairo|Win32"
ExcludedFromBuild="true"
>
<Tool
Name="VCCLCompilerTool"
/>
</FileConfiguration>
<FileConfiguration
Name="Debug_All|Win32"
ExcludedFromBuild="true"
>
<Tool
Name="VCCLCompilerTool"
/>
</FileConfiguration>
</File>
<File
RelativePath="$(WebKitOutputDir)\obj\$(ProjectName)\DerivedSources\JSDOMStringMap.h"
>
</File>
<File
RelativePath="$(WebKitOutputDir)\obj\$(ProjectName)\DerivedSources\JSDOMWindow.cpp"
>
......@@ -32228,6 +32284,14 @@
RelativePath="..\dom\DeviceOrientationEvent.h"
>
</File>
<File
RelativePath="..\dom\DatasetDOMStringMap.cpp"
>
</File>
<File
RelativePath="..\dom\DatasetDOMStringMap.h"
>
</File>
<File
RelativePath="..\dom\Document.cpp"