Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <!DOCTYPE html> | |
| 2 <link id="import1" rel="import" href="resources/import-define.html" /> | |
| 3 <script src="../../resources/testharness.js"></script> | |
| 4 <script src="../../resources/testharnessreport.js"></script> | |
| 5 <x-x></x-x> | |
| 6 <script> | |
| 7 'use strict' | |
| 8 setup({ explicit_done: true }); | |
| 9 window.onload = function () { | |
| 10 test(() => { | |
| 11 assert_equals(reactions.length, 2); | |
| 12 }, 'Upgrade elements in master and import'); | |
| 13 | |
| 14 let elementsInMaster = document.getElementsByTagName('x-x'); | |
| 15 let elementsInImport = import1.import.getElementsByTagName('x-x'); | |
| 16 test(() => { | |
| 17 assert_equals(reactions[0].element, elementsInImport[0]); | |
|
dominicc (has gone to gerrit)
2016/08/22 01:46:36
I think I have mentioned this a few times, but sim
kochi
2016/08/22 07:37:34
Done.
| |
| 18 assert_equals(reactions[1].element, elementsInMaster[0]); | |
| 19 }, 'Upgrade elements in import first'); | |
| 20 | |
| 21 done(); | |
| 22 }; | |
| 23 </script> | |
| OLD | NEW |