window.webkitURL should not be enumerable / implement WebIDL [LegacyWindowAlias]

Confirmed Issue #12091311 • Assigned to Travis L.

Details

Author
Simon P.
Created
May 22, 2017
Privacy
This issue is public.
Found in
  • Microsoft Edge
Standard affected
URL Standard

Found in build #
14.14393
Reports
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

[LegacyWindowAlias] extended attribute in WebIDL

Background:
https://github.com/heycam/webidl/issues/362

Change for WebIDL:
https://github.com/heycam/webidl/pull/364
https://github.com/w3c/web-platform-tests/pull/5966

window.webkitURL

EdgeHTML exposes webkitURL in window, like Chromium and WebKit, but in a different way. The test fails because the property is enumerable in EdgeHTML. (I haven’t checked if there are other differences, but the test checks the relevant aspects.) This should be changed to follow the requirements for LegacyWindowAlias to be interoperable with Chromium/WebKit.

https://github.com/whatwg/url/issues/135
https://github.com/whatwg/url/pull/312
https://github.com/w3c/web-platform-tests/pull/6020
Result in Edge for /url/interfaces.any.html:

URL interface: legacy window alias  FAIL    assert_false: webkitURL is enumerable expected false got true

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “James M.”

      Changed Assigned To to “Travis L.”

      Changed Status to “Confirmed”

    You need to sign in to your Microsoft account to add a comment.

    Sign in