private static final String userAgentScript() {
    return "var nav = '';"
        + "try { var myNavigator = {};"
        + "for (var i in navigator) myNavigator[i] = navigator[i];"
        + "nav = myNavigator.userAgent; } catch (exception) { nav = exception.message; }"
        + "return nav;";
  }
Instantiates a new Run info.

@param revision the revision
KITE-WPT-Test/src/main/java/org/webrtc/kite/wpt/RunInfo.java