Bug 1806964 Comment 3 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

Thanks, good to know.

I guess that leaves us on-our-own, since https://github.com/mozilla/standards-positions/issues/718#issuecomment-1403709611 notes that Safari already rejects (never allowed?) data URIs in <use>, apparently.

I did a quick grep for these in our codebase to look at impact on our tests, frontend code, etc. I only found a few, pretty trivial to fix up/remove:
* One reftest testing that the data URIs do work in use: https://searchfox.org/mozilla-central/rev/87ba454e5c68ff77dff9acb9d7b0b51d6df12d11/layout/reftests/svg/use-extref-dataURI-01.svg#11

* One WPT test (which we [currently fail](https://searchfox.org/mozilla-central/rev/87ba454e5c68ff77dff9acb9d7b0b51d6df12d11/testing/web-platform/meta/svg/struct/reftests/use-data-url.tentative.svg.ini)) testing the opposite, i.e. asserting that data URIs do *not* work:
https://searchfox.org/mozilla-central/rev/87ba454e5c68ff77dff9acb9d7b0b51d6df12d11/testing/web-platform/tests/svg/struct/reftests/use-data-url.tentative.svg#6

* Two crashtests with `<use>` pointing at a data URI:
https://searchfox.org/mozilla-central/rev/87ba454e5c68ff77dff9acb9d7b0b51d6df12d11/layout/svg/crashtests/732836-1.svg#4
https://searchfox.org/mozilla-central/rev/87ba454e5c68ff77dff9acb9d7b0b51d6df12d11/dom/base/crashtests/658845-1.svg#2
Thanks, good to know.

I guess that leaves us on-our-own, since https://github.com/mozilla/standards-positions/issues/718#issuecomment-1403709611 notes that Safari already rejects (never allowed?) data URIs in <use>, apparently.

I did a quick grep for these in our codebase to look at impact on our tests, frontend code, etc. I only found a few, pretty trivial to fix up/remove:
* One reftest testing that the data URIs do work in use:
https://searchfox.org/mozilla-central/rev/87ba454e5c68ff77dff9acb9d7b0b51d6df12d11/layout/reftests/svg/use-extref-dataURI-01.svg#11

* One WPT test (which we [currently fail](https://searchfox.org/mozilla-central/rev/87ba454e5c68ff77dff9acb9d7b0b51d6df12d11/testing/web-platform/meta/svg/struct/reftests/use-data-url.tentative.svg.ini)) testing the opposite, i.e. asserting that data URIs do *not* work:
https://searchfox.org/mozilla-central/rev/87ba454e5c68ff77dff9acb9d7b0b51d6df12d11/testing/web-platform/tests/svg/struct/reftests/use-data-url.tentative.svg#6

* Two crashtests with `<use>` pointing at a data URI:
https://searchfox.org/mozilla-central/rev/87ba454e5c68ff77dff9acb9d7b0b51d6df12d11/layout/svg/crashtests/732836-1.svg#4
https://searchfox.org/mozilla-central/rev/87ba454e5c68ff77dff9acb9d7b0b51d6df12d11/dom/base/crashtests/658845-1.svg#2

Back to Bug 1806964 Comment 3