-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Generated Javascript causes uncaught exception in Opera #2889
Labels
closed-obsolete
Closed as the reported issue is no longer relevant
web-libraries
Issues impacting dart:html, etc., libraries
Milestone
Comments
Removed Area-Frog label. |
Removed OldAreaFrog label. |
Removed Area-Dart2JS, FromAreaFrog labels. |
This looks related to issue #2397. cc @kasperl. |
Marked this as being blocked by #4111. |
Added AssumedStale label. |
gramster
added
Type-Defect
web-libraries
Issues impacting dart:html, etc., libraries
closed-obsolete
Closed as the reported issue is no longer relevant
labels
Aug 23, 2012
This issue was closed.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
closed-obsolete
Closed as the reported issue is no longer relevant
web-libraries
Issues impacting dart:html, etc., libraries
I have this line of code in a class constructor that is called from main():
try {
foo = document.query('title').id;
}
catch(var e) {
foo = null;
}
This works in Chrome and Firefox. In Opera 11.62, on Linux, this blows up.
Uncaught exception: Error
Error thrown at line 12, column 2 in $throw(e) in file://localhost/home/gram/dart/test/test.dart.js:
throw e;
called from line 306, column 10 in <anonymous function: method>() in file://localhost/home/gram/dart/test/test.dart.js:
$throw(new NoSuchMethodException(
called via Function.prototype.apply() from line 317, column 4 in $dynamicBind() in file://localhost/home/gram/dart/test/test.dart.js:
return method.apply(this, Array.prototype.slice.call(arguments));
called from line 4163, column 2 in Episodes(_includePerfMarks, _autorun) in file://localhost/home/gram/dart/test/test.dart.js:
var foo = get$$document().query("title").get$id();
called from line 4615, column 2 in main() in file://localhost/home/gram/dart/test/test.dart.js:
$globals.episodes = new Episodes(true, true);
called from line 4673, column 4 in <anonymous function>(e) in file://localhost/home/gram/dart/test/test.dart.js:
main();
The text was updated successfully, but these errors were encountered: