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

Issue 7585016: Add unit test for javascript: URL stripping (Closed)

Created:
9 years, 4 months ago by Tom Sepez
Modified:
9 years, 4 months ago
Reviewers:
Peter Kasting, cdn1
CC:
chromium-reviews, Paweł Hajdan Jr.
Visibility:
Public.

Description

Add unit test for the javascript: URL blocking code. BUG=91851 TEST=unit_tests:OmniboxView.* Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=95669

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 7

Patch Set 3 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -0 lines) Patch
A chrome/browser/ui/omnibox/omnibox_view_unittest.cc View 1 2 1 chunk +28 lines, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Tom Sepez
9 years, 4 months ago (2011-08-05 19:53:37 UTC) #1
Tom Sepez
Peter, might as well keep the simple unit test although trashing the rest of the ...
9 years, 4 months ago (2011-08-05 20:07:18 UTC) #2
Peter Kasting
LGTM http://codereview.chromium.org/7585016/diff/4001/chrome/browser/ui/omnibox/omnibox_view_unittest.cc File chrome/browser/ui/omnibox/omnibox_view_unittest.cc (right): http://codereview.chromium.org/7585016/diff/4001/chrome/browser/ui/omnibox/omnibox_view_unittest.cc#newcode12 chrome/browser/ui/omnibox/omnibox_view_unittest.cc:12: Nit: Extra newline http://codereview.chromium.org/7585016/diff/4001/chrome/browser/ui/omnibox/omnibox_view_unittest.cc#newcode15 chrome/browser/ui/omnibox/omnibox_view_unittest.cc:15: "javAscript:alert(0)", // Unsafe ...
9 years, 4 months ago (2011-08-05 20:10:22 UTC) #3
Tom Sepez
http://codereview.chromium.org/7585016/diff/4001/chrome/browser/ui/omnibox/omnibox_view_unittest.cc File chrome/browser/ui/omnibox/omnibox_view_unittest.cc (right): http://codereview.chromium.org/7585016/diff/4001/chrome/browser/ui/omnibox/omnibox_view_unittest.cc#newcode12 chrome/browser/ui/omnibox/omnibox_view_unittest.cc:12: On 2011/08/05 20:10:22, Peter Kasting wrote: > Nit: Extra ...
9 years, 4 months ago (2011-08-05 20:26:09 UTC) #4
Peter Kasting
http://codereview.chromium.org/7585016/diff/4001/chrome/browser/ui/omnibox/omnibox_view_unittest.cc File chrome/browser/ui/omnibox/omnibox_view_unittest.cc (right): http://codereview.chromium.org/7585016/diff/4001/chrome/browser/ui/omnibox/omnibox_view_unittest.cc#newcode15 chrome/browser/ui/omnibox/omnibox_view_unittest.cc:15: "javAscript:alert(0)", // Unsafe JS URL. On 2011/08/05 20:26:09, Tom ...
9 years, 4 months ago (2011-08-05 20:28:18 UTC) #5
Tom Sepez
unit_test only runs on PS #2: http://build.chromium.org/p/tryserver.chromium/builders/linux/builds/41290 http://build.chromium.org/p/tryserver.chromium/builders/win/builds/47096 mac bot seems kind of backed up ...
9 years, 4 months ago (2011-08-05 20:51:15 UTC) #6
Tom Sepez
9 years, 4 months ago (2011-08-05 22:17:33 UTC) #7

Powered by Google App Engine
This is Rietveld 408576698