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

Unified Diff: third_party/WebKit/LayoutTests/imported/web-platform-tests/html/semantics/scripting-1/the-script-element/script-for-event.html

Issue 1984023002: Move web-platform-tests to wpt (part 1 of 2) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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
Index: third_party/WebKit/LayoutTests/imported/web-platform-tests/html/semantics/scripting-1/the-script-element/script-for-event.html
diff --git a/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/semantics/scripting-1/the-script-element/script-for-event.html b/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/semantics/scripting-1/the-script-element/script-for-event.html
deleted file mode 100644
index a40399909e6f8f10e1723ae236797ab6888bef84..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/semantics/scripting-1/the-script-element/script-for-event.html
+++ /dev/null
@@ -1,93 +0,0 @@
-<!DOCTYPE html>
-<title>Scripts with for and event attributes</title>
-<link rel="author" title="Matheus Kerschbaum" href="mailto:matjk7@gmail.com">
-<link rel="author" title="Ms2ger" href="mailto:ms2ger@gmail.com">
-<link rel="help" href="https://html.spec.whatwg.org/multipage/#prepare-a-script">
-<script src="../../../../../../resources/testharness.js"></script>
-<script src="../../../../../../resources/testharnessreport.js"></script>
-<div id="log"></div>
-<script>
-var expected = [
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- false,
- true,
- true,
- false,
- true,
- true,
-];
-var run = expected.map(function() { return false });
-</script>
-<script for="w&#x130;ndow" event="onload">
-run[0] = true;
-</script>
-<script for="window" event="onload x">
-run[1] = true;
-</script>
-<script for="window" event="onload(x">
-run[2] = true;
-</script>
-<script for="window" event="onload(x)">
-run[3] = true;
-</script>
-<script for="window" event="onclick">
-run[4] = true;
-</script>
-<script for="" event="onload">
-run[5] = true;
-</script>
-<script for="window" event="">
-run[6] = true;
-</script>
-<script for="" event="">
-run[7] = true;
-</script>
-<script for="&#xa0;window" event="onload">
-run[8] = true;
-</script>
-<script for="window&#xa0;" event="onload">
-run[9] = true;
-</script>
-<script for="window" event="&#xa0;onload">
-run[10] = true;
-</script>
-<script for="window" event="onload&#xa0;">
-run[11] = true;
-</script>
-<script for=" window " event=" onload ">
-run[12] = true;
-</script>
-<script for=" window " event=" onload() ">
-run[13] = true;
-</script>
-<script for="object" event="handler">
-run[14] = true;
-</script>
-<script event="handler">
-run[15] = true;
-</script>
-<script for="object">
-run[16] = true;
-</script>
-<script>
-test(function() {
- for (var i = 0; i < run.length; ++i) {
- test(function() {
- var script = document.querySelectorAll("script[for], script[event]")[i];
- assert_equals(run[i], expected[i],
- "script for=" + format_value(script.getAttribute("for")) +
- " event=" + format_value(script.getAttribute("event")));
- }, "Script " + i);
- }
-});
-</script>

Powered by Google App Engine
This is Rietveld 408576698