Bug 16813
| Summary: | REGRESSION: TypeError: Undefined value loading mootools JavaScript causes page content to fail to load | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Cameo Wood <cameowood> |
| Component: | New Bugs | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | Normal | CC: | aroben, mrowe |
| Priority: | P1 | Keywords: | InRadar, Regression |
| Version: | 528+ (Nightly build) | ||
| Hardware: | PC | ||
| OS: | All | ||
| URL: | http://www.tryphone.com/ | ||
Cameo Wood
This page crashes in current Safari release, and content doesn't load correctly in ToT.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Mark Rowe (bdash)
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.
Adam Roben (:aroben)
The page seems to load correctly in Firefox 3b1 and IE7.
Mark Rowe (bdash)
This happens with TOT on Leopard too. System Safari crashes when loading the page, much like Safari 3.0.4 on Windows.
Mark Rowe (bdash)
<rdar://problem/5681175>
Mark Rowe (bdash)
TypeError: Undefined value
http://mootools.net/assets/scripts/mootools.js?v=1 (line 8)
This is also reproducible when loading http://mootools.net/.
Mark Rowe (bdash)
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 ***