Bug 1146046 - Update testReadingListCache non-reader-able testcase. r=rnewman

--HG--
extra : rebase_source : 198d7f73638f8f8a98920fab889f57af3380406a
This commit is contained in:
Margaret Leibovic 2015-03-21 15:27:09 -07:00
Родитель 82c7c6de1e
Коммит 2e2ff945ae
3 изменённых файлов: 133 добавлений и 321 удалений

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Просмотреть файл

@ -0,0 +1,132 @@
<!DOCTYPE html>
<html lang="en-US" class="no-js">
<head>
<meta charset="utf-8">
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, width=device-width">
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no" media="(device-height: 568px)">
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<!-- Don't index mobile optimized pages -->
<meta name="robots" content="noindex" />
<title>Firefox for Android | Mozilla Support</title>
<link rel="icon" type="image/png" sizes="512x512" href="//support.cdn.mozilla.net/static/img/firefox-512.png?v=1">
<link rel="icon" type="image/png" sizes="256x256" href="//support.cdn.mozilla.net/static/img/firefox-256.png?v=1">
<link rel="icon" type="image/png" sizes="128x128" href="//support.cdn.mozilla.net/static/img/firefox-128.png?v=1">
<link rel="icon" type="image/png" sizes="64x64" href="//support.cdn.mozilla.net/static/img/firefox-64.png?v=1">
<link rel="icon" type="image/png" sizes="32x32" href="//support.cdn.mozilla.net/static/img/firefox-32.png?v=1">
<link rel="icon" type="image/png" sizes="16x16" href="//support.cdn.mozilla.net/static/img/firefox-16.png?v=1">
<link rel="search" type="application/opensearchdescription+xml" title="Mozilla Support" href="/en-US/search/xml"/>
<link rel="stylesheet" media="screen,projection,tv" href="//support.cdn.mozilla.net/static/css/mobile/common-min.css?build=beb7c1e" />
<link rel="stylesheet" media="screen,projection,tv" href="//support.cdn.mozilla.net/static/css/mobile/products-min.css?build=beb7c1e" />
</head>
<body class=""
data-readonly="false"
data-static-url="//support.cdn.mozilla.net/static/"
data-orientation="right"
data-ga-push="[]"
data-usernames-api="/en-US/users/api/usernames"
>
<nav class="scrollable">
<div id="search-bar">
<form id="search" action="/en-US/search">
<input type="hidden" name="product" value="mobile" />
<input name="q" placeholder="Search Mozilla Support" required="required" type="search" value="">
<button class="icon-sprite" type="submit">Search</button>
</form>
</div>
<a href="/en-US/products">Home</a>
<a href="/en-US/questions/new">Ask a question</a>
<a href="/en-US/questions">Support Forum</a>
<header>Navigation</header>
<a href="/en-US/get-involved">Help other users</a>
<a href="?&amp;mobile=0">Switch to desktop site</a>
<header>Profile</header>
<a href="/en-US/users/login">Sign in</a>
<header>Languages</header>
<a href="/en-US/locales" class="locale-picker">Switch language</a>
</nav>
<header class="slide-on-exposed">
<div id="menu-button" class="icon-sprite"></div>
<h1>
Firefox for Android
</h1>
</header>
<div class="wrapper slide-on-exposed">
<section id="content">
<ul id="topics">
<li>
<a href="/en-US/products/mobile/get-started" class="cf">
<img src="//support.cdn.mozilla.net/static/img/blank.png" class="topic-sprite topic-get-started" alt="">
Learn the Basics: get started
</a>
</li>
<li>
<a href="/en-US/products/mobile/download-and-install" class="cf">
<img src="//support.cdn.mozilla.net/static/img/blank.png" class="topic-sprite topic-download-and-install" alt="">
Download, install and migration
</a>
</li>
<li>
<a href="/en-US/products/mobile/privacy-and-security" class="cf">
<img src="//support.cdn.mozilla.net/static/img/blank.png" class="topic-sprite topic-privacy-and-security" alt="">
Privacy and security settings
</a>
</li>
<li>
<a href="/en-US/products/mobile/customize" class="cf">
<img src="//support.cdn.mozilla.net/static/img/blank.png" class="topic-sprite topic-customize" alt="">
Customize controls, options and add-ons
</a>
</li>
<li>
<a href="/en-US/products/mobile/sync" class="cf">
<img src="//support.cdn.mozilla.net/static/img/blank.png" class="topic-sprite topic-sync" alt="">
Firefox Sync settings
</a>
</li>
<li>
<a href="/en-US/products/mobile/fix-problems" class="cf">
<img src="//support.cdn.mozilla.net/static/img/blank.png" class="topic-sprite topic-fix-problems" alt="">
Fix slowness, crashing, error messages and other problems
</a>
</li>
<li>
<a href="/en-US/kb/get-community-support" class="cf">
<img src="//support.cdn.mozilla.net/static/img/blank.png" class="topic-sprite topic-get-community-support" alt="">
Get community support
</a>
</li>
</ul>
</section>
<footer>
</footer>
<ul id="notifications">
</ul>
</div>
<script src="//support.cdn.mozilla.net/static/jsi18n/en-us/javascript.js?beb7c1e"></script>
<script src="//support.cdn.mozilla.net/static/js/mobile/common-min.js?build=beb7c1e"></script>
</body>
</html>

Просмотреть файл

@ -24,7 +24,7 @@ let TEST_PAGES = [
}
},
{
url: URL_PREFIX + "addons.mozilla.org/en-US/firefox/index.html",
url: URL_PREFIX + "not_an_article.html",
expected: null
},
{