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
resources
META.yml -rw-r--r-- 143 bytes
README.md -rw-r--r-- 171 bytes
document-domain.html -rw-r--r-- 508 bytes
eventTestHarness.js -rw-r--r-- 1.9 KB
event_basic.html -rw-r--r-- 373 bytes
event_basic.js -rw-r--r-- 4.6 KB
event_body_attribute.html -rw-r--r-- 397 bytes
event_body_attribute.js -rw-r--r-- 3.9 KB
event_case_sensitive.html -rw-r--r-- 391 bytes
event_case_sensitive.js -rw-r--r-- 1.3 KB
event_constructor.html -rw-r--r-- 3.3 KB
event_initstorageevent.html -rw-r--r-- 3.6 KB
event_local_key.html -rw-r--r-- 1.2 KB
event_local_newvalue.html -rw-r--r-- 1.3 KB
event_local_oldvalue.html -rw-r--r-- 1.3 KB
event_local_removeitem.html -rw-r--r-- 1.7 KB
event_local_storagearea.html -rw-r--r-- 1.3 KB
event_local_url.html -rw-r--r-- 1.4 KB
event_no_duplicates.html -rw-r--r-- 3.6 KB
event_session_key.html -rw-r--r-- 1.2 KB
event_session_newvalue.html -rw-r--r-- 1.3 KB
event_session_oldvalue.html -rw-r--r-- 1.3 KB
event_session_removeitem.html -rw-r--r-- 1.7 KB
event_session_storagearea.html -rw-r--r-- 1.4 KB
event_session_url.html -rw-r--r-- 1.4 KB
event_setattribute.html -rw-r--r-- 385 bytes
event_setattribute.js -rw-r--r-- 3.9 KB
idlharness.window.js -rw-r--r-- 742 bytes
missing_arguments.html -rw-r--r-- 1.0 KB
storage_builtins.html -rw-r--r-- 1.0 KB
storage_clear.html -rw-r--r-- 827 bytes
storage_enumerate.html -rw-r--r-- 2.4 KB
storage_functions_not_overwritten.html -rw-r--r-- 1.7 KB
storage_getitem.html -rw-r--r-- 2.0 KB
storage_in.html -rw-r--r-- 950 bytes
storage_indexing.html -rw-r--r-- 1.3 KB
storage_key.html -rw-r--r-- 1.9 KB
storage_key_empty_string.html -rw-r--r-- 604 bytes
storage_length.html -rw-r--r-- 934 bytes
storage_local-manual.html -rw-r--r-- 1.2 KB
storage_local_setitem_quotaexceedederr.html -rw-r--r-- 904 bytes
storage_local_window_open.html -rw-r--r-- 889 bytes
storage_removeitem.html -rw-r--r-- 1.6 KB
storage_session-manual.html -rw-r--r-- 1.2 KB
storage_session_setitem_quotaexceedederr.html -rw-r--r-- 914 bytes
storage_session_window_noopener.html -rw-r--r-- 1.1 KB
storage_session_window_open.html -rw-r--r-- 890 bytes
storage_set_value_enumerate.html -rw-r--r-- 887 bytes
storage_setitem.html -rw-r--r-- 7.5 KB
storage_string_conversion.html -rw-r--r-- 1.2 KB
storage_supported_property_names.html -rw-r--r-- 848 bytes

README.md

back to top