Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(165)

Side by Side Diff: third_party/WebKit/LayoutTests/external/wpt/html/browsers/offline/application-cache-api/api_update_error.html

Issue 2711183003: Import wpt@a7e9c2abcf65b78fcf1c246fec6681c74e1bc352 (Closed)
Patch Set: Update test expectations and baselines. Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 <!DOCTYPE HTML> 1 <!DOCTYPE HTML>
2 <html manifest="../resources/manifest/clock.manifest"> 2 <html manifest="./non-existent-file.manifest">
3 <head> 3 <head>
4 <title>Offline Application Cache - API_update_error</title> 4 <title>Offline Application Cache - API_update_error</title>
5 <script src="/resources/testharness.js"></script> 5 <script src="/resources/testharness.js"></script>
6 <script src="/resources/testharnessreport.js"></script> 6 <script src="/resources/testharnessreport.js"></script>
7 </head> 7 </head>
8 <body> 8 <body>
9 <ol>
10 <li>Remove the manifest file (manifest/clock.manifest) from the server.</l i>
11 <li>Refresh the page, then calling update() will throw InvalidStateError e xception.</li>
12 </ol>
13
14 <div id="log"></div> 9 <div id="log"></div>
15 10
16 <script> 11 <script>
17 var cache = window.applicationCache; 12 var cache = window.applicationCache;
18 test(function() { 13 test(function() {
19 assert_throws("INVALID_STATE_ERR", function(){cache.update();}); 14 assert_throws("INVALID_STATE_ERR", function(){cache.update();});
20 }, "INVALID_STATE_ERR error test") 15 }, "INVALID_STATE_ERR error test")
21 </script> 16 </script>
22 17
23 </body> 18 </body>
24 </html> 19 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698