[Webkit-unassigned] [Bug 177582] Request for PDF URL targets for specific pages, sections, etc.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 27 17:05:04 PDT 2017


https://bugs.webkit.org/show_bug.cgi?id=177582

--- Comment #2 from Tim Horton <thorton at apple.com> ---
Comment on attachment 322043
  --> https://bugs.webkit.org/attachment.cgi?id=322043
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=322043&action=review

> Source/WebKit/ChangeLog:5
> +        <rdar://problem/33496301>

This should be 5692679; the one you mentioned is a dupe.

> Source/WebKit/WebProcess/Plugins/PDF/PDFLayerControllerSPI.h:71
> + at property (nonatomic, strong) NSString* URLFragment;

The asterisk is on the wrong side; we put them on the left for C++ types and on the right for ObjC types (it's weird, I know).

> Source/WebKit/WebProcess/Plugins/PDF/PDFPlugin.mm:1039
> +        m_pdfLayerController.get().URLFragment = pdfURL.substring(index);

This should get wrapped in an __MAC_OS_X_VERSION_MIN_REQUIRED ifdef, because it's not available in shipping versions of macOS.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170928/8173587c/attachment.html>


More information about the webkit-unassigned mailing list