Bug 994459 - webapp-optimize bustage with too much recursion

https://bugzilla.mozilla.org/show_bug.cgi?id=994459