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

Side by Side Diff: chrome/test/data/extensions/api_test/permissions/optional_deny/background.html

Issue 7541041: Remove CRLFs from extension test files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <script> 1 <script>
2 2
3 var assertFalse = chrome.test.assertFalse; 3 var assertFalse = chrome.test.assertFalse;
4 var assertTrue = chrome.test.assertTrue; 4 var assertTrue = chrome.test.assertTrue;
5 var pass = chrome.test.callbackPass; 5 var pass = chrome.test.callbackPass;
6 6
7 var NO_TABS_PERMISSION = 7 var NO_TABS_PERMISSION =
8 "You do not have permission to use 'windows.getAll'."; 8 "You do not have permission to use 'windows.getAll'.";
9 9
10 chrome.test.runTests([ 10 chrome.test.runTests([
(...skipping 16 matching lines...) Expand all
27 chrome.windows.getAll({populate: true}, function() { 27 chrome.windows.getAll({populate: true}, function() {
28 chrome.test.fail("Should not have tabs API permission."); 28 chrome.test.fail("Should not have tabs API permission.");
29 }); 29 });
30 } catch (e) { 30 } catch (e) {
31 assertTrue(e.message.indexOf(NO_TABS_PERMISSION) == 0); 31 assertTrue(e.message.indexOf(NO_TABS_PERMISSION) == 0);
32 } 32 }
33 })); 33 }));
34 } 34 }
35 ]); 35 ]);
36 </script> 36 </script>
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698