🌐 AI搜索 & 代理 主页
Skip to content

Commit cc95204

Browse files
authored
Tests: Add support test results for Firefox 61+
Firefox 61 now passes the reliableMarginLeft test. Closes gh-4122
1 parent e743cbd commit cc95204

File tree

1 file changed

+20
-1
lines changed

1 file changed

+20
-1
lines changed

test/unit/support.js

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ testIframe(
160160
"reliableMarginLeft": true,
161161
"scrollboxSize": true
162162
},
163-
firefox: {
163+
firefox_60: {
164164
"ajax": true,
165165
"boxSizingReliable": true,
166166
"checkClone": true,
@@ -177,6 +177,23 @@ testIframe(
177177
"reliableMarginLeft": false,
178178
"scrollboxSize": true
179179
},
180+
firefox: {
181+
"ajax": true,
182+
"boxSizingReliable": true,
183+
"checkClone": true,
184+
"checkOn": true,
185+
"clearCloneStyle": true,
186+
"cors": true,
187+
"createHTMLDocument": true,
188+
"focusin": false,
189+
"noCloneChecked": true,
190+
"optSelected": true,
191+
"pixelBoxStyles": true,
192+
"pixelPosition": true,
193+
"radioValue": true,
194+
"reliableMarginLeft": true,
195+
"scrollboxSize": true
196+
},
180197
ios_11: {
181198
"ajax": true,
182199
"boxSizingReliable": true,
@@ -279,6 +296,8 @@ testIframe(
279296
expected = expectedMap.safari_11;
280297
} else if ( /\b(?:9|10)\.\d(\.\d+)* safari/i.test( userAgent ) ) {
281298
expected = expectedMap.safari_9_10;
299+
} else if ( /firefox\/60/i.test( userAgent ) ) {
300+
expected = expectedMap.firefox_60;
282301
} else if ( /firefox/i.test( userAgent ) ) {
283302
expected = expectedMap.firefox;
284303
} else if ( /iphone os 11_/i.test( userAgent ) ) {

0 commit comments

Comments
 (0)