#15995 closed defect (fixed)
android-webdriver-robot.js build error with closure compiler
Reported by: | lee | Owned by: | haysmark |
---|---|---|---|
Priority: | high | Milestone: | 1.9 |
Component: | TestFramework | Version: | 1.8.0 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
I've checked out trunk dojo and ran a build profile with copyTests:true and optimise:"closure".
copyTests adds doh to the build control packages, when using the closure compiler the build breaks at http://bugs.dojotoolkit.org/browser/dojo/util/trunk/doh/plugins/android-webdriver-robot.js#L165 for an un-declared variable (top.console - there are other references to top).
I'm not sure what it's supposed to be assigned to (something in selenium runtime?) but it breaks an optimised layer build e.g. the layer just contains
//>>built
the uncompressed layer builds fine
Change History (6)
comment:2 Changed 10 years ago by
Owner: | set to haysmark |
---|---|
Status: | new → assigned |
comment:5 Changed 10 years ago by
Milestone: | tbd → 1.9 |
---|---|
Priority: | undecided → high |
Note: See
TracTickets for help on using
tickets.
I realised top is the iframe parent reference for the doh runner but it'll still break the build