Closed
Bug 333035
Opened 18 years ago
Closed 18 years ago
[1.0.8] Context menu broken on form elements (FF, TB, Suite)
Categories
(Core :: XUL, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: Gavin, Assigned: Gavin)
References
Details
(Keywords: fixed1.7.13, regression)
Attachments
(2 files)
997 bytes,
patch
|
dveditz
:
review+
dbaron
:
superreview+
timr
:
approval-aviary1.0.8+
|
Details | Diff | Splinter Review |
1.98 KB,
patch
|
dveditz
:
review+
dbaron
:
superreview+
timr
:
approval-aviary1.0.8+
timr
:
approval1.7.13+
|
Details | Diff | Splinter Review |
Steps to reproduce: 1) Go to http://google.com/firefox 2a) Right click the text field 2b) Right click the "Google Search" button Expected results: a) Text field input context menu (Copy, Select All, Add keyword for this search, etc) b) Normal context menu Actual results: a & b: Image context menu Seems as though (HTMLInputElement instanceof Components.interfaces.nsIImageLoadingContent) is somehow true at http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/browser/base/content/browser.js&rev=1.296.2.3.2.134.2.16&mark=3796#3794 .
Assignee | ||
Updated•18 years ago
|
Flags: blocking-aviary1.0.8?
Comment 1•18 years ago
|
||
confirmed with Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; rv:1.7.13) Gecko/20060404 Firefox/1.0.8
Updated•18 years ago
|
Keywords: regression
Assignee | ||
Comment 2•18 years ago
|
||
regression from the branch fix for 301329. checking for a non-null URI is important, since form elements are instanceof nsIImageLoadingContent but with a null URI.
Comment 3•18 years ago
|
||
I broke mail and xpfe the same way: mail/base/content/nsContextMenu.js xpfe/communicator/resources/content/nsContextMenu.js Switching product to Core because of missing flag lameness
Component: General → XP Toolkit/Widgets: Menus
Flags: review?(mconnor)
Product: Firefox → Core
Version: 1.0 Branch → 1.7 Branch
Updated•18 years ago
|
Flags: blocking1.7.13?
Summary: [1.0.8] Context menu broken on form elements → [1.0.8] Context menu broken on form elements (FF, TB, Suite)
Assignee | ||
Comment 4•18 years ago
|
||
Assignee | ||
Updated•18 years ago
|
Attachment #217466 -
Flags: superreview?(bzbarsky)
Attachment #217466 -
Flags: review?(dveditz)
Assignee | ||
Updated•18 years ago
|
Attachment #217468 -
Flags: superreview?(bzbarsky)
Attachment #217468 -
Flags: review?(dveditz)
Comment 5•18 years ago
|
||
Comment on attachment 217466 [details] [diff] [review] patch r=dveditz
Attachment #217466 -
Flags: review?(dveditz) → review+
Comment 6•18 years ago
|
||
Comment on attachment 217468 [details] [diff] [review] mail & xpfe r=dveditz
Attachment #217468 -
Flags: review?(dveditz) → review+
Comment 7•18 years ago
|
||
Mail isn't so bad, maybe we don't need to re-spin Thunderbird 1.0.8 1) forms in mail aren't all that common (Spam, HTML newsletters) 2) the wrong context menu reads Select All (works correctly) Copy (works correctly) Copy Image Location (appears to do nothing) In a working build you get the full list of mail actions as in the body context menu, plus a "Copy" item. So you miss a lot of options, but an easy workaround is to move the mouse out of the field and do it there. The essential "Form" options are there and work.
Blocks: 301329
Comment 8•18 years ago
|
||
(In reply to comment #7) > Mail isn't so bad, maybe we don't need to re-spin Thunderbird 1.0.8 We need to respin Tbird 1.0.8 anyway. Correct me if I'm wrong, but this will require a 1.7.13 respin too?
Comment on attachment 217466 [details] [diff] [review] patch It looks like bits were taken from the first patch on bug 301329 instead of the second. Getting this change in seems fine, but I really don'
Attachment #217466 -
Flags: superreview?(bzbarsky) → superreview+
Comment on attachment 217466 [details] [diff] [review] patch It looks like bits were taken from the first patch on bug 301329 instead of the second. Getting this change in seems fine, but I really don't see why that bug was considered critical for the not-current-branch security release. Should backing it out be considered instead? Or at the very least re-verifying the merge was what was landed on the trunk?
Attachment #217468 -
Flags: superreview?(bzbarsky) → superreview+
Oh, I see, it's a regression from a regression from a patch we want.
Assignee | ||
Comment 12•18 years ago
|
||
For what it's worth, I did verify that the other parts of the patch for bug 301329 were correctly merged by comparing the trunk and branch checkins.
Assignee | ||
Updated•18 years ago
|
Attachment #217466 -
Flags: approval-aviary1.0.8?
Assignee | ||
Updated•18 years ago
|
Attachment #217468 -
Flags: approval1.7.13?
Attachment #217468 -
Flags: approval-aviary1.0.8?
OK, seems ok.
Comment 14•18 years ago
|
||
> It looks like bits were taken from the first patch on bug 301329 instead of > the second. Not directly. I missed or misunderstood bug 301329 comment 13 and assumed the "this.target.currentURI" check was to protect against the this.target.currentURI.spec" dereference. The old branch didn't have that so I must have assumed the null-check was superfluous. I would not have guessed that a form item was a nsIImageLoadingContent -- that's just wrong. > Getting this change in seems fine, but I really don't see why that bug > was considered critical for the not-current-branch security release. Bug 293527 was made a 1.0.6 blocker during 1.0.5, then auto-bumped by the 1.0.5->1.0.6 respin and 1.0.7 public exploit response releases. > Should backing it out be considered instead? Or at the very least > re-verifying the merge was what was landed on the trunk? Fixing this bug is a much smaller change than a backout. Comparing the checkins would be worthwhile.
Comment 15•18 years ago
|
||
This is a critical regression that must be fixed. a=timr for drivers Let's go with re-spinning FFx 1.0.8 and Suite 1.7.13. Skip Tbird 1.0.8 unless mscott wades in.
Flags: blocking1.7.13?
Flags: blocking1.7.13+
Flags: blocking-aviary1.0.8?
Flags: blocking-aviary1.0.8+
Comment 16•18 years ago
|
||
mail & xpfe patch is for the Suite 1.7.13 and for TBird 1.0.8, right? I'll approve both patches. But not planning on respinning TBird unless someone screams.
Comment 17•18 years ago
|
||
(In reply to comment #14) > I would not have guessed that > a form item was a nsIImageLoadingContent -- that's just wrong. It's not wrong. Consider an <input type="image">. And remember that an <input> can change its type to image any time. So, this really must implement this interface at all times if it wants to implement it at any time.
Comment 18•18 years ago
|
||
Comment on attachment 217466 [details] [diff] [review] patch Critical regression a=timr for drivers.
Attachment #217466 -
Flags: approval-aviary1.0.8? → approval-aviary1.0.8+
Comment 19•18 years ago
|
||
Comment on attachment 217468 [details] [diff] [review] mail & xpfe Critical regression. a=timr for drivers.
Attachment #217468 -
Flags: approval1.7.13?
Attachment #217468 -
Flags: approval1.7.13+
Attachment #217468 -
Flags: approval-aviary1.0.8?
Attachment #217468 -
Flags: approval-aviary1.0.8+
Assignee | ||
Comment 20•18 years ago
|
||
Checked in both patches on the AVIARY_1_0_1_20050124_BRANCH, and the xpfe patch only on the MOZILLA_1_7_BRANCH.
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Keywords: fixed-aviary1.0.8,
fixed1.7.13
Resolution: --- → FIXED
Updated•18 years ago
|
Keywords: fixed-aviary1.0.8,
fixed1.7.13
Comment 22•18 years ago
|
||
Verified on FFx 1.0.8 Windows respin 20060407 However the Image context menu just regressed to Normal Menu. see bug 333131
Keywords: fixed-aviary1.0.8 → verified-aviary1.0.8
Depends on: 333131
Comment 23•18 years ago
|
||
FWIW: I verified this again with the latest respins on Windows and Linux, and from Schrep's testing on Mac, things look ok here.
Component: XP Toolkit/Widgets: Menus → XUL
QA Contact: general → xptoolkit.widgets
You need to log in
before you can comment on or make changes to this bug.
Description
•