| 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;
|
|
|