Closed Bug 767945 Opened 14 years ago Closed 14 years ago

Create a method in tabs.js to get the new tab url

Categories

(Mozilla QA Graveyard :: Mozmill Tests, defect)

x86
All
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: remus.pop, Assigned: remus.pop)

References

Details

(Whiteboard: [lib])

Adding a new function in tabs.js library for getting the new tab url. It will be called getNewTabUrl() and it will fallback to "about:blank" if the pref is not set, or it is "".
Why a new bug and not handling that on bug 764782? I don't see a necessity to micro-manage those things.
It's related to that bug but it's something different.
Well, that's true but I do not see a reason why we need such a method. As mentioned over on bug 764782 there is already a method in Firefox core which returns that URL. The only consumer right now is closeAllTabs() and I don't think we will have another one.
I will use the constant used along with getNewTabURL(), in bug 764782.
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → INVALID
Product: Mozilla QA → Mozilla QA Graveyard
You need to log in before you can comment on or make changes to this bug.