andreasgal/gaia — Issue #240: [01:14:09.192] uncaught exception: [Exception... "Operation is not supported"  code: "9" nsresult: "0x80530009 (NS_ERROR_DOM_NOT_SUPPORTED_ERR)"  location: "http://localhost/~cjones/gaia/apps/homescreen/webapi+apps.js Line: 1920"]
Author: cgjones
Created: 2012-01-06 09:18:43+00:00
State: open
Labels: bug

This happens if I run gaia in desktop firefox. The line in question is

var touchEvent = document.createEvent('touchevent');

Looking over the b2g prefs, I see

pref("dom.w3c_touch_events.enabled", true);
pref("dom.w3c_touch_events.safetyX", 0); // escape borders in units of 1/240"
pref("dom.w3c_touch_events.safetyY", 120); // escape borders in units of 1/240"

Is this what we're missing? Anyone know the reason we disable these by default, or the relevant gecko bug?