Changeset 230353 in webkit


Ignore:
Timestamp:
Apr 6, 2018 1:05:46 PM (6 years ago)
Author:
youenn@apple.com
Message:

Import wpt webaudio tests
https://bugs.webkit.org/show_bug.cgi?id=184348

Reviewed by Eric Carlson.

LayoutTests/imported/w3c:

  • resources/import-expectations.json:
  • web-platform-tests/webaudio/: Added.

LayoutTests:

  • TestExpectations:
  • resources/testharnessreport.js: Mock AudioContext with webkitAudioContext for wpt tests only.
Location:
trunk/LayoutTests
Files:
247 added
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r230350 r230353  
     12018-04-06  Youenn Fablet  <youenn@apple.com>
     2
     3        Import wpt webaudio tests
     4        https://bugs.webkit.org/show_bug.cgi?id=184348
     5
     6        Reviewed by Eric Carlson.
     7
     8        * TestExpectations:
     9        * resources/testharnessreport.js: Mock AudioContext with webkitAudioContext for wpt tests only.
     10
    1112018-04-06  Ms2ger  <Ms2ger@igalia.com>
    212
  • trunk/LayoutTests/TestExpectations

    r230330 r230353  
    10991099webkit.org/b/148884 imported/w3c/web-platform-tests/html/semantics/forms/textfieldselection/selection.html [ Pass Failure ]
    11001100
     1101# Does timeout
     1102imported/w3c/web-platform-tests/webaudio/idlharness.https.html [ Skip ]
     1103# Do assert in OfflineAudioContext
     1104[ Debug ] imported/w3c/web-platform-tests/webaudio/ [ Skip ]
     1105imported/w3c/web-platform-tests/webaudio/the-audio-api/the-channelmergernode-interface/audiochannelmerger-disconnect.html [ DumpJSConsoleLogInStdErr ]
     1106
    11011107webkit.org/b/148922 svg/as-object/svg-in-object-dynamic-attribute-change.html [ Pass ImageOnlyFailure ]
    11021108webkit.org/b/148925 svg/dom/svg-root-lengths.html [ Pass Failure ]
  • trunk/LayoutTests/imported/w3c/ChangeLog

    r230350 r230353  
     12018-04-06  Youenn Fablet  <youenn@apple.com>
     2
     3        Import wpt webaudio tests
     4        https://bugs.webkit.org/show_bug.cgi?id=184348
     5
     6        Reviewed by Eric Carlson.
     7
     8        * resources/import-expectations.json:
     9        * web-platform-tests/webaudio/: Added.
     10
    1112018-04-06  Ms2ger  <Ms2ger@igalia.com>
    212
  • trunk/LayoutTests/imported/w3c/resources/import-expectations.json

    r229937 r230353  
    328328    "web-platform-tests/web-animations": "skip",
    329329    "web-platform-tests/web-nfc": "skip",
    330     "web-platform-tests/webaudio": "skip",
     330    "web-platform-tests/webaudio": "import",
    331331    "web-platform-tests/webauthn": "skip",
    332332    "web-platform-tests/webdriver": "skip",
  • trunk/LayoutTests/imported/w3c/web-platform-tests/mediacapture-streams/MediaStreamTrack-MediaElement-disabled-audio-is-silence.https-expected.txt

    r223189 r230353  
    66
    77
    8 FAIL Tests that a disabled audio track in a MediaStream is rendered as silence Can't find variable: AudioContext
     8PASS Tests that a disabled audio track in a MediaStream is rendered as silence
    99
  • trunk/LayoutTests/imported/w3c/web-platform-tests/mediacapture-streams/MediaStreamTrackEvent-constructor.https-expected.txt

    r223189 r230353  
    22PASS The eventInitDict argument is required
    33PASS The eventInitDict's track member is required.
    4 FAIL The MediaStreamTrackEvent instance's track attribute is set. Can't find variable: AudioContext
     4PASS The MediaStreamTrackEvent instance's track attribute is set.
    55
  • trunk/LayoutTests/resources/testharnessreport.js

    r224157 r230353  
    2222    if (testRunner.timeout && (location.port == 8800 || location.port == 9443))
    2323        setTimeout(timeout, testRunner.timeout * 0.9);
     24
     25    // Make WebAudio map to webkitWebAudio for WPT tests
     26    if (location.port == 8800 || location.port == 9443) {
     27        self.AudioContext = self.webkitAudioContext;
     28        self.OfflineAudioContext = self.webkitOfflineAudioContext;
     29    }
    2430}
    2531
Note: See TracChangeset for help on using the changeset viewer.