Changeset 76225 in webkit


Ignore:
Timestamp:
Jan 20, 2011 4:31:57 AM (13 years ago)
Author:
podivilov@chromium.org
Message:

2011-01-19 Pavel Podivilov <podivilov@chromium.org>

Reviewed by Eric Seidel.

Web Inspector: enable debugger-pause-on-breakpoint test (fixed by r76129).
https://bugs.webkit.org/show_bug.cgi?id=45291

  • http/tests/inspector/debugger-test2.js: (initialize_DebuggerTest.InspectorTest.setBreakpointInVisibleView):
  • inspector/debugger-breakpoints-not-activated-on-reload.html:
  • inspector/debugger-pause-on-breakpoint.html:
  • platform/gtk/Skipped:
  • platform/mac-leopard/Skipped:
  • platform/win/Skipped:
Location:
trunk/LayoutTests
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r76223 r76225  
     12011-01-19  Pavel Podivilov  <podivilov@chromium.org>
     2
     3        Reviewed by Eric Seidel.
     4
     5        Web Inspector: enable debugger-pause-on-breakpoint test (fixed by r76129).
     6        https://bugs.webkit.org/show_bug.cgi?id=45291
     7
     8        * http/tests/inspector/debugger-test2.js:
     9        (initialize_DebuggerTest.InspectorTest.setBreakpointInVisibleView):
     10        * inspector/debugger-breakpoints-not-activated-on-reload.html:
     11        * inspector/debugger-pause-on-breakpoint.html:
     12        * platform/gtk/Skipped:
     13        * platform/mac-leopard/Skipped:
     14        * platform/win/Skipped:
     15
    1162011-01-20  Philippe Normand  <pnormand@igalia.com>
    217
  • trunk/LayoutTests/http/tests/inspector/debugger-test2.js

    r76020 r76225  
    9191};
    9292
    93 InspectorTest.setBreakpoint = function(url, lineNumber, enabled, condition, callback)
    94 {
    95     var scripts = WebInspector.debuggerModel.scriptsForURL(url);
    96     for (var i = 0; i < scripts.length; ++i)
    97         WebInspector.debuggerModel.setBreakpoint(scripts[i].sourceID, lineNumber, enabled, condition);
     93InspectorTest.setBreakpointInVisibleView = function(lineNumber, enabled, condition)
     94{
     95    WebInspector.currentPanel.visibleView.sourceFrame._setBreakpoint(lineNumber, enabled, condition);
    9896}
    9997
  • trunk/LayoutTests/inspector/debugger-breakpoints-not-activated-on-reload.html

    r76020 r76225  
    2525    {
    2626        InspectorTest.addResult("Main resource was shown.");
    27         InspectorTest.setBreakpoint(WebInspector.mainResource.url, 8, true, "");
     27        InspectorTest.setBreakpointInVisibleView(8, true, "");
    2828        WebInspector.panels.scripts.toggleBreakpointsButton.element.click();
    2929        InspectorTest.reloadPage(step4);
  • trunk/LayoutTests/inspector/debugger-pause-on-breakpoint.html

    r76020 r76225  
    2323    {
    2424        InspectorTest.addResult("Script source was shown.");
    25         InspectorTest.setBreakpoint(WebInspector.mainResource.url, 9, true, "");
     25        InspectorTest.setBreakpointInVisibleView(8, true, "");
    2626        InspectorTest.runTestFunctionAndWaitUntilPaused(step3);
    2727    }
  • trunk/LayoutTests/platform/gtk/Skipped

    r76223 r76225  
    53725372inspector/debugger-breakpoints-not-activated-on-reload.html
    53735373
    5374 # Inlined scripts has wrong starting line (always 1).
    5375 # https://bugs.webkit.org/show_bug.cgi?id=45291
    5376 inspector/debugger-pause-on-breakpoint.html
    5377 
    53785374# Fails because multiple clicks in a row in the same place
    53795375# register as a triple-click even though the mouse have moved
  • trunk/LayoutTests/platform/mac-leopard/Skipped

    r75954 r76225  
    193193# https://bugs.webkit.org/show_bug.cgi?id=50468
    194194fast/text/font-size-zero.html
    195 
    196 # inspector flake
    197 inspector/debugger-pause-on-breakpoint.html
  • trunk/LayoutTests/platform/win/Skipped

    r76198 r76225  
    321321# Failing in Release builds http://webkit.org/b/46976
    322322fast/js/sputnik/Conformance/11_Expressions/11.7_Bitwise_Shift_Operators/11.7.3_The_Unsigned_Right_Shift_Operator/S11.7.3_A2.3_T1.html
    323 
    324 # Timing out http://webkit.org/b/46977
    325 inspector/debugger-pause-on-breakpoint.html
    326323
    327324# Sometimes fails https://webkit.org/b/49412
Note: See TracChangeset for help on using the changeset viewer.