Fix main document browser test timeout issue

Chromium M31 changed WindowedNotificationObserver::Wait implementation, now
callback will not be called when condition is not meet. So we don't need add 1
for Runtime couting anymore.
Merge pull request #826 from seanlong/master

Fix main document browser test timeout issue