Bug 1454347 [wpt PR 10487] - Remove old drawCustomFocusRing test, a=testonly
authorPhilip Jägenstedt <philip@foolip.org>
Wed, 25 Apr 2018 18:50:52 +0000
changeset 471885 ffe9f0a023b594c40b248629efce8ea575e8cf9e
parent 471884 344fdb1593b3bfe75de2f749fb75090ac7c224af
child 471886 05b0bfc555a70a49b3f0f0b449b255bfecf3d537
push id1728
push userjlund@mozilla.com
push dateMon, 18 Jun 2018 21:12:27 +0000
treeherdermozilla-release@c296fde26f5f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstestonly
bugs1454347, 10487
milestone61.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1454347 [wpt PR 10487] - Remove old drawCustomFocusRing test, a=testonly Automatic update from web-platform-testsRemove old drawCustomFocusRing test (#10487) Added in https://github.com/w3c/web-platform-tests/pull/406. Removed from HTML in https://github.com/whatwg/html/commit/ff07c6d630fb986f6c4f64b2fb87387b4f89647d and historical test added in https://github.com/w3c/web-platform-tests/pull/3801. Fixes https://github.com/w3c/web-platform-tests/issues/547. -- wpt-commits: e48e26a506e99cc22c89e763330e4b71afc776ce wpt-pr: 10487
testing/web-platform/meta/MANIFEST.json
testing/web-platform/tests/2dcontext/drawing-paths-to-the-canvas/canvas_focus_drawCustomFocusRing_001.html
--- a/testing/web-platform/meta/MANIFEST.json
+++ b/testing/web-platform/meta/MANIFEST.json
@@ -301188,22 +301188,16 @@
     ]
    ],
    "2dcontext/drawing-paths-to-the-canvas/canvas_complexshapes_ispointInpath_001.htm": [
     [
      "/2dcontext/drawing-paths-to-the-canvas/canvas_complexshapes_ispointInpath_001.htm",
      {}
     ]
    ],
-   "2dcontext/drawing-paths-to-the-canvas/canvas_focus_drawCustomFocusRing_001.html": [
-    [
-     "/2dcontext/drawing-paths-to-the-canvas/canvas_focus_drawCustomFocusRing_001.html",
-     {}
-    ]
-   ],
    "2dcontext/drawing-paths-to-the-canvas/drawFocusIfNeeded_001.html": [
     [
      "/2dcontext/drawing-paths-to-the-canvas/drawFocusIfNeeded_001.html",
      {}
     ]
    ],
    "2dcontext/drawing-paths-to-the-canvas/drawFocusIfNeeded_002.html": [
     [
@@ -395691,20 +395685,16 @@
   "2dcontext/drawing-paths-to-the-canvas/.gitkeep": [
    "da39a3ee5e6b4b0d3255bfef95601890afd80709",
    "support"
   ],
   "2dcontext/drawing-paths-to-the-canvas/canvas_complexshapes_ispointInpath_001.htm": [
    "1154b14a36ad59dfd9f091b28bec58e840287a88",
    "testharness"
   ],
-  "2dcontext/drawing-paths-to-the-canvas/canvas_focus_drawCustomFocusRing_001.html": [
-   "1d5a1f0a469e4c2bf7c36a405306686754f0acda",
-   "testharness"
-  ],
   "2dcontext/drawing-paths-to-the-canvas/canvas_focus_drawFocusIfNeeded_AAPI_001-manual.html": [
    "e3606dfbcaebb914ccfc28e427215692e17858c5",
    "manual"
   ],
   "2dcontext/drawing-paths-to-the-canvas/drawFocusIfNeeded_001.html": [
    "e82eea381eb0a2f6f714ade945971b8845197024",
    "testharness"
   ],
deleted file mode 100644
--- a/testing/web-platform/tests/2dcontext/drawing-paths-to-the-canvas/canvas_focus_drawCustomFocusRing_001.html
+++ /dev/null
@@ -1,41 +0,0 @@
-<!DOCTYPE html>
-<html>
-  <head>
-    <title>canvas drawCustomFocusRing() step1 test</title>
-    <script src="/resources/testharness.js"></script>
-    <script src="/resources/testharnessreport.js"></script>
-    <link rel="author" title="Takeshi Kurosawa" href="mailto:kurosawa-takeshi@mitsue.co.jp">
-    <link rel="help" href="http://www.w3.org/TR/2dcontext/#dom-context-2d-drawcustomfocusring">
-  </head>
-  <body>
-    <h1>Description</h1>
-    <p>This test checks whether drawCustomFocusRing returns false if the element passed as an argument is not focused or is not a descendant of the element with whose context the method is associated.</p>
-    <div id="log"></div>
-    <div>
-      <input type="text" id="text0">
-      <canvas id="canvas"><input type="text" id="text1"></canvas>
-    </div>
-    <script>
-    (function() {
-      test(function() {
-          var canvas = document.getElementById('canvas');
-          var context = canvas.getContext('2d');
-          var text0 = document.getElementById('text0');
-          text0.focus(); // document.activeElement === text0;
-
-          var text1 = document.getElementById('text1');
-          assert_false(context.drawCustomFocusRing(text1));
-      }, 'drawCustomFocusRing must return false for an element that is not focused.');
-
-      test(function() {
-          var canvas = document.getElementById('canvas');
-          var context = canvas.getContext('2d');
-          var text0 = document.getElementById('text0');
-          text0.focus(); // document.activeElement === text0;
-
-          assert_false(context.drawCustomFocusRing(text0));
-      }, 'drawCustomFocusRing must return false for an element that is not a descendant of the canvas element.');
-    })();
-    </script>
-  </body>
-</html>