Modified: trunk/LayoutTests/ChangeLog (116218 => 116219)
--- trunk/LayoutTests/ChangeLog 2012-05-05 10:23:21 UTC (rev 116218)
+++ trunk/LayoutTests/ChangeLog 2012-05-05 10:25:09 UTC (rev 116219)
@@ -1,3 +1,10 @@
+2012-05-05 'Pavel Feldman' <[email protected]>
+
+ Not reviewed: follow up to r116216, fixing the inspector test.
+
+ * inspector/debugger/script-extract-outline.html:
+ * inspector/debugger/script-extract-outline-expected.txt:
+
2012-05-05 Ilya Tikhonovsky <[email protected]>
Web Inspector: save HeapSnapshot implementation.
Modified: trunk/LayoutTests/inspector/debugger/script-extract-outline-expected.txt (116218 => 116219)
--- trunk/LayoutTests/inspector/debugger/script-extract-outline-expected.txt 2012-05-05 10:23:21 UTC (rev 116218)
+++ trunk/LayoutTests/inspector/debugger/script-extract-outline-expected.txt 2012-05-05 10:25:09 UTC (rev 116219)
@@ -1,4 +1,39 @@
Tests the script outline extraction functionality.
-{"chunk":[{"line":0,"name":"first","arguments":"(x, y)"},{"line":1,"name":"second","arguments":"(y, z)"},{"line":4,"name":"Object","arguments":"(arg)"},{"line":6,"name":"functionOnPrototype","arguments":"(a, b, c, d, e, f)"},{"line":8,"name":"innerFunction1","arguments":"()"},{"line":9,"name":"innerFunction2","arguments":"(arg1, arg2)"}],"id":1,"total":1,"index":1}
+{
+ chunk : [
+ {
+ line : 0
+ name : "first"
+ arguments : "(x, y)"
+ }
+ {
+ line : 1
+ name : "second"
+ arguments : "(y, z)"
+ }
+ {
+ line : 4
+ name : "Object"
+ arguments : "(arg)"
+ }
+ {
+ line : 6
+ name : "functionOnPrototype"
+ arguments : "(a, b, c, d, e, f)"
+ }
+ {
+ line : 8
+ name : "innerFunction1"
+ arguments : "()"
+ }
+ {
+ line : 9
+ name : "innerFunction2"
+ arguments : "(arg1, arg2)"
+ }
+ ]
+ total : 1
+ index : 1
+}
Modified: trunk/LayoutTests/inspector/debugger/script-extract-outline.html (116218 => 116219)
--- trunk/LayoutTests/inspector/debugger/script-extract-outline.html 2012-05-05 10:23:21 UTC (rev 116218)
+++ trunk/LayoutTests/inspector/debugger/script-extract-outline.html 2012-05-05 10:25:09 UTC (rev 116219)
@@ -12,7 +12,7 @@
worker._onmessage_ = InspectorTest.safeWrap(function(event)
{
- InspectorTest.addResult(JSON.stringify(event.data));
+ InspectorTest.addObject(event.data);
InspectorTest.completeTest();
});
@@ -22,7 +22,7 @@
InspectorTest.completeTest();
};
- worker.postMessage({ method: "outline", params: { content: parsedScript, id: 1 } });
+ worker.postMessage({ method: "outline", params: { content: parsedScript } });
}
</script>