Closed
Bug 356341
Opened 18 years ago
Closed 16 years ago
when opening a group of bookmarks (and livemarks) don't stop on invalid scheme
Categories
(Firefox :: Bookmarks & History, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 356571
People
(Reporter: moco, Unassigned)
References
Details
Attachments
(1 file)
85.44 KB,
image/jpeg
|
Details |
when opening a group of bookmarks (and livemarks) don't stop on invalid scheme
see bug #356321 for how this can happen in the real world.
a way to reproduce it is to have a bm folder with 3 bookmarks, and you can set the 2nd bm url to be foo:bar, and we'll fail when trying to open the group of bookmarks as tabs and we'll stop opening bookmarks as tabs.
I'll attach as screen shot of the problem.
maybe it would be good to move this error into the content, like you see when the server is not found? (try loading http://www.adsfda.sdfs.cxxx/)
Reporter | ||
Comment 2•18 years ago
|
||
Comment 3•18 years ago
|
||
(In reply to comment #0)
> when opening a group of bookmarks (and livemarks) don't stop on invalid scheme
I thought this was already covered by http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/browser/base/content/browser.js&rev=1.716&mark=1603,1604#1593 , but I guess bookmarks doesn't use that function?
> maybe it would be good to move this error into the content, like you see when
> the server is not found? (try loading http://www.adsfda.sdfs.cxxx/)
That used to happen, but had to be reverted due to bug 307027 (see bug 307027 comment 6).
No longer depends on: 260918
Comment 4•18 years ago
|
||
(In reply to comment #3)
> I thought this was already covered by
> http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/browser/base/content/browser.js&rev=1.716&mark=1603,1604#1593
> , but I guess bookmarks doesn't use that function?
Oh, I see why this no longer works - before bug 308396 loadOneOrMoreURIs loaded each tab itself, and wrapped the loadTab call in a try/catch, but now we call loadTabs, which doesn't catch individual exceptions when it loops through the tabs to add.
(compare with http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/browser/base/content/browser.js&rev=1.554&mark=1461,1462#1458)
Comment 5•18 years ago
|
||
Of course, I just realized that that function is only used for homepages, so isn't exactly relevant to this bug. I'll file another bug I guess, sorry for the bugspam!
OS: Mac OS X 10.3 → All
Hardware: PC → All
Comment 6•18 years ago
|
||
I filed bug 356571.
Comment 7•16 years ago
|
||
instead we are now using loadTabs in Places, so i suppose now these bugs are the same.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•