Bug 105792

Summary: Incorrect console logging for sandbox-blocked links with target=_top.
Product: WebKit Reporter: Mike West <mkwst>
Component: WebCore Misc.Assignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 101964    

Mike West
Reported 2012-12-27 04:03:18 PST
Clicking the link in the following frame logs to the console twice, and incorrectly blames JavaScript for the navigation: <iframe sandbox="allow-scripts" srcdoc="<a href='document' target='_top'>link</a>"></iframe> Ideally, we would log only one message (that is, we should check Document::canNavigate only once), and differentiate between navigation sources.
Attachments
Note You need to log in before you can comment on or make changes to this bug.