Changeset 252027 in webkit


Ignore:
Timestamp:
Nov 4, 2019 4:26:32 PM (4 years ago)
Author:
yurys@chromium.org
Message:

[GTK] Inspector protocol tests timing out on the bots
https://bugs.webkit.org/show_bug.cgi?id=122571

Reviewed by Devin Rousso.

Mark more inspector tests as passing on GTK.

  • inspector/dom/focus.html: Remove 'focus' event listener before closing dummy inspector

window. Otherwise it triggers a WebPage::setActivityState which in turn triggers focus
event on the page and on the focused element which results in two extra 'focus' lines printed.
To be clear this only avoids the extra text output that could be added to the output. Timeout
and crash problems must have been fixed before (likely by the recent changes in local inspector
client).

  • platform/gtk/TestExpectations:
Location:
trunk/LayoutTests
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r252008 r252027  
     12019-11-04  Yury Semikhatsky  <yurys@chromium.org>
     2
     3        [GTK] Inspector protocol tests timing out on the bots
     4        https://bugs.webkit.org/show_bug.cgi?id=122571
     5
     6        Reviewed by Devin Rousso.
     7
     8        Mark more inspector tests as passing on GTK.
     9
     10        * inspector/dom/focus.html: Remove 'focus' event listener before closing dummy inspector
     11        window. Otherwise it triggers a WebPage::setActivityState which in turn triggers focus
     12        event on the page and on the focused element which results in two extra 'focus' lines printed.
     13        To be clear this only avoids the extra text output that could be added to the output. Timeout
     14        and crash problems must have been fixed before (likely by the recent changes in local inspector
     15        client).
     16        * platform/gtk/TestExpectations:
     17
    1182019-11-04  Truitt Savell  <tsavell@apple.com>
    219
  • trunk/LayoutTests/inspector/dom/focus.html

    r210062 r252027  
    33<script src="../../http/tests/inspector/resources/protocol-test.js"></script>
    44<script>
     5
     6function focusListener()
     7{
     8    log("focused");
     9}
     10
    511window.addEventListener("load", function() {
    6     document.querySelector("#second").addEventListener("focus", function() {
    7         log("focused");
    8     });
     12    document.querySelector("#second").addEventListener("focus", focusListener);
    913});
     14
     15function removeFocusListener()
     16{
     17    document.querySelector("#second").removeEventListener("focus", focusListener);
     18}
    1019
    1120function test()
     
    3645        if (msg.error)
    3746            ProtocolTest.log(msg.error);
    38         ProtocolTest.completeTest();
     47        ProtocolTest.evaluateInPage("removeFocusListener()")
     48        .then(() => {
     49            ProtocolTest.completeTest();
     50        });
    3951    }
    4052}
  • trunk/LayoutTests/platform/gtk/TestExpectations

    r251998 r252027  
    23322332
    23332333webkit.org/b/147518 inspector/debugger/nested-inspectors.html [ Timeout ]
    2334 webkit.org/b/122571 http/tests/inspector/dom/cross-domain-inspected-node-access.html [ Timeout Pass ]
    2335 webkit.org/b/122571 inspector/dom/focus.html [ Failure Timeout Pass ]
    2336 webkit.org/b/122571 inspector/runtime/getProperties.html [ Timeout Pass Crash ]
    2337 webkit.org/b/122571 inspector/runtime/saveResult.html [ Timeout Pass Crash ]
    2338 webkit.org/b/122571 inspector/page/frameStartedLoading.html [ Timeout Pass ]
    2339 webkit.org/b/122571 inspector/page/frameScheduledNavigation.html [ Timeout Pass Crash ]
    2340 webkit.org/b/122571 inspector/page/setEmulatedMedia.html [ Timeout Pass ]
    2341 webkit.org/b/122571 inspector/css/getSupportedCSSProperties.html [ Timeout Pass ]
    23422334
    23432335Bug(GTK) plugins/reloadplugins-and-pages.html [ Timeout ]
Note: See TracChangeset for help on using the changeset viewer.