On Safari 5, you can select a word on http://www.nakedvalue.com/ by right clicking even though the page has document.body.onselectstart = function () { return false; } On ToT WebKit this bug no longer exists. We should add a test to ensure this does not regress.
Created attachment 98923 [details] adds a regression test
Comment on attachment 98923 [details] adds a regression test View in context: https://bugs.webkit.org/attachment.cgi?id=98923&action=review > LayoutTests/fast/events/selectstart-prevent-selection-on-right-click.html:17 > + document.writeln('This test requires eventSender'); A little strange to use writeln, since it just puts in a newline that will be collapsed out.
Committed r89929: <http://trac.webkit.org/changeset/89929>
(In reply to comment #2) > A little strange to use writeln, since it just puts in a newline that will be collapsed out. I guess I should be doing #test.textContent = x. Will fix along and add it to the skipped list of mac-wk2.