-
Notifications
You must be signed in to change notification settings - Fork 4.7k
chore(bidi): use firefox browser type with moz-firefox- channel #37696
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
cc @whimboo |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Test results for "tests 1"2 failed 5 flaky46884 passed, 811 skipped Merge workflow run. |
allowsThirdParty: [async ({ browserName }, run) => { | ||
if (browserName === 'firefox' || browserName as any === '_bidiFirefox') | ||
allowsThirdParty: [async ({ browserName, channel }, run) => { | ||
if (browserName === 'firefox' || channel?.startsWith('moz-firefox')) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if (browserName === 'firefox' || channel?.startsWith('moz-firefox')) | |
if (browserName === 'firefox') |
it('should not fire events for favicon or favicon redirects', async ({ context, page, server, browserName, headless }) => { | ||
it.skip(headless && browserName !== 'firefox' && browserName as any !== '_bidiFirefox', 'headless browsers, except firefox, do not request favicons'); | ||
it('should not fire events for favicon or favicon redirects', async ({ context, page, server, browserName, headless, channel }) => { | ||
it.skip(headless && browserName !== 'firefox' && !channel?.startsWith('moz-firefox'), 'headless browsers, except firefox, do not request favicons'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it.skip(headless && browserName !== 'firefox' && !channel?.startsWith('moz-firefox'), 'headless browsers, except firefox, do not request favicons'); | |
it.skip(headless && browserName !== 'firefox', 'headless browsers, except firefox, do not request favicons'); |
it('should load svg favicon with prefer-color-scheme', async ({ page, server, browserName, headless, asset }) => { | ||
it.skip(headless && browserName !== 'firefox' && browserName as any !== '_bidiFirefox', 'headless browsers, except firefox, do not request favicons'); | ||
it('should load svg favicon with prefer-color-scheme', async ({ page, server, browserName, headless, asset, channel }) => { | ||
it.skip(headless && browserName !== 'firefox' && !channel?.startsWith('moz-firefox'), 'headless browsers, except firefox, do not request favicons'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it.skip(headless && browserName !== 'firefox' && !channel?.startsWith('moz-firefox'), 'headless browsers, except firefox, do not request favicons'); | |
it.skip(headless && browserName !== 'firefox', 'headless browsers, except firefox, do not request favicons'); |
it('should filter favicon and favicon redirects', async ({ server, browserName, headless, asset, contextFactory }, testInfo) => { | ||
it.skip(headless && browserName !== 'firefox' && browserName as any !== '_bidiFirefox', 'headless browsers, except firefox, do not request favicons'); | ||
it('should filter favicon and favicon redirects', async ({ server, browserName, headless, asset, contextFactory, channel }, testInfo) => { | ||
it.skip(headless && browserName !== 'firefox' && !channel?.startsWith('moz-firefox'), 'headless browsers, except firefox, do not request favicons'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it.skip(headless && browserName !== 'firefox' && !channel?.startsWith('moz-firefox'), 'headless browsers, except firefox, do not request favicons'); | |
it.skip(headless && browserName !== 'firefox', 'headless browsers, except firefox, do not request favicons'); |
expect((await respPromise).message).toContain(kTargetClosedErrorMessage); | ||
// All headers are the same as "provisional" headers in Firefox. | ||
if (browserName === 'firefox' || browserName as any === '_bidiFirefox') | ||
if (browserName === 'firefox' || channel?.startsWith('moz-firefox')) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if (browserName === 'firefox' || channel?.startsWith('moz-firefox')) | |
if (browserName === 'firefox') |
|
||
// Third part for Firefox is the last one and encodes engine and browser versions. | ||
if (browserName === 'firefox' || browserName as any === '_bidiFirefox') { | ||
if (browserName === 'firefox' || channel?.startsWith('moz-firefox')) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if (browserName === 'firefox' || channel?.startsWith('moz-firefox')) { | |
if (browserName === 'firefox') { |
if (browserName === 'webkit' || browserName as any === '_bidiFirefox') | ||
if (browserName === 'webkit' || channel?.startsWith('moz-firefox')) | ||
expect(text).toEqual('Error: Exception'); | ||
if (browserName === 'firefox') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if (browserName === 'firefox') | |
else if (browserName === 'firefox') |
if (browserName === 'webkit') | ||
expect(error.message).toContain('TypeError'); | ||
if (browserName === 'firefox' || browserName === '_bidiFirefox') | ||
if (browserName === 'firefox' || channel?.startsWith('moz-firefox')) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if (browserName === 'firefox' || channel?.startsWith('moz-firefox')) | |
if (browserName === 'firefox') |
I'd prefer to leave redundant |
Reference #37277