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

Issue 19625003: Fix 'RenderViewHostManagerTest.NoScriptAccessAfterSwapOut'. (Closed)

Created:
7 years, 5 months ago by Mike West
Modified:
7 years, 5 months ago
Reviewers:
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam
Visibility:
Public.

Description

Fix 'RenderViewHostManagerTest.NoScriptAccessAfterSwapOut'. Now that cross-origin access to properties of the Location object throws a SecurityError exception, this test needs to be slightly modified to catch the exception rather than simply checking that the URL is undefined. BUG=261313

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -3 lines) Patch
M content/browser/renderer_host/render_view_host_manager_browsertest.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/test/data/click-noreferrer-links.html View 1 chunk +6 lines, -2 lines 0 comments Download

Powered by Google App Engine
This is Rietveld 408576698