Implement [LegacyWindowAlias] extended attribute (for WebKitCSSMatrix, webkitURL)
Categories
(Core :: DOM: Bindings (WebIDL), enhancement, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox69 | --- | fixed |
People
(Reporter: zcorpan, Assigned: saschanaz)
References
Details
(Keywords: dev-doc-complete)
Attachments
(1 file)
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 Change for Geometry APIs (for WebKitCSSMatrix): https://github.com/w3c/fxtf-drafts/pull/167 https://github.com/w3c/web-platform-tests/pull/5991 Gecko bug for webkitURL: https://bugzilla.mozilla.org/show_bug.cgi?id=1366734
Comment 2•7 years ago
|
||
Yes, we should but it requires an important change in the WebIDL codegen. A temporary solution would be use NamedConstructor as discussed here: https://github.com/heycam/webidl/issues/362#issuecomment-302044931
Comment 3•7 years ago
|
||
Andrea and I discussed this and it doesn't seem important to tackle this before Firefox 57, especially as bz said it would be non-trivial.
Updated•7 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 4•5 years ago
|
||
Add [LegacyWindowAlias] extended attribute support for WebKitCSSMatrix and webkitURL.
Updated•5 years ago
|
Assignee | ||
Updated•5 years ago
|
Pushed by aiakab@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/509af1e0771d
Implement [LegacyWindowAlias] r=bzbarsky
Comment 6•5 years ago
|
||
Backed out changeset 509af1e0771d for causing failures in test_WebKitCSSMatrix.html
Backout link: https://hg.mozilla.org/integration/autoland/rev/a70f62521b875857e709f4120006ac2429c869c2
Failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=254553208&repo=autoland&lineNumber=32339
[task 2019-07-03T07:10:30.318Z] 07:10:30 INFO - TEST-UNEXPECTED-FAIL | dom/tests/mochitest/general/test_WebKitCSSMatrix.html | Test that inverting an invertible matrix throws. - Test that inverting an invertible matrix throws.: assert_throws: Inverting an invertible matrix should throw. function "function() { m.inverse(); }" did not throw
[task 2019-07-03T07:10:30.318Z] 07:10:30 INFO - TEST-PASS | dom/tests/mochitest/general/test_WebKitCSSMatrix.html | Test for WebKitCSSMatrix - Test for WebKitCSSMatrix: Elided 4 passes or known failures.
Assignee | ||
Updated•5 years ago
|
Pushed by aiakab@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/a618b9ef5080
Implement [LegacyWindowAlias] r=bzbarsky
Comment 8•5 years ago
|
||
bugherder |
Comment 9•5 years ago
|
||
After review, I do not believe anything here reaches the level of needing to be documented on MDN. If anyone can think of a reason that wouldn't be true, let me know.
Reporter | ||
Comment 10•5 years ago
|
||
https://developer.mozilla.org/en-US/docs/Web/API/CSSMatrix
I think this should redirect to https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix and this should say that SVGMatrix and WebKitCSSMatrix are legacy aliases to DOMMatrix in a Window context. (Though SVGMatrix is not yet implemented as an alias.) Recommend using DOMMatrix instead of WebKitCSSMatrix.
https://developer.mozilla.org/en-US/docs/Web/API/URL could say that webkitURL
exists as a legacy alias in a Window context. Recommend using URL instead.
Reporter | ||
Comment 12•4 years ago
|
||
Adding back dev-doc-needed for my above comment
Reporter | ||
Comment 13•4 months ago
|
||
It looks like my suggestion above have been implemented for https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix .
I created https://github.com/mdn/content/pull/31015 for webkitURL
.
Description
•