mozilla / r2d2b2g

Firefox OS Simulator is a test environment for Firefox OS. Use it to test your apps in a Firefox OS-like environment that looks and feels like a mobile phone.
https://addons.mozilla.org/en-US/firefox/addon/firefox-os-simulator/
Other
392 stars 139 forks source link

Can't log event objects or ArrayBuffers #838

Open nickdesaulniers opened 10 years ago

nickdesaulniers commented 10 years ago

@ochameau , I suspect this has to do with the actors that provide remote debugging support.

If in clientside code in an app (this one happens to be privileged), if I try to log an Event or Custom Event object, I don't get the expected objects. Ex:

var e1 = new Event('nick');
var e2 = new CustomEvent('nick', detail: { name: 'nick' });
console.log(e1);
console.log(e2);

Expected:

[object Event]
[object CustomEvent]

Actual:

[object undefined]
undefined