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

Side by Side Diff: third_party/WebKit/LayoutTests/external/wpt/html/semantics/scripting-1/the-script-element/module/errorhandling-parseerror-dependentmultiple.noinline.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 unified diff | Download patch
OLDNEW
(Empty)
1 <!doctype html>
2 <html>
3 <head>
4 <title>html-script-module-errorHandling-parseError-DependentMultiple</title>
5 <script src="errorhandling-parseerror-common.js"></script>
6 </head>
7 <body>
8 <script type="module" onerror="errorHandler(event);createSecondDependentRoot ();" src="errorhandling-parseerror-dependentmultiple.noinline-a.js">
9 </script>
10 <script>
11
12 function createSecondDependentRoot()
13 {
14 // With the broken dependent module already acquired, try to import it
15 // again from another root. This root should be unwound appropriate ly.
16 var script = document.createElement("script");
17 script.type = "module";
18 script.src = "errorhandling-parseerror-dependentmultiple.noinline-b. js";
19 script.addEventListener("error", errorHandler);
20 document.body.appendChild(script);
21 }
22
23 </script>
24 </body>
25 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698