Skip to content
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

Cannot instantiate DomParser #650

Closed
DartBot opened this issue Nov 30, 2011 · 1 comment
Closed

Cannot instantiate DomParser #650

DartBot opened this issue Nov 30, 2011 · 1 comment
Labels
closed-duplicate Closed in favor of an existing report

Comments

@DartBot
Copy link

DartBot commented Nov 30, 2011

This issue was originally filed by af...@google.com


What steps will reproduce the problem?

var parser = new DOMParser();
var doc = parser.parseFromString('<foo><bar></bar></foo>', 'text/xml');

What is the expected output? What do you see instead?

Expect to parse the XML, instead I get:

Uncaught TypeError: Object function htmld071c1$DOMParser$Dart(){
} has no method 'DOMParser$$Factory' in the javascript console

There seem to be no constructors defined for the parser.

What version of the product are you using? On what operating system?

DartEditor with com.google.dart.library.dom_0.1.0.201111161204
 on Linux with Chrome 15.0.874.106 beta

@DartBot
Copy link
Author

DartBot commented Dec 1, 2011

This comment was originally written by drfibonacci@google.com


Added Duplicate label.
Marked as being merged into #649.

@DartBot DartBot added Type-Defect closed-duplicate Closed in favor of an existing report labels Dec 1, 2011
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
closed-duplicate Closed in favor of an existing report
Projects
None yet
Development

No branches or pull requests

1 participant