Skip to content

Conversation

@codebytere
Copy link
Member

Backport of #22673.

See that PR for more details.

Notes: Fixed a potential crash on invalid zoomFactor values when setting the zoom factor of a webpage.

@electron-cation electron-cation bot added the new-pr 🌱 PR opened recently label Mar 16, 2020
@trop trop bot mentioned this pull request Mar 16, 2020
6 tasks
@trop trop bot added 7-1-x backport This is a backport PR labels Mar 16, 2020
@codebytere codebytere requested a review from a team March 16, 2020 21:54
@electron-cation electron-cation bot removed the new-pr 🌱 PR opened recently label Mar 16, 2020
Copy link
Member

@jkleinsc jkleinsc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like a sneaky double comma made its way into this change 😄

@codebytere codebytere requested a review from jkleinsc March 18, 2020 01:23
@zcbenz
Copy link
Contributor

zcbenz commented Mar 20, 2020

The test is failing:

webContents module "after each" hook for "throws on an invalid zoomFactor" - "after each" hook for "throws on an invalid zoomFactor"
/Users/distiller/project/src/electron/spec/api-web-contents-spec.js
moreError: Object has been destroyed

@MarshallOfSound MarshallOfSound changed the base branch from 7-1-x to 7-2-x March 23, 2020 16:53
@trop trop bot added the 7-2-x label Mar 23, 2020
@codebytere codebytere force-pushed the bad-zoom-factor-7 branch 2 times, most recently from 7ee213f to c77a3a4 Compare March 23, 2020 18:25
@zcbenz
Copy link
Contributor

zcbenz commented Mar 24, 2020

Maybe using webContents.create to create a headless WebContents to avoid the exception?

@jkleinsc
Copy link
Member

jkleinsc commented Apr 8, 2020

Merging as CI failures are known flakes unrelated to this PR.

@jkleinsc jkleinsc merged commit 779e325 into 7-2-x Apr 8, 2020
@release-clerk
Copy link

release-clerk bot commented Apr 8, 2020

Release Notes Persisted

Fixed a potential crash on invalid zoomFactor values when setting the zoom factor of a webpage.

@codebytere codebytere deleted the bad-zoom-factor-7 branch April 8, 2020 15:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

7-2-x backport This is a backport PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants