window.open returns undefined after compilation with dart2js #19715
Labels
area-core-library
SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries.
closed-duplicate
Closed in favor of an existing report
library-html
This issue was originally filed by halverneu...@gmail.com
What steps will reproduce the problem?
1 var myWindow = window.open("", "_blank");
2 var myWindowDocument = myWindow.document;
(works in JavaScript, works in Dart, when complied with Dart2Js, returns:)
(Uncaught NoSuchMethodError: undefined is not a function)
(on line 2.)
What is the expected output? What do you see instead?
Expected output is a reference to the newly created window. Instead undefined in returned.
What version of the product are you using? On what operating system?
dart2js: 1.5.1
Chrome: 35.0.1916.153
OS: Kubuntu 14.04 64-bit
"pub update" last ran on 28JUN2014 @15:00 PDT
Please provide any additional information below.
The text was updated successfully, but these errors were encountered: