Changeset 97060 in webkit


Ignore:
Timestamp:
Oct 10, 2011 7:06:25 AM (12 years ago)
Author:
podivilov@chromium.org
Message:

2011-10-10 Pavel Podivilov <podivilov@chromium.org>

Unreviewed, fix test after r97056.

  • inspector/debugger/script-formatter-expected.txt:
  • inspector/debugger/script-formatter.html:
  • platform/chromium/test_expectations.txt:
Location:
trunk/LayoutTests
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r97056 r97060  
     12011-10-10  Pavel Podivilov  <podivilov@chromium.org>
     2
     3        Unreviewed, fix test after r97056.
     4
     5        * inspector/debugger/script-formatter-expected.txt:
     6        * inspector/debugger/script-formatter.html:
     7        * platform/chromium/test_expectations.txt:
     8
    192011-10-06  Pavel Podivilov  <podivilov@chromium.org>
    210
  • trunk/LayoutTests/inspector/debugger/script-formatter-expected.txt

    r88927 r97060  
    1919Running: testBreakpointsInOriginalAndFormattedSource
    2020Script execution paused.
    21 Call stack:
    22     0) f1 (script-formatter.html:12)
    23     1)  (script-formatter.html:1)
    2421Script execution resumed.
    2522Page reloaded.
     
    2825Navigated back to test page.
    2926Script execution paused.
    30 Call stack:
    31     0) f2 (script-formatter.html:17)
    32     1)  (script-formatter.html:1)
    3327Script execution resumed.
    3428
  • trunk/LayoutTests/inspector/debugger/script-formatter.html

    r95557 r97060  
    5555            function didShowScriptSource(sourceFrame)
    5656            {
    57                 formatter.formatContent("text/javascript", sourceFrame._content, didFormatContent);
     57                formatter.formatContent("text/javascript", sourceFrame._textModel.text, didFormatContent);
    5858            }
    5959
    6060            function didFormatContent(content, mapping)
    6161            {
    62                 var source = WebInspector.panels.scripts.visibleView._content;
     62                var source = WebInspector.panels.scripts.visibleView._textModel.text;
    6363                var formattedSource = content;
    6464
     
    126126            function pausedInF1(callFrames)
    127127            {
    128                 InspectorTest.captureStackTrace(callFrames);
     128                InspectorTest.assertEquals("f1", callFrames[0].functionName);
    129129                InspectorTest.resumeExecution(resumed);
    130130            }
     
    164164            function pausedInF2(callFrames)
    165165            {
    166                 InspectorTest.captureStackTrace(callFrames);
     166                InspectorTest.assertEquals("f2", callFrames[0].functionName);
    167167                panel._toggleFormatSource();
    168168                InspectorTest.resumeExecution(next);
  • trunk/LayoutTests/platform/chromium/test_expectations.txt

    r97034 r97060  
    157157WONTFIX SKIP : http/tests/websocket/tests/hixie76/workers/ = PASS TIMEOUT FAIL
    158158WONTFIX SKIP : http/tests/websocket/tests/hybi/workers/ = PASS TIMEOUT FAIL
    159 WONTFIX SKIP : inspector/debugger/script-formatter.html = PASS TIMEOUT FAIL
    160159WONTFIX SKIP : http/tests/inspector/network/network-shared-worker.html = PASS TIMEOUT FAIL
    161160WONTFIX SKIP : http/tests/inspector/network/network-worker.html = PASS TIMEOUT FAIL
Note: See TracChangeset for help on using the changeset viewer.