Revision 7d92dbd58ac296da6fb2e24d9c9758775e873088 authored by Mike West on 06 December 2018, 10:19:53 UTC, committed by Chromium WPT Sync on 06 December 2018, 10:19:53 UTC
This patch adjusts `ScriptURLString` to be a union including `USVString`,
not `DOMString`. The advice in [WebIDL][1] isn't exactly clear, but it
boils down to @domenic's notes in [heycam/webidl#84][2] and
[w3ctag/design-principles#93][3].

Long story short, URLs are `USVString`. This patch adjusts our
implementation to match.

[1]: https://heycam.github.io/webidl/#idl-USVString
[2]: https://github.com/heycam/webidl/issues/84#issuecomment-300857185
[3]: https://github.com/w3ctag/design-principles/issues/93#issuecomment-379816152

Change-Id: I9bf1240b421287d7d9c291b13d887ca981a66231
1 parent 93af5d9
History
File Mode Size
gradient
parsing
support
META.yml -rw-r--r-- 102 bytes
css-image-fallbacks-and-annotations-ref.html -rw-r--r-- 424 bytes
css-image-fallbacks-and-annotations.html -rw-r--r-- 755 bytes
css-image-fallbacks-and-annotations002.html -rw-r--r-- 715 bytes
css-image-fallbacks-and-annotations003.html -rw-r--r-- 844 bytes
css-image-fallbacks-and-annotations004.html -rw-r--r-- 797 bytes
css-image-fallbacks-and-annotations005.html -rw-r--r-- 857 bytes
gradient-border-box-ref.html -rw-r--r-- 258 bytes
gradient-border-box.html -rw-r--r-- 665 bytes
gradient-button-ref.html -rw-r--r-- 398 bytes
gradient-button.html -rw-r--r-- 520 bytes
gradient-content-box-ref.html -rw-r--r-- 326 bytes
gradient-content-box.html -rw-r--r-- 611 bytes
gradient-crash.html -rw-r--r-- 421 bytes
gradient-move-stops-ref.html -rw-r--r-- 329 bytes
gradient-move-stops.html -rw-r--r-- 542 bytes
gradients-with-border-ref.html -rw-r--r-- 1.0 KB
gradients-with-border.html -rw-r--r-- 1.1 KB
gradients-with-transparent-ref.html -rw-r--r-- 529 bytes
gradients-with-transparent.html -rw-r--r-- 866 bytes
idlharness.html -rw-r--r-- 456 bytes
image-fit-001.xht -rw-r--r-- 750 bytes
image-fit-006.xht -rw-r--r-- 1.1 KB
linear-gradient-1.html -rw-r--r-- 587 bytes
linear-gradient-2.html -rw-r--r-- 583 bytes
linear-gradient-ref.html -rw-r--r-- 315 bytes
multiple-position-color-stop-conic.html -rw-r--r-- 482 bytes
multiple-position-color-stop-linear-2-ref.html -rw-r--r-- 205 bytes
multiple-position-color-stop-linear-2.html -rw-r--r-- 535 bytes
multiple-position-color-stop-linear.html -rw-r--r-- 488 bytes
multiple-position-color-stop-radial-2-ref.html -rw-r--r-- 202 bytes
multiple-position-color-stop-radial-2.html -rw-r--r-- 532 bytes
multiple-position-color-stop-radial.html -rw-r--r-- 514 bytes
tiled-gradients-ref.html -rw-r--r-- 784 bytes
tiled-gradients.html -rw-r--r-- 719 bytes
tiled-radial-gradients-ref.html -rw-r--r-- 850 bytes
tiled-radial-gradients.html -rw-r--r-- 973 bytes

back to top