Closed
Bug 306492
Opened 19 years ago
Closed 19 years ago
PFS doesn't take relative urls in pluginspage attribute into consideration
Categories
(Toolkit Graveyard :: Plugin Finder Service, defect, P1)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla1.8final
People
(Reporter: doronr, Assigned: Gavin)
References
Details
(Keywords: fixed1.8.1, regression, Whiteboard: [a?])
Attachments
(2 files, 2 obsolete files)
|
1.17 KB,
patch
|
mtschrep
:
approval1.8b5+
|
Details | Diff | Splinter Review |
|
1.57 KB,
patch
|
mconnor
:
review+
mconnor
:
approval-branch-1.8.1+
dveditz
:
approval1.8.0.1-
|
Details | Diff | Splinter Review |
so if a pluginspage is specified as a relative url ("/bar"), we fail to load the
correct page.
Easy bug, in case someone wants to take it.| Assignee | ||
Updated•19 years ago
|
Whiteboard: [patch-r?]
| Reporter | ||
Comment 3•19 years ago
|
||
Change looks fine. I guess there is no other way to do this other than using docshell?
| Assignee | ||
Comment 4•19 years ago
|
||
Well, it would be possible to use the gBrowser.selectedBrowser.webNavigation.currentURI, since this code should theoretically only run when the corresponding page is displayed, but I figured since we have a document it'd be safer to get it from that.
Hardware: PC → All
Comment 6•19 years ago
|
||
Comment on attachment 195598 [details] [diff] [review] patch We need to catch the potential exception here if pluginsPage isn't a valid URL. r=me with that addressed
Attachment #195598 -
Flags: review?(mconnor) → review+
| Assignee | ||
Updated•19 years ago
|
Whiteboard: [patch-r?] → [checkin needed]
| Assignee | ||
Comment 9•19 years ago
|
||
(In reply to comment #8) > do you need this checked in or can you? Hrm, I thought I had checked it in. I can check it in later today, but if you want to go ahead and do it now that's fine by me.
| Assignee | ||
Comment 10•19 years ago
|
||
Trunk: mozilla/browser/base/content/browser.js; new revision: 1.504;
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Whiteboard: [checkin needed]
| Assignee | ||
Updated•19 years ago
|
Attachment #196147 -
Flags: approval1.8b5?
Updated•19 years ago
|
Flags: blocking1.8b5+
Comment 11•19 years ago
|
||
Comment on attachment 196147 [details] [diff] [review] handle invalid pluginsPage Approved for 1.8b5 per bug meeting
Attachment #196147 -
Flags: approval1.8b5? → approval1.8b5+
| Assignee | ||
Comment 12•19 years ago
|
||
mozilla/browser/base/content/browser.js; new revision: 1.479.2.30;
Keywords: fixed1.8
Target Milestone: --- → Firefox1.5
| Assignee | ||
Comment 13•19 years ago
|
||
Damnit, I forgot to land the contentAreaUtils.js changes from the original patch. Will land that later today.
| Assignee | ||
Comment 14•19 years ago
|
||
Landed the other part of the patch: Trunk: mozilla/toolkit/content/contentAreaUtils.js; new revision: 1.79; Branch: mozilla/toolkit/content/contentAreaUtils.js; new revision: 1.77.2.2;
Status: REOPENED → RESOLVED
Closed: 19 years ago → 19 years ago
Keywords: fixed1.8
Resolution: --- → FIXED
| Reporter | ||
Comment 15•19 years ago
|
||
Ugh, the patch is actually bad. It will create a url for an "" pluginspage (aka no pluginspage defined), so we show the manual url button always (which will then load the site you were at).
| Assignee | ||
Updated•19 years ago
|
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
| Reporter | ||
Comment 16•19 years ago
|
||
Only do this if we have a pluginspage
Attachment #203433 -
Flags: review?
| Reporter | ||
Updated•19 years ago
|
Attachment #203433 -
Flags: review? → review?(mconnor)
| Assignee | ||
Comment 17•19 years ago
|
||
I suck... not able to test at the moment, feel free to take and run with it.
| Assignee | ||
Comment 18•19 years ago
|
||
Comment on attachment 203434 [details] [diff] [review] check for empty pluginspage hmm, no midair
Attachment #203434 -
Attachment is obsolete: true
Updated•19 years ago
|
Attachment #203433 -
Flags: review?(mconnor) → review+
| Assignee | ||
Comment 19•19 years ago
|
||
Landed that on the trunk. mconnor said it`s probably not 1.8.0.1-worthy, so targetting for 1.8.1, I guess... Sorry about the regression :( mozilla/browser/base/content/browser.js; new revision: 1.530;
Comment 20•19 years ago
|
||
+ var docShell = findChildShell(doc, gBrowser.selectedBrowser.docShell, null); What's wrong with gBrowser.currentURI?
| Assignee | ||
Updated•19 years ago
|
Version: unspecified → 1.5 Branch
| Assignee | ||
Comment 22•19 years ago
|
||
Comment on attachment 203433 [details] [diff] [review] fix the error Requesting approval for this very low risk regression fix.
Attachment #203433 -
Flags: approval1.8.1?
Attachment #203433 -
Flags: approval1.8.0.1?
| Assignee | ||
Updated•19 years ago
|
Flags: blocking1.8.0.1?
Comment 23•19 years ago
|
||
Comment on attachment 203433 [details] [diff] [review] fix the error Please consider for 1.8.1 - 1.8.0.1 is for major security and crash issues only.
Attachment #203433 -
Flags: approval1.8.0.1? → approval1.8.0.1-
| Assignee | ||
Updated•19 years ago
|
Whiteboard: [a?]
Comment 24•19 years ago
|
||
Comment on attachment 203433 [details] [diff] [review] fix the error resetting approval request, not sure it was clear this was a regression.
Attachment #203433 -
Flags: approval1.8.0.1- → approval1.8.0.1?
Comment 25•19 years ago
|
||
(In reply to comment #19) > Landed that on the trunk. mconnor said it`s probably not 1.8.0.1-worthy, so > targetting for 1.8.1, I guess... If this is re-fixed on the trunk please mark the bug resolved-fixed.
Keywords: regression
| Assignee | ||
Comment 26•19 years ago
|
||
Yes, this was re-fixed on the trunk. A new bug should have been filed on the regression, it would have been easier to track. To be clear, I'll resummarize: This patch is a simple fix to the original patch that went in for Firefox 1.5. The net effect is that in Firefox 1.5, the Plugin Finder always shows the "Manual" button, and in some cases it will load the same page the user is looking at. The patch essentially reverts to the correct 1.0.x behavior without regressing the original issue fixed in this bug.
Status: REOPENED → RESOLVED
Closed: 19 years ago → 19 years ago
Resolution: --- → FIXED
Updated•19 years ago
|
Flags: blocking1.8.0.1? → blocking1.8.0.1-
Updated•19 years ago
|
Attachment #203433 -
Flags: approval1.8.0.1? → approval1.8.0.1-
Comment 27•19 years ago
|
||
approvals not yet necessary for 1.8.1 -- you can land reviewed patches there the same as on the trunk right now.
Updated•19 years ago
|
Attachment #203433 -
Flags: approval1.8.1? → branch-1.8.1?(mconnor)
Updated•19 years ago
|
Attachment #203433 -
Flags: branch-1.8.1?(mconnor) → branch-1.8.1+
| Assignee | ||
Comment 28•19 years ago
|
||
Fixed on the 1.8 branch. mozilla/browser/base/content/browser.js; new revision: 1.479.2.49;
Keywords: fixed1.8.1
Updated•16 years ago
|
Product: Firefox → Toolkit
Updated•10 years ago
|
Product: Toolkit → Toolkit Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•