Changeset [298f0087d1f531476b5c5977bb743dfc8a1c167b] by Olivier Cornu
Revision 298f0087d1f531476b5c5977bb743dfc8a1c167b,
committed by Olivier Cornu
· August 22nd, 2009 @ 03:31 PM
New (FF3.5+ only) injection logic, Firebug debugger support [#13 state:resolved]
This is a pretty important commit that has impact on several aspects of WM. The original goal was to allow script developers to debug their script using Firebug's debugger [1]. In order to allow this, a new injection logic has been put in place, taking into profit new FF3.5+ evalInSandbox() features [2]. As a consequence:
- support for FF<3.5 is removed
- scripts are no longer wrapped into an anonymous function
- the @unwrap tag thus is deprecated
As a side note, this commit also paves the way for a coming @jsVersion header tag.
[1] http://ocornu.lighthouseapp.com/... [2] https://developer.mozilla.org/en... http://github.com/ocornu/webmonk...
3 changed files
-
M
src/components/webmonkey.js -
M
src/install.rdf -
M
src/modules/script.js