text: // Copyright 2013 The Closure Library Authors. All Rights Reserved.
  //
  // Licensed under the Apache License, Version 2.0 (the 'License');
  // you may not use this file except in compliance with the License.
  // You may obtain a copy of the License at
  //
  //      http://www.apache.org/licenses/LICENSE-2.0
  //
  // Unless required by applicable law or agreed to in writing, software
  // distributed under the License is distributed on an 'AS-IS' BASIS,
  // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  // See the License for the specific language governing permissions and
  // limitations under the License.
  
  /**
   * @fileoverview Various User-Agent strings.
   * See http://go/useragentexamples and http://www.useragentstring.com/ for
   * examples.
   *
   * @author martone@google.com (Andy Martone)
   */
  
  goog.provide('goog.labs.userAgent.testAgents');
  goog.setTestOnly('goog.labs.userAgent.testAgents');
  
  goog.scope(function() {
  var testAgents = goog.labs.userAgent.testAgents;
  
  
  /** @const {string} */
  testAgents.ANDROID_BROWSER_235 =
      'Mozilla/5.0 (Linux; U; Android 2.3.5; en-us; ' +
      'HTC Vision Build/GRI40) AppleWebKit/533.1 (KHTML, like Gecko) ' +
      'Version/4.0 Mobile Safari/533.1';
  
  
  /** @const {string} */
  testAgents.ANDROID_BROWSER_221 =
      'Mozilla/5.0 (Linux; U; Android 2.2.1; en-ca; LG-P505R Build/FRG83)' +
      ' AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1';
  
  
  /** @const {string} */
  testAgents.ANDROID_BROWSER_233 =
      'Mozilla/5.0 (Linux; U; Android 2.3.3; en-us; HTC_DesireS_S510e' +
      ' Build/GRI40) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0' +
      ' Mobile Safari/533.1';
  
  
  /** @const {string} */
  testAgents.ANDROID_BROWSER_403 =
      'Mozilla/5.0 (Linux; U; Android 4.0.3; de-ch; HTC Sensation Build/IML74K)' +
      ' AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30';
  
  
  /** @const {string} */
  // User agent retrieved from dremel queries for cases matching b/13222688
  testAgents.ANDROID_BROWSER_403_ALT =
      'Mozilla/5.0 (Linux; U; Android 4.0.3; ko-kr; LG-L160L Build/IML74K)' +
      ' AppleWebkit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30';
  
  
  // See https://developer.chrome.com/multidevice/user-agent
  /** @const {string} */
  testAgents.ANDROID_WEB_VIEW_4_1_1 =
      'Mozilla/5.0 (Linux; U; Android 4.1.1; en-gb; Build/KLP) ' +
      'AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Safari/534.30';
  
  
  // See https://developer.chrome.com/multidevice/user-agent
  /** @const {string} */
  testAgents.ANDROID_WEB_VIEW_4_4 =
      'Mozilla/5.0 (Linux; Android 4.4; Nexus 5 Build/_BuildID_) ' +
      'AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 ' +
      'Chrome/30.0.0.0 Mobile Safari/537.36';
  
  
  /** @const {string} */
  testAgents.IE_6 =
      'Mozilla/5.0 (Windows; U; MSIE 6.0; Windows NT 5.1; SV1;' +
      '.NET CLR 2.0.50727)';
  
  
  /** @const {string} */
  testAgents.IE_7 =
      'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)';
  
  
  /** @const {string} */
  testAgents.IE_8 =
      'Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0)';
  
  
  /** @const {string} */
  testAgents.IE_8_COMPATIBILITY =
      'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; Trident/4.0)';
  
  
  /** @const {string} */
  testAgents.IE_9 =
      'Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)';
  
  
  /** @const {string} */
  testAgents.IE_9_COMPATIBILITY =
      'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; Trident/5.0)';
  
  
  /** @const {string} */
  testAgents.IE_10 =
      'Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; Trident/6.0)';
  
  
  /** @const {string} */
  testAgents.IE_10_COMPATIBILITY =
      'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; Trident/6.0)';
  
  
  /**
   * http://blogs.windows.com/windows_phone/b/wpdev/archive/2012/10/17/getting-websites-ready-for-internet-explorer-10-on-windows-phone-8.aspx
   * @const {string}
   */
  testAgents.IE_10_MOBILE =
      'Mozilla/5.0 (compatible; MSIE 10.0; Windows Phone 8.0; Trident/6.0; ' +
      'IEMobile/10.0; ARM; Touch; NOKIA; Lumia 820)';
  
  
  /** @const {string} */
  testAgents.IE_11 =
      'Mozilla/5.0 (Windows NT 6.3; Trident/7.0; rv:11.0) like Gecko';
  
  
  /** @const {string} */
  testAgents.IE_11_COMPATIBILITY_MSIE_7 =
      'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.3; Trident/7.0; ' +
      '.NET4.0E; .NET4.0C)';
  
  
  /** @const {string} */
  testAgents.IE_11_COMPATIBILITY_MSIE_9 =
      'Mozilla/5.0 (MSIE 9.0; Windows NT 6.1; WOW64; Trident/7.0; ' +
      'rv:11.0) like Gecko';
  
  
  /** @const {string} */
  testAgents.FIREFOX_19 =
      'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:19.0) ' +
      'Gecko/20100101 Firefox/19.0';
  
  
  /** @const {string} */
  testAgents.FIREFOX_LINUX =
      'Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:15.0) Gecko/20100101' +
      ' Firefox/15.0.1';
  
  
  /** @const {string} */
  testAgents.FIREFOX_MAC =
      'Mozilla/6.0 (Macintosh; I; Intel Mac OS X 11_7_9; de-LI; rv:1.9b4)' +
      ' Gecko/2012010317 Firefox/10.0a4';
  
  
  /** @const {string} */
  testAgents.FIREFOX_WINDOWS =
      'Mozilla/5.0 (Windows NT 6.1; rv:12.0) Gecko/20120403211507' +
      ' Firefox/14.0.1';
  
  
  /** @const {string} */
  testAgents.SAFARI_6 =
      'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_1) ' +
      'AppleWebKit/536.25 (KHTML, like Gecko) ' +
      'Version/6.0 Safari/536.25';
  
  
  /** @const {string} */
  testAgents.SAFARI_IPHONE_32 =
      'Mozilla/5.0(iPhone; U; CPU iPhone OS 3_2 like Mac OS X; en-us)' +
      ' AppleWebKit/531.21.10 (KHTML, like Gecko) Version/4.0.4 Mobile/7B314' +
      ' Safari/531.21.10';
  
  
  /** @const {string} */
  testAgents.SAFARI_IPHONE_421 =
      'Mozilla/5.0 (iPhone; U; ru; CPU iPhone OS 4_2_1 like Mac OS X; ru)' +
      ' AppleWebKit/533.17.9 (KHTML, like Gecko) Version/5.0.2 Mobile/8C148a' +
      ' Safari/6533.18.5';
  
  
  /** @const {string} */
  testAgents.SAFARI_IPHONE_431 =
      'Mozilla/5.0 (iPhone; U; CPU iPhone OS 4_3_1 like Mac OS X; zh-tw)' +
      ' AppleWebKit/533.17.9 (KHTML, like Gecko) Version/5.0.2 Mobile/8G4' +
      ' Safari/6533.18.5';
  
  
  /** @const {string} */
  testAgents.SAFARI_IPHONE_6 =
      'Mozilla/5.0 (iPhone; CPU iPhone OS 6_0 like Mac OS X)' +
      ' AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10A5376e' +
      ' Safari/8536.25';
  
  
  /** @const {string} */
  testAgents.SAFARI_IPOD =
      'Mozila/5.0 (iPod; U; CPU like Mac OS X; en) AppleWebKit/420.1' +
      ' (KHTML, like Gecko) Version/3.0 Mobile/3A101a Safari/419.3';
  
  
  /** @const {string} */
  testAgents.SAFARI_MAC =
      'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/537.13+' +
      ' (KHTML, like Gecko) Version/5.1.7 Safari/534.57.2';
  
  
  /** @const {string} */
  testAgents.SAFARI_WINDOWS =
      'Mozilla/5.0 (Windows; U; Windows NT 6.1; tr-TR) AppleWebKit/533.20.25' +
      ' (KHTML, like Gecko) Version/5.0.4 Safari/533.20.27';
  
  
  /** @const {string} */
  testAgents.COAST =
      'Mozilla/5.0 (iPad; CPU OS 7_0_2 like Mac OS X) AppleWebKit/537.51.1' +
      ' (KHTML like Gecko) Coast/1.1.2.64598 Mobile/11B511 Safari/7534.48.3';
  
  
  /** @const {string} */
  testAgents.WEBVIEW_IPHONE =
      'Mozilla/5.0 (iPhone; CPU iPhone OS 6_0 like Mac OS X) AppleWebKit/536.26' +
      ' (KHTML, like Gecko) Mobile/10A403';
  
  
  /** @const {string} */
  testAgents.WEBVIEW_IPAD =
      'Mozilla/5.0 (iPad; CPU iPhone OS 6_0 like Mac OS X) AppleWebKit/536.26' +
      ' (KHTML, like Gecko) Mobile/10A403';
  
  
  /** @const {string} */
  testAgents.OPERA_10 =
      'Opera/9.80 (S60; SymbOS; Opera Mobi/447; U; en) ' +
      'Presto/2.4.18 Version/10.00';
  
  
  /** @const {string} */
  testAgents.OPERA_LINUX =
      'Opera/9.80 (X11; Linux x86_64; U; fr) Presto/2.9.168 Version/11.50';
  
  
  /** @const {string} */
  testAgents.OPERA_MAC =
      'Opera/9.80 (Macintosh; Intel Mac OS X 10.6.8; U; fr) Presto/2.9.168' +
      ' Version/11.52';
  
  
  /** @const {string} */
  testAgents.OPERA_15 =
      'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 ' +
      '(KHTML, like Gecko) Chrome/28.0.1500.52 Safari/537.36 OPR/15.0.1147.100';
  
  
  /** @const {string} */
  testAgents.IPAD_4 =
      'Mozilla/5.0 (iPad; U; CPU OS 3_2 like Mac OS X; en-us)' +
      ' AppleWebKit/531.21.10 (KHTML, like Gecko) Version/4.0.4 Mobile/7B334b' +
      ' Safari/531.21.10';
  
  
  /** @const {string} */
  testAgents.IPAD_5 =
      'Mozilla/5.0 (iPad; CPU OS 5_1 like Mac OS X; en-us) AppleWebKit/534.46' +
      ' (KHTML, like Gecko) Version/5.1 Mobile/9B176 Safari/7534.48.3';
  
  
  /** @const {string} */
  testAgents.IPAD_6 =
      'Mozilla/5.0 (iPad; CPU OS 6_0 like Mac OS X) ' +
      'AppleWebKit/536.26 (KHTML, like Gecko) ' +
      'Version/6.0 Mobile/10A403 Safari/8536.25';
  
  
  /** @const {string} */
  testAgents.CHROME_25 =
      'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) ' +
      'AppleWebKit/535.8 (KHTML, like Gecko) ' +
      'Chrome/25.0.1000.10 Safari/535.8';
  
  
  /** @const {string} */
  testAgents.CHROME_ANDROID =
      'Mozilla/5.0 (Linux; U; Android 4.0.2; en-us; Galaxy Nexus Build/ICL53F) ' +
      'AppleWebKit/535.7 (KHTML, like Gecko) Chrome/18.0.1025.133 Mobile ' +
      'Safari/535.7';
  
  
  /** @const {string} */
  testAgents.CHROME_ANDROID_TABLET =
      'Mozilla/5.0 (Linux; Android 4.0.4; Galaxy Nexus Build/IMM76B) ' +
      'AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.133 Safari/535.19';
  
  
  /** @const {string} */
  testAgents.CHROME_IPHONE =
      'Mozilla/5.0 (iPhone; CPU iPhone OS 5_1_1 like Mac OS X; en-us) ' +
      'AppleWebKit/534.46.0 (KHTML, like Gecko) CriOS/22.0.1194.0 Mobile/11E53 ' +
      'Safari/7534.48.3';
  
  
  /** @const {string} */
  testAgents.CHROME_LINUX =
      'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.31 (KHTML, like Gecko)' +
      ' Chrome/26.0.1410.33 Safari/537.31';
  
  
  /**
   * We traditionally use Appversion to detect X11
   * @const {string}
   */
  testAgents.CHROME_LINUX_APPVERVERSION =
      '5.0 (X11; Linux x86_64) AppleWebKit/537.31 (KHTML, like Gecko)' +
      ' Chrome/26.0.1410.33 Safari/537.31';
  
  
  /** @const {string} */
  testAgents.CHROME_MAC =
      'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_2) AppleWebKit/537.17' +
      ' (KHTML, like Gecko) Chrome/24.0.1309.0 Safari/537.17';
  
  
  /** @const {string} */
  testAgents.CHROME_OS =
      'Mozilla/5.0 (X11; CrOS x86_64 3701.62.0) AppleWebKit/537.31 ' +
      '(KHTML, like Gecko) Chrome/26.0.1410.40 Safari/537.31';
  
  
  /** @const {string} */
  testAgents.CHROME_OS_910 =
      'Mozilla/5.0 (X11; U; CrOS i686 9.10.0; en-US) AppleWebKit/532.5' +
      ' (KHTML, like Gecko) Chrome/4.0.253.0 Safari/532.5';
  
  
  /** @const {string} */
  testAgents.KINDLE_FIRE =
      'Mozilla/5.0 (Linux; U; Android 4.0.3; en-us; KFTT Build/IML74K)' +
      ' AppleWebKit/535.19 (KHTML, like Gecko) Silk/2.1 Mobile Safari/535.19' +
      ' Silk-Accelerated=true';
  });  // goog.scope
  