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

Unified Diff: LayoutTests/inspector/elements/set-attribute.html

Issue 7280007: Merge 90013 - 2011-06-29 Pavel Feldman <pfeldman@google.com> (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/782/
Patch Set: Created 9 years, 6 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
« no previous file with comments | « no previous file | Source/WebCore/inspector/InspectorDOMAgent.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/inspector/elements/set-attribute.html
===================================================================
--- LayoutTests/inspector/elements/set-attribute.html (revision 90016)
+++ LayoutTests/inspector/elements/set-attribute.html (working copy)
@@ -52,6 +52,19 @@
next();
}
InspectorTest.evaluateInPage("removeAttribute('name')", callback);
+ },
+
+ function testSetMalformedAttributeText(next)
+ {
+ function callback(error)
+ {
+ InspectorTest.addResult("Error: " + error.data[0]);
+ WebInspector.domAgent.removeEventListener(WebInspector.DOMAgent.Events.AttrModified, callback);
+ InspectorTest.addResult("=== Set malformed attribute as text ===");
+ InspectorTest.dumpElementsTree(targetNode);
+ next();
+ }
+ targetNode.setAttribute("foo2", "foo2='missingquote", callback);
}
]);
}
« no previous file with comments | « no previous file | Source/WebCore/inspector/InspectorDOMAgent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698