Bug 180114

Summary: Alternative Presentation Button: Provide a way to query for the replaced elements
Product: WebKit Reporter: Daniel Bates <dbates>
Component: WebCore Misc.Assignee: Daniel Bates <dbates>
Status: RESOLVED FIXED    
Severity: Normal CC: aestes, bfulgham, rniwa, thorton, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Local Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch and layout test thorton: review+

Daniel Bates
Reported 2017-11-28 14:51:36 PST
Provide a way to query for the elements that were replaced by the Alternative Presentation Button.
Attachments
Patch and layout test (16.81 KB, patch)
2017-11-28 14:59 PST, Daniel Bates
thorton: review+
Daniel Bates
Comment 1 2017-11-28 14:51:53 PST
Daniel Bates
Comment 2 2017-11-28 14:59:51 PST
Created attachment 327796 [details] Patch and layout test
Tim Horton
Comment 3 2017-12-01 16:02:38 PST
Comment on attachment 327796 [details] Patch and layout test View in context: https://bugs.webkit.org/attachment.cgi?id=327796&action=review > Source/WebKit/WebProcess/InjectedBundle/API/Cocoa/WKWebProcessPlugInFrame.mm:127 > + [nodeHandles.get() addObject:wrapper(InjectedBundleNodeHandle::getOrCreate(element).get())]; No need for the first .get()
Daniel Bates
Comment 4 2017-12-01 16:09:12 PST
Note You need to log in before you can comment on or make changes to this bug.