playwright-core
Advanced tools
Comparing version 0.14.0-next.1587696852204 to 0.14.0-next.1587697598498
@@ -83,2 +83,10 @@ "use strict"; | ||
return; | ||
const frameManager = page._page._frameManager; | ||
const frame = frameManager.frame(payload.frameId); | ||
if (frame) { | ||
// In some cases, e.g. blob url download, we receive only frameScheduledNavigation | ||
// but no signals that the navigation was canceled and replaced by download. Fix it | ||
// here by simulating cancelled provisional load which matches downloads from network. | ||
frameManager.provisionalLoadFailed(frame, '', 'Download is starting'); | ||
} | ||
this._downloadCreated(page._page, payload.uuid, payload.url); | ||
@@ -85,0 +93,0 @@ } |
{ | ||
"name": "playwright-core", | ||
"version": "0.14.0-next.1587696852204", | ||
"version": "0.14.0-next.1587697598498", | ||
"description": "A high-level API to automate web browsers", | ||
@@ -12,4 +12,4 @@ "repository": "github:Microsoft/playwright", | ||
"chromium_revision": "759546", | ||
"firefox_revision": "1085", | ||
"webkit_revision": "1208" | ||
"firefox_revision": "1086", | ||
"webkit_revision": "1209" | ||
}, | ||
@@ -16,0 +16,0 @@ "scripts": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1413506
34949