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

Side by Side Diff: sky/tests/modules/import-without-export.sky

Issue 690483002: Don't crash when importing a module that doesn't export (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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 <html> 1 <html>
2 <link rel="import" href="resources/does-not-exist.sky" as="hello" /> 2 <link rel="import" href="resources/does-not-export.sky" as="hello" />
3 <link rel="import" href="../resources/dump-as-text.sky" /> 3 <link rel="import" href="../resources/dump-as-text.sky" />
4 <div id="result">FAIL - Script did not execute</div> 4 <div id="result">FAIL - Script did not execute</div>
5 <script> 5 <script>
6 document.getElementById("result").textContent = 6 document.getElementById("result").textContent =
7 hello === undefined ? "PASS" : "FAIL"; 7 hello === undefined ? "PASS" : "FAIL";
8 </script> 8 </script>
9 </html> 9 </html>
OLDNEW
« no previous file with comments | « sky/engine/bindings/core/v8/ScriptController.cpp ('k') | sky/tests/modules/import-without-export-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698