WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
196471
Add SPI to give injected bundles access to displayed PDFDocuments
https://bugs.webkit.org/show_bug.cgi?id=196471
Summary
Add SPI to give injected bundles access to displayed PDFDocuments
Remy Demarest
Reported
2019-04-01 17:03:51 PDT
Add SPI to give injected bundles access to displayed PDFDocuments
Attachments
Patch
(9.85 KB, patch)
2019-04-01 17:10 PDT
,
Remy Demarest
thorton
: review+
Details
Formatted Diff
Diff
Updated patch
(9.77 KB, patch)
2019-04-01 17:19 PDT
,
Remy Demarest
thorton
: review+
thorton
: commit-queue-
Details
Formatted Diff
Diff
Updated patch using autorelease()
(9.77 KB, patch)
2019-04-01 18:22 PDT
,
Remy Demarest
no flags
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Remy Demarest
Comment 1
2019-04-01 17:04:13 PDT
<
rdar://problem/49339242
>
Remy Demarest
Comment 2
2019-04-01 17:10:38 PDT
Created
attachment 366445
[details]
Patch
EWS Watchlist
Comment 3
2019-04-01 17:13:18 PDT
Attachment 366445
[details]
did not pass style-queue: ERROR: Source/WebKit/WebProcess/InjectedBundle/API/c/mac/WKBundlePageMac.mm:31: Alphabetical sorting problem. [build/include_order] [4] ERROR: Source/WebKit/WebProcess/InjectedBundle/API/c/mac/WKBundlePageMac.h:26: Use #pragma once instead of #ifndef for header guard. [build/header_guard] [5] Total errors found: 2 in 4 files If any of these errors are false positives, please file a bug against check-webkit-style.
Tim Horton
Comment 4
2019-04-01 17:13:34 PDT
Comment on
attachment 366445
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=366445&action=review
> Source/WebKit/WebProcess/InjectedBundle/API/c/mac/WKBundlePageMac.h:40 > +#ifdef __OBJC__
I feel like at this point you can just toss the whole file in #ifdef __OBJC__, no need to open and close it a few times
> Source/WebKit/WebProcess/InjectedBundle/API/c/mac/WKBundlePageMac.mm:36 > +#include <WebCore/Frame.h>
#import!
Remy Demarest
Comment 5
2019-04-01 17:19:03 PDT
Created
attachment 366448
[details]
Updated patch
Tim Horton
Comment 6
2019-04-01 18:13:56 PDT
Comment on
attachment 366448
[details]
Updated patch View in context:
https://bugs.webkit.org/attachment.cgi?id=366448&action=review
> Source/WebKit/WebProcess/InjectedBundle/API/c/mac/WKBundlePageMac.mm:48 > + return pluginView->pdfDocumentForPrinting().get();
Unlikely to come up, but shouldn't this be a .autorelease()?
Remy Demarest
Comment 7
2019-04-01 18:22:00 PDT
Created
attachment 366451
[details]
Updated patch using autorelease()
WebKit Commit Bot
Comment 8
2019-04-01 19:04:36 PDT
Comment on
attachment 366451
[details]
Updated patch using autorelease() Clearing flags on attachment: 366451 Committed
r243731
: <
https://trac.webkit.org/changeset/243731
>
WebKit Commit Bot
Comment 9
2019-04-01 19:04:37 PDT
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug