Web Inspector: debugger-activation-crash2.html are flaky.
authorloislo@chromium.org <loislo@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 5 Oct 2011 16:09:52 +0000 (16:09 +0000)
committerloislo@chromium.org <loislo@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 5 Oct 2011 16:09:52 +0000 (16:09 +0000)
https://bugs.webkit.org/show_bug.cgi?id=69428

Reviewed by Yury Semikhatsky.

* http/tests/inspector/debugger-test.js:
(initialize_DebuggerTest):
* inspector/debugger/debugger-activation-crash2-expected.txt:
* inspector/debugger/debugger-activation-crash2.html:
* platform/chromium/inspector/debugger/debugger-activation-crash2-expected.txt: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@96709 268f45cc-cd09-0410-ab3c-d52691b4dbfc

LayoutTests/ChangeLog
LayoutTests/http/tests/inspector/debugger-test.js
LayoutTests/inspector/debugger/debugger-activation-crash2-expected.txt
LayoutTests/inspector/debugger/debugger-activation-crash2.html
LayoutTests/platform/chromium/inspector/debugger/debugger-activation-crash2-expected.txt [deleted file]

index 0d2688559a5e2adbf90656b3325abe99dc5d8dc5..e4c5aa7c99e31a7800a9d4321c086d89b6e42650 100644 (file)
@@ -1,3 +1,16 @@
+2011-10-05  Ilya Tikhonovsky  <loislo@chromium.org>
+
+        Web Inspector: debugger-activation-crash2.html are flaky.
+        https://bugs.webkit.org/show_bug.cgi?id=69428
+
+        Reviewed by Yury Semikhatsky.
+
+        * http/tests/inspector/debugger-test.js:
+        (initialize_DebuggerTest):
+        * inspector/debugger/debugger-activation-crash2-expected.txt:
+        * inspector/debugger/debugger-activation-crash2.html:
+        * platform/chromium/inspector/debugger/debugger-activation-crash2-expected.txt: Removed.
+
 2011-10-05  Abhishek Arya  <inferno@chromium.org>
 
         Crash in SVGTRefElement::updateReferencedText.
index b382f2eb086a4e124f84fd1ada05843132ae56f3..fc247bfd13dd5742d8659193cffd56a90a502462 100644 (file)
@@ -102,7 +102,7 @@ InspectorTest.resumeExecution = function(callback)
     InspectorTest.waitUntilResumed(callback);
 };
 
-InspectorTest.captureStackTrace = function(callFrames)
+InspectorTest.captureStackTrace = function(callFrames, dropLineNumbers)
 {
     InspectorTest.addResult("Call stack:");
     for (var i = 0; i < callFrames.length; i++) {
@@ -117,7 +117,7 @@ InspectorTest.captureStackTrace = function(callFrames)
             url = "(internal script)";
             lineNumber = "(line number)";
         }
-        var s = "    " + i + ") " + frame.functionName + " (" + url + ":" + lineNumber + ")";
+        var s = "    " + i + ") " + frame.functionName + " (" + url + (dropLineNumbers ? "" : ":" + lineNumber) + ")";
         InspectorTest.addResult(s);
     }
 };
index d9031071fe918db044eb13c4b0e292b3de66a451..ce53165e808e1da7102879587ea036884faf166b 100644 (file)
@@ -5,8 +5,8 @@ Script source was shown.
 Set timer for test function.
 Script execution paused.
 Call stack:
-    0)  (debugger-activation-crash2.html:9)
-    1) testFunction (debugger-activation-crash2.html:20)
+    0)  (debugger-activation-crash2.html)
+    1) testFunction (debugger-activation-crash2.html)
 Script execution resumed.
 Debugger was disabled.
 
index 92ce3e1564ca39b3c855d406cce3236aa0cdcb6f..b1a718ab1593c9b4208309a210a310e9bbc2c3ba 100644 (file)
@@ -40,7 +40,7 @@ function test() {
 
     function step3(callFrames)
     {
-        InspectorTest.captureStackTrace(callFrames);
+        InspectorTest.captureStackTrace(callFrames, true);
         InspectorTest.completeDebuggerTest();
     }
 }
diff --git a/LayoutTests/platform/chromium/inspector/debugger/debugger-activation-crash2-expected.txt b/LayoutTests/platform/chromium/inspector/debugger/debugger-activation-crash2-expected.txt
deleted file mode 100644 (file)
index d903107..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-Tests for a crash when paused at a breakpoint caused by inaccurate Activation records. Bug 57120
-
-Debugger was enabled.
-Script source was shown.
-Set timer for test function.
-Script execution paused.
-Call stack:
-    0)  (debugger-activation-crash2.html:9)
-    1) testFunction (debugger-activation-crash2.html:20)
-Script execution resumed.
-Debugger was disabled.
-