Closed
Bug 296505
Opened 21 years ago
Closed 20 years ago
cannot close tabs after browsing Xforms pages
Categories
(SeaMonkey :: Tabbed Browser, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 137477
People
(Reporter: thibault, Unassigned)
References
Details
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8b2) Gecko/20050531 Firefox/1.0+
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8b2) Gecko/20050531 Firefox/1.0+
After few hours of browsing, i was unable to close some of the tabs in my tab-bar.
(Either with Ctrl+w or with the red-X button on the right of the tab-bar).
Only several of the tabs were not-closable and some other closed themselves
without a problem.
Here is what i did before this happened, i hope it can give you a clue on what
triggered it :
- I surfed regular webpages and svg pages.
- I added the browser.sessionhistory.max_viewers variable to the about:config,
as an Integer with value to 1, since I read that it would improve my history
browsing speed.
- I installed the extension Mozilla XForms 0.1 (xform.xpi) from
http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/deerpark/alpha1/linux-i686/xpi/xforms.xpi
.
Once i was in the extension window i saw that my jsLib Lite 0.1.234 extension
was not compatible with DeerPark ("Disabled - not compatible with DeerPark
1.0+"), but i didn't remove it.
Then i clicked "Update" to check for new versions of the extensions, but it
didn't find anything. (It probably added the RDFItemUpdater:checkForUpdates at
the end of the JavaScript error list).
I didn't restart DeerPark, because I forgot and I didn't read :-)
- Then I tried to surf pages with XForms on http://www.w3.org/MarkUp/Forms/Test/
and this is when I realized some tabs couldn't be closed.
I looked at the JavaScript Console, and here are the last errors i got : (the
last is the first one).
Everytime I try to close a tab and it didn't work, it writes another error like
the first one in the list.
"""
Error: uncaught exception: [Exception... "Component returned failure code:
0x80004005 (NS_ERROR_FAILURE) [nsIWebProgress.removeProgressListener]"
nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame ::
chrome://global/content/bindings/tabbrowser.xml :: removeTab :: line 1159"
data: no]
Error: uncaught exception: [Exception... "Node was not found" code: "8"
nsresult: "0x80530008 (NS_ERROR_DOM_NOT_FOUND_ERR)" location:
"chrome://global/content/bindings/tabbrowser.xml Line: 1200"]
Error: Unknown property 'behavior'. Declaration dropped.
Source File: http://www.w3.org/MarkUp/Forms/Test/xhtml2.css
Line: 265
Error: Unknown property '-replace'. Declaration dropped.
Source File: http://www.w3.org/MarkUp/Forms/Test/xhtml2.css
Line: 260
Error: Unknown property '-replace'. Declaration dropped.
Source File: http://www.w3.org/MarkUp/Forms/Test/xhtml2.css
Line: 260
Error: Unknown property '-use-link-source'. Declaration dropped.
Source File: http://www.w3.org/MarkUp/Forms/Test/xhtml2.css
Line: 254
Error: Unknown property '-set-link-source'. Declaration dropped.
Source File: http://www.w3.org/MarkUp/Forms/Test/xhtml2.css
Line: 253
Error: Unknown namespace prefix 'xforms'. Ruleset ignored due to bad selector.
Source File: http://www.w3.org/MarkUp/Forms/Test/xhtml2.css
Line: 249
RDFItemUpdater:checkForUpdates sending a request to server for:
http://jslib.mozdev.org/updateLite.rdf, item =
({id:"{DF8E5247-8E0A-4de6-B393-0735A39DFD80}", version:"0.1.234",
installLocationKey:"app-profile", minAppVersion:"0.9", maxAppVersion:"1.0",
name:"jsLib Lite", xpiURL:"",
iconURL:"chrome://mozapps/skin/xpinstall/xpinstallItemGeneric.png",
updateRDF:"http://jslib.mozdev.org/updateLite.rdf", type:2})
"""
Then, I closed DeerPark, and launched it again.
When it started, a window opened with the title "Deer Park Update"
The window was listing incompatible components saying :
"""
Incompatible Components
The following components are not compatible with the new version of Deer Park
you have just installed:
jsLib Lite 0.1.234
Mozilla XForms 0.1
They have been disabled until compatible versions are installed.
Deer Park can check for and install newer, compatible versions of these components
Don't Check / Check Now
"""
I clicked "Don't Check" and it started OK.
When I opened the extension window, it tells me I just have the "jsLib Lite
0.1.234" extension (which is not compatible), but not the Mozilla XForms 0.1 ...
Reproducible: Always
Steps to Reproduce:
1. Install the xform.xpi extension (
http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/deerpark/alpha1/linux-i686/xpi/xforms.xpi
)
2. Go to http://www.w3.org/MarkUp/Forms/Test/chapter3.xml
3. Open the first link "Chapter 3" in a new tab :
http://www.w3.org/MarkUp/Forms/Test/chapter3.xml
4. Open the first link in a new tab : "Use a variety of namespace prefixes,
including a default namespace."
5. Then close the last (With xforms example), it should close ok
6. Then close the last (Chapter 3), and it shouldn't close itself ...
Actual Results:
Some of my tabbed windows werere un-removable from the tab-bar, and the
adress-bar responded unexepectedly too.
Expected Results:
not block the tab-bar.
Here are informations on my platform :
$ uname -a
Linux thibault 2.4.26-1-386 #1 Thu Jul 22 12:46:23 JST 2004 i686 GNU/Linux
I'm under debian testing, and i have Firefox 1.0.4 installed with both packages :
mozilla-firefox and mozilla-firefox-locale-fr-fr
I installed DeerPark in my $HOME directory, and it didn't seem to create any
conflicts with both installations.
I'm running DeerPark with the Firefox (default) 2.0 Theme.
Updated•21 years ago
|
Assignee: nobody → aaronr
Component: Tabbed Browser → XForms
Product: Firefox → Core
QA Contact: tabbed.browser → spride
Version: unspecified → 1.0 Branch
Updated•21 years ago
|
Version: 1.0 Branch → Trunk
Comment 1•21 years ago
|
||
(In reply to comment #0)
> Steps to Reproduce:
> 1. Install the xform.xpi extension (
>
http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/deerpark/alpha1/linux-i686/xpi/xforms.xpi
> )
> 2. Go to http://www.w3.org/MarkUp/Forms/Test/chapter3.xml
> 3. Open the first link "Chapter 3" in a new tab :
> http://www.w3.org/MarkUp/Forms/Test/chapter3.xml
> 4. Open the first link in a new tab : "Use a variety of namespace prefixes,
> including a default namespace."
> 5. Then close the last (With xforms example), it should close ok
> 6. Then close the last (Chapter 3), and it shouldn't close itself ...
I cannot reproduce this.
It may be related to the crashed in bug 296863, which I cannot reproduce either :(
Comment 2•21 years ago
|
||
Can anybody reproduce this? If not, it is invalid.
I got myself into this state once today trying to recreate this bug, but I'm not
sure that XForms really needs to be involved, so it might not be our problem.
I'll try to see if I can recreate it again.
On the 08/10 nightly, this is pretty easily recreatable without needing the
XForms extension installed.
1) Go to http://www.w3.org/MarkUp/Forms/Test/chapter3.xml
2) right click on "Namespace support"
3) select "Open Link in New Tab"
4) right click on "Common attributes"
5) select "Open Link in New Tab"
6) click on red 'X' button on tab line to close current tab. Tab closes (the
chapter3.xml page).
7) click on red 'X' button on tab line to close current tab. Nothing happens.
Even though there are two more tabs open, these tabs cannot close by clicking on
the red 'X'. Ctrl+w doesn't close the tab either. You have to right click on
the tab and actually choose "close tab" to close the tab and that sometimes
doesn't even work.
My debug console shows:
JavaScript error: chrome://global/content/bindings/tabbrowser.xml, line 619: thi
s.mCurrentBrowser.focusedElement.blur is not a function
WARNING: NS_ENSURE_TRUE(nsDoc) failed, file f:/ns50xformsfirefox/mozilla/content
/xul/content/src/nsXULElement.cpp, line 2583
JavaScript error: , line 0: uncaught exception: [Exception... "Component returne
d failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMXULElement.boxObject]" nsr
esult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: chrome://global/c
ontent/bindings/browser.xml :: get_docShell :: line 0" data: no]
WARNING: NS_ENSURE_TRUE(nsDoc) failed, file f:/ns50xformsfirefox/mozilla/content
/xul/content/src/nsXULElement.cpp, line 2583
JavaScript error: , line 0: uncaught exception: [Exception... "Component returne
d failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMXULElement.boxObject]" nsr
esult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: chrome://global/c
ontent/bindings/browser.xml :: get_docShell :: line 0" data: no]
WARNING: NS_ENSURE_TRUE(nsDoc) failed, file f:/ns50xformsfirefox/mozilla/content
/xul/content/src/nsXULElement.cpp, line 2583
(repeating this last error every time I try to close the tab)
But like I said, I don't think that this is a XForms bug. Will try to figure
out where to send this bug to. Maybe "tabbed browsing" component?
Assignee: aaronr → nobody
Component: XForms → Tabbed Browser
QA Contact: spride → tabbed-browser
Comment 6•20 years ago
|
||
*** This bug has been marked as a duplicate of 137477 ***
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
| Assignee | ||
Updated•18 years ago
|
Product: Core → SeaMonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•