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

Issue 2772983003: Prevent tests using data URLs from being broken by data URL deprecation (Closed)

Created:
3 years, 9 months ago by meacer
Modified:
3 years, 8 months ago
Reviewers:
msw, melandory, nasko
CC:
chromium-reviews, nasko+codewatch_chromium.org, darin-cc_chromium.org, jam, subresource-filter-reviews_chromium.org, creis+watch_chromium.org, Bernhard Bauer
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Prevent tests using data URLs from being broken by data URL deprecation These test will be broken when content initiated top frame data URL navigations are blocked. Move them away from data URLs. BUG=594215 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation Review-Url: https://codereview.chromium.org/2772983003 Cr-Commit-Position: refs/heads/master@{#461184} Committed: https://chromium.googlesource.com/chromium/src/+/86b0c6ec76fc6adfad37a4f22a500e89fa23175c

Patch Set 1 #

Patch Set 2 : Rebase #

Patch Set 3 : Fix popup tests #

Patch Set 4 : Change line endings to Unix #

Patch Set 5 : Change line endings to Unix - take 2 #

Total comments: 4

Patch Set 6 : nasko comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+66 lines, -47 lines) Patch
M chrome/browser/ui/blocked_content/popup_blocker_browsertest.cc View 1 2 3 4 5 chunks +14 lines, -8 lines 0 comments Download
M chrome/browser/ui/browser_browsertest.cc View 1 2 chunks +8 lines, -4 lines 0 comments Download
M chrome/test/data/click_modifier/href.html View 1 chunk +1 line, -2 lines 0 comments Download
A chrome/test/data/click_modifier/new_window.html View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/test/data/click_modifier/window_open.html View 2 chunks +1 line, -3 lines 0 comments Download
M chrome/test/data/popup_blocker/popup-blocked-to-post-blank.html View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/test/data/popup_blocker/popup-fake-click-on-anchor.html View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/test/data/popup_blocker/popup-fake-click-on-anchor2.html View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/test/data/popup_blocker/popup-fake-click-on-anchor3.html View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/test/data/popup_blocker/popup-many.html View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M chrome/test/data/popup_blocker/popup-on-unload.html View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M chrome/test/data/popup_blocker/popup-simulated-click-on-anchor.html View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/data/popup_blocker/popup-simulated-click-on-anchor2.html View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
A chrome/test/data/popup_blocker/popup-success.html View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/test/data/popup_blocker/popup-window-open.html View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M chrome/test/data/popup_blocker/popup-window-open-noopener.html View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M components/subresource_filter/content/browser/content_subresource_filter_driver_factory_unittest.cc View 1 1 chunk +5 lines, -3 lines 0 comments Download
M content/browser/frame_host/navigation_controller_impl_browsertest.cc View 1 2 3 4 5 3 chunks +18 lines, -8 lines 0 comments Download

Messages

Total messages: 43 (28 generated)
meacer
PTAL? Thanks. msw: chrome/browser/ui/browser_browsertest.cc boliu: components/subresource_filter/content/browser/content_subresource_filter_driver_factory_unittest.cc nasko: content/browser/frame_host/navigation_controller_impl_browsertest.cc
3 years, 9 months ago (2017-03-24 22:35:58 UTC) #9
boliu
On 2017/03/24 22:35:58, Mustafa Emre Acer wrote: > PTAL? Thanks. > > msw: chrome/browser/ui/browser_browsertest.cc > ...
3 years, 9 months ago (2017-03-24 22:38:33 UTC) #10
meacer
On 2017/03/24 22:38:33, boliu wrote: > On 2017/03/24 22:35:58, Mustafa Emre Acer wrote: > > ...
3 years, 9 months ago (2017-03-24 22:40:03 UTC) #11
meacer
-boliu +melandory for components/subresource_filter/content/
3 years, 9 months ago (2017-03-24 22:40:44 UTC) #13
meacer
msw/bauerb: Can also one of you PTAL at chrome/browser/ui/blocked_content/popup_blocker_browsertest.cc?
3 years, 9 months ago (2017-03-25 00:14:12 UTC) #17
msw
c/b/ui/browser_browsertest.cc lgtm
3 years, 9 months ago (2017-03-25 00:19:24 UTC) #18
msw
popup_blocker_browsertest.cc is a bit less straightforward, but I suppose that lgtm too, maybe bauerb can ...
3 years, 9 months ago (2017-03-25 00:26:49 UTC) #19
melandory
Subresource_filter lgtm
3 years, 9 months ago (2017-03-27 09:14:47 UTC) #20
nasko
https://codereview.chromium.org/2772983003/diff/80001/content/browser/frame_host/navigation_controller_impl_browsertest.cc File content/browser/frame_host/navigation_controller_impl_browsertest.cc (right): https://codereview.chromium.org/2772983003/diff/80001/content/browser/frame_host/navigation_controller_impl_browsertest.cc#newcode516 content/browser/frame_host/navigation_controller_impl_browsertest.cc:516: shell(), embedded_test_server()->GetURL("/simple_page.html?page1"))); Why not navigate to completely different pages? ...
3 years, 8 months ago (2017-03-27 21:39:19 UTC) #29
meacer
https://codereview.chromium.org/2772983003/diff/80001/content/browser/frame_host/navigation_controller_impl_browsertest.cc File content/browser/frame_host/navigation_controller_impl_browsertest.cc (right): https://codereview.chromium.org/2772983003/diff/80001/content/browser/frame_host/navigation_controller_impl_browsertest.cc#newcode516 content/browser/frame_host/navigation_controller_impl_browsertest.cc:516: shell(), embedded_test_server()->GetURL("/simple_page.html?page1"))); On 2017/03/27 21:39:19, nasko wrote: > Why ...
3 years, 8 months ago (2017-03-27 22:15:47 UTC) #30
nasko
lgtm
3 years, 8 months ago (2017-03-27 22:43:31 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2772983003/100001
3 years, 8 months ago (2017-03-31 00:04:03 UTC) #36
commit-bot: I haz the power
Try jobs failed on following builders: ios-simulator on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-simulator/builds/184063)
3 years, 8 months ago (2017-03-31 00:57:59 UTC) #38
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2772983003/100001
3 years, 8 months ago (2017-03-31 18:31:59 UTC) #40
commit-bot: I haz the power
3 years, 8 months ago (2017-03-31 19:41:50 UTC) #43
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/86b0c6ec76fc6adfad37a4f22a50...

Powered by Google App Engine
This is Rietveld 408576698