Commit 3a80353
authored
Stop using “strictly split” in “validate and extract”
This change causes the “validate and extract” algorithm to stop calling “strictly split” and instead split on the first colon only. Given the qualified name “foo:bar:baz”, that produces the local name “bar:baz”.
Otherwise, without this change, using “strictly split” produces the prefix “foo” and local name “bar" — discarding the “:baz” part.
Tests: web-platform-tests/wpt#58331.
Additional context: WICG/sanitizer-api#373. Fixes #1453.1 parent 73de9e5 commit 3a80353
1 file changed
Lines changed: 2 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
254 | 254 | | |
255 | 255 | | |
256 | 256 | | |
257 | | - | |
258 | | - | |
| 257 | + | |
259 | 258 | | |
260 | | - | |
261 | | - | |
262 | | - | |
| 259 | + | |
263 | 260 | | |
264 | 261 | | |
265 | 262 | | |
| |||
0 commit comments