Re: [html-tests] Fix two problems of html/semantics/embedded-content/media-elements/interfaces/HTMLElement/HTMLTrackElement/src.html. (#2663)

HTML standard special-cases empty string:

> If the element has a src attribute **whose value is not the empty string** and whose value, when the attribute was set, could be successfully parsed relative to the element's node document, then the element's track URL is the resulting URL string. Otherwise, the element's track URL is the empty string.

For `\u0000`, I would prefer if the test was changed to `\u0000foo\u0000bar\u0000` => `foo%00bar`

https://html.spec.whatwg.org/multipage/embedded-content.html#attr-track-src

View on GitHub: https://github.com/w3c/web-platform-tests/pull/2663#issuecomment-193706980

Received on Tuesday, 8 March 2016 10:22:10 UTC