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

Unified Diff: LayoutTests/fast/dom/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/Node/isSupported-expected.txt ('k') | LayoutTests/fast/dom/features-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/dom/features.html
diff --git a/LayoutTests/fast/dom/features.html b/LayoutTests/fast/dom/features.html
index 6c30f70a079471ab49816dc03bfb83b71f117e7f..e3c075707a81664a5e7d95b7d60adeffc47eb02f 100644
--- a/LayoutTests/fast/dom/features.html
+++ b/LayoutTests/fast/dom/features.html
@@ -147,13 +147,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")
@@ -161,7 +158,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/Node/isSupported-expected.txt ('k') | LayoutTests/fast/dom/features-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698