Closed Bug 538442 Opened 15 years ago Closed 15 years ago

A webpage can override <select /> method and prevent the formfill to works correctly

Categories

(Firefox for Android Graveyard :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: vingtetun, Assigned: vingtetun)

References

Details

Attachments

(1 file, 2 obsolete files)

Attached patch Patch (obsolete) — Splinter Review
a testcase is here : 
http://people.mozilla.com/~mrbkap/fennec.html

The patch also remove some unneeded wrappedJSObject call since we don't react on webpage event as before for formfill but handle them directly thought getElementFromPoint in browser.js

http://mxr.mozilla.org/mobile-browser/source/chrome/content/browser.js#1878
Attachment #420588 - Flags: review?(mark.finkle)
Comment on attachment 420588 [details] [diff] [review]
Patch

Looks good, but we should test in as many cases as apoosible. I mean, we have bugs releated to formfill, and we fixed them. Let's make sure we don't regress.
Attachment #420588 - Flags: review?(mark.finkle) → review+
s/apoosible/possible

s/releated /related
Attached patch Patch v0.2 (obsolete) — Splinter Review
Seems to work without the XPCNativeWrapper call but we need to remove the .wrappedJSObject
Assignee: nobody → 21
Attachment #420588 - Attachment is obsolete: true
Attachment #420808 - Flags: review?(mark.finkle)
Attachment #420808 - Flags: review?(gavin.sharp)
Attachment #420808 - Attachment is obsolete: true
Attachment #420808 - Flags: review?(mark.finkle)
Attachment #420808 - Flags: review?(gavin.sharp)
Comment on attachment 420808 [details] [diff] [review]
Patch v0.2

Looks like this is a subset of attachment 420824 [details] [diff] [review], which I r+ed over in that bug :)
wfm
mrbkap can you confirm that it works for you?
Yep, this was fixed by bug 537555. Thanks!
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
verified FIXED on builds :

Mozilla/5.0 (X11; U; Linux armv7l; Nokia N900; en-US; rv:1.9.2pre) Gecko/20100112 Firefox/3.6pre Fennec/1.1a1pre

and

Mozilla/5.0 (X11; U; Linux armv6l; Nokia N8xx; en-US; rv:1.9.3a1pre) Gecko/20100112 Firefox/3.7a1pre Fennec/1.1a1pre
Status: RESOLVED → VERIFIED
Flags: in-litmus?
I'm reassigning this to myself for adding litmus testcases for this (aakashd discussed this on irc with blassey and ted on #mobile).
Assignee: 21 → martijn.martijn
Assignee: martijn.martijn → 21
Flags: in-litmus? → in-litmus?(martijn.martijn)
Attached file testcase
Here's the testcase from http://people.mozilla.com/~mrbkap/fennec.html for posterity.
Depends on: 537555
https://litmus.mozilla.org/show_test.cgi?id=13627
Flags: in-litmus?(martijn.martijn) → in-litmus+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: