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

Issue 12319108: Prevent querying of restricted query values. (Closed)

Created:
7 years, 9 months ago by robertshield
Modified:
7 years, 9 months ago
Reviewers:
David Black, sreeram, Jered
CC:
chromium-reviews, melevin, sreeram, gideonwald, dominich, Aaron Boodman, David Black, samarth+watch_chromium.org, chromium-apps-reviews_chromium.org, darin-cc_chromium.org
Visibility:
Public.

Description

Prevent querying of restricted query values from the instant extended JS api. BUG=170785 TEST=NONE Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=187654

Patch Set 1 : #

Patch Set 2 : Reset VISIBLE on query_ change, fix clang. #

Patch Set 3 : Add test. Next up: make the test pass. #

Patch Set 4 : Make test work. #

Patch Set 5 : Rebase, pre-review cleanup. #

Patch Set 6 : Re-rebase #

Patch Set 7 : Remove query_state_ from SearchBox. #

Total comments: 2

Patch Set 8 : Add API comment. #

Patch Set 9 : Rebase yet again. #

Patch Set 10 : Yet another rebase. #

Patch Set 11 : Only access nativeSuggestions in the RestrictedItemReadback test. #

Patch Set 12 : Remove invalid waits from browser test. #

Patch Set 13 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+104 lines, -1 line) Patch
M chrome/browser/instant/instant_controller.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/instant/instant_extended_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +76 lines, -0 lines 0 comments Download
M chrome/renderer/resources/extensions/searchbox_api.js View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -0 lines 0 comments Download
M chrome/renderer/searchbox/searchbox.h View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +14 lines, -0 lines 0 comments Download
M chrome/renderer/searchbox/searchbox.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +6 lines, -1 line 0 comments Download
M chrome/renderer/searchbox/searchbox_extension.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +6 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
robertshield
7 years, 9 months ago (2013-03-05 01:47:37 UTC) #1
sreeram
I think this QueryState stuff is overkill. You should be able to get by with ...
7 years, 9 months ago (2013-03-05 05:43:44 UTC) #2
robertshield
On 2013/03/05 05:43:44, sreeram wrote: > I think this QueryState stuff is overkill. You should ...
7 years, 9 months ago (2013-03-05 13:28:09 UTC) #3
Jered
https://chromiumcodereview.appspot.com/12319108/diff/25001/chrome/test/data/instant_extended.html File chrome/test/data/instant_extended.html (right): https://chromiumcodereview.appspot.com/12319108/diff/25001/chrome/test/data/instant_extended.html#newcode36 chrome/test/data/instant_extended.html:36: // apiHandle.setRestrictedValue can work. Can you explain a bit ...
7 years, 9 months ago (2013-03-05 17:47:44 UTC) #4
sreeram
lgtm
7 years, 9 months ago (2013-03-05 17:50:23 UTC) #5
robertshield
https://chromiumcodereview.appspot.com/12319108/diff/25001/chrome/test/data/instant_extended.html File chrome/test/data/instant_extended.html (right): https://chromiumcodereview.appspot.com/12319108/diff/25001/chrome/test/data/instant_extended.html#newcode36 chrome/test/data/instant_extended.html:36: // apiHandle.setRestrictedValue can work. On 2013/03/05 17:47:44, Jered wrote: ...
7 years, 9 months ago (2013-03-05 18:19:04 UTC) #6
Jered
On 2013/03/05 18:19:04, robertshield wrote: > https://chromiumcodereview.appspot.com/12319108/diff/25001/chrome/test/data/instant_extended.html > File chrome/test/data/instant_extended.html (right): > > https://chromiumcodereview.appspot.com/12319108/diff/25001/chrome/test/data/instant_extended.html#newcode36 > ...
7 years, 9 months ago (2013-03-05 18:56:35 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/robertshield@chromium.org/12319108/32003
7 years, 9 months ago (2013-03-05 19:16:33 UTC) #8
robertshield
On 2013/03/05 18:56:35, Jered wrote: > On 2013/03/05 18:19:04, robertshield wrote: > > > https://chromiumcodereview.appspot.com/12319108/diff/25001/chrome/test/data/instant_extended.html ...
7 years, 9 months ago (2013-03-05 19:18:59 UTC) #9
commit-bot: I haz the power
Step "update" is always a major failure. Look at the try server FAQ for more ...
7 years, 9 months ago (2013-03-05 19:24:04 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/robertshield@chromium.org/12319108/32003
7 years, 9 months ago (2013-03-08 16:18:05 UTC) #11
commit-bot: I haz the power
Failed to apply patch for chrome/browser/instant/instant_extended_browsertest.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 9 months ago (2013-03-08 16:18:08 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/robertshield@chromium.org/12319108/41001
7 years, 9 months ago (2013-03-08 16:51:46 UTC) #13
commit-bot: I haz the power
Retried try job too often on linux_rel for step(s) interactive_ui_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_rel&number=105486
7 years, 9 months ago (2013-03-08 17:57:08 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/robertshield@chromium.org/12319108/73001
7 years, 9 months ago (2013-03-12 16:57:36 UTC) #15
commit-bot: I haz the power
7 years, 9 months ago (2013-03-12 21:40:39 UTC) #16
Message was sent while issue was closed.
Change committed as 187654

Powered by Google App Engine
This is Rietveld 408576698