Changeset 255154 in webkit


Ignore:
Timestamp:
Jan 27, 2020 10:54:13 AM (4 years ago)
Author:
Devin Rousso
Message:

REGRESSION: [ Mac Debug WK1 ] inspector/page/overrideSetting-ICECandidateFilteringEnabled.html is a flaky failure
https://bugs.webkit.org/show_bug.cgi?id=206362
<rdar://problem/58649476>

Reviewed by Brian Burg.

Tentative fix. Modifying the iceCandidateFilteringEnabled WebCore setting causes any
existing/pending ICE candidates to immediately fire icecandidate events. Wait to change
the setting using Page.overrideSetting until after the JavaScript has set up the various
connections so that it's guaranteed to not miss any icecandidate events. Additionally
remove the default 10s timeout in case the debug build is too slow.

  • inspector/page/overrideSetting-ICECandidateFilteringEnabled.html:
  • inspector/page/overrideSetting-ICECandidateFilteringEnabled-expected.txt:
  • platform/mac-wk1/TestExpectations:
Location:
trunk/LayoutTests
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r255153 r255154  
     12020-01-27  Devin Rousso  <drousso@apple.com>
     2
     3        REGRESSION: [ Mac Debug WK1 ] inspector/page/overrideSetting-ICECandidateFilteringEnabled.html is a flaky failure
     4        https://bugs.webkit.org/show_bug.cgi?id=206362
     5        <rdar://problem/58649476>
     6
     7        Reviewed by Brian Burg.
     8
     9        Tentative fix. Modifying the `iceCandidateFilteringEnabled` WebCore setting causes any
     10        existing/pending ICE candidates to immediately fire `icecandidate` events. Wait to change
     11        the setting using `Page.overrideSetting` until after the JavaScript has set up the various
     12        connections so that it's guaranteed to not miss any `icecandidate` events. Additionally
     13        remove the default 10s timeout in case the debug build is too slow.
     14
     15        * inspector/page/overrideSetting-ICECandidateFilteringEnabled.html:
     16        * inspector/page/overrideSetting-ICECandidateFilteringEnabled-expected.txt:
     17        * platform/mac-wk1/TestExpectations:
     18
    1192020-01-27  Chris Dumez  <cdumez@apple.com>
    220
  • trunk/LayoutTests/inspector/page/overrideSetting-ICECandidateFilteringEnabled-expected.txt

    r245363 r255154  
    44== Running test suite: Page.overrideSetting
    55-- Running test case: Page.overrideSetting.ICECandidateFilteringEnabled
    6 Overriding ICECandidateFilteringEnabled to false...
    76Creating data channel...
    87PASS: created offer
  • trunk/LayoutTests/inspector/page/overrideSetting-ICECandidateFilteringEnabled.html

    r251227 r255154  
    5050        description: "Test that changing whether ice candidate filtering is enabled has an effect.",
    5151        async test() {
    52             InspectorTest.log("Overriding ICECandidateFilteringEnabled to false...");
    53             await PageAgent.overrideSetting(InspectorBackend.Enum.Page.Setting.ICECandidateFilteringEnabled, false);
    54 
    5552            let [overriddenResult] = await Promise.all([
    5653                InspectorTest.awaitEvent("DataChannel"),
    5754                InspectorTest.evaluateInPage(`createDataChannel()`),
    58             ])
     55                PageAgent.overrideSetting(InspectorBackend.Enum.Page.Setting.ICECandidateFilteringEnabled, false),
     56            ]);
    5957            InspectorTest.expectThat(overriddenResult.data.success, "Should be able to establish a connection when filtering ice candidates.");
    6058        },
     59        timeout: -1,
    6160    });
    6261
  • trunk/LayoutTests/platform/mac-wk1/TestExpectations

    r254890 r255154  
    850850webkit.org/b/199117 [ Debug ] storage/indexeddb/modern/objectstore-autoincrement-types.html [ Timeout ]
    851851
    852 webkit.org/b/206362 [ Debug ] inspector/page/overrideSetting-ICECandidateFilteringEnabled.html [ Failure Pass ]
    853 
    854852webkit.org/b/206503 [ Mojave ] imported/w3c/web-platform-tests/html/dom/idlharness.worker.html [ Failure ]
Note: See TracChangeset for help on using the changeset viewer.