-
Notifications
You must be signed in to change notification settings - Fork 678
4 fork work fix browserautherror crypto nonexistent for firefox upstream issue 8391 #8482
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
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| <!DOCTYPE html> | ||
| <html> | ||
| <head> | ||
| <meta charset="utf-8" /> | ||
| <title>GH-8391</title> | ||
| </head> | ||
| <body> | ||
| <div id="status">ok</div> | ||
| </body> | ||
| </html> |
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,5 @@ | ||||||
| describe('[Regression](GH-8391)', function () { | ||||||
| it('Should not fail Firefox proxy-mode initialization', function () { | ||||||
| return runTests('testcafe-fixtures/index.js', 'Should run a simple assertion in Firefox proxy mode', { only: 'firefox' }); | ||||||
|
||||||
| return runTests('testcafe-fixtures/index.js', 'Should run a simple assertion in Firefox proxy mode', { only: 'firefox' }); | |
| return runTests('testcafe-fixtures/index.js', 'Should run a simple assertion in Firefox proxy mode', { only: 'firefox', disableNativeAutomation: true }); |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| import { Selector } from 'testcafe'; | ||
|
|
||
| fixture('GH-8391 - Firefox proxy mode should initialize scripts') | ||
| .page`http://localhost:3000/fixtures/regression/gh-8391/pages/index.html`; | ||
|
|
||
| test('Should run a simple assertion in Firefox proxy mode', async t => { | ||
| await t.expect(Selector('#status').innerText).eql('ok'); | ||
| }); |
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.
_isAllBrowsersLocalcallsbrowser.provider.isLocalBrowser(void 0, ...)for everyBrowserInfoSource. When the entry is aBrowserConnection, an id is available (browser.id) and some providers rely on it to determine locality; passingundefinedrisks misclassifying remote connections as local, which can incorrectly forcehostnametolocalhostin proxy mode. Pass the connection id forBrowserConnectioninstances (and keepundefinedfor plainBrowserInfo).