OLD | NEW |
---|---|
(Empty) | |
1 <!DOCTYPE html> | |
2 <script src="../../resources/testharness.js"></script> | |
3 <script src="../../resources/testharnessreport.js"></script> | |
4 <script> | |
5 let constructors = []; | |
6 </script> | |
7 | |
8 <link rel="import" href="resources/parser-customize.html"> | |
dominicc (has gone to gerrit)
2016/08/19 04:54:11
So... this blocks script, not parsing. Why can you
kochi
2016/08/19 10:51:48
Talked offline, this was based on my misunderstand
| |
9 | |
10 <parser-customize></parser-customize> | |
11 | |
12 <script> | |
13 test(() => { | |
14 assert_equals(constructors.length, 3); | |
15 assert_equals(constructors[0], 'parser-customize'); | |
16 assert_equals(constructors[1], 'parser-customize'); | |
17 assert_equals(constructors[2], 'parser-customize'); | |
18 }, 'Parser should customize and synchronously call the constructor.'); | |
19 </script> | |
OLD | NEW |