Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(329)

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/resources/vendor-prefix.js

Issue 1993513002: Move the shadow-dom directory from web-platform-tests/ to wpt/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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 })();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698