[Webkit-unassigned] [Bug 228198] [iOS]imported/w3c/web-platform-tests/html/dom/idlharness.https.html is failing

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jul 23 11:39:03 PDT 2021


https://bugs.webkit.org/show_bug.cgi?id=228198

--- Comment #8 from Chris Dumez <cdumez at apple.com> ---
The AudioTrack.kind setter is conditionally exposed:
`[SettingsConditionallyReadWrite=MediaSource] attribute DOMString kind;`

based on the MediaSource setting.
```
MediaSourceEnabled:
  type: bool
  defaultValue:
    WebKitLegacy:
      default: true
    WebKit:
      "PLATFORM(COCOA) && PLATFORM(MAC)": true
      "PLATFORM(COCOA) && !PLATFORM(MAC)": false
      default: true
    WebCore:
      "PLATFORM(COCOA) && PLATFORM(MAC)": true
      "PLATFORM(COCOA) && !PLATFORM(MAC)": false
      default: true
```

Based on WebPreferences.yaml, I would expect the setter to be exposed on macOS but not iOS.

I am a bit perplexed how we could be getting different results on iPhone and iPad here.

The text is not expecting a setter, and the setter is supposed to be disabled on iOS, as a result, our iOS-wk2 test expectations have:
`PASS AudioTrack interface: attribute kind`

The diff on "iOS 14 E Simulator wk2 on iPad" indicates AudioTrack.kind is unexpectedly getting a setter on iOS...

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210723/20a17fcd/attachment.htm>


More information about the webkit-unassigned mailing list