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
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |