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

Unified Diff: LayoutTests/svg/custom/svg-features.html

Issue 133703014: Remove Node.isSupported (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 11 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
« no previous file with comments | « LayoutTests/fast/dom/features-expected.txt ('k') | LayoutTests/svg/custom/svg-features-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/svg/custom/svg-features.html
diff --git a/LayoutTests/svg/custom/svg-features.html b/LayoutTests/svg/custom/svg-features.html
index e88e9cc8d7b288e0bca82dbc516adb73fa1e6b49..600491771574df670c48a500facc76c600896ea6 100644
--- a/LayoutTests/svg/custom/svg-features.html
+++ b/LayoutTests/svg/custom/svg-features.html
@@ -69,13 +69,10 @@ function test() {
for (var i = 0; i < features.length; ++i)
{
var item = features[i];
- if (item[1] == "omitted") {
+ if (item[1] == "omitted")
var hasFeature = document.implementation.hasFeature(item[0]);
- var isSupported = document.body.isSupported(item[0]);
- } else {
+ else
var hasFeature = document.implementation.hasFeature(item[0], item[1]);
- var isSupported = document.body.isSupported(item[0], item[1]);
- }
var item0String = item[0];
if (typeof item0String == "string")
@@ -83,7 +80,7 @@ function test() {
var item1String = item[1];
if (typeof item1String == "string" && item[1] != "omitted")
item1String = '"' + item1String + '"';
- var message = item0String + ', ' + item1String + ': ' + hasFeature + ', ' + isSupported;
+ var message = item0String + ', ' + item1String + ': ' + hasFeature;
var div = document.createElement('div');
div.innerHTML = message;
« no previous file with comments | « LayoutTests/fast/dom/features-expected.txt ('k') | LayoutTests/svg/custom/svg-features-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698