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

Unified Diff: module.html

Issue 2555653002: [WIP Prototype] ES6 https://html.spec.whatwg.org/#fetch-a-single-module-script implementation (Closed)
Patch Set: rebased Created 3 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « depdep.js ('k') | module.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: module.html
diff --git a/module.html b/module.html
new file mode 100644
index 0000000000000000000000000000000000000000..ec4419b1cdd8d94073ed775a0f35bf599fde22d3
--- /dev/null
+++ b/module.html
@@ -0,0 +1,18 @@
+<!doctype HTML>
+<head>
+<body onload='console.log("onload")'>
+<script>
+internals.runtimeFlags.moduleScriptsEnabled = true;
+
+function errorHandler0(ev)
+{
+ console.log("Message = " + ev.message);
+}
+window.addEventListener("error", errorHandler0);
+
+</script>
+<script type="module" src="module.js" onerror="console.log(1)" onload="console.log(2)"></script>
+<script>
+testRunner.waitUntilDone();
+setTimeout(() => {testRunner.notifyDone();}, 100);
+</script>
« no previous file with comments | « depdep.js ('k') | module.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698