Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <!DOCTYPE html> | |
| 2 <html> | |
| 3 <head> | |
| 4 <script> | |
| 5 function importLoaded() | |
| 6 { | |
| 7 window.parent.titleText = target.import.querySelector('h1').innerHTML; | |
|
dominicc (has gone to gerrit)
2013/09/13 01:33:03
Heading text? This is a H1, not TITLE.
Hajime Morrita
2013/09/13 03:06:34
Done.
| |
| 8 window.parent.shouldBe("titleText", "'Hello'"); | |
|
dominicc (has gone to gerrit)
2013/09/13 01:33:03
Again, doesn't this needlessly switch from ' to "?
Hajime Morrita
2013/09/13 03:06:34
Done.
| |
| 9 window.parent.finishJSTest(); | |
| 10 } | |
| 11 </script> | |
| 12 <link id="target", rel="import" href="hello.html" onload="importLoaded()"> | |
|
dominicc (has gone to gerrit)
2013/09/13 01:33:03
Delete comma in the attribute list.
Hajime Morrita
2013/09/13 03:06:34
Done.
| |
| 13 </head> | |
| 14 <body> | |
| 15 </body> | |
| 16 </html> | |
| OLD | NEW |