Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: honor pageRanges when printing #25600

Merged
merged 2 commits into from Nov 10, 2020
Merged

fix: honor pageRanges when printing #25600

merged 2 commits into from Nov 10, 2020

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 in the last 24 hours 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 in the last 24 hours label Sep 23, 2020
Copy link
Member

@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
Contributor

@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

docs/api/web-contents.md Outdated Show resolved Hide resolved
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org>
@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.

None yet

5 participants