Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(138)

Unified Diff: third_party/WebKit/LayoutTests/imported/wpt/custom-elements/reactions/Element.html

Issue 2408493002: Import wpt@357b83b809e3cbc7a1805e7c3ca108a7980d782f (Closed)
Patch Set: Added one more win7-specific baseline Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/imported/wpt/custom-elements/reactions/Element.html
diff --git a/third_party/WebKit/LayoutTests/imported/wpt/custom-elements/reactions/Element.html b/third_party/WebKit/LayoutTests/imported/wpt/custom-elements/reactions/Element.html
index 2f72e61ebee20783c823e9033ead9119d9112339..ed627f44e44bb9e98df6ec6820d4c1fe39c6d6e9 100644
--- a/third_party/WebKit/LayoutTests/imported/wpt/custom-elements/reactions/Element.html
+++ b/third_party/WebKit/LayoutTests/imported/wpt/custom-elements/reactions/Element.html
@@ -7,6 +7,7 @@
<meta name="help" content="https://dom.spec.whatwg.org/#element">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
+<script src="../resources/custom-elements-helpers.js"></script>
<script src="./resources/reactions.js"></script>
</head>
<body>
@@ -25,12 +26,12 @@ testAttributeAdder(function (element, name, value) {
element.setAttributeNS(null, name, value);
}, 'setAttributeNS on Element');
-testAttributeRemover(function (element, name, value) {
- element.removeAttribute(name, value);
+testAttributeRemover(function (element, name) {
+ element.removeAttribute(name);
}, 'removeAttribute on Element');
-testAttributeRemover(function (element, name, value) {
- element.removeAttributeNS(null, name, value);
+testAttributeRemover(function (element, name) {
+ element.removeAttributeNS(null, name);
}, 'removeAttributeNS on Element');
testAttributeAdder(function (element, name, value) {
@@ -45,7 +46,7 @@ testAttributeAdder(function (element, name, value) {
element.setAttributeNodeNS(attr);
}, 'setAttributeNodeNS on Element');
-testAttributeRemover(function (element, name, value) {
+testAttributeRemover(function (element, name) {
var attr = element.getAttributeNode(name);
if (attr)
element.removeAttributeNode(element.getAttributeNode(name));

Powered by Google App Engine
This is Rietveld 408576698