After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 354584 - DOMParser() does not work in epiphany, but no problem in firefox
DOMParser() does not work in epiphany, but no problem in firefox
Status: RESOLVED DUPLICATE of bug 353115
Product: epiphany
Classification: Core
Component: [obsolete] Backend:Mozilla
2.16.x
Other All
: Normal major
: ---
Assigned To: Epiphany Maintainers
Marco Pesenti Gritti
Depends on:
Blocks:
 
 
Reported: 2006-09-06 09:51 UTC by Frej Soya
Modified: 2006-09-28 16:24 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16



Description Frej Soya 2006-09-06 09:51:57 UTC
Please describe the problem:
This snipppet causes:
<html>	
<script type="text/javascript">

	var parser = new DOMParser(); 
</script>
<body>
<h1>HELLO</h1>
</body>
</html>

Javascript error in  on line 0:
uncaught exception: [Exception... "Failure"  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame :: file:///home/frej/test.html :: <TOP_LEVEL> :: line 6"  data: no]



Steps to reproduce:


Actual results:


Expected results:


Does this happen every time?


Other information:
Ubuntu edgy, firefox:
Mozilla/5.0 (X11; U; Linux i686; en; rv:1.8.1b1) Gecko/20060601 BonEcho/2.0b1 (Ubuntu-edgy)
Comment 1 Diego Escalante Urrelo (not reading bugmail) 2006-09-09 07:22:50 UTC
Doesn't happen here (on edgy too).
Did you tried again? Maybe it was a bug in the crazy gnome update days in edgy.
Comment 2 Frej Soya 2006-09-09 11:06:17 UTC
There are no visual problems with the sample code. 

forgot to say that the error is shown only if enable the extension  "error viewer" and then go to tools -> error-viewer.

It is still there today.

Probably a problem with firefox2 beta <-> eclipse (gtkmozembed). Since there is no problem with firefox2 itself.
Comment 3 Diego Escalante Urrelo (not reading bugmail) 2006-09-09 15:22:27 UTC
I have that enabled... I checked there and in the console output.
Hmmm, let's wait until edgy is somewhat stable to be sure.
Comment 4 Lionel Dricot 2006-09-28 16:24:58 UTC
Marked it as a duplicate as it seems to be 

*** This bug has been marked as a duplicate of 353115 ***