| 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);
|
| }
|
| ]);
|
| }
|
|
|