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

Unified Diff: LayoutTests/inspector/console/console-shadow-dom-access.html

Issue 7147011: Merge 88331 - 2011-06-07 Andrey Kosyakov <caseq@chromium.org> (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 | « LayoutTests/http/tests/inspector/elements-test.js ('k') | LayoutTests/inspector/elements/shadow-dom.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/inspector/console/console-shadow-dom-access.html
===================================================================
--- LayoutTests/inspector/console/console-shadow-dom-access.html (revision 88781)
+++ LayoutTests/inspector/console/console-shadow-dom-access.html (working copy)
@@ -1,42 +0,0 @@
-<html>
-<head>
-<script src="../../http/tests/inspector/inspector-test.js"></script>
-<script src="../../http/tests/inspector/elements-test.js"></script>
-<script>
-
-var test = function()
-{
- var expressions = [
- "$0.toString()",
- "$0.firstChild.toString()",
- "$0.firstChild.firstChild.style.width"
- ];
- function isShadowRoot(node)
- {
- return node.nodeType() === Node.SHADOW_ROOT_NODE;
- }
- function processExpression()
- {
- if (!expressions.length) {
- InspectorTest.completeTest();
- return;
- }
- var expression = expressions.shift();
- InspectorTest.evaluateInConsoleAndDump(expression, processExpression);
- }
- InspectorTest.findNode(isShadowRoot, function(node) {
- InspectorTest.selectNode(node, processExpression);
- });
-}
-
-</script>
-</head>
-
-<body onload="runTest()">
-<p>
-Tests that $0 may successfully be used to refer to shadow DOM elements.
-</p>
-
-<meter min="0" max="100" value="42"></meter>
-</body>
-</html>
« no previous file with comments | « LayoutTests/http/tests/inspector/elements-test.js ('k') | LayoutTests/inspector/elements/shadow-dom.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698