Closed
Bug 410751
Opened 18 years ago
Closed 18 years ago
BrowserPageInfo() in Firefox 3.0b2 breaks API compatibility with earlier versions of Firefox and with SeaMonkey
Categories
(Firefox :: Page Info Window, defect)
Firefox
Page Info Window
Tracking
()
RESOLVED
FIXED
Firefox 3 beta3
People
(Reporter: philip.chee, Assigned: philip.chee)
Details
Attachments
(1 file)
|
2.36 KB,
patch
|
asaf
:
review+
florian
:
review+
mtschrep
:
approval1.9+
|
Details | Diff | Splinter Review |
In firefox 2.0:
BrowserPageInfo(null, "securityTab");
In Minefield 3.0b2:
BrowserPageInfo(null, "security");
This is the Firefox equivalent of a patch I filed against the Suite:
<https://bugzilla.mozilla.org/attachment.cgi?id=295015&action=edit>
I was porting the View Dependencies Page Info extension <http://mozilla.queze.net/> to the new Page Info in Minefield and SuiteRunner when I noticed this change. See Bug 410391 Comment #4 on why this might cause problems for extension authors adapting their extensions to the new Page Info window.
Since there is only one caller of BrowserPageInfo() that makes use of the second parameter, it doesn't make sense to optimize out the trailing "Tab" in the element ID passed to BrowserPageInfo(). Also this removes the unnecessary restriction on names of the element IDs ending with "Tabs".
This patch re-establishes backward compatibility and makes for a smoother experience by extension authors (like Florian Quèze)
Attachment #295342 -
Flags: review?(mano)
Comment 1•18 years ago
|
||
Comment on attachment 295342 [details] [diff] [review]
Patch to make BrowserPageInfo() backward compatible.
This change in the API looks silly. I can't even remember why I made it. I agree we should revert it.
Attachment #295342 -
Flags: review+
| Assignee | ||
Comment 2•18 years ago
|
||
Do I still need a second review by mano? I am unfamiliar with the review rules for Firefox.
Comment 3•18 years ago
|
||
Thanks for the CC and to quote from IRC for your answer Philip...
<Mossop> Callek: Florian isn't a browser peer so yes still needs review
Comment 4•18 years ago
|
||
Comment on attachment 295342 [details] [diff] [review]
Patch to make BrowserPageInfo() backward compatible.
r=mano
Attachment #295342 -
Flags: review?(mano) → review+
Updated•18 years ago
|
Attachment #295342 -
Flags: approval1.9?
Updated•18 years ago
|
Attachment #295342 -
Flags: approval1.9? → approval1.9+
Updated•18 years ago
|
Keywords: checkin-needed
Version: unspecified → Trunk
Comment 5•18 years ago
|
||
Checking in browser/base/content/browser.js;
/cvsroot/mozilla/browser/base/content/browser.js,v <-- browser.js
new revision: 1.921; previous revision: 1.920
done
Checking in browser/base/content/pageinfo/pageInfo.js;
/cvsroot/mozilla/browser/base/content/pageinfo/pageInfo.js,v <-- pageInfo.js
new revision: 1.14; previous revision: 1.13
done
Status: NEW → RESOLVED
Closed: 18 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 3 M11
You need to log in
before you can comment on or make changes to this bug.
Description
•