Bug 1445509 - Correctly compare height in open-features-non-integer-height.html test. r?bz
MozReview-Commit-ID: A99KG22to7w
deleted file mode 100644
--- a/testing/web-platform/meta/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-non-integer-height.html.ini
+++ /dev/null
@@ -1,4 +0,0 @@
-[open-features-non-integer-height.html]
- [top=0,left=0: absence of feature "height" should be treated same as "height=0"]
- expected: FAIL
-
--- a/testing/web-platform/tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-non-integer-height.html
+++ b/testing/web-platform/tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-non-integer-height.html
@@ -35,17 +35,17 @@ function runWindowTests (baselineDimensi
// as that feature set to 0
[ featuresPrefix,
'top=0,left=0',
].forEach(feature => {
async_test(t => {
var prefixedMessage = new PrefixedMessageTest();
prefixedMessage.onMessage(t.step_func_done((data, e) => {
e.source.close();
- assert_equals(data.width, baselineDimensions.width);
+ assert_equals(data.height, baselineDimensions.height);
}));
var win = window.open(prefixedMessage.url(windowURL), '', feature);
}, `${feature}: absence of feature "height" should be treated same as "height=0"`);
});
// When code point in first position is not an ASCII digit, "+" or "-",
// that's an error and the value becomes 0
[ 'height=/404',