Bug 51252
| Summary: | WebKit2: Web pages can prevent default for Alt+* keydowns, but shouldn't be able to | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Adam Roben (:aroben) <aroben> |
| Component: | DOM | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | andersca, ap, enrica, sam |
| Priority: | P2 | Keywords: | InRadar, PlatformOnly |
| Version: | 528+ (Nightly build) | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
Adam Roben (:aroben)
Classic WebKit contains code in WebView::keyDown to disallow web pages from preventing default for Alt+* keydowns. WebKit2 does not have this code. This makes it possible for web pages to, e.g., prevent Alt+F from showing the File menu.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Alexey Proskuryakov
While this bug is Windows specific, we've always had this problem on Mac, and that also needs to be fixed some day.
Adam Roben (:aroben)
<rdar://problem/8782533>