Skip to content

DOMParser: Caught Instance of 'Document' does not implement Document #3420

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

Closed
DartBot opened this issue Jun 7, 2012 · 12 comments
Closed

DOMParser: Caught Instance of 'Document' does not implement Document #3420

DartBot opened this issue Jun 7, 2012 · 12 comments
Assignees
Labels
web-libraries Issues impacting dart:html, etc., libraries
Milestone

Comments

@DartBot
Copy link

DartBot commented Jun 7, 2012

This issue was originally filed by [email protected]


What steps will reproduce the problem?
Compile with type checks and execute:
html.Document doc = new html.DOMParser().parseFromString('<xml/>','text/xml');

What is the expected output?
A Document object

What do you see instead?
Type Exception: Caught Instance of 'Document' does not implement Document

What version of the product are you using? On what operating system?
Dart-SDK 8390, Mac OS X

Please provide any additional information below.

@DartBot
Copy link
Author

DartBot commented Jun 7, 2012

This comment was originally written by [email protected]


kvarkus,

do you run Dart natively or first compile it to JS?


Added NeedsInfo label.

@DartBot
Copy link
Author

DartBot commented Jun 8, 2012

This comment was originally written by [email protected]


Sorry for the missed detail. I'm using dart2js compiler.

@DartBot
Copy link
Author

DartBot commented Jun 8, 2012

This comment was originally written by [email protected]


Thanks!


cc @rakudrama.
cc @vsmenon.
Added Area-DOM, Triaged labels.

@DartBot
Copy link
Author

DartBot commented Jul 14, 2012

This comment was originally written by [email protected]


This bug has been blocking my unit tests for the past 5 weeks. Please fix.

@iposva-google
Copy link
Contributor

Removed Area-DOM label.
Added Area-HTML label.

@vsmenon
Copy link
Member

vsmenon commented Aug 14, 2012

kvarkus: Which browser(s) are you seeing this on? Does it run correctly on Dartium?


Added this to the M1 milestone.

@DartBot
Copy link
Author

DartBot commented Aug 15, 2012

This comment was originally written by [email protected]


Latest Chrome on OSX 10.8.
Didn't try on Dartium.

@efortuna
Copy link
Contributor

efortuna commented Sep 5, 2012

Issue #1142 has been merged into this issue.

@vsmenon
Copy link
Member

vsmenon commented Sep 5, 2012

Removed this from the M1 milestone.
Added this to the M2 milestone.

@blois
Copy link

blois commented Nov 12, 2012

Set owner to @blois.

@blois
Copy link

blois commented Nov 16, 2012

This should be working now.


Added Fixed label.

@blois
Copy link

blois commented Nov 20, 2012

Issue #3034 has been merged into this issue.

@DartBot DartBot added Type-Defect web-libraries Issues impacting dart:html, etc., libraries labels Nov 20, 2012
@DartBot DartBot added this to the M2 milestone Nov 20, 2012
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
web-libraries Issues impacting dart:html, etc., libraries
Projects
None yet
Development

No branches or pull requests

5 participants