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

Unified Diff: extensions/test/data/manifest_tests/event_rules_invalid.json

Issue 1158693006: Create a mechanism define declarative rules via the extension manifest. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add a manifest handler Created 5 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: extensions/test/data/manifest_tests/event_rules_invalid.json
diff --git a/extensions/test/data/manifest_tests/event_rules_invalid.json b/extensions/test/data/manifest_tests/event_rules_invalid.json
new file mode 100644
index 0000000000000000000000000000000000000000..25f639709103752c4765b8399422e7f80cc65422
--- /dev/null
+++ b/extensions/test/data/manifest_tests/event_rules_invalid.json
@@ -0,0 +1,15 @@
+{
+ "name": "extensions_unittests --gtest_filter=DeclarativeManifestTest.Invalid",
+ "version": "1",
+ "manifest_version": 2,
+ "app": {
+ "background": {
+ "scripts": ["background.js"]
+ }
+ },
+ "event_rules": [{
+ "event": "foo",
+ "conditions": [{ "url": "test_url" }],
+ "actions": [{ "type": "action_type" }]
+ }]
+}

Powered by Google App Engine
This is Rietveld 408576698