https://github.com/web-platform-tests/wpt
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
Tip revision: 7d92dbd58ac296da6fb2e24d9c9758775e873088 authored by Mike West on 06 December 2018, 10:19:53 UTC
Trusted Types: URLs should be USVString, not DOMString.
Tip revision: 7d92dbd
File Mode Size
META.yml -rw-r--r-- 102 bytes
historical.html -rw-r--r-- 1.9 KB
idlharness.window.js -rw-r--r-- 468 bytes
multi-touch-interactions-manual.html -rw-r--r-- 1.4 KB
multi-touch-interactions.js -rw-r--r-- 17.9 KB
multi-touch-interfaces-manual.html -rw-r--r-- 9.9 KB
single-touch-manual.html -rw-r--r-- 14.7 KB
touch-globaleventhandler-interface.html -rw-r--r-- 1.7 KB
touch-retargeting.html -rw-r--r-- 1.5 KB
touch-support.js -rw-r--r-- 3.7 KB
touch-touchevent-constructor.html -rw-r--r-- 6.1 KB

back to top