[Runtime] Fix browsertest issue on Linux.

Browsertest 'OnLaunchAndSuspendEventTest' failed on Linux due to
'onLaunched' event is not fired by local path launch.

The PR will fix above issue.
Merge pull request #1748 from shaochangbin/fix-browsertest

[Runtime] Fix browsertest issue on Linux.