Title: [141251] trunk/LayoutTests
Revision
141251
Author
[email protected]
Date
2013-01-30 04:07:19 -0800 (Wed, 30 Jan 2013)

Log Message

Web Inspector: move heap profiler protocol tests into heap-profiler subfolder
https://bugs.webkit.org/show_bug.cgi?id=108324

Reviewed by Vsevolod Vlasov.

Moved heap profiler protocol tests into LayoutTests/inspector-protocol/heap-profiler

* inspector-protocol/heap-profiler/resources/page-with-function.html: Renamed from LayoutTests/inspector-protocol/resources/page-with-function.html.
* inspector-protocol/heap-profiler/take-heap-snapshot-expected.txt: Renamed from LayoutTests/inspector-protocol/take-heap-snapshot-expected.txt.
* inspector-protocol/heap-profiler/take-heap-snapshot.html: Renamed from LayoutTests/inspector-protocol/take-heap-snapshot.html.
* platform/chromium/TestExpectations:
* platform/efl/TestExpectations:
* platform/gtk/TestExpectations:
* platform/mac/TestExpectations:
* platform/qt/TestExpectations:
* platform/win/TestExpectations:

Modified Paths

Added Paths

Removed Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (141250 => 141251)


--- trunk/LayoutTests/ChangeLog	2013-01-30 12:01:07 UTC (rev 141250)
+++ trunk/LayoutTests/ChangeLog	2013-01-30 12:07:19 UTC (rev 141251)
@@ -1,3 +1,22 @@
+2013-01-30  Yury Semikhatsky  <[email protected]>
+
+        Web Inspector: move heap profiler protocol tests into heap-profiler subfolder
+        https://bugs.webkit.org/show_bug.cgi?id=108324
+
+        Reviewed by Vsevolod Vlasov.
+
+        Moved heap profiler protocol tests into LayoutTests/inspector-protocol/heap-profiler
+
+        * inspector-protocol/heap-profiler/resources/page-with-function.html: Renamed from LayoutTests/inspector-protocol/resources/page-with-function.html.
+        * inspector-protocol/heap-profiler/take-heap-snapshot-expected.txt: Renamed from LayoutTests/inspector-protocol/take-heap-snapshot-expected.txt.
+        * inspector-protocol/heap-profiler/take-heap-snapshot.html: Renamed from LayoutTests/inspector-protocol/take-heap-snapshot.html.
+        * platform/chromium/TestExpectations:
+        * platform/efl/TestExpectations:
+        * platform/gtk/TestExpectations:
+        * platform/mac/TestExpectations:
+        * platform/qt/TestExpectations:
+        * platform/win/TestExpectations:
+
 2013-01-30  Kondapally Kalyan  <[email protected]>
 
         [EFL][Qt][WebGL] Avoid deleting an uncreated canvas.

Copied: trunk/LayoutTests/inspector-protocol/heap-profiler/resources/page-with-function.html (from rev 141250, trunk/LayoutTests/inspector-protocol/resources/page-with-function.html) (0 => 141251)


--- trunk/LayoutTests/inspector-protocol/heap-profiler/resources/page-with-function.html	                        (rev 0)
+++ trunk/LayoutTests/inspector-protocol/heap-profiler/resources/page-with-function.html	2013-01-30 12:07:19 UTC (rev 141251)
@@ -0,0 +1,7 @@
+<script>
+function foo()
+{
+    alert(document.URL);
+}
+</script>
+<div>resource.html</div>

Property changes: trunk/LayoutTests/inspector-protocol/heap-profiler/resources/page-with-function.html


Added: svn:eol-style

Copied: trunk/LayoutTests/inspector-protocol/heap-profiler/take-heap-snapshot-expected.txt (from rev 141250, trunk/LayoutTests/inspector-protocol/take-heap-snapshot-expected.txt) (0 => 141251)


--- trunk/LayoutTests/inspector-protocol/heap-profiler/take-heap-snapshot-expected.txt	                        (rev 0)
+++ trunk/LayoutTests/inspector-protocol/heap-profiler/take-heap-snapshot-expected.txt	2013-01-30 12:07:19 UTC (rev 141251)
@@ -0,0 +1,5 @@
+Test that heap profiler doesn't crash while taking snapshot on a page where iframe was navigated to a new location after storing a hold of a function from the previous page. Bug 103076.
+
+ 
+SUCCESS: didTakeHeapSnapshot
+

Property changes: trunk/LayoutTests/inspector-protocol/heap-profiler/take-heap-snapshot-expected.txt


Added: svn:eol-style

Copied: trunk/LayoutTests/inspector-protocol/heap-profiler/take-heap-snapshot.html (from rev 141250, trunk/LayoutTests/inspector-protocol/take-heap-snapshot.html) (0 => 141251)


--- trunk/LayoutTests/inspector-protocol/heap-profiler/take-heap-snapshot.html	                        (rev 0)
+++ trunk/LayoutTests/inspector-protocol/heap-profiler/take-heap-snapshot.html	2013-01-30 12:07:19 UTC (rev 141251)
@@ -0,0 +1,40 @@
+<html>
+<head>
+<script type="text/_javascript_" src=""
+<script>
+if (window.testRunner) {
+    testRunner.dumpAsText();
+    testRunner.waitUntilDone();
+}
+
+var fooRef;
+function storeFunctionRefAndNavigateIFrame()
+{
+    var frame = document.getElementById("myframe");
+    fooRef = frame.contentWindow.foo;
+    frame.src = ""
+    frame._onload_ = didNavigate;
+}
+
+function didNavigate()
+{
+    runTest();
+}
+function test()
+{
+    function didTakeHeapSnapshot(messageObject)
+    {
+        InspectorTest.log("SUCCESS: didTakeHeapSnapshot");
+        InspectorTest.completeTest();
+    }
+
+    InspectorTest.sendCommand("Profiler.takeHeapSnapshot", {}, didTakeHeapSnapshot);
+}
+</script>
+</head>
+<body>
+<p>Test that heap profiler doesn't crash while taking snapshot on a page where iframe was navigated to a new location after
+storing a hold of a function from the previous page. <a href="" 103076.</p>
+<iframe id="myframe" src="" _onload_="storeFunctionRefAndNavigateIFrame()"></iframe>
+</body>
+</html>

Property changes: trunk/LayoutTests/inspector-protocol/heap-profiler/take-heap-snapshot.html


Added: svn:eol-style

Deleted: trunk/LayoutTests/inspector-protocol/resources/page-with-function.html (141250 => 141251)


--- trunk/LayoutTests/inspector-protocol/resources/page-with-function.html	2013-01-30 12:01:07 UTC (rev 141250)
+++ trunk/LayoutTests/inspector-protocol/resources/page-with-function.html	2013-01-30 12:07:19 UTC (rev 141251)
@@ -1,7 +0,0 @@
-<script>
-function foo()
-{
-    alert(document.URL);
-}
-</script>
-<div>resource.html</div>

Deleted: trunk/LayoutTests/inspector-protocol/take-heap-snapshot-expected.txt (141250 => 141251)


--- trunk/LayoutTests/inspector-protocol/take-heap-snapshot-expected.txt	2013-01-30 12:01:07 UTC (rev 141250)
+++ trunk/LayoutTests/inspector-protocol/take-heap-snapshot-expected.txt	2013-01-30 12:07:19 UTC (rev 141251)
@@ -1,5 +0,0 @@
-Test that heap profiler doesn't crash while taking snapshot on a page where iframe was navigated to a new location after storing a hold of a function from the previous page. Bug 103076.
-
- 
-SUCCESS: didTakeHeapSnapshot
-

Deleted: trunk/LayoutTests/inspector-protocol/take-heap-snapshot.html (141250 => 141251)


--- trunk/LayoutTests/inspector-protocol/take-heap-snapshot.html	2013-01-30 12:01:07 UTC (rev 141250)
+++ trunk/LayoutTests/inspector-protocol/take-heap-snapshot.html	2013-01-30 12:07:19 UTC (rev 141251)
@@ -1,40 +0,0 @@
-<html>
-<head>
-<script type="text/_javascript_" src=""
-<script>
-if (window.testRunner) {
-    testRunner.dumpAsText();
-    testRunner.waitUntilDone();
-}
-
-var fooRef;
-function storeFunctionRefAndNavigateIFrame()
-{
-    var frame = document.getElementById("myframe");
-    fooRef = frame.contentWindow.foo;
-    frame.src = ""
-    frame._onload_ = didNavigate;
-}
-
-function didNavigate()
-{
-    runTest();
-}
-function test()
-{
-    function didTakeHeapSnapshot(messageObject)
-    {
-        InspectorTest.log("SUCCESS: didTakeHeapSnapshot");
-        InspectorTest.completeTest();
-    }
-
-    InspectorTest.sendCommand("Profiler.takeHeapSnapshot", {}, didTakeHeapSnapshot);
-}
-</script>
-</head>
-<body>
-<p>Test that heap profiler doesn't crash while taking snapshot on a page where iframe was navigated to a new location after
-storing a hold of a function from the previous page. <a href="" 103076.</p>
-<iframe id="myframe" src="" _onload_="storeFunctionRefAndNavigateIFrame()"></iframe>
-</body>
-</html>

Modified: trunk/LayoutTests/platform/chromium/TestExpectations (141250 => 141251)


--- trunk/LayoutTests/platform/chromium/TestExpectations	2013-01-30 12:01:07 UTC (rev 141250)
+++ trunk/LayoutTests/platform/chromium/TestExpectations	2013-01-30 12:07:19 UTC (rev 141251)
@@ -1069,7 +1069,7 @@
 
 webkit.org/b/75647 http/tests/inspector/network/download.html [ Pass Timeout Failure ]
 
-webkit.org/b/104800 [ Debug ] inspector-protocol/take-heap-snapshot.html [ Crash ]
+webkit.org/b/104800 [ Debug ] inspector-protocol/heap-profiler [ Crash ]
 
 # -----------------------------------------------------------------
 # Editing tests

Modified: trunk/LayoutTests/platform/efl/TestExpectations (141250 => 141251)


--- trunk/LayoutTests/platform/efl/TestExpectations	2013-01-30 12:01:07 UTC (rev 141250)
+++ trunk/LayoutTests/platform/efl/TestExpectations	2013-01-30 12:07:19 UTC (rev 141251)
@@ -1467,7 +1467,7 @@
 webkit.org/b/50485 inspector/profiler/heap-snapshot-summary-sorting-fields.html [ Skip ]
 webkit.org/b/50485 inspector/profiler/heap-snapshot-summary-sorting.html [ Skip ]
 webkit.org/b/50485 inspector/profiler/heap-snapshot-summary-sorting-instances.html [ Skip ]
-webkit.org/b/50485 inspector-protocol/take-heap-snapshot.html [ Skip ]
+webkit.org/b/50485 inspector-protocol/heap-profiler [ Skip ]
 
 # ENABLE(INPUT_MULTIPLE_FIELDS_UI) is disabled
 fast/forms/date-multiple-fields

Modified: trunk/LayoutTests/platform/gtk/TestExpectations (141250 => 141251)


--- trunk/LayoutTests/platform/gtk/TestExpectations	2013-01-30 12:01:07 UTC (rev 141250)
+++ trunk/LayoutTests/platform/gtk/TestExpectations	2013-01-30 12:07:19 UTC (rev 141251)
@@ -996,8 +996,10 @@
 webkit.org/b/50485 inspector/profiler/heap-snapshot-summary-show-ranges.html [ Failure ]
 webkit.org/b/50485 inspector/profiler/heap-snapshot-summary-sorting-fields.html [ Failure ]
 webkit.org/b/50485 inspector/profiler/heap-snapshot-summary-sorting-instances.html [ Failure ]
+webkit.org/b/50485 inspector-protocol/heap-profiler [ Skip ]
+
 webkit.org/b/99001 inspector/profiler/memory-instrumentation-canvas.html [ Failure ]
-webkit.org/b/50485 inspector-protocol/take-heap-snapshot.html [ Skip ]
+
 webkit.org/b/73936 inspector/profiler/canvas2d/canvas-has-uninstrumented-canvases.html [ Failure ]
 webkit.org/b/73936 inspector/profiler/canvas2d/canvas-stack-trace.html [ Failure ]
 

Modified: trunk/LayoutTests/platform/mac/TestExpectations (141250 => 141251)


--- trunk/LayoutTests/platform/mac/TestExpectations	2013-01-30 12:01:07 UTC (rev 141250)
+++ trunk/LayoutTests/platform/mac/TestExpectations	2013-01-30 12:07:19 UTC (rev 141251)
@@ -264,7 +264,7 @@
 inspector/profiler/heap-snapshot-summary-sorting-fields.html
 inspector/profiler/heap-snapshot-summary-sorting.html
 inspector/profiler/heap-snapshot-summary-sorting-instances.html
-webkit.org/b/50485 inspector-protocol/take-heap-snapshot.html [ Skip ]
+webkit.org/b/50485 inspector-protocol/heap-profiler [ Skip ]
 
 # New inspector/profiler/memory-instrumentation-canvas.html fails on JSC platforms
 webkit.org/b/99001 inspector/profiler/memory-instrumentation-canvas.html

Modified: trunk/LayoutTests/platform/qt/TestExpectations (141250 => 141251)


--- trunk/LayoutTests/platform/qt/TestExpectations	2013-01-30 12:01:07 UTC (rev 141250)
+++ trunk/LayoutTests/platform/qt/TestExpectations	2013-01-30 12:07:19 UTC (rev 141251)
@@ -272,7 +272,7 @@
 inspector/profiler/heap-snapshot-summary-sorting-fields.html
 inspector/profiler/heap-snapshot-summary-sorting.html
 inspector/profiler/heap-snapshot-summary-sorting-instances.html
-webkit.org/b/50485 inspector-protocol/take-heap-snapshot.html [ Skip ]
+webkit.org/b/50485 inspector-protocol/heap-profiler [ Skip ]
 
 # https://bugs.webkit.org/show_bug.cgi?id=40300
 inspector/debugger/live-edit.html

Modified: trunk/LayoutTests/platform/win/TestExpectations (141250 => 141251)


--- trunk/LayoutTests/platform/win/TestExpectations	2013-01-30 12:01:07 UTC (rev 141250)
+++ trunk/LayoutTests/platform/win/TestExpectations	2013-01-30 12:07:19 UTC (rev 141251)
@@ -1293,7 +1293,7 @@
 inspector/profiler/heap-snapshot-summary-sorting-fields.html
 inspector/profiler/heap-snapshot-summary-sorting.html
 inspector/profiler/heap-snapshot-summary-sorting-instances.html
-webkit.org/b/50485 inspector-protocol/take-heap-snapshot.html [ Skip ]
+webkit.org/b/50485 inspector-protocol/heap-profiler [ Skip ]
 
 # New inspector/profiler/memory-instrumentation-canvas.html fails on JSC platforms
 webkit.org/b/99001 inspector/profiler/memory-instrumentation-canvas.html
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to