diff options
Diffstat (limited to 'chrome/test/data')
19 files changed, 95 insertions, 95 deletions
diff --git a/chrome/test/data/extensions/bad/Preferences b/chrome/test/data/extensions/bad/Preferences index e5eb8ac..5ce4d84 100755..100644 --- a/chrome/test/data/extensions/bad/Preferences +++ b/chrome/test/data/extensions/bad/Preferences @@ -1,26 +1,26 @@ -{
- "extensions": {
- "settings": {
- "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa": {
- "location": 1,
- "path": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/1",
- "state": 1
- },
- "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb": {
- "location": 1,
- "path": "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/1",
- "state": 1
- },
- "bjafgdebaacbbbecmhlhpofkepfkgcpa": {
- "location": 1,
- "path": "bjafgdebaacbbbecmhlhpofkepfkgcpa/1.0",
- "state": 1
- },
- "cccccccccccccccccccccccccccccccc": {
- "location": 1,
- "path": "cccccccccccccccccccccccccccccccc/1.0",
- "state": 1
- }
- }
- }
-}
+{ + "extensions": { + "settings": { + "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa": { + "location": 1, + "path": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/1", + "state": 1 + }, + "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb": { + "location": 1, + "path": "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/1", + "state": 1 + }, + "bjafgdebaacbbbecmhlhpofkepfkgcpa": { + "location": 1, + "path": "bjafgdebaacbbbecmhlhpofkepfkgcpa/1.0", + "state": 1 + }, + "cccccccccccccccccccccccccccccccc": { + "location": 1, + "path": "cccccccccccccccccccccccccccccccc/1.0", + "state": 1 + } + } + } +} diff --git a/chrome/test/data/extensions/bad_magic.crx b/chrome/test/data/extensions/bad_magic.crx Binary files differindex 4323013..4323013 100755..100644 --- a/chrome/test/data/extensions/bad_magic.crx +++ b/chrome/test/data/extensions/bad_magic.crx diff --git a/chrome/test/data/extensions/bad_signature.crx b/chrome/test/data/extensions/bad_signature.crx Binary files differindex d5a6033..d5a6033 100755..100644 --- a/chrome/test/data/extensions/bad_signature.crx +++ b/chrome/test/data/extensions/bad_signature.crx diff --git a/chrome/test/data/extensions/good.pem b/chrome/test/data/extensions/good.pem index eb40bdaa..eb40bdaa 100755..100644 --- a/chrome/test/data/extensions/good.pem +++ b/chrome/test/data/extensions/good.pem diff --git a/chrome/test/data/extensions/good/Extensions/behllobkkfkfnphdnhnkndlbkcpglgmj/1.0.0.0/page.html b/chrome/test/data/extensions/good/Extensions/behllobkkfkfnphdnhnkndlbkcpglgmj/1.0.0.0/page.html index 5b039a3..5b039a3 100755..100644 --- a/chrome/test/data/extensions/good/Extensions/behllobkkfkfnphdnhnkndlbkcpglgmj/1.0.0.0/page.html +++ b/chrome/test/data/extensions/good/Extensions/behllobkkfkfnphdnhnkndlbkcpglgmj/1.0.0.0/page.html diff --git a/chrome/test/data/extensions/good/Preferences b/chrome/test/data/extensions/good/Preferences index b0c0012..f65cf48 100755..100644 --- a/chrome/test/data/extensions/good/Preferences +++ b/chrome/test/data/extensions/good/Preferences @@ -1,21 +1,21 @@ -{
- "extensions": {
- "settings": {
- "behllobkkfkfnphdnhnkndlbkcpglgmj": {
- "location": 1,
- "path": "behllobkkfkfnphdnhnkndlbkcpglgmj/1.0.0.0",
- "state": 1
- },
- "bjafgdebaacbbbecmhlhpofkepfkgcpa": {
- "location": 1,
- "path": "bjafgdebaacbbbecmhlhpofkepfkgcpa/1.0",
- "state": 1
- },
- "hpiknbiabeeppbpihjehijgoemciehgk": {
- "location": 1,
- "path": "hpiknbiabeeppbpihjehijgoemciehgk/2",
- "state": 1
- }
- }
- }
-}
+{ + "extensions": { + "settings": { + "behllobkkfkfnphdnhnkndlbkcpglgmj": { + "location": 1, + "path": "behllobkkfkfnphdnhnkndlbkcpglgmj/1.0.0.0", + "state": 1 + }, + "bjafgdebaacbbbecmhlhpofkepfkgcpa": { + "location": 1, + "path": "bjafgdebaacbbbecmhlhpofkepfkgcpa/1.0", + "state": 1 + }, + "hpiknbiabeeppbpihjehijgoemciehgk": { + "location": 1, + "path": "hpiknbiabeeppbpihjehijgoemciehgk/2", + "state": 1 + } + } + } +} diff --git a/chrome/test/data/extensions/good2.crx b/chrome/test/data/extensions/good2.crx Binary files differindex 26a1dfa..26a1dfa 100755..100644 --- a/chrome/test/data/extensions/good2.crx +++ b/chrome/test/data/extensions/good2.crx diff --git a/chrome/test/data/extensions/samples/getviews/bg.html b/chrome/test/data/extensions/samples/getviews/bg.html index cdfbf58..92291eb 100755..100644 --- a/chrome/test/data/extensions/samples/getviews/bg.html +++ b/chrome/test/data/extensions/samples/getviews/bg.html @@ -1,9 +1,9 @@ -<html>
- <head>
- <link rel="stylesheet" type="text/css" href="common.css">
- <script src="common.js" type="text/javascript"></script>
- </head>
- <body>
- <div span id="me" onclick="claim();">Background Page</div>
- </body>
+<html> + <head> + <link rel="stylesheet" type="text/css" href="common.css"> + <script src="common.js" type="text/javascript"></script> + </head> + <body> + <div span id="me" onclick="claim();">Background Page</div> + </body> </html>
\ No newline at end of file diff --git a/chrome/test/data/extensions/samples/getviews/common.css b/chrome/test/data/extensions/samples/getviews/common.css index 99d72a0..432dd6d 100755..100644 --- a/chrome/test/data/extensions/samples/getviews/common.css +++ b/chrome/test/data/extensions/samples/getviews/common.css @@ -1,10 +1,10 @@ -body {
- font-size: 18px;
-}
-
-.strong {
- background-color: red;
-}
-.weak {
- color: pink;
+body { + font-size: 18px; +} + +.strong { + background-color: red; +} +.weak { + color: pink; }
\ No newline at end of file diff --git a/chrome/test/data/extensions/samples/getviews/common.js b/chrome/test/data/extensions/samples/getviews/common.js index e567088..0ca0b9a 100755..100644 --- a/chrome/test/data/extensions/samples/getviews/common.js +++ b/chrome/test/data/extensions/samples/getviews/common.js @@ -1,15 +1,15 @@ -function claim() {
- var views = chrome.self.getViews();
- for (var i = 0; i < views.length; i++) {
- views[i].respond(document.getElementById("me").innerHTML);
- }
-}
-
-function respond(val) {
- var me = document.getElementById("me");
- if (val == me.innerHTML) {
- me.className = "strong";
- } else {
- me.className = "weak";
- }
+function claim() { + var views = chrome.self.getViews(); + for (var i = 0; i < views.length; i++) { + views[i].respond(document.getElementById("me").innerHTML); + } +} + +function respond(val) { + var me = document.getElementById("me"); + if (val == me.innerHTML) { + me.className = "strong"; + } else { + me.className = "weak"; + } }
\ No newline at end of file diff --git a/chrome/test/data/extensions/samples/getviews/manifest.json b/chrome/test/data/extensions/samples/getviews/manifest.json index 84e18b1..84e18b1 100755..100644 --- a/chrome/test/data/extensions/samples/getviews/manifest.json +++ b/chrome/test/data/extensions/samples/getviews/manifest.json diff --git a/chrome/test/data/extensions/samples/getviews/ts1.html b/chrome/test/data/extensions/samples/getviews/ts1.html index df2b006..ce0c115 100755..100644 --- a/chrome/test/data/extensions/samples/getviews/ts1.html +++ b/chrome/test/data/extensions/samples/getviews/ts1.html @@ -1,9 +1,9 @@ -<html>
- <head>
- <link rel="stylesheet" type="text/css" href="common.css">
- <script src="common.js" type="text/javascript"></script>
- </head>
- <body>
- <div span id="me" onclick="claim();">Toolstrip 1</div>
- </body>
+<html> + <head> + <link rel="stylesheet" type="text/css" href="common.css"> + <script src="common.js" type="text/javascript"></script> + </head> + <body> + <div span id="me" onclick="claim();">Toolstrip 1</div> + </body> </html>
\ No newline at end of file diff --git a/chrome/test/data/extensions/samples/getviews/ts2.html b/chrome/test/data/extensions/samples/getviews/ts2.html index f5ee37e..21d6c48 100755..100644 --- a/chrome/test/data/extensions/samples/getviews/ts2.html +++ b/chrome/test/data/extensions/samples/getviews/ts2.html @@ -1,9 +1,9 @@ -<html>
- <head>
- <link rel="stylesheet" type="text/css" href="common.css">
- <script src="common.js" type="text/javascript"></script>
- </head>
- <body>
- <div span id="me" onclick="claim();">Toolstrip 2</div>
- </body>
+<html> + <head> + <link rel="stylesheet" type="text/css" href="common.css"> + <script src="common.js" type="text/javascript"></script> + </head> + <body> + <div span id="me" onclick="claim();">Toolstrip 2</div> + </body> </html>
\ No newline at end of file diff --git a/chrome/test/data/extensions/test_file.html b/chrome/test/data/extensions/test_file.html index 9718b43..d3cdf0a 100755..100644 --- a/chrome/test/data/extensions/test_file.html +++ b/chrome/test/data/extensions/test_file.html @@ -1 +1 @@ -<title>Unmodified</title>
+<title>Unmodified</title> diff --git a/chrome/test/data/extensions/theme_with_missing_image.crx b/chrome/test/data/extensions/theme_with_missing_image.crx Binary files differindex 8f9b355..8f9b355 100755..100644 --- a/chrome/test/data/extensions/theme_with_missing_image.crx +++ b/chrome/test/data/extensions/theme_with_missing_image.crx diff --git a/chrome/test/data/extensions/uitest/event_sink/manifest.json b/chrome/test/data/extensions/uitest/event_sink/manifest.json index 830243d..830243d 100755..100644 --- a/chrome/test/data/extensions/uitest/event_sink/manifest.json +++ b/chrome/test/data/extensions/uitest/event_sink/manifest.json diff --git a/chrome/test/data/extensions/uitest/event_sink/test.html b/chrome/test/data/extensions/uitest/event_sink/test.html index 2520d48..2520d48 100755..100644 --- a/chrome/test/data/extensions/uitest/event_sink/test.html +++ b/chrome/test/data/extensions/uitest/event_sink/test.html diff --git a/chrome/test/data/zip/test.zip b/chrome/test/data/zip/test.zip Binary files differindex e32f108..e32f108 100755..100644 --- a/chrome/test/data/zip/test.zip +++ b/chrome/test/data/zip/test.zip diff --git a/chrome/test/data/zip/test_nocompress.zip b/chrome/test/data/zip/test_nocompress.zip Binary files differindex f95e1d2..f95e1d2 100755..100644 --- a/chrome/test/data/zip/test_nocompress.zip +++ b/chrome/test/data/zip/test_nocompress.zip |