Closed
Bug 563030
Opened 15 years ago
Closed 15 years ago
setting data member of object tag in javascript does not load the url specified
Categories
(Core Graveyard :: Plug-ins, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: mike.polyakov, Unassigned)
References
Details
User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9.1.2) Gecko/20090805 Firefox/3.5.2
Build Identifier: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.8.1.4) Gecko/20070611 SeaMonkey/1.1.2 Mnenhy/0.7.5.666
When setting the 'data' member of OBJECT tag to a new url, nothing happens. The object frame is still displaying the url that was loaded initially.
Reproducible: Always
Steps to Reproduce:
1. Write this html:
<html>
<body>
<head>
</head>
<object id='theobject' onload='loaded()' data="http://www.yahoo.com/" type="text/html" width=300 height=200>
</object>
<script>
var x = document.getElementById('theobject');
x.data = 'http://www.google.com/';
</script>
</body>
</html>
2. load the page
3. observe that the object frame remains on yahoo.com, and does not switch to google
Actual Results:
object frame didn't switch to google.com
Expected Results:
I expect that setting the 'data' member of object will switch to that url right away
Reporter | ||
Comment 1•15 years ago
|
||
I see that User-Agent says Firefox. I submitted the bug report using Firefox, but the bug itself is in seamonkey with specified build id. Thanks.
Updated•15 years ago
|
Component: General → Plug-ins
Product: SeaMonkey → Core
Updated•15 years ago
|
QA Contact: general → plugins
Comment 3•15 years ago
|
||
Comment 4•15 years ago
|
||
And I strongly recommend updating to Seamonkey 2.0.4 today, since Seamonkey 1.1.2 is no longer supported even with security fixes.
Updated•2 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•