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

Issue 1656033004: Do not navigate "other" windows to about:blank in OnReset. (Closed)

Created:
4 years, 10 months ago by Łukasz Anforowicz
Modified:
4 years, 10 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam, jochen+watch_chromium.org, mkwst+moarreviews-shell_chromium.org, mlamouri+watch-content_chromium.org, mlamouri+watch-test-runner_chromium.org, Peter Beverloo, site-isolation-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@triage-of-layout-test-failures-1
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Do not navigate "other" windows to about:blank in OnReset. In crrev.com/14046012 we started to iterate over all RenderViews and navigating them to about:blank to trigger their unload event handlers while the main window is still present. This code is broken when OOPIFs are enabled (i.e. we cannot navigate a *remote* RenderView / RenderFrame). This CL basically reverts crrev.com/14046012 and instead puts the burden on test authors, to make sure that their unload handlers can robustly handle being executed when the main window is gone. This makes the test harness work better in presence of OOPIFs. BUG=583089 Committed: https://crrev.com/0302144e0addc087dc56bb67139ec171c210e353 Cr-Commit-Position: refs/heads/master@{#374739}

Patch Set 1 #

Patch Set 2 : Updating test expectations. #

Patch Set 3 : Rebasing the expectations file. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -60 lines) Patch
M content/shell/renderer/layout_test/blink_test_runner.cc View 1 2 2 chunks +0 lines, -22 lines 0 comments Download
M third_party/WebKit/LayoutTests/FlagExpectations/site-per-process View 1 2 3 chunks +5 lines, -38 lines 0 comments Download

Messages

Total messages: 20 (7 generated)
Łukasz Anforowicz
jochen@, could you please take a look? (since this effectively reverts your crrev.com/14046012 from 2013; ...
4 years, 10 months ago (2016-02-02 00:38:00 UTC) #2
Łukasz Anforowicz
FWIW, I cannot repro the linux_blink_dbg failures locally with: $ DISPLAY=:20 third_party/WebKit/Tools/Scripts/run-webkit-tests -t Debug -v ...
4 years, 10 months ago (2016-02-02 20:39:08 UTC) #3
Łukasz Anforowicz
Actually, I see that some failures in https://build.chromium.org/p/tryserver.blink/builders/linux_blink_dbg/builds/49468 also happened "without the patch" - this ...
4 years, 10 months ago (2016-02-02 21:54:06 UTC) #4
jochen (gone - plz use gerrit)
lgtm
4 years, 10 months ago (2016-02-03 13:30:38 UTC) #5
jochen (gone - plz use gerrit)
well, actually, lgtm once it passes tests :) To reproduce test failures, I recommend to ...
4 years, 10 months ago (2016-02-03 13:32:16 UTC) #6
Łukasz Anforowicz
Mike, could you please do an OWNERS review? (I think this can happen in parallel ...
4 years, 10 months ago (2016-02-04 21:16:57 UTC) #8
jochen (gone - plz use gerrit)
i'd run content_shell directly (use --run-layout-tests test1 test2 test3...) for http tests, you'll have to ...
4 years, 10 months ago (2016-02-05 14:51:23 UTC) #9
Łukasz Anforowicz
I plan to do a dry-run against CQ and land this CL later today: 1. ...
4 years, 10 months ago (2016-02-10 17:06:31 UTC) #10
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1656033004/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1656033004/40001
4 years, 10 months ago (2016-02-10 17:09:26 UTC) #12
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 10 months ago (2016-02-10 18:14:35 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1656033004/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1656033004/40001
4 years, 10 months ago (2016-02-10 21:46:51 UTC) #17
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 10 months ago (2016-02-10 21:58:11 UTC) #18
commit-bot: I haz the power
4 years, 10 months ago (2016-02-16 22:31:28 UTC) #20
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/0302144e0addc087dc56bb67139ec171c210e353
Cr-Commit-Position: refs/heads/master@{#374739}

Powered by Google App Engine
This is Rietveld 408576698