mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-19 21:32:23 +00:00
[js/web] update test condition for '--force-localhost' (#20450)
### Description Fixes the NPM packaging pipeline failure.
This commit is contained in:
parent
9cc5badc49
commit
a5182a2ef3
1 changed files with 3 additions and 1 deletions
|
|
@ -558,7 +558,9 @@ async function main() {
|
|||
if (args.noSandbox) {
|
||||
karmaArgs.push('--no-sandbox');
|
||||
}
|
||||
if (webgpu || webnn) {
|
||||
|
||||
// When using BrowserStack with Safari, we need NOT to use 'localhost' as the hostname.
|
||||
if (!(browser.startsWith('BS_') && browser.includes('Safari'))) {
|
||||
karmaArgs.push('--force-localhost');
|
||||
}
|
||||
if (webgpu) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue