[Webkit-unassigned] [Bug 15293] eBay item "SuperSize" popup image viewer does not display images
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Sep 27 03:41:15 PDT 2007
http://bugs.webkit.org/show_bug.cgi?id=15293
mrowe at apple.com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mrowe at apple.com
------- Comment #1 from mrowe at apple.com 2007-09-27 03:41 PDT -------
I see the following JS exception when following the instructions:
Undefined value
http://include.ebaystatic.com/js/v/us/features/viewitem/viPopupBody.js:503
That line of code looks like the following:
if(client.safari){var
ifhack=(typeof(ebay)!="undefined")?ebay.oDocument.createElement("iframe"):document.createElement("iframe");ifhack.style.width='1px';ifhack.style.height='1px';ifhack.style.visibility='hidden';document.body.appendChild(ifhack);with(ifhack.document){open();write('<body> </body>');close();}
To pretty it up a bit:
if (client.safari) {
var ifhack = (typeof(ebay) != "undefined") ?
ebay.oDocument.createElement("iframe") : document.createElement("iframe");
ifhack.style.width = '1px';
ifhack.style.height = '1px';
ifhack.style.visibility = 'hidden';
document.body.appendChild(ifhack);
with(ifhack.document) {
open();
write('<body> </body>');
close();
}
this.iframeHack = ifhack;
}
It is the clause
with (ifhack.document) {
that is triggering the issue. I found this by judicious experimentation with
javascript entry in the address bar.
--
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list