Closed Bug 285234 Opened 20 years ago Closed 20 years ago

mapquest maps are invisible

Categories

(SeaMonkey :: General, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: tds, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8b) Gecko/20050217
Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8b) Gecko/20050217

Just recently mapquest has started failing for me.  I downloaded
the latest mozilla (1.8b) to check and it still happens.
Basically any map shows up as blank.

Reproducible: Always

Steps to Reproduce:
1.go to mapquest
2.enter address
3.hit return

Actual Results:  
The map page shows up but the map is blank.
If one does a 'View Image' the map shows up just fine.
The url above works just fine with Safari and Exploiter, so this is perhaps
a change at mapquest that affects mozilla only.

Expected Results:  
Of course the map should have shown up directly.

I highlighted the region of the map, clicked on it and selected View Selection
Source.  It has lots of javascript.  I bet there is an error in there that
mozilla interacts with that can't be handled properly.  I saved the page
and then clicked on the file/icon.  It failed in mozilla.  I dragged and dropped
that file/icon into savari and it was fine.

I copied the file and started digging.  The name of the url has '24x9' in it and
that turned out to be unique in the file.  the line that it is on was one huge
line.  I cut away everything else in the file except that line, and, since
it is part of a table, I added

<html><table>
and
</table>
</html>
below.  I wrote this out (using vi from a terminal) to 1.html.  This failed in
mozilla but worked in safari!
I broke out the three table data items and deleted the first - same.
I then deleted the last data item - now both the left and right blue
bars for west and east are gone.  Fails in mozilla, works in safari.
In mozilla it is curious - the page is BLANK.  But I can click on it
and View Image and it works!!  Boil more: remove the rest of the table.
Now it is only <html> and </html> surrounding the <input type = " ...
same failure as before, safari works.
Ok, I'll report this and give the actual html in the next entry.
Here's the html of the failing code:



<input type="image" style="margin-top:0;margin-bottom:0;" id="mqmap"
name="mqmap" tabindex="-1" border="0"
src="http://mq-mapgend.websys.aol.com:80/mqmapgend?MQMapGenRequest=FDR2dmwjDE%3byt29%26FDJnci4Jkqj%2cMMCJ%3aHOEvq%3ba159rr%3a%29ztxuu1%3a%26%40%24%3a%26%40y%3aqyb%3al4b%3aTD%15JFE%3aHOHQJ%3ba159rr%3a%29ztxuu1%3a%26%40%24%3a%26%40%24x9%40"
width="463" height="353">

</html>
I substituted a different image in as

<html>
<input type="image" style="margin-top:0;margin-bottom:0;" id="mqmap"
name="mqmap" tabindex="-1" border="0"
src="http://www.lecb.ncifcrf.gov/~toms/paper/ev/behe/icons/www.nps.gov-arch2005mar7.jpg"
width="463" height="353">

</html>


and that works ok in mozilla...  so it may be the name of the image that is
causing trouble.
The image at mapquest might go away or not be readable by others.  So I tried
to capture the effect on a web page:

http://www.fred.net/tds/mozbug/

I was able to capture the 'name' of the gif file - it is very odd,
containing ')' and '%', but Berkeley unix is happy enough to name
a file that way.  I can't get the web server or browser to look
at it with that name.  I can make links to it and use other names.

I think that mapquest is sending a virtual gif back based on the name,
and I can't simulate that.

I think that the mozilla code is unable to handle such an odd file
name.

Check your image preferences under security:
Is 'Load images for the originating web site only' checked? That would mean you
are blocking the images at mapquest.
Thanks for the suggestion.  In preferences under Privacy & Security/Images
I have 'Accept all images' checked already.  Hmm.  But there is a button
'Manage Image Permissions'.  Clicking on that gives an Image Manger window.
mq-mapgend.websys.aol.com site cannot load images

Geepers!!!  How did that get set!!?????

Ok, go to the image - click on it and it has 'Unblock images from this
server'.  I did that - no change to page but the Image Manager
line disappeared.  Reload ... map appears!

Ok, dumb explanation: I accidently clicked to block images from that server.

Lesson learned, thanks for taking the time to look at this.

Possible change to Mozilla:  Somehow flag such images as being blocked?
move 'Block Images from this server' to the bottom of the list to
reduce the chance of it happening by accident?

Tom: I'm marking this bug as WFM, you can fill new bug for proposed enhancements.
Severity: major → normal
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → WORKSFORME
Version: unspecified → Trunk
You need to log in before you can comment on or make changes to this bug.