Closed
Bug 615482
Opened 15 years ago
Closed 1 year ago
Safebrowsing buttons are non-functional on sites with frames
Categories
(Camino Graveyard :: Security, defect)
Tracking
(Not tracked)
RESOLVED
INCOMPLETE
People
(Reporter: alqahira, Unassigned)
References
()
Details
Attachments
(1 file)
|
549 bytes,
text/html
|
Details |
STR:
1) In a Camino with an up-to-date safebrowsing db, visit http://chansixnewsatnight.tk/
2) Click (because of bug 570838) on the "Close Page" button.
ER: Tab/window closes
AR: Nothing happens
3) Click on the "Ignore this warning" button
ER: Actual site is shown and blocker bar appears
AR: Nothing happens
At first I thought the "Ignore" button could be fixed by doing the same thing that Stuart did to fix bug 471120 (siteURI instead of [self currentURI]), but that doesn't appear to work.
What is happening is that pageURI is wrong in this case; it's returning the URL of the frameset instead of the URL of the error page, which causes the |else if ([pageURI hasPrefix:@"about:safebrowsingblocked"])| check to fail, rendering the buttons non-functional. This means we're getting the wrong thing as the documentURI in |onXULCommand:|, and at that point we get into Gecko stuff, and it all goes over my head.
Flags: camino2.0.7?
| Reporter | ||
Comment 1•15 years ago
|
||
Here's a local testcase that uses our sample phishing page as the frame content so that we don't have to rely on a live site continuing to be live and continuing to have phishing sites in frames.
| Reporter | ||
Comment 2•14 years ago
|
||
Maybe we can fix this in 2.1.x, although in practicality it's less common and less important than the regression bug 570838.
Flags: camino2.0.8? → camino2.0.8-
| Reporter | ||
Updated•14 years ago
|
Flags: camino2.1.1?
| Reporter | ||
Comment 3•14 years ago
|
||
Maybe documentURI needs to do the same sort of things as bug 471120?
| Reporter | ||
Comment 4•13 years ago
|
||
(In reply to Smokey Ardisson (not following bugs - do not email) from comment #3)
> Maybe documentURI needs to do the same sort of things as bug 471120?
I'll try to explore this for 2.1.2.
Flags: camino2.1.2?
Flags: camino2.1.1?
Flags: camino2.1.1-
You need to log in
before you can comment on or make changes to this bug.
Description
•