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

Dartium tests failing with JSObjectImpl where window or document expected. #24585

Closed
whesse opened this issue Oct 14, 2015 · 2 comments
Closed

Comments

@whesse
Copy link
Contributor

whesse commented Oct 14, 2015

The test
co19/LibTest/html/Window/document_A01_t01
is failing with
Exception: type 'JsObjectImpl' is not a subtype of type 'Document' of 'function result'.
in checked mode, and
Exception: NoSuchMethodError: method not found: 'window'
Receiver: Instance of 'JsObjectImpl'
in unchecked mode.

The test
co19/WebPlatformTest/html/browsers/browsing-the-web/read-text/load-text-plain_t01
is failing in checked mode with
Uncaught Unhandled exception:
type 'JsObjectImpl' is not a subtype of type 'Document' of 'function result'.

The test
co19/LibTest/html/Window/requestFileSystem_A02_t01
is timing out in checked mode.

whesse added a commit that referenced this issue Oct 14, 2015
@alan-knight
Copy link
Contributor

The second one passes now. The other two are both the same symptom. The result of window.open is a window from another frame, so we don't attempt to wrap it and just return the JsObject. +jacob314

@terrylucas
Copy link
Contributor

Fails on all platforms dart2js and dartium.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants