summaryrefslogtreecommitdiffstats
path: root/content/browser/bad_message.h
diff options
context:
space:
mode:
authornick <nick@chromium.org>2015-06-08 17:24:00 -0700
committerCommit bot <commit-bot@chromium.org>2015-06-09 00:24:32 +0000
commit5f3d7607eadc9ff0180e940e11baeb6a7cdfac36 (patch)
treecc7aa2dbc634246614eba0f9c05fbf74bfdc2eea /content/browser/bad_message.h
parentef9850e5ef6552b96de41732eda0746b7d05f06e (diff)
downloadchromium_src-5f3d7607eadc9ff0180e940e11baeb6a7cdfac36.zip
chromium_src-5f3d7607eadc9ff0180e940e11baeb6a7cdfac36.tar.gz
chromium_src-5f3d7607eadc9ff0180e940e11baeb6a7cdfac36.tar.bz2
Kill renderers on bad cookie requests under --site-per-process
Add a browser test to make sure that js cookie operations from javascript work properly under --site-per-process. Test that an http page can set a secure cookie that's readable by an https page even though they're in different processes, etc. Test that renderers are killed when they request origins other than the one their process is locked to. BUG=467150 Review URL: https://codereview.chromium.org/1129193008 Cr-Commit-Position: refs/heads/master@{#333398}
Diffstat (limited to 'content/browser/bad_message.h')
-rw-r--r--content/browser/bad_message.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/content/browser/bad_message.h b/content/browser/bad_message.h
index fe577b1..3198ce1 100644
--- a/content/browser/bad_message.h
+++ b/content/browser/bad_message.h
@@ -101,6 +101,8 @@ enum BadMessageReason {
FAMF_APPEND_SHARED_MEMORY_TO_STREAM = 75,
IDBDH_CAN_READ_FILE = 76,
IDBDH_GET_OR_TERMINATE = 77,
+ RMF_SET_COOKIE_BAD_ORIGIN = 78,
+ RMF_GET_COOKIES_BAD_ORIGIN = 79,
// Please add new elements here. The naming convention is abbreviated class
// name (e.g. RenderFrameHost becomes RFH) plus a unique description of the
// reason.