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

Side by Side Diff: LayoutTests/imported/web-platform-tests/html/webappapis/scripting/events/event-handler-javascript.html

Issue 1166693007: W3C Test: import web-platform-tests/html/webappapis (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <title>Event handler with labels</title>
3 <script src="../../../../../../resources/testharness.js"></script>
4 <script src="../../../../../../resources/testharnessreport.js"></script>
5 <body onload="javascript:
6 for (var i = 0; i < 2; ++i) {
7 for (var j = 0; j < 2; ++j) {
8 t.step(function() {
9 assert_equals(i, 0);
10 assert_equals(j, 0);
11 });
12 break javascript;
13 }
14 }
15 t.done();
16 ">
17 <div id="log"></div>
18 <script>
19 var t = async_test("Event handlers starting with 'javascript:' should treat that as a label.");
20 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698