| Index: chrome/test/data/extensions/api_test/gcm/functions/send/send.js
|
| diff --git a/chrome/test/data/extensions/api_test/gcm/functions/send/send.js b/chrome/test/data/extensions/api_test/gcm/functions/send/send.js
|
| index c9b3012e22cfe5b70a300c70bfc3f0497686d190..3ea1728654e85db21ae582c65531fba428b2984b 100644
|
| --- a/chrome/test/data/extensions/api_test/gcm/functions/send/send.js
|
| +++ b/chrome/test/data/extensions/api_test/gcm/functions/send/send.js
|
| @@ -97,6 +97,11 @@ chrome.test.runTests([
|
| message.data["goog.something"] = "value";
|
| });
|
| },
|
| + function failureWhenDataKeyIsGoogDotMixedCasedPrefixed() {
|
| + expectFailureWhen(function(message) {
|
| + message.data["GoOg.something"] = "value";
|
| + });
|
| + },
|
| function successWhenDataKeyHasGoogleInIt() {
|
| expectSuccessWhen(function(message) {
|
| message.data["somthing.google"] = "value";
|
| @@ -107,11 +112,21 @@ chrome.test.runTests([
|
| message.data["google"] = "value";
|
| });
|
| },
|
| + function failureWhenDataKeyIsMixedCasedGoogle() {
|
| + expectFailureWhen(function(message) {
|
| + message.data["GoOgLe"] = "value";
|
| + });
|
| + },
|
| function failureWhenDataKeyIsGooglePrefixed() {
|
| expectFailureWhen(function(message) {
|
| message.data["googleSomething"] = "value";
|
| });
|
| },
|
| + function failureWhenDataKeyIsCollapeKey() {
|
| + expectFailureWhen(function(message) {
|
| + message.data["collapse_key"] = "value";
|
| + });
|
| + },
|
| function failureWhenMessageIsTooLarge() {
|
| expectFailureWhen(function(message) {
|
| function generateString(base, len) {
|
|
|