Skip to content

Commit

Permalink
feat(chromium): roll Chromium to r782078 (#6250)
Browse files Browse the repository at this point in the history
This corresponds to Chromium 85.0.4182.0.

This roll includes: 
- Enable SameSiteByDefaultCookies and CookiesWithoutSameSiteMustBeSecure
   https://crrev.com/c/2231445
- [FlexNG] Enable FlexNG by default
   https://crrev.com/c/2216595

Closes #6151.
  • Loading branch information
johanbay committed Jul 20, 2020
1 parent b2f6918 commit e89e264
Show file tree
Hide file tree
Showing 225 changed files with 1,897 additions and 121 deletions.
2 changes: 1 addition & 1 deletion new-docs/puppeteer.protocol.animation.animation.md
Expand Up @@ -25,5 +25,5 @@ export interface Animation
| [playState](./puppeteer.protocol.animation.animation.playstate.md) | string | <code>Animation</code>'s play state. |
| [source](./puppeteer.protocol.animation.animation.source.md) | [AnimationEffect](./puppeteer.protocol.animation.animationeffect.md) | <code>Animation</code>'s source animation node. |
| [startTime](./puppeteer.protocol.animation.animation.starttime.md) | number | <code>Animation</code>'s start time. |
| [type](./puppeteer.protocol.animation.animation.type.md) | ('CSSTransition' \| 'CSSAnimation' \| 'WebAnimation') | Animation type of <code>Animation</code>. |
| [type](./puppeteer.protocol.animation.animation.type.md) | ('CSSTransition' \| 'CSSAnimation' \| 'WebAnimation') | Animation type of <code>Animation</code>. (AnimationType enum) |

2 changes: 1 addition & 1 deletion new-docs/puppeteer.protocol.animation.animation.type.md
Expand Up @@ -4,7 +4,7 @@

## Protocol.Animation.Animation.type property

Animation type of `Animation`<!-- -->.
Animation type of `Animation`<!-- -->. (AnimationType enum)

<b>Signature:</b>

Expand Down
20 changes: 20 additions & 0 deletions new-docs/puppeteer.protocol.animation.animationtype.md
@@ -0,0 +1,20 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [Protocol](./puppeteer.protocol.md) &gt; [Animation](./puppeteer.protocol.animation.md) &gt; [AnimationType](./puppeteer.protocol.animation.animationtype.md)

## Protocol.Animation.AnimationType enum

<b>Signature:</b>

```typescript
export const enum AnimationType
```

## Enumeration Members

| Member | Value | Description |
| --- | --- | --- |
| CSSAnimation | <code>'CSSAnimation'</code> | |
| CSSTransition | <code>'CSSTransition'</code> | |
| WebAnimation | <code>'WebAnimation'</code> | |

6 changes: 6 additions & 0 deletions new-docs/puppeteer.protocol.animation.md
Expand Up @@ -10,6 +10,12 @@
export namespace Animation
```
## Enumerations
| Enumeration | Description |
| --- | --- |
| [AnimationType](./puppeteer.protocol.animation.animationtype.md) | |
## Interfaces
| Interface | Description |
Expand Down
@@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [Protocol](./puppeteer.protocol.md) &gt; [Audits](./puppeteer.protocol.audits.md) &gt; [BlockedByResponseIssueDetails](./puppeteer.protocol.audits.blockedbyresponseissuedetails.md) &gt; [frame](./puppeteer.protocol.audits.blockedbyresponseissuedetails.frame.md)

## Protocol.Audits.BlockedByResponseIssueDetails.frame property

<b>Signature:</b>

```typescript
frame?: AffectedFrame;
```
@@ -0,0 +1,22 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [Protocol](./puppeteer.protocol.md) &gt; [Audits](./puppeteer.protocol.audits.md) &gt; [BlockedByResponseIssueDetails](./puppeteer.protocol.audits.blockedbyresponseissuedetails.md)

## Protocol.Audits.BlockedByResponseIssueDetails interface

Details for a request that has been blocked with the BLOCKED\_BY\_RESPONSE code. Currently only used for COEP/COOP, but may be extended to include some CSP errors in the future.

<b>Signature:</b>

```typescript
export interface BlockedByResponseIssueDetails
```

## Properties

| Property | Type | Description |
| --- | --- | --- |
| [frame](./puppeteer.protocol.audits.blockedbyresponseissuedetails.frame.md) | [AffectedFrame](./puppeteer.protocol.audits.affectedframe.md) | |
| [reason](./puppeteer.protocol.audits.blockedbyresponseissuedetails.reason.md) | [BlockedByResponseReason](./puppeteer.protocol.audits.blockedbyresponsereason.md) | |
| [request](./puppeteer.protocol.audits.blockedbyresponseissuedetails.request.md) | [AffectedRequest](./puppeteer.protocol.audits.affectedrequest.md) | |

@@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [Protocol](./puppeteer.protocol.md) &gt; [Audits](./puppeteer.protocol.audits.md) &gt; [BlockedByResponseIssueDetails](./puppeteer.protocol.audits.blockedbyresponseissuedetails.md) &gt; [reason](./puppeteer.protocol.audits.blockedbyresponseissuedetails.reason.md)

## Protocol.Audits.BlockedByResponseIssueDetails.reason property

<b>Signature:</b>

```typescript
reason: BlockedByResponseReason;
```
@@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [Protocol](./puppeteer.protocol.md) &gt; [Audits](./puppeteer.protocol.audits.md) &gt; [BlockedByResponseIssueDetails](./puppeteer.protocol.audits.blockedbyresponseissuedetails.md) &gt; [request](./puppeteer.protocol.audits.blockedbyresponseissuedetails.request.md)

## Protocol.Audits.BlockedByResponseIssueDetails.request property

<b>Signature:</b>

```typescript
request: AffectedRequest;
```
13 changes: 13 additions & 0 deletions new-docs/puppeteer.protocol.audits.blockedbyresponsereason.md
@@ -0,0 +1,13 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [Protocol](./puppeteer.protocol.md) &gt; [Audits](./puppeteer.protocol.audits.md) &gt; [BlockedByResponseReason](./puppeteer.protocol.audits.blockedbyresponsereason.md)

## Protocol.Audits.BlockedByResponseReason type

Enum indicating the reason a response has been blocked. These reasons are refinements of the net error BLOCKED\_BY\_RESPONSE.

<b>Signature:</b>

```typescript
export type BlockedByResponseReason = ('CoepFrameResourceNeedsCoepHeader' | 'CoopSandboxedIFrameCannotNavigateToCoopPage' | 'CorpNotSameOrigin' | 'CorpNotSameOriginAfterDefaultedToSameOriginByCoep' | 'CorpNotSameSite');
```
Expand Up @@ -4,7 +4,7 @@

## Protocol.Audits.GetEncodedResponseRequest.encoding property

The encoding to use.
The encoding to use. (GetEncodedResponseRequestEncoding enum)

<b>Signature:</b>

Expand Down
Expand Up @@ -14,7 +14,7 @@ export interface GetEncodedResponseRequest

| Property | Type | Description |
| --- | --- | --- |
| [encoding](./puppeteer.protocol.audits.getencodedresponserequest.encoding.md) | ('webp' \| 'jpeg' \| 'png') | The encoding to use. |
| [encoding](./puppeteer.protocol.audits.getencodedresponserequest.encoding.md) | ('webp' \| 'jpeg' \| 'png') | The encoding to use. (GetEncodedResponseRequestEncoding enum) |
| [quality](./puppeteer.protocol.audits.getencodedresponserequest.quality.md) | number | The quality of the encoding (0-1). (defaults to 1) |
| [requestId](./puppeteer.protocol.audits.getencodedresponserequest.requestid.md) | [Network.RequestId](./puppeteer.protocol.network.requestid.md) | Identifier of the network request to get content for. |
| [sizeOnly](./puppeteer.protocol.audits.getencodedresponserequest.sizeonly.md) | boolean | Whether to only return the size information (defaults to false). |
Expand Down
@@ -0,0 +1,20 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [Protocol](./puppeteer.protocol.md) &gt; [Audits](./puppeteer.protocol.audits.md) &gt; [GetEncodedResponseRequestEncoding](./puppeteer.protocol.audits.getencodedresponserequestencoding.md)

## Protocol.Audits.GetEncodedResponseRequestEncoding enum

<b>Signature:</b>

```typescript
export const enum GetEncodedResponseRequestEncoding
```

## Enumeration Members

| Member | Value | Description |
| --- | --- | --- |
| Jpeg | <code>'jpeg'</code> | |
| Png | <code>'png'</code> | |
| Webp | <code>'webp'</code> | |

13 changes: 13 additions & 0 deletions new-docs/puppeteer.protocol.audits.heavyadissuedetails.frame.md
@@ -0,0 +1,13 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [Protocol](./puppeteer.protocol.md) &gt; [Audits](./puppeteer.protocol.audits.md) &gt; [HeavyAdIssueDetails](./puppeteer.protocol.audits.heavyadissuedetails.md) &gt; [frame](./puppeteer.protocol.audits.heavyadissuedetails.frame.md)

## Protocol.Audits.HeavyAdIssueDetails.frame property

The frame that was blocked.

<b>Signature:</b>

```typescript
frame: AffectedFrame;
```
20 changes: 20 additions & 0 deletions new-docs/puppeteer.protocol.audits.heavyadissuedetails.md
@@ -0,0 +1,20 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [Protocol](./puppeteer.protocol.md) &gt; [Audits](./puppeteer.protocol.audits.md) &gt; [HeavyAdIssueDetails](./puppeteer.protocol.audits.heavyadissuedetails.md)

## Protocol.Audits.HeavyAdIssueDetails interface

<b>Signature:</b>

```typescript
export interface HeavyAdIssueDetails
```

## Properties

| Property | Type | Description |
| --- | --- | --- |
| [frame](./puppeteer.protocol.audits.heavyadissuedetails.frame.md) | [AffectedFrame](./puppeteer.protocol.audits.affectedframe.md) | The frame that was blocked. |
| [reason](./puppeteer.protocol.audits.heavyadissuedetails.reason.md) | [HeavyAdReason](./puppeteer.protocol.audits.heavyadreason.md) | The reason the ad was blocked, total network or cpu or peak cpu. |
| [resolution](./puppeteer.protocol.audits.heavyadissuedetails.resolution.md) | [HeavyAdResolutionStatus](./puppeteer.protocol.audits.heavyadresolutionstatus.md) | The resolution status, either blocking the content or warning. |

13 changes: 13 additions & 0 deletions new-docs/puppeteer.protocol.audits.heavyadissuedetails.reason.md
@@ -0,0 +1,13 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [Protocol](./puppeteer.protocol.md) &gt; [Audits](./puppeteer.protocol.audits.md) &gt; [HeavyAdIssueDetails](./puppeteer.protocol.audits.heavyadissuedetails.md) &gt; [reason](./puppeteer.protocol.audits.heavyadissuedetails.reason.md)

## Protocol.Audits.HeavyAdIssueDetails.reason property

The reason the ad was blocked, total network or cpu or peak cpu.

<b>Signature:</b>

```typescript
reason: HeavyAdReason;
```
@@ -0,0 +1,13 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [Protocol](./puppeteer.protocol.md) &gt; [Audits](./puppeteer.protocol.audits.md) &gt; [HeavyAdIssueDetails](./puppeteer.protocol.audits.heavyadissuedetails.md) &gt; [resolution](./puppeteer.protocol.audits.heavyadissuedetails.resolution.md)

## Protocol.Audits.HeavyAdIssueDetails.resolution property

The resolution status, either blocking the content or warning.

<b>Signature:</b>

```typescript
resolution: HeavyAdResolutionStatus;
```
11 changes: 11 additions & 0 deletions new-docs/puppeteer.protocol.audits.heavyadreason.md
@@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [Protocol](./puppeteer.protocol.md) &gt; [Audits](./puppeteer.protocol.audits.md) &gt; [HeavyAdReason](./puppeteer.protocol.audits.heavyadreason.md)

## Protocol.Audits.HeavyAdReason type

<b>Signature:</b>

```typescript
export type HeavyAdReason = ('NetworkTotalLimit' | 'CpuTotalLimit' | 'CpuPeakLimit');
```
11 changes: 11 additions & 0 deletions new-docs/puppeteer.protocol.audits.heavyadresolutionstatus.md
@@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [Protocol](./puppeteer.protocol.md) &gt; [Audits](./puppeteer.protocol.audits.md) &gt; [HeavyAdResolutionStatus](./puppeteer.protocol.audits.heavyadresolutionstatus.md)

## Protocol.Audits.HeavyAdResolutionStatus type

<b>Signature:</b>

```typescript
export type HeavyAdResolutionStatus = ('HeavyAdBlocked' | 'HeavyAdWarning');
```
2 changes: 1 addition & 1 deletion new-docs/puppeteer.protocol.audits.inspectorissuecode.md
Expand Up @@ -9,5 +9,5 @@ A unique identifier for the type of issue. Each type may use one of the optional
<b>Signature:</b>

```typescript
export type InspectorIssueCode = ('SameSiteCookieIssue' | 'MixedContentIssue');
export type InspectorIssueCode = ('SameSiteCookieIssue' | 'MixedContentIssue' | 'BlockedByResponseIssue' | 'HeavyAdIssue');
```
@@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [Protocol](./puppeteer.protocol.md) &gt; [Audits](./puppeteer.protocol.audits.md) &gt; [InspectorIssueDetails](./puppeteer.protocol.audits.inspectorissuedetails.md) &gt; [blockedByResponseIssueDetails](./puppeteer.protocol.audits.inspectorissuedetails.blockedbyresponseissuedetails.md)

## Protocol.Audits.InspectorIssueDetails.blockedByResponseIssueDetails property

<b>Signature:</b>

```typescript
blockedByResponseIssueDetails?: BlockedByResponseIssueDetails;
```
@@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [Protocol](./puppeteer.protocol.md) &gt; [Audits](./puppeteer.protocol.audits.md) &gt; [InspectorIssueDetails](./puppeteer.protocol.audits.inspectorissuedetails.md) &gt; [heavyAdIssueDetails](./puppeteer.protocol.audits.inspectorissuedetails.heavyadissuedetails.md)

## Protocol.Audits.InspectorIssueDetails.heavyAdIssueDetails property

<b>Signature:</b>

```typescript
heavyAdIssueDetails?: HeavyAdIssueDetails;
```
2 changes: 2 additions & 0 deletions new-docs/puppeteer.protocol.audits.inspectorissuedetails.md
Expand Up @@ -16,6 +16,8 @@ export interface InspectorIssueDetails

| Property | Type | Description |
| --- | --- | --- |
| [blockedByResponseIssueDetails](./puppeteer.protocol.audits.inspectorissuedetails.blockedbyresponseissuedetails.md) | [BlockedByResponseIssueDetails](./puppeteer.protocol.audits.blockedbyresponseissuedetails.md) | |
| [heavyAdIssueDetails](./puppeteer.protocol.audits.inspectorissuedetails.heavyadissuedetails.md) | [HeavyAdIssueDetails](./puppeteer.protocol.audits.heavyadissuedetails.md) | |
| [mixedContentIssueDetails](./puppeteer.protocol.audits.inspectorissuedetails.mixedcontentissuedetails.md) | [MixedContentIssueDetails](./puppeteer.protocol.audits.mixedcontentissuedetails.md) | |
| [sameSiteCookieIssueDetails](./puppeteer.protocol.audits.inspectorissuedetails.samesitecookieissuedetails.md) | [SameSiteCookieIssueDetails](./puppeteer.protocol.audits.samesitecookieissuedetails.md) | |

11 changes: 11 additions & 0 deletions new-docs/puppeteer.protocol.audits.md
Expand Up @@ -12,15 +12,23 @@ Audits domain allows investigation of page violations and possible improvements.
export namespace Audits
```
## Enumerations
| Enumeration | Description |
| --- | --- |
| [GetEncodedResponseRequestEncoding](./puppeteer.protocol.audits.getencodedresponserequestencoding.md) | |
## Interfaces
| Interface | Description |
| --- | --- |
| [AffectedCookie](./puppeteer.protocol.audits.affectedcookie.md) | Information about a cookie that is affected by an inspector issue. |
| [AffectedFrame](./puppeteer.protocol.audits.affectedframe.md) | Information about the frame affected by an inspector issue. |
| [AffectedRequest](./puppeteer.protocol.audits.affectedrequest.md) | Information about a request that is affected by an inspector issue. |
| [BlockedByResponseIssueDetails](./puppeteer.protocol.audits.blockedbyresponseissuedetails.md) | Details for a request that has been blocked with the BLOCKED\_BY\_RESPONSE code. Currently only used for COEP/COOP, but may be extended to include some CSP errors in the future. |
| [GetEncodedResponseRequest](./puppeteer.protocol.audits.getencodedresponserequest.md) | |
| [GetEncodedResponseResponse](./puppeteer.protocol.audits.getencodedresponseresponse.md) | |
| [HeavyAdIssueDetails](./puppeteer.protocol.audits.heavyadissuedetails.md) | |
| [InspectorIssue](./puppeteer.protocol.audits.inspectorissue.md) | An inspector issue reported from the back-end. |
| [InspectorIssueDetails](./puppeteer.protocol.audits.inspectorissuedetails.md) | This struct holds a list of optional fields with additional information specific to the kind of issue. When adding a new issue code, please also add a new optional field to this type. |
| [IssueAddedEvent](./puppeteer.protocol.audits.issueaddedevent.md) | |
Expand All @@ -31,6 +39,9 @@ export namespace Audits
| Type Alias | Description |
| --- | --- |
| [BlockedByResponseReason](./puppeteer.protocol.audits.blockedbyresponsereason.md) | Enum indicating the reason a response has been blocked. These reasons are refinements of the net error BLOCKED\_BY\_RESPONSE. |
| [HeavyAdReason](./puppeteer.protocol.audits.heavyadreason.md) | |
| [HeavyAdResolutionStatus](./puppeteer.protocol.audits.heavyadresolutionstatus.md) | |
| [InspectorIssueCode](./puppeteer.protocol.audits.inspectorissuecode.md) | A unique identifier for the type of issue. Each type may use one of the optional fields in InspectorIssueDetails to convey more specific information about the kind of issue. |
| [MixedContentResolutionStatus](./puppeteer.protocol.audits.mixedcontentresolutionstatus.md) | |
| [MixedContentResourceType](./puppeteer.protocol.audits.mixedcontentresourcetype.md) | |
Expand Down
6 changes: 6 additions & 0 deletions new-docs/puppeteer.protocol.browser.md
Expand Up @@ -12,6 +12,12 @@ The Browser domain defines methods and events for browser managing.
export namespace Browser
```
## Enumerations
| Enumeration | Description |
| --- | --- |
| [SetDownloadBehaviorRequestBehavior](./puppeteer.protocol.browser.setdownloadbehaviorrequestbehavior.md) | |
## Interfaces
| Interface | Description |
Expand Down
Expand Up @@ -4,7 +4,7 @@

## Protocol.Browser.SetDownloadBehaviorRequest.behavior property

Whether to allow all or deny all download requests, or use default Chrome behavior if available (otherwise deny). \|allowAndName\| allows download and names files according to their dowmload guids.
Whether to allow all or deny all download requests, or use default Chrome behavior if available (otherwise deny). \|allowAndName\| allows download and names files according to their dowmload guids. (SetDownloadBehaviorRequestBehavior enum)

<b>Signature:</b>

Expand Down
Expand Up @@ -14,7 +14,7 @@ export interface SetDownloadBehaviorRequest

| Property | Type | Description |
| --- | --- | --- |
| [behavior](./puppeteer.protocol.browser.setdownloadbehaviorrequest.behavior.md) | ('deny' \| 'allow' \| 'allowAndName' \| 'default') | Whether to allow all or deny all download requests, or use default Chrome behavior if available (otherwise deny). \|allowAndName\| allows download and names files according to their dowmload guids. |
| [behavior](./puppeteer.protocol.browser.setdownloadbehaviorrequest.behavior.md) | ('deny' \| 'allow' \| 'allowAndName' \| 'default') | Whether to allow all or deny all download requests, or use default Chrome behavior if available (otherwise deny). \|allowAndName\| allows download and names files according to their dowmload guids. (SetDownloadBehaviorRequestBehavior enum) |
| [browserContextId](./puppeteer.protocol.browser.setdownloadbehaviorrequest.browsercontextid.md) | [BrowserContextID](./puppeteer.protocol.browser.browsercontextid.md) | BrowserContext to set download behavior. When omitted, default browser context is used. |
| [downloadPath](./puppeteer.protocol.browser.setdownloadbehaviorrequest.downloadpath.md) | string | The default path to save downloaded files to. This is requred if behavior is set to 'allow' or 'allowAndName'. |

@@ -0,0 +1,21 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [Protocol](./puppeteer.protocol.md) &gt; [Browser](./puppeteer.protocol.browser.md) &gt; [SetDownloadBehaviorRequestBehavior](./puppeteer.protocol.browser.setdownloadbehaviorrequestbehavior.md)

## Protocol.Browser.SetDownloadBehaviorRequestBehavior enum

<b>Signature:</b>

```typescript
export const enum SetDownloadBehaviorRequestBehavior
```

## Enumeration Members

| Member | Value | Description |
| --- | --- | --- |
| Allow | <code>'allow'</code> | |
| AllowAndName | <code>'allowAndName'</code> | |
| Default | <code>'default'</code> | |
| Deny | <code>'deny'</code> | |

Expand Up @@ -4,7 +4,7 @@

## Protocol.Console.ConsoleMessage.level property

Message severity.
Message severity. (ConsoleMessageLevel enum)

<b>Signature:</b>

Expand Down

0 comments on commit e89e264

Please sign in to comment.