Skip to content

Conversation

@codebytere
Copy link
Member

Backport of #25064.

See that PR for more details.

Notes: Fixed an issue where pageRanges was not properly honored when printing.

@codebytere codebytere requested a review from a team September 23, 2020 18:18
@codebytere codebytere requested a review from a team as a code owner September 23, 2020 18:18
@electron-cation electron-cation bot added the new-pr 🌱 PR opened recently label Sep 23, 2020
@trop trop bot mentioned this pull request Sep 23, 2020
6 tasks
@trop trop bot added 11-x-y backport This is a backport PR labels Sep 23, 2020
@electron-cation electron-cation bot removed the new-pr 🌱 PR opened recently label Sep 23, 2020
Copy link
Contributor

@zcbenz zcbenz left a comment

Choose a reason for hiding this comment

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

There are typescript errors:

ERROR in /Users/distiller/project/src/electron/lib/browser/api/web-contents.ts
[tsl] ERROR in /Users/distiller/project/src/electron/lib/browser/api/web-contents.ts(280,27)
      TS2339: Property 'from' does not exist on type 'PageRanges[]'.

ERROR in /Users/distiller/project/src/electron/lib/browser/api/web-contents.ts
[tsl] ERROR in /Users/distiller/project/src/electron/lib/browser/api/web-contents.ts(285,27)
      TS2339: Property 'to' does not exist on type 'PageRanges[]'.

ERROR in /Users/distiller/project/src/electron/lib/browser/api/web-contents.ts
[tsl] ERROR in /Users/distiller/project/src/electron/lib/browser/api/web-contents.ts(292,24)
      TS2339: Property 'from' does not exist on type 'PageRanges[]'.

ERROR in /Users/distiller/project/src/electron/lib/browser/api/web-contents.ts
[tsl] ERROR in /Users/distiller/project/src/electron/lib/browser/api/web-contents.ts(293,22)
      TS2339: Property 'to' does not exist on type 'PageRanges[]'.

@ckerr
Copy link
Member

ckerr commented Oct 28, 2020

@codebytere is this PR still live?

@codebytere
Copy link
Member Author

@ckerr i need to figure out the TS stuff but yes!

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 doc change was missed - other than that LGTM

@codebytere codebytere force-pushed the honor-printing-11-x-y branch from ad87d5d to 9d1a3dd Compare November 9, 2020 22:49
@codebytere codebytere requested review from jkleinsc and zcbenz November 9, 2020 23:10
@codebytere codebytere force-pushed the honor-printing-11-x-y branch from 9d1a3dd to 804cbe8 Compare November 10, 2020 00:17
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org>
@codebytere codebytere force-pushed the honor-printing-11-x-y branch from 804cbe8 to fc9c681 Compare November 10, 2020 03:09
@jkleinsc jkleinsc merged commit b0fd7cf into 11-x-y Nov 10, 2020
@release-clerk
Copy link

release-clerk bot commented Nov 10, 2020

Release Notes Persisted

Fixed an issue where pageRanges was not properly honored when printing.

@jkleinsc jkleinsc deleted the honor-printing-11-x-y branch November 10, 2020 15:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

11-x-y backport This is a backport PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants