andreasgal/gaia — Issue #708: browser_clock_* tests fail in Marionette because onReady is never called
Author: jonallengriffin
Created: 2012-03-03 01:12:06+00:00
State: open

Both browser_clock_foo.js tests fail when run in the emulator under Marionette, because their onReady handlers are never called. When run, they successfully launch the clock app, but then timeout. Adding some debugging statements to the test shows that onReady is not called at all.

After the test starts, the only thing that appears in logcat is this:

E/GeckoConsole( 34): [JavaScript Error: "downloadable font: download failed (font-family: "Roboto" style:normal weight:normal stretch:normal src index:0): status=2147746065
E/GeckoConsole( 34): source: http://localhost:7777/data/local/apps/clock/style/fonts/Roboto-Regular.ttf" {file: "http://localhost:7777/data/local/apps/clock/style/clock.css" line: 0 column: 0 source: "@font-face {
E/GeckoConsole( 34): font-family: "Roboto";
E/GeckoConsole( 34): src: url("fonts/Roboto-Regular.ttf");
E/GeckoConsole( 34): }"}]

Note that the font referred to does not exist in the gaia repo.