I took the Linux build from ftp://ftp.mozilla.org/pub/mozilla.org/firefox/tinderbox-builds/mozilla-central-linux64/1383714839/ This one comes from this tbpl build: https://tbpl.mozilla.org/?rev=9ba3faa35c96 This is not the first failing build. Running the syste! unit tests when running the test-agent inside that Firefox build get me these issues: 1) [system] ActionMenu "before all" hook: TypeError: setting a property that has only a getter at (anonymous) (http://system.gaiamobile.org:8080/test/unit/action_menu_test.js:46)
This comes from the use of a global "screen" variable in the test. Unfortunately, such property exists in Window, see , and probably it was changed recently.  https://developer.mozilla.org/en-US/docs/Web/API/Window.screen
Assignee: nobody → felash
Comment on attachment 827966 [details] [review] github PR I prefer to have screenElement instead of |screen| variable.
Attachment #827966 - Flags: review?(alive) → review+
Status: NEW → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → FIXED
screen is a normal readonly property on a global object, so it's on the window object and not settable.
Yep, the unit test was badly written.
You need to log in before you can comment on or make changes to this bug.