Changeset 252305 in webkit


Ignore:
Timestamp:
Nov 8, 2019 10:27:57 PM (4 years ago)
Author:
yurys@chromium.org
Message:

New test inspector-protocol/page/archive.html added in r154828 fails on EFL, Qt, GTK
https://bugs.webkit.org/show_bug.cgi?id=120682

Reviewed by Devin Rousso.

Generate custom expectations for inspector-protocol/page/archive.html on the platforms
where Page.archive is not supported yet.

  • inspector/page/archive.html: 'Not supported' is a valid response on some platforms.
  • platform/gtk/TestExpectations:
  • platform/gtk/inspector/page/archive-expected.txt: Added.
Location:
trunk/LayoutTests
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r252276 r252305  
     12019-11-08  Yury Semikhatsky  <yurys@chromium.org>
     2
     3        New test inspector-protocol/page/archive.html added in r154828 fails on EFL, Qt, GTK
     4        https://bugs.webkit.org/show_bug.cgi?id=120682
     5
     6        Reviewed by Devin Rousso.
     7
     8        Generate custom expectations for inspector-protocol/page/archive.html on the platforms
     9        where Page.archive is not supported yet.
     10
     11        * inspector/page/archive.html: 'Not supported' is a valid response on some platforms.
     12        * platform/gtk/TestExpectations:
     13        * platform/gtk/inspector/page/archive-expected.txt: Added.
     14
    1152019-11-08  Peng Liu  <peng.liu6@apple.com>
    216
  • trunk/LayoutTests/inspector/page/archive.html

    r248943 r252305  
    77    InspectorProtocol.sendCommand("Page.enable", {});
    88    InspectorProtocol.sendCommand("Page.archive", {}, function(event) {
    9         var data = event.result.data;
    10         if (!data)
    11             ProtocolTest.log("FAIL: no data");
    12         else if (data.length < 1000)
    13             ProtocolTest.log("FAIL: unexpectedly short data. A serialized archive should be pretty large.");
    14         else
    15             ProtocolTest.log("PASS: Received archive data.");
    16 
     9        if (event.error) {
     10            ProtocolTest.fail(`Page.archive returned error: '${event.error.message}'.`);
     11        } else {
     12            let data = event.result.data;
     13            if (!data)
     14                ProtocolTest.fail("no data");
     15            else if (data.length < 1000)
     16                ProtocolTest.fail("unexpectedly short data. A serialized archive should be pretty large.");
     17            else
     18                ProtocolTest.pass("Received archive data.");
     19        }
    1720        ProtocolTest.completeTest();
    1821    });
  • trunk/LayoutTests/platform/gtk/TestExpectations

    r252276 r252305  
    23192319webkit.org/b/116957 media/track/track-automatic-subtitles.html [ Timeout ]
    23202320
    2321 webkit.org/b/120682 inspector/page/archive.html [ Timeout ]
    2322 
    23232321webkit.org/b/147518 inspector/debugger/nested-inspectors.html [ Timeout ]
    23242322
Note: See TracChangeset for help on using the changeset viewer.