[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-9427-gc2be6fc

yurys at chromium.org yurys at chromium.org
Wed Dec 22 13:11:37 UTC 2010


The following commit has been merged in the debian/experimental branch:
commit 030b5f06d9a8c5d0f341b36b5dedfbf05d22d882
Author: yurys at chromium.org <yurys at chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Wed Sep 8 18:07:12 2010 +0000

    2010-09-08  Yury Semikhatsky  <yurys at chromium.org>
    
            Reviewed by Joseph Pecoraro.
    
            Web Inspector: remove some obsolete interactive tests
            https://bugs.webkit.org/show_bug.cgi?id=45371
    
            * src/js/Tests.js:
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66996 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebKit/chromium/ChangeLog b/WebKit/chromium/ChangeLog
index dd67115..567eb75 100644
--- a/WebKit/chromium/ChangeLog
+++ b/WebKit/chromium/ChangeLog
@@ -1,3 +1,12 @@
+2010-09-08  Yury Semikhatsky  <yurys at chromium.org>
+
+        Reviewed by Joseph Pecoraro.
+
+        Web Inspector: remove some obsolete interactive tests
+        https://bugs.webkit.org/show_bug.cgi?id=45371
+
+        * src/js/Tests.js:
+
 2010-09-08  Hans Wennborg  <hans at chromium.org>
 
         Reviewed by Jeremy Orlow.
diff --git a/WebKit/chromium/src/js/Tests.js b/WebKit/chromium/src/js/Tests.js
index 8269022..f528d2d 100644
--- a/WebKit/chromium/src/js/Tests.js
+++ b/WebKit/chromium/src/js/Tests.js
@@ -219,40 +219,6 @@ TestSuite.prototype.addSniffer = function(receiver, methodName, override, opt_st
 
 
 /**
- * Tests that the real injected host is present in the context.
- */
-TestSuite.prototype.testHostIsPresent = function()
-{
-    this.assertTrue(typeof InspectorFrontendHost === "object" && !InspectorFrontendHost.isStub);
-};
-
-
-/**
- * Tests elements tree has an "HTML" root.
- */
-TestSuite.prototype.testElementsTreeRoot = function()
-{
-    var doc = WebInspector.domAgent.document;
-    this.assertEquals("HTML", doc.documentElement.nodeName);
-    this.assertTrue(doc.documentElement.hasChildNodes());
-};
-
-
-/**
- * Tests that main resource is present in the system and that it is
- * the only resource.
- */
-TestSuite.prototype.testMainResource = function()
-{
-    var tokens = [];
-    var resources = WebInspector.resources;
-    for (var id in resources)
-        tokens.push(resources[id].lastPathComponent);
-    this.assertEquals("simple_page.html", tokens.join(","));
-};
-
-
-/**
  * Tests that resources tab is enabled when corresponding item is selected.
  */
 TestSuite.prototype.testEnableResourcesTab = function()
@@ -799,54 +765,6 @@ TestSuite.prototype.evaluateInConsole_ = function(code, callback)
 
 
 /**
- * Tests eval on call frame.
- */
-TestSuite.prototype.testEvalOnCallFrame = function()
-{
-    this.showPanel("scripts");
-
-    var breakpointLine = 16;
-
-    var test = this;
-    this._waitUntilScriptsAreParsed(["debugger_test_page.html"],
-        function() {
-          test.showMainPageScriptSource_(
-              "debugger_test_page.html",
-              function(view, url) {
-                  view._addBreakpoint(breakpointLine);
-
-                  // Since breakpoints are ignored in evals' calculate() function is
-                  // execute after zero-timeout so that the breakpoint is hit.
-                  test.evaluateInConsole_(
-                      'setTimeout("calculate(123)" , 0)',
-                      function(resultText) {
-                          test.assertTrue(!isNaN(resultText), "Failed to get timer id: " + resultText);
-                          waitForBreakpointHit();
-                      });
-              });
-        });
-
-    function waitForBreakpointHit() {
-      test.addSniffer(WebInspector,
-          "pausedScript",
-          function(callFrames) {
-            test.assertEquals(2, callFrames.length, "Unexpected stack depth on the breakpoint. " + JSON.stringify(callFrames, null, 4));
-            test.assertEquals("calculate", callFrames[0].functionName, "Unexpected top frame function.");
-            // Evaluate "e+1" where "e" is an argument of "calculate" function.
-            test.evaluateInConsole_(
-                "e+1",
-                function(resultText) {
-                    test.assertEquals("124", resultText, 'Unexpected "e+1" value.');
-                    test.releaseControl();
-                });
-          });
-    }
-
-    this.takeControl();
-};
-
-
-/**
  * Tests that console auto completion works when script execution is paused.
  */
 TestSuite.prototype.testCompletionOnPause = function()
@@ -1329,48 +1247,6 @@ TestSuite.createKeyEvent = function(keyIdentifier)
 
 
 /**
- * Tests the message loop re-entrancy.
- */
-TestSuite.prototype.testMessageLoopReentrant = function()
-{
-    var test = this;
-    this.showPanel("scripts");
-
-    var breakpointLine = 16;
-
-    WebInspector.showConsole();
-
-    this._waitUntilScriptsAreParsed(["debugger_test_page.html"],
-        function() {
-          test.showMainPageScriptSource_(
-              "debugger_test_page.html",
-              function(view, url) {
-                view._addBreakpoint(breakpointLine);
-
-                test.evaluateInConsole_(
-                    'setTimeout("calculate()", 0)',
-                    function(resultText) {
-                      test.assertTrue(!isNaN(resultText), "Failed to get timer id: " + resultText);
-                    });
-
-              });
-        });
-
-    // Wait until script is paused.
-    this.addSniffer(
-        WebInspector,
-        "pausedScript",
-        function(callFrames) {
-            test.evaluateInConsole_(
-                'document.cookie',
-                test.releaseControl.bind(test)); // This callback will be invoked only if the test succeeds (i.e. no crash).
-        });
-
-    this.takeControl();
-};
-
-
-/**
  * Tests that Storage panel can be open and that local DOM storage is added
  * to the panel.
  */

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list