Bug 10476
| Summary: | Alert pops up complaining about TypeError (Safari)/ReferenceError (WebKit) | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | bugzilla |
| Component: | JavaScriptCore | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED FIXED | ||
| Severity: | Major | CC: | shanestephens, zwarich |
| Priority: | P2 | Keywords: | NeedsReduction |
| Version: | 420+ | ||
| Hardware: | Mac | ||
| OS: | OS X 10.4 | ||
| URL: | http://digitalurban.blogspot.com/2006/08/google-earth-paper-models.html | ||
bugzilla
Action:-
Load the page.
Expected result:-
Page loads flawlessly
Actual result:-
An alert dialog pops up, bitching about an error.
Safari 2.0.4
-----------
TypeError - Object (result of expression log) does not allow calls.
undefined
try {
_WidgetManager._HandleControllerResult('Blog1', 'backlinks',{'numBacklinks': 1, 'backlinksLabel': 'Links to this post', 'authorLabel': 'Posted by', 'timestampLabel': 'at', 'createLinkLabel': 'Create a Link', 'createLinkUrl': 'http://beta.blogger.com/blog-this.g', 'backlinks': [{'url': 'http://feeds.ogleearth.com/~r/ogleearth/~3/13997937/short_news_kml.html', 'author': 'stefan.geens@gmail.com', 'title': 'Short news: KML for the tricorder; 3D camera', 'snippet': 'Ah, I get it. Google announces the ability to add KML data to your tricorder flip-top cell phone at a Star Trek convention. Google Maps Mania has the details. Digital Urban Environments has yet another clever idea, well implemented. <b>...</b> ', 'timestamp': '9:59 PM', 'deleteUrl': 'http://beta.blogger.com/delete-backlink.g?blogID\u003d9986652&postID\u003d115581246658258183&backlinkURL\u003dhttp%3A%2F%2Ffeeds.ogleearth.com%2F%7Er%2Fogleearth%2F%7E3%2F13997937%2Fshort_news_kml.html', 'adminClass': 'pid-322028954'}]});
} catch (e) {
log('HandleControllerFailure failed: ' + e);
}
----------
WebKit-SVN-r15924
----------
ReferenceError: Can't find variable: log
undefined
try {
_WidgetManager._HandleControllerResult('Blog1', 'backlinks',{'numBacklinks': 1, 'backlinksLabel': 'Links to this post', 'authorLabel': 'Posted by', 'timestampLabel': 'at', 'createLinkLabel': 'Create a Link', 'createLinkUrl': 'http://beta.blogger.com/blog-this.g', 'backlinks': [{'url': 'http://feeds.ogleearth.com/~r/ogleearth/~3/13997937/short_news_kml.html', 'author': 'stefan.geens@gmail.com', 'title': 'Short news: KML for the tricorder; 3D camera', 'snippet': 'Ah, I get it. Google announces the ability to add KML data to your tricorder flip-top cell phone at a Star Trek convention. Google Maps Mania has the details. Digital Urban Environments has yet another clever idea, well implemented. <b>...</b> ', 'timestamp': '9:59 PM', 'deleteUrl': 'http://beta.blogger.com/delete-backlink.g?blogID\u003d9986652&postID\u003d115581246658258183&backlinkURL\u003dhttp%3A%2F%2Ffeeds.ogleearth.com%2F%7Er%2Fogleearth%2F%7E3%2F13997937%2Fshort_news_kml.html', 'adminClass': 'pid-322028954'}]});
} catch (e) {
log('HandleControllerFailure failed: ' + e);
}
--------
Similar errors, but including both for completeness.
Sorry if the description is overly brief, but not sure what or where the issue is.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
David Kilzer (:ddkilzer)
Confirmed with locally-built debug build of WebKit r15924 on Mac OS X 10.4.7 (8J135/PowerPC).