[Webkit-unassigned] [Bug 52195] New: REGRESSION(r71934) Can't type in search edit field on skin-one.com

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jan 10 21:51:19 PST 2011


https://bugs.webkit.org/show_bug.cgi?id=52195

           Summary: REGRESSION(r71934) Can't type in search edit field on
                    skin-one.com
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: Mac OS X 10.5
            Status: NEW
          Keywords: InRadar
          Severity: Normal
          Priority: P1
         Component: Forms
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: adele at apple.com


<rdar://problem/8807518>

It looks like this site is trying to prevent copying of resources by disabling selection:

document.onselectstart=new Function ("return false")

You can reproduce the problem with this markup:
<script>document.onselectstart=new Function("return false")</script>
<input>

Or with this url:
data:text/html,%3Cscript%3Edocument.onselectstart=new%20Function%20(%22return%20false%22)%3C/script%3E%3Cinput%3E

I think before this change, that wouldn't have prevented setting selection in a text field. 

Firefox doesn't appear to allow preventing selection start from this event at all.  We should see what IE does.


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list