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

Side by Side Diff: LayoutTests/fast/svg/href-baseval-animval.html

Issue 1086873004: Add UseCounter for SVGURIReference.href.baseVal/animVal. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fix nit + rebase Created 5 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | Source/core/core.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!doctype html>
2 <title>Test UseCounters for SVGURIReference.href.baseVal/animVal</title>
3 <script src="../../resources/testharness.js"></script>
4 <script src="../../resources/testharnessreport.js"></script>
5 <svg width="0" height="0">
6 <use xlink:href="#foo"/>
7 <script>
8 var target = document.querySelector("use");
9 test(function() {
10 var baseval = target.href.baseVal;
11 assert_true(window.internals.isUseCounted(document, 758));
12 }, "has SVGHrefBaseVal UseCounter"); // 758 == UseCounter::Feature::SVGHrefB aseVal
13 test(function() {
14 var animval = target.href.animVal;
15 assert_true(window.internals.isUseCounted(document, 759));
16 }, "has SVGHrefAnimVal UseCounter"); // 759 == UseCounter::Feature::SVGHrefA nimVal
17 </script>
18 </svg>
OLDNEW
« no previous file with comments | « no previous file | Source/core/core.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698