Changeset 202783 in webkit


Ignore:
Timestamp:
Jul 2, 2016 8:32:18 PM (8 years ago)
Author:
commit-queue@webkit.org
Message:

Web Inspector: Fix inspector/debugger/pause-reason.html
https://bugs.webkit.org/show_bug.cgi?id=159325

Patch by Joseph Pecoraro <Joseph Pecoraro> on 2016-07-02
Reviewed by Timothy Hatcher.

  • platform/mac/TestExpectations:
  • inspector/debugger/pause-reason.html:

This test was pausing on inspector code (evaluateInPage) and
auto-resuming. Instead change the test to pause on the page
doing the setTimeout, so we get the expected pause on next
statement evaluation.

Location:
trunk/LayoutTests
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r202777 r202783  
     12016-07-02  Joseph Pecoraro  <pecoraro@apple.com>
     2
     3        Web Inspector: Fix inspector/debugger/pause-reason.html
     4        https://bugs.webkit.org/show_bug.cgi?id=159325
     5
     6        Reviewed by Timothy Hatcher.
     7
     8        * platform/mac/TestExpectations:
     9        * inspector/debugger/pause-reason.html:
     10        This test was pausing on inspector code (evaluateInPage) and
     11        auto-resuming. Instead change the test to pause on the page
     12        doing the setTimeout, so we get the expected pause on next
     13        statement evaluation.
     14
    1152016-07-02  Frederic Wang  <fred.wang@free.fr>
    216
  • trunk/LayoutTests/inspector/debugger/pause-reason.html

    r188059 r202783  
    1717        { expression: "setTimeout(triggerAssert, 0)" },
    1818        { expression: "setTimeout(triggerBreakpoint, 0)" },
    19         { expression: "setTimeout(function() { 1+1 }, 0)", setup: function() { WebInspector.debuggerManager.pause(); } },
     19        { expression: "setTimeout(function() { 1+1; }, 50)", setup: function() { WebInspector.debuggerManager.pause(); } },
    2020    ];
    2121
     
    2828        }
    2929
     30        InspectorTest.evaluateInPage(test.expression);
     31
    3032        if (test.setup)
    3133            test.setup();
    32 
    33         InspectorTest.evaluateInPage(test.expression);
    3434    }
    3535
  • trunk/LayoutTests/platform/mac/TestExpectations

    r202772 r202783  
    746746inspector/debugger/didSampleProbe-multiple-probes.html
    747747inspector/debugger/nested-inspectors.html
    748 inspector/debugger/pause-reason.html
    749748
    750749webkit.org/b/124311 compositing/regions/transform-transparent-positioned-video-inside-region.html [ ImageOnlyFailure ]
Note: See TracChangeset for help on using the changeset viewer.