mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-12 11:50:22 +03:00
feat(chromium): roll to r828656 (#4503)
This commit is contained in:
parent
aea106b28e
commit
a0587949a5
@ -1,6 +1,6 @@
|
||||
# 🎭 Playwright
|
||||
|
||||
[![npm version](https://img.shields.io/npm/v/playwright.svg?style=flat)](https://www.npmjs.com/package/playwright) [![Join Slack](https://img.shields.io/badge/join-slack-infomational)](https://join.slack.com/t/playwright/shared_invite/enQtOTEyMTUxMzgxMjIwLThjMDUxZmIyNTRiMTJjNjIyMzdmZDA3MTQxZWUwZTFjZjQwNGYxZGM5MzRmNzZlMWI5ZWUyOTkzMjE5Njg1NDg) <!-- GEN:chromium-version-badge -->[![Chromium version](https://img.shields.io/badge/chromium-89.0.4328.0-blue.svg?logo=google-chrome)](https://www.chromium.org/Home)<!-- GEN:stop --> <!-- GEN:firefox-version-badge -->[![Firefox version](https://img.shields.io/badge/firefox-83.0b8-blue.svg?logo=mozilla-firefox)](https://www.mozilla.org/en-US/firefox/new/)<!-- GEN:stop --> [![WebKit version](https://img.shields.io/badge/webkit-14.0-blue.svg?logo=safari)](https://webkit.org/)
|
||||
[![npm version](https://img.shields.io/npm/v/playwright.svg?style=flat)](https://www.npmjs.com/package/playwright) [![Join Slack](https://img.shields.io/badge/join-slack-infomational)](https://join.slack.com/t/playwright/shared_invite/enQtOTEyMTUxMzgxMjIwLThjMDUxZmIyNTRiMTJjNjIyMzdmZDA3MTQxZWUwZTFjZjQwNGYxZGM5MzRmNzZlMWI5ZWUyOTkzMjE5Njg1NDg) <!-- GEN:chromium-version-badge -->[![Chromium version](https://img.shields.io/badge/chromium-89.0.4330.0-blue.svg?logo=google-chrome)](https://www.chromium.org/Home)<!-- GEN:stop --> <!-- GEN:firefox-version-badge -->[![Firefox version](https://img.shields.io/badge/firefox-83.0b8-blue.svg?logo=mozilla-firefox)](https://www.mozilla.org/en-US/firefox/new/)<!-- GEN:stop --> [![WebKit version](https://img.shields.io/badge/webkit-14.0-blue.svg?logo=safari)](https://webkit.org/)
|
||||
|
||||
## [Documentation](https://playwright.dev) | [API reference](https://playwright.dev/#?path=docs/api.md)
|
||||
|
||||
@ -8,7 +8,7 @@ Playwright is a Node.js library to automate [Chromium](https://www.chromium.org/
|
||||
|
||||
| | Linux | macOS | Windows |
|
||||
| :--- | :---: | :---: | :---: |
|
||||
| Chromium <!-- GEN:chromium-version -->89.0.4328.0<!-- GEN:stop --> | :white_check_mark: | :white_check_mark: | :white_check_mark: |
|
||||
| Chromium <!-- GEN:chromium-version -->89.0.4330.0<!-- GEN:stop --> | :white_check_mark: | :white_check_mark: | :white_check_mark: |
|
||||
| WebKit 14.0 | :white_check_mark: | :white_check_mark: | :white_check_mark: |
|
||||
| Firefox <!-- GEN:firefox-version -->83.0b8<!-- GEN:stop --> | :white_check_mark: | :white_check_mark: | :white_check_mark: |
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
"browsers": [
|
||||
{
|
||||
"name": "chromium",
|
||||
"revision": "827767",
|
||||
"revision": "828656",
|
||||
"download": true
|
||||
},
|
||||
{
|
||||
|
@ -3753,6 +3753,10 @@ execution will stop on these operations as if there was a regular breakpoint set
|
||||
* DOM breakpoint type.
|
||||
*/
|
||||
export type DOMBreakpointType = "subtree-modified"|"attribute-modified"|"node-removed";
|
||||
/**
|
||||
* CSP Violation type.
|
||||
*/
|
||||
export type CSPViolationType = "trustedtype-sink-violation"|"trustedtype-policy-violation";
|
||||
/**
|
||||
* Object event listener.
|
||||
*/
|
||||
@ -3877,6 +3881,17 @@ entire subtree or provide an integer larger than 0.
|
||||
}
|
||||
export type removeXHRBreakpointReturnValue = {
|
||||
}
|
||||
/**
|
||||
* Sets breakpoint on particular CSP violations.
|
||||
*/
|
||||
export type setBreakOnCSPViolationParameters = {
|
||||
/**
|
||||
* CSP Violations to stop upon.
|
||||
*/
|
||||
violationTypes: CSPViolationType[];
|
||||
}
|
||||
export type setBreakOnCSPViolationReturnValue = {
|
||||
}
|
||||
/**
|
||||
* Sets breakpoint on particular operation with DOM.
|
||||
*/
|
||||
@ -8623,6 +8638,16 @@ continueInterceptedRequest call.
|
||||
*/
|
||||
nodeId: DOM.NodeId;
|
||||
}
|
||||
export interface FlexNodeHighlightConfig {
|
||||
/**
|
||||
* A descriptor for the highlight appearance of flex containers.
|
||||
*/
|
||||
flexContainerHighlightConfig: FlexContainerHighlightConfig;
|
||||
/**
|
||||
* Identifier of the node to highlight.
|
||||
*/
|
||||
nodeId: DOM.NodeId;
|
||||
}
|
||||
/**
|
||||
* Configuration for dual screen hinge
|
||||
*/
|
||||
@ -8944,6 +8969,14 @@ Backend then generates 'inspectNodeRequested' event upon element selection.
|
||||
}
|
||||
export type setShowGridOverlaysReturnValue = {
|
||||
}
|
||||
export type setShowFlexOverlaysParameters = {
|
||||
/**
|
||||
* An array of node identifiers and descriptors for the highlight appearance.
|
||||
*/
|
||||
flexNodeHighlightConfigs: FlexNodeHighlightConfig[];
|
||||
}
|
||||
export type setShowFlexOverlaysReturnValue = {
|
||||
}
|
||||
/**
|
||||
* Requests that backend shows paint rectangles
|
||||
*/
|
||||
@ -13186,7 +13219,7 @@ variables as its properties.
|
||||
/**
|
||||
* Pause reason.
|
||||
*/
|
||||
reason: "ambiguous"|"assert"|"debugCommand"|"DOM"|"EventListener"|"exception"|"instrumentation"|"OOM"|"other"|"promiseRejection"|"XHR";
|
||||
reason: "ambiguous"|"assert"|"CSPViolation"|"debugCommand"|"DOM"|"EventListener"|"exception"|"instrumentation"|"OOM"|"other"|"promiseRejection"|"XHR";
|
||||
/**
|
||||
* Object containing break-specific auxiliary properties.
|
||||
*/
|
||||
@ -15780,6 +15813,7 @@ unsubscribes current runtime agent from Runtime.bindingCalled notifications.
|
||||
"DOMDebugger.removeEventListenerBreakpoint": DOMDebugger.removeEventListenerBreakpointParameters;
|
||||
"DOMDebugger.removeInstrumentationBreakpoint": DOMDebugger.removeInstrumentationBreakpointParameters;
|
||||
"DOMDebugger.removeXHRBreakpoint": DOMDebugger.removeXHRBreakpointParameters;
|
||||
"DOMDebugger.setBreakOnCSPViolation": DOMDebugger.setBreakOnCSPViolationParameters;
|
||||
"DOMDebugger.setDOMBreakpoint": DOMDebugger.setDOMBreakpointParameters;
|
||||
"DOMDebugger.setEventListenerBreakpoint": DOMDebugger.setEventListenerBreakpointParameters;
|
||||
"DOMDebugger.setInstrumentationBreakpoint": DOMDebugger.setInstrumentationBreakpointParameters;
|
||||
@ -15924,6 +15958,7 @@ unsubscribes current runtime agent from Runtime.bindingCalled notifications.
|
||||
"Overlay.setShowDebugBorders": Overlay.setShowDebugBordersParameters;
|
||||
"Overlay.setShowFPSCounter": Overlay.setShowFPSCounterParameters;
|
||||
"Overlay.setShowGridOverlays": Overlay.setShowGridOverlaysParameters;
|
||||
"Overlay.setShowFlexOverlays": Overlay.setShowFlexOverlaysParameters;
|
||||
"Overlay.setShowPaintRects": Overlay.setShowPaintRectsParameters;
|
||||
"Overlay.setShowLayoutShiftRegions": Overlay.setShowLayoutShiftRegionsParameters;
|
||||
"Overlay.setShowScrollBottleneckRects": Overlay.setShowScrollBottleneckRectsParameters;
|
||||
@ -16282,6 +16317,7 @@ unsubscribes current runtime agent from Runtime.bindingCalled notifications.
|
||||
"DOMDebugger.removeEventListenerBreakpoint": DOMDebugger.removeEventListenerBreakpointReturnValue;
|
||||
"DOMDebugger.removeInstrumentationBreakpoint": DOMDebugger.removeInstrumentationBreakpointReturnValue;
|
||||
"DOMDebugger.removeXHRBreakpoint": DOMDebugger.removeXHRBreakpointReturnValue;
|
||||
"DOMDebugger.setBreakOnCSPViolation": DOMDebugger.setBreakOnCSPViolationReturnValue;
|
||||
"DOMDebugger.setDOMBreakpoint": DOMDebugger.setDOMBreakpointReturnValue;
|
||||
"DOMDebugger.setEventListenerBreakpoint": DOMDebugger.setEventListenerBreakpointReturnValue;
|
||||
"DOMDebugger.setInstrumentationBreakpoint": DOMDebugger.setInstrumentationBreakpointReturnValue;
|
||||
@ -16426,6 +16462,7 @@ unsubscribes current runtime agent from Runtime.bindingCalled notifications.
|
||||
"Overlay.setShowDebugBorders": Overlay.setShowDebugBordersReturnValue;
|
||||
"Overlay.setShowFPSCounter": Overlay.setShowFPSCounterReturnValue;
|
||||
"Overlay.setShowGridOverlays": Overlay.setShowGridOverlaysReturnValue;
|
||||
"Overlay.setShowFlexOverlays": Overlay.setShowFlexOverlaysReturnValue;
|
||||
"Overlay.setShowPaintRects": Overlay.setShowPaintRectsReturnValue;
|
||||
"Overlay.setShowLayoutShiftRegions": Overlay.setShowLayoutShiftRegionsReturnValue;
|
||||
"Overlay.setShowScrollBottleneckRects": Overlay.setShowScrollBottleneckRectsReturnValue;
|
||||
|
@ -205,7 +205,7 @@ it('should refuse to display x-frame-options:deny iframe', (test, { browserName
|
||||
});
|
||||
});
|
||||
await page.setContent(`<iframe src="${server.CROSS_PROCESS_PREFIX}/x-frame-options-deny.html"></iframe>`);
|
||||
expect(await refusalText).toMatch(/Refused to display 'http.*\/x-frame-options-deny\.html' in a frame because it set 'X-Frame-Options' to 'deny'./i);
|
||||
expect(await refusalText).toMatch(/Refused to display .* in a frame because it set 'X-Frame-Options' to 'deny'./i);
|
||||
});
|
||||
|
||||
it('should return frame.page()', async ({page, server}) => {
|
||||
|
Loading…
Reference in New Issue
Block a user