Closed Bug 1015034 Opened 11 years ago Closed 6 years ago

System JS : ERROR resource://gre/modules/Keyboard.jsm:234 - ReferenceError: SystemAppProxy is not defined in tests

Categories

(Core :: DOM: Core & HTML, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: timdream, Unassigned)

References

Details

While working on bug 983490 the following line always show up in the log even though the test runs are green. System JS : ERROR resource://gre/modules/Keyboard.jsm:234 - ReferenceError: SystemAppProxy is not defined in tests It looks like SystemAppProxy.jsm is not build in Firefox, so we shouldn't be trying to access it during tests. The error is harmless but it's better to be more explicit in the code. I am going to try (typeof SystemAppProxy === 'object') to see if that works. (The file was created in bug 963239.)
Since Keyboard.jsm is used in |DEBUG=1 make| development we must test that too. And mochitest, and the actual device.
Was about to file this - thank you for taking a look! :-)
Blocks: 963239
No longer depends on: 963239
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INVALID
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.