summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
Diffstat (limited to 'chrome')
-rw-r--r--chrome/test/data/extensions/install/install.crxbin0 -> 2103 bytes
-rw-r--r--chrome/test/data/extensions/install/install.pem15
-rw-r--r--chrome/test/data/extensions/install/install/bg.html5
-rw-r--r--chrome/test/data/extensions/install/install/manifest.json5
-rw-r--r--chrome/test/data/extensions/install/install_older_version.crxbin0 -> 2283 bytes
-rw-r--r--chrome/test/data/extensions/install/install_older_version/bg.html5
-rw-r--r--chrome/test/data/extensions/install/install_older_version/manifest.json5
-rw-r--r--chrome/test/data/extensions/install/install_same_version.crxbin0 -> 2121 bytes
-rw-r--r--chrome/test/data/extensions/install/install_same_version/bg.html5
-rw-r--r--chrome/test/data/extensions/install/install_same_version/manifest.json5
-rw-r--r--chrome/test/data/extensions/install/install_v2.crxbin0 -> 2279 bytes
-rw-r--r--chrome/test/data/extensions/install/install_v2/bg.html5
-rw-r--r--chrome/test/data/extensions/install/install_v2/manifest.json5
13 files changed, 55 insertions, 0 deletions
diff --git a/chrome/test/data/extensions/install/install.crx b/chrome/test/data/extensions/install/install.crx
new file mode 100644
index 0000000..1755b68
--- /dev/null
+++ b/chrome/test/data/extensions/install/install.crx
Binary files differ
diff --git a/chrome/test/data/extensions/install/install.pem b/chrome/test/data/extensions/install/install.pem
new file mode 100644
index 0000000..35baffc
--- /dev/null
+++ b/chrome/test/data/extensions/install/install.pem
@@ -0,0 +1,15 @@
+-----BEGIN PRIVATE KEY-----
+MIICdQIBADANBgkqhkiG9w0BAQEFAASCAl8wggJbAgEAAoGBAJa4JhnmiZ7U4fG43
+qVxsgsTp9YvdO3/7RGsEREM73lvWKW5ADwkJx3SPIYNcc6A4HVkuuppNVZkxXiPW2
+qqbBDnat+D6dEMB5vf8jlHyEJv8oLuPmq0Yxfmw3qTTpIpMnRq4et9RtUC3yZuUgk
+8CV4Qa57VlUuDZl62Xu9mFwcnAgMBAAECgYA3n9DYAEBMMS8OIfdxwcs+0UtA/hS+
+fZSF0CYgT9DV1WU3DFbs2z7gf6W8p5uX5fJxAPMG7js0Hk7O1sGbVTg6V+BwiLwjA
+9s9v8GfNBM95oMi6b1sblf0yQ2ee9DoJKsyqD6snP4RwWCy+0oJ15yrtlAH2afzol
+TyMkEDqB/ZIQJBAMVE0oLhKwkOdmgbvzcklm+kS5M0BNj8R2ciiyfRGOINAqjcYf2
+3sC9hsxBeHhb+8kbIT+zko/f+XRpUise2eRECQQDDl3owU9Sn/9REJAGpkNJZsE5b
+PPelcHSNs4wSbjjrfnxby8JscoxK4rS0EM0p0b/0D+Z/yBW2ZKU/7JFV3ry3AkA35
+Xpoz3isRkbS1RnnfByMYddwTIsbGND6rlUT4THVy633PwsdI1Fu+5YLiz+ncHIiEF
+xlWZwEhzTGYzI3yMKhAkB40P63D3FSfOJ/XMZyGXT11cPw8839MWOti/TABbm/LZh
+fk5N7LZ6fOz5n4+D3LgsmFRRKZiuTSMQSomx74GQtAkB+RpcHXT0YsigQ6+Q3EgMX
+zlGwziFQH/O6BGrCDzpe4sEwYPh+KdIO3FsjFLGb3W1Jo+1+jvFsooyUWKRFC3NU
+-----END PRIVATE KEY-----
diff --git a/chrome/test/data/extensions/install/install/bg.html b/chrome/test/data/extensions/install/install/bg.html
new file mode 100644
index 0000000..fc7e675
--- /dev/null
+++ b/chrome/test/data/extensions/install/install/bg.html
@@ -0,0 +1,5 @@
+<script>
+function version() {
+ window.domAutomationController.send("1.0");
+}
+</script>
diff --git a/chrome/test/data/extensions/install/install/manifest.json b/chrome/test/data/extensions/install/install/manifest.json
new file mode 100644
index 0000000..3a188be
--- /dev/null
+++ b/chrome/test/data/extensions/install/install/manifest.json
@@ -0,0 +1,5 @@
+{
+ "name": "Extension v1",
+ "version": "1.0",
+ "background_page": "bg.html"
+}
diff --git a/chrome/test/data/extensions/install/install_older_version.crx b/chrome/test/data/extensions/install/install_older_version.crx
new file mode 100644
index 0000000..3684e8b
--- /dev/null
+++ b/chrome/test/data/extensions/install/install_older_version.crx
Binary files differ
diff --git a/chrome/test/data/extensions/install/install_older_version/bg.html b/chrome/test/data/extensions/install/install_older_version/bg.html
new file mode 100644
index 0000000..6f73232
--- /dev/null
+++ b/chrome/test/data/extensions/install/install_older_version/bg.html
@@ -0,0 +1,5 @@
+<script>
+function version() {
+ window.domAutomationController.send("0.9");
+}
+</script>
diff --git a/chrome/test/data/extensions/install/install_older_version/manifest.json b/chrome/test/data/extensions/install/install_older_version/manifest.json
new file mode 100644
index 0000000..8ea2ce5
--- /dev/null
+++ b/chrome/test/data/extensions/install/install_older_version/manifest.json
@@ -0,0 +1,5 @@
+{
+ "name": "Extension v0.9",
+ "version": "0.9",
+ "background_page": "bg.html"
+}
diff --git a/chrome/test/data/extensions/install/install_same_version.crx b/chrome/test/data/extensions/install/install_same_version.crx
new file mode 100644
index 0000000..a343cf6
--- /dev/null
+++ b/chrome/test/data/extensions/install/install_same_version.crx
Binary files differ
diff --git a/chrome/test/data/extensions/install/install_same_version/bg.html b/chrome/test/data/extensions/install/install_same_version/bg.html
new file mode 100644
index 0000000..9a6c1ce
--- /dev/null
+++ b/chrome/test/data/extensions/install/install_same_version/bg.html
@@ -0,0 +1,5 @@
+<script>
+function version() {
+ window.domAutomationController.send("1 again");
+}
+</script>
diff --git a/chrome/test/data/extensions/install/install_same_version/manifest.json b/chrome/test/data/extensions/install/install_same_version/manifest.json
new file mode 100644
index 0000000..178ade2
--- /dev/null
+++ b/chrome/test/data/extensions/install/install_same_version/manifest.json
@@ -0,0 +1,5 @@
+{
+ "name": "Extension v1 again",
+ "version": "1.0",
+ "background_page": "bg.html"
+}
diff --git a/chrome/test/data/extensions/install/install_v2.crx b/chrome/test/data/extensions/install/install_v2.crx
new file mode 100644
index 0000000..5b97ebb
--- /dev/null
+++ b/chrome/test/data/extensions/install/install_v2.crx
Binary files differ
diff --git a/chrome/test/data/extensions/install/install_v2/bg.html b/chrome/test/data/extensions/install/install_v2/bg.html
new file mode 100644
index 0000000..807f390
--- /dev/null
+++ b/chrome/test/data/extensions/install/install_v2/bg.html
@@ -0,0 +1,5 @@
+<script>
+function version() {
+ window.domAutomationController.send("2.0");
+}
+</script>
diff --git a/chrome/test/data/extensions/install/install_v2/manifest.json b/chrome/test/data/extensions/install/install_v2/manifest.json
new file mode 100644
index 0000000..1be5a22
--- /dev/null
+++ b/chrome/test/data/extensions/install/install_v2/manifest.json
@@ -0,0 +1,5 @@
+{
+ "name": "Extension v2",
+ "version": "2.0",
+ "background_page": "bg.html"
+}