Index: third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-getProperties-preview.html |
diff --git a/third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-getProperties-preview.html b/third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-getProperties-preview.html |
deleted file mode 100644 |
index 0a8373d6db5a61a1d2fb8138f2f51d1eb4f53e10..0000000000000000000000000000000000000000 |
--- a/third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-getProperties-preview.html |
+++ /dev/null |
@@ -1,34 +0,0 @@ |
-<html> |
-<head> |
-<script type="text/javascript" src="../../http/tests/inspector-protocol/resources/inspector-protocol-test.js"></script> |
-<script> |
- |
-function test() |
-{ |
- InspectorTest.sendCommand("Runtime.evaluate", { "expression": "({p1: {a:1}, p2: {b:'foo', bb:'bar'}})" }, callbackEvaluate); |
- |
- function callbackEvaluate(result) |
- { |
- InspectorTest.sendCommand("Runtime.getProperties", { "objectId": result.result.result.objectId, "ownProperties": true }, callbackGetProperties.bind(null, false)); |
- InspectorTest.sendCommand("Runtime.getProperties", { "objectId": result.result.result.objectId, "ownProperties": true, "generatePreview": true }, callbackGetProperties.bind(null, true)); |
- } |
- |
- function callbackGetProperties(completeTest, result) |
- { |
- for (var property of result.result.result) { |
- if (!property.value || property.name === "__proto__") |
- continue; |
- if (property.value.preview) |
- InspectorTest.log(property.name + " : " + JSON.stringify(property.value.preview, null, 4)); |
- else |
- InspectorTest.log(property.name + " : " + property.value.description); |
- } |
- if (completeTest) |
- InspectorTest.completeTest(); |
- } |
-} |
-</script> |
-</head> |
-<body onLoad="runTest();"> |
-</body> |
-</html> |