Bug 16813 - REGRESSION: TypeError: Undefined value loading mootools JavaScript causes page content to fail to load
Summary: REGRESSION: TypeError: Undefined value loading mootools JavaScript causes pag...
Status: RESOLVED DUPLICATE of bug 16644
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC All
: P1 Normal
Assignee: Nobody
URL: http://www.tryphone.com/
Keywords: InRadar, Regression
Depends on:
Blocks:
 
Reported: 2008-01-09 20:48 PST by Cameo Wood
Modified: 2008-01-11 10:30 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Cameo Wood 2008-01-09 20:48:24 PST
This page crashes in current Safari release, and content doesn't load correctly in ToT.
Comment 1 Mark Rowe (bdash) 2008-01-09 20:49:30 PST
I see a bunch of JS errors in the console when loading that page.  They're almost certainly why the Flash content doesn't load correctly.
Comment 2 Adam Roben (:aroben) 2008-01-10 07:13:05 PST
The page seems to load correctly in Firefox 3b1 and IE7.
Comment 3 Mark Rowe (bdash) 2008-01-10 07:19:58 PST
This happens with TOT on Leopard too.  System Safari crashes when loading the page, much like Safari 3.0.4 on Windows.
Comment 4 Mark Rowe (bdash) 2008-01-10 07:21:11 PST
<rdar://problem/5681175>
Comment 5 Mark Rowe (bdash) 2008-01-11 10:09:30 PST
TypeError: Undefined value
http://mootools.net/assets/scripts/mootools.js?v=1 (line 8)

This is also reproducible when loading http://mootools.net/.
Comment 6 Mark Rowe (bdash) 2008-01-11 10:30:55 PST
The mootools code triggering the exception is:

if (typeof HTMLElement == 'undefined'){
	var HTMLElement = function(){};
	if (window.webkit) document.createElement("iframe"); //fixes safari
	HTMLElement.prototype = (window.webkit) ? window["[[DOMElement.prototype]]"] : {};
}
HTMLElement.prototype.htmlElement = function(){};

This means that this bug is a dupe of 16644, which even looks like it deals with mootools!

*** This bug has been marked as a duplicate of 16644 ***