Make it compatible with upstream API
[xulrunner] Sync with upstream. Merge remote-tracking branch 'origin/embedlite_29' into nemo_embedlite_29
[xulrunner] Fix metrics when returning to prev page