Open
Bug 775110
Opened 12 years ago
Updated 3 years ago
Cannot Drag Captcha Text into Textarea
Categories
(Core :: DOM: Copy & Paste and Drag & Drop, defect, P5)
Tracking
()
REOPENED
mozilla17
People
(Reporter: therubex, Unassigned)
References
()
Details
(Keywords: regression, testcase)
Attachments
(2 files, 1 obsolete file)
250 bytes,
text/html
|
Details | |
9.62 KB,
patch
|
ehsan.akhgari
:
review+
|
Details | Diff | Splinter Review |
URL: http://forums.mozillazine.org/posting.php?mode=post&f=40 Disable JavaScript Refresh the page You should see: > We need to make sure you are a human. Please solve the challenge below, and > click the I'm a Human button to get a confirmation code. To make this > process easier in the future, we recommend you enable Javascript. Followed by a two word phrase Type the two words into the box Click, "I'm a human" (if successful) Text code is generated Highlight said text (Ctrl+A) Attempt to drag the text into any of the textareas on the screen Mouse pointer changes when hovering the textarea giving an indication that you should be able to drop Drop Nothing happens This worked in SeaMonkey 2.10 & FF13, but not in SeaMonkey 2.11 nor FF14. If you open a new window of URL, you are able to drag the text from the original window into the new window textarea. Mozilla/5.0 (Windows NT 5.1; rv:16.0) Gecko/16.0 Firefox/16.0 SeaMonkey/2.13a2 Build identifier: 20120718013005 (for Mc.)
Comment 1•12 years ago
|
||
(No need to disable JavaScript)
Comment 2•12 years ago
|
||
Regression window(cached m-c): Good: http://hg.mozilla.org/mozilla-central/rev/3de967c4624c Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120321 Firefox/14.0a1 ID:20120321025041 Bad: http://hg.mozilla.org/mozilla-central/rev/f10862ac3217 Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120321 Firefox/14.0a1 ID:20120321033140 Pushlog: http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=3de967c4624c&tochange=f10862ac3217 Regression window(cached m-i): Good: http://hg.mozilla.org/integration/mozilla-inbound/rev/4ce96dfc2c16 Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120319 Firefox/14.0a1 ID:20120320075941 Bad: http://hg.mozilla.org/integration/mozilla-inbound/rev/f163b1d6621e Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120320 Firefox/14.0a1 ID:20120320100241 Pushlog: http://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=4ce96dfc2c16&tochange=f163b1d6621e Suspected: Bug 605991
Blocks: 605991
Keywords: regression
Updated•12 years ago
|
Updated•12 years ago
|
OS: Windows XP → All
Comment 3•12 years ago
|
||
(In reply to Alice0775 White from comment #2) > Suspected: Bug 605991 As always, thanks Alice :) This bug wouldn't block release, but would be great to fix for FF15 given the fact that this is a recent regression.
Updated•12 years ago
|
Assignee: nobody → enndeakin
Comment 4•12 years ago
|
||
Bug 605991 caused data being dragged from different domains to not be allowed to be dropped on a parent frame. In the testcase here, the child frame has a data url. I originally had a check for that which allowed data urls but Olli didn't think it was needed. Maybe it is? There's a related bug here. The editor code isn't allowing drops from the same domain and should be. I can attach a patch for that.
Comment 5•12 years ago
|
||
Comment 6•12 years ago
|
||
Comment on attachment 648794 [details] [diff] [review] Allow same domains in editors This patch doesn't fix the bug, but is needed as part of the fix.
Attachment #648794 -
Flags: review?(ehsan)
Comment 7•12 years ago
|
||
Comment on attachment 648794 [details] [diff] [review] Allow same domains in editors Review of attachment 648794 [details] [diff] [review]: ----------------------------------------------------------------- Shouldn't you use the principals of the documents to check this, the same way that nsHTMLEditor::IsSafeToInsertData works? In fact you can probably move that method to nsEditor and just use it directly.
Attachment #648794 -
Flags: review?(ehsan) → review-
Comment 8•12 years ago
|
||
The original bug (with mozillazine) probably isn't fixable without reverting bug 605991 as it relies on dragging text from a child frame from a different domain.
Comment 9•12 years ago
|
||
(In reply to comment #8) > The original bug (with mozillazine) probably isn't fixable without reverting > bug 605991 as it relies on dragging text from a child frame from a different > domain. What do other browser engines do there?
Comment 10•12 years ago
|
||
Attachment #648794 -
Attachment is obsolete: true
Comment 11•12 years ago
|
||
We(In reply to Ehsan Akhgari [:ehsan] from comment #9) > (In reply to comment #8) > > The original bug (with mozillazine) probably isn't fixable without reverting > > bug 605991 as it relies on dragging text from a child frame from a different > > domain. > > What do other browser engines do there? Chrome has the same problem.
Comment 12•12 years ago
|
||
(In reply to comment #11) > We(In reply to Ehsan Akhgari [:ehsan] from comment #9) > > (In reply to comment #8) > > > The original bug (with mozillazine) probably isn't fixable without reverting > > > bug 605991 as it relies on dragging text from a child frame from a different > > > domain. > > > > What do other browser engines do there? > > Chrome has the same problem. So, WONTFIX?
Comment 13•12 years ago
|
||
Comment on attachment 651073 [details] [diff] [review] Allow same domains in editors, version 2 Still want to have this patch in though.
Attachment #651073 -
Flags: review?(ehsan)
Comment 14•12 years ago
|
||
Comment on attachment 651073 [details] [diff] [review] Allow same domains in editors, version 2 Review of attachment 651073 [details] [diff] [review]: ----------------------------------------------------------------- Sure, looks good!
Attachment #651073 -
Flags: review?(ehsan) → review+
Comment 15•12 years ago
|
||
Checked into inbound. Try run: https://tbpl.mozilla.org/?tree=Try&rev=ffbd68c6d1ae
Comment 16•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/70545fbaccd7
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla17
Updated•12 years ago
|
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 17•12 years ago
|
||
Updating status flags, we're too late to take something for FF15 here but please nominate for uplift to 16 when ready.
Comment 18•12 years ago
|
||
Can we get this fix nominated for FF16 Neil?
Comment 19•12 years ago
|
||
(In reply to Alex Keybl [:akeybl] from comment #18) > Can we get this fix nominated for FF16 Neil? This patch doesn't fix the bug. See comment 11.
Comment 20•12 years ago
|
||
Thanks Ehsan. Given comment 11, users will just have to copy/paste instead of drag. We have not gotten significant user complaints since FF14.
Comment 21•9 years ago
|
||
Not working on this. Chrome doesn't allow this either, so we probably won't fix this.
Assignee: enndeakin → nobody
Comment 22•3 years ago
|
||
Bulk-downgrade of unassigned, >=5 years untouched DOM/Storage bugs' priority.
If you have reason to believe this is wrong (especially for the severity), please write a comment and ni :jstutte.
Severity: normal → S4
Priority: -- → P5
You need to log in
before you can comment on or make changes to this bug.
Description
•