| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Distributed under both the W3C Test Suite License [1] and the W3C | 2 * Distributed under both the W3C Test Suite License [1] and the W3C |
| 3 * 3-clause BSD License [2]. To contribute to a W3C Test Suite, see the | 3 * 3-clause BSD License [2]. To contribute to a W3C Test Suite, see the |
| 4 * policies and contribution forms [3]. | 4 * policies and contribution forms [3]. |
| 5 * | 5 * |
| 6 * [1] http://www.w3.org/Consortium/Legal/2008/04-testsuite-license | 6 * [1] http://www.w3.org/Consortium/Legal/2008/04-testsuite-license |
| 7 * [2] http://www.w3.org/Consortium/Legal/2008/03-bsd-license | 7 * [2] http://www.w3.org/Consortium/Legal/2008/03-bsd-license |
| 8 * [3] http://www.w3.org/2004/10/27-testcases | 8 * [3] http://www.w3.org/2004/10/27-testcases |
| 9 * */ | 9 * */ |
| 10 | 10 |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 if (document.querySelector("script[data-prefixed-prototypes]")) { | 91 if (document.querySelector("script[data-prefixed-prototypes]")) { |
| 92 var prefixProtoData = document.querySelector("script[data-prefixed-proto
types]").dataset["prefixedPrototypes"]; | 92 var prefixProtoData = document.querySelector("script[data-prefixed-proto
types]").dataset["prefixedPrototypes"]; |
| 93 try { | 93 try { |
| 94 var prefixedPrototypes = JSON.parse(prefixProtoData); | 94 var prefixedPrototypes = JSON.parse(prefixProtoData); |
| 95 } catch (e) { | 95 } catch (e) { |
| 96 throw "couldn't parse data-prefixed-prototypes as JSON:" + e; | 96 throw "couldn't parse data-prefixed-prototypes as JSON:" + e; |
| 97 } | 97 } |
| 98 prefixedPrototypes.forEach(setPrototypeAlias); | 98 prefixedPrototypes.forEach(setPrototypeAlias); |
| 99 } | 99 } |
| 100 })(); | 100 })(); |
| OLD | NEW |