andreasgal/gaia — Issue #454: Have the "menu button" event bring up view-source
Author: cgjones
Created: 2012-02-17 06:07:53+00:00
State: open

Currently the menu button dispatches a nonstandard "menu" event into the DOM

http://mxr.mozilla.org/mozilla-central/source/b2g/chrome/content/shell.js#214

we don't do anything with that in Gaia. The old gesture for bringing up view-source was pretty fragile and could be annoying (I had it pop up accidentally during a big public demo). Mapping the menu button to view-source should make it much more reliable.

CC @brendaneich