Closed
Bug 497770
Opened 17 years ago
Closed 17 years ago
Setting the slider url to certain websites completely takes over the browser
Categories
(Mozilla Labs :: Jetpack Prototype, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
0.3
People
(Reporter: stupidbob307, Assigned: Mardak)
References
Details
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1b4) Gecko/20090423 Firefox/3.5b4
Build Identifier: .2
Certain websites like myspace.com and the gmail popup window cause the slider to take up the whole the whole browser. Tabs lockup and all. If you close all windows and disable javascript you can uninstall the jetpack and get back to normal.
Reproducible: Always
Steps to Reproduce:
Just make a jetpack with the following:
jetpack.future.import("slideBar");
jetpack.slideBar.append({
icon: "http://gmail.com/favicon.ico",
url: "http://mail.google.com/mail/?ui=2&ik=bd6d42e1dc&view=cm&fs=1&tf=1&ver=wi-f1CYV_Pk.en.&am=b3EopdTncGGRBPV60fT2SvIXIXQh3A#cmid%253D2",
width: 500,
onSelect: function(slide) slide({ size: 500 }),
});
| Assignee | ||
Comment 1•17 years ago
|
||
The website is probably grabbing at top and somehow eventually getting to the browser and changing the location.
SlideBar needs to wrap the frame to only allow access to certain properties.
Status: UNCONFIRMED → NEW
Ever confirmed: true
| Assignee | ||
Comment 3•17 years ago
|
||
http://hg.mozilla.org/labs/jetpack/rev/5e2c8d34e782
Use a xul:iframe and set the type="content" and work around content-over-everything bug by display: none not-selected iframes.
Assignee: nobody → edilee
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Target Milestone: -- → 0.3
You need to log in
before you can comment on or make changes to this bug.
Description
•