BackForwardCache: Add a GPU test for the back-forward cache [chromium/src : master]

5 views
Skip to first unread message

Hajime Hoshi (Gerrit)

unread,
Jan 8, 2021, 6:12:56 AM1/8/21
to Kenneth Russell, bfcache...@chromium.org

Attention is currently required from: Kenneth Russell.

Hajime Hoshi would like Kenneth Russell to review this change.

View Change

BackForwardCache: Add a GPU test for the back-forward cache

This test adds a new GPU test that confirms a page with WebGL is put in
the back-forward cache when navigating, and is restored when navigating
back.

Bug: 1146922
Change-Id: Ic153e74b4b251df74c5b0a99ed6f1bc40863eb89
---
M content/test/gpu/gpu_tests/context_lost_integration_test.py
1 file changed, 21 insertions(+), 1 deletion(-)

diff --git a/content/test/gpu/gpu_tests/context_lost_integration_test.py b/content/test/gpu/gpu_tests/context_lost_integration_test.py
index dc18720..225b491 100644
--- a/content/test/gpu/gpu_tests/context_lost_integration_test.py
+++ b/content/test/gpu/gpu_tests/context_lost_integration_test.py
@@ -140,7 +140,8 @@
'webgl2-multisampling-high-power-switch-loses-context.html'),
('ContextLost_MacWebGLPreserveDBHighPowerSwitchLosesContext',
'webgl2-preserve-db-high-power-switch-loses-context.html'),
- ('GpuCrash_InfoForHardwareGpu', 'simple.html'))
+ ('GpuCrash_InfoForHardwareGpu',
+ 'simple.html'), ('BackForwardCache', 'webgl.html'))
for t in tests:
yield (t[0], t[1], ('_' + t[0]))

@@ -501,6 +502,25 @@
'but got %s' % webgl_status_for_hardware_gpu)
self._RestartBrowser('must restart after tests that kill the GPU process')

+ def _BackForwardCache(self, test_path):
+ self.RestartBrowserIfNecessaryWithArgs(
+ ['--enable-features=BackForwardCache:enable_same_site/true'])
+
+ # Navigate to a page with WebGL.
+ tab = self.tab
+ tab.Navigate(self.UrlOfStaticFilePath(test_path))
+ tab.EvaluateJavaScript('window.testValueThatMustBeKept = 1;')
+
+ # Navigate to another page.
+ self._NavigateAndWaitForLoad('simple.html')
+
+ # Go back to the orignal page and confirm the page state is kept.
+ tab.EvaluateJavaScript('window.window.history.go(-1);')
+
+ if tab.EvaluateJavaScript('window.testValueThatMustBeKept') != 1:
+ self.fail(
+ 'Page with WebGL should have been puts into the back-forward cache')
+
@classmethod
def GetPlatformTags(cls, browser):
tags = super(ContextLostIntegrationTest, cls).GetPlatformTags(browser)

To view, visit change 2617413. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: chromium/src
Gerrit-Branch: master
Gerrit-Change-Id: Ic153e74b4b251df74c5b0a99ed6f1bc40863eb89
Gerrit-Change-Number: 2617413
Gerrit-PatchSet: 1
Gerrit-Owner: Hajime Hoshi <hajim...@chromium.org>
Gerrit-Reviewer: Hajime Hoshi <hajim...@chromium.org>
Gerrit-Reviewer: Kenneth Russell <k...@chromium.org>
Gerrit-Attention: Kenneth Russell <k...@chromium.org>
Gerrit-MessageType: newchange

Hajime Hoshi (Gerrit)

unread,
Jan 8, 2021, 6:13:03 AM1/8/21
to bfcache...@chromium.org, Kenneth Russell, Chromium LUCI CQ, chromium...@chromium.org

Attention is currently required from: Kenneth Russell.

View Change

1 comment:

  • Patchset:

    • Patch Set #1:

      This is a follow-up CL for a CL enabling WebGL for BFcache.

      PTAL

To view, visit change 2617413. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: chromium/src
Gerrit-Branch: master
Gerrit-Change-Id: Ic153e74b4b251df74c5b0a99ed6f1bc40863eb89
Gerrit-Change-Number: 2617413
Gerrit-PatchSet: 1
Gerrit-Owner: Hajime Hoshi <hajim...@chromium.org>
Gerrit-Reviewer: Hajime Hoshi <hajim...@chromium.org>
Gerrit-Reviewer: Kenneth Russell <k...@chromium.org>
Gerrit-Attention: Kenneth Russell <k...@chromium.org>
Gerrit-Comment-Date: Fri, 08 Jan 2021 11:12:52 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment

Kenneth Russell (Gerrit)

unread,
Jan 8, 2021, 4:54:32 PM1/8/21
to Hajime Hoshi, bfcache...@chromium.org, Tricium, Chromium LUCI CQ, chromium...@chromium.org

Attention is currently required from: Hajime Hoshi.

Patch set 1:Code-Review +1

View Change

3 comments:

  • Patchset:

    • Patch Set #1:

      lgtm, thanks for adding the test!

      Please rebase and double-check that the trybot failures are unrelated to this test (they look unrelated to me).

  • File content/test/gpu/gpu_tests/context_lost_integration_test.py:

To view, visit change 2617413. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: chromium/src
Gerrit-Branch: master
Gerrit-Change-Id: Ic153e74b4b251df74c5b0a99ed6f1bc40863eb89
Gerrit-Change-Number: 2617413
Gerrit-PatchSet: 1
Gerrit-Owner: Hajime Hoshi <hajim...@chromium.org>
Gerrit-Reviewer: Hajime Hoshi <hajim...@chromium.org>
Gerrit-Reviewer: Kenneth Russell <k...@chromium.org>
Gerrit-Attention: Hajime Hoshi <hajim...@chromium.org>
Gerrit-Comment-Date: Fri, 08 Jan 2021 21:54:20 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment

Hajime Hoshi (Gerrit)

unread,
Jan 12, 2021, 5:14:32 AM1/12/21
to bfcache...@chromium.org, Kenneth Russell, Tricium, Chromium LUCI CQ, chromium...@chromium.org

View Change

1 comment:

To view, visit change 2617413. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: chromium/src
Gerrit-Branch: master
Gerrit-Change-Id: Ic153e74b4b251df74c5b0a99ed6f1bc40863eb89
Gerrit-Change-Number: 2617413
Gerrit-PatchSet: 2
Gerrit-Owner: Hajime Hoshi <hajim...@chromium.org>
Gerrit-Reviewer: Hajime Hoshi <hajim...@chromium.org>
Gerrit-Reviewer: Kenneth Russell <k...@chromium.org>
Gerrit-Comment-Date: Tue, 12 Jan 2021 10:14:20 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Kenneth Russell <k...@chromium.org>
Gerrit-MessageType: comment

Hajime Hoshi (Gerrit)

unread,
Jan 12, 2021, 5:19:33 AM1/12/21
to bfcache...@chromium.org, Kenneth Russell, Tricium, Chromium LUCI CQ, chromium...@chromium.org

View Change

3 comments:

  • Patchset:

  • File content/test/gpu/gpu_tests/context_lost_integration_test.py:

    • > "orignal" is a possible misspelling of "original". […]

      Done

    • Done

To view, visit change 2617413. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: chromium/src
Gerrit-Branch: master
Gerrit-Change-Id: Ic153e74b4b251df74c5b0a99ed6f1bc40863eb89
Gerrit-Change-Number: 2617413
Gerrit-PatchSet: 2
Gerrit-Owner: Hajime Hoshi <hajim...@chromium.org>
Gerrit-Reviewer: Hajime Hoshi <hajim...@chromium.org>
Gerrit-Reviewer: Kenneth Russell <k...@chromium.org>
Gerrit-Comment-Date: Tue, 12 Jan 2021 10:13:29 +0000

Hajime Hoshi (Gerrit)

unread,
Jan 12, 2021, 5:24:48 AM1/12/21
to bfcache...@chromium.org, Kenneth Russell, Tricium, Chromium LUCI CQ, chromium...@chromium.org

Patch set 2:Commit-Queue +1

View Change

    To view, visit change 2617413. To unsubscribe, or for help writing mail filters, visit settings.

    Gerrit-Project: chromium/src
    Gerrit-Branch: master
    Gerrit-Change-Id: Ic153e74b4b251df74c5b0a99ed6f1bc40863eb89
    Gerrit-Change-Number: 2617413
    Gerrit-PatchSet: 2
    Gerrit-Owner: Hajime Hoshi <hajim...@chromium.org>
    Gerrit-Reviewer: Hajime Hoshi <hajim...@chromium.org>
    Gerrit-Reviewer: Kenneth Russell <k...@chromium.org>
    Gerrit-Comment-Date: Tue, 12 Jan 2021 10:24:36 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: Yes
    Gerrit-MessageType: comment

    Kenneth Russell (Gerrit)

    unread,
    Jan 12, 2021, 2:29:29 PM1/12/21
    to bfcache...@chromium.org, Brian Sheedy, Hajime Hoshi

    Attention is currently required from: Hajime Hoshi.

    Hajime Hoshi has uploaded this change for review.

    View Change

    BackForwardCache: Add a GPU test for the back-forward cache

    This test adds a new GPU test that confirms a page with WebGL is put in
    the back-forward cache when navigating, and is restored when navigating
    back.

    Bug: 1146922
    Change-Id: Ic153e74b4b251df74c5b0a99ed6f1bc40863eb89
    ---
    M content/test/gpu/gpu_tests/context_lost_integration_test.py
    1 file changed, 23 insertions(+), 3 deletions(-)


    To view, visit change 2617413. To unsubscribe, or for help writing mail filters, visit settings.

    Gerrit-Project: chromium/src
    Gerrit-Branch: master
    Gerrit-Change-Id: Ic153e74b4b251df74c5b0a99ed6f1bc40863eb89
    Gerrit-Change-Number: 2617413
    Gerrit-PatchSet: 2
    Gerrit-Owner: Hajime Hoshi <hajim...@chromium.org>
    Gerrit-Reviewer: Hajime Hoshi <hajim...@chromium.org>
    Gerrit-Reviewer: Kenneth Russell <k...@chromium.org>
    Gerrit-CC: Brian Sheedy <bsh...@chromium.org>
    Gerrit-Attention: Hajime Hoshi <hajim...@chromium.org>
    Gerrit-MessageType: newchange

    Kenneth Russell (Gerrit)

    unread,
    Jan 12, 2021, 2:29:37 PM1/12/21
    to Hajime Hoshi, bfcache...@chromium.org, Brian Sheedy, Tricium, Chromium LUCI CQ, chromium...@chromium.org

    Attention is currently required from: Hajime Hoshi.

    View Change

    1 comment:

    • Patchset:

      • Patch Set #2:

        The logs are very verbose (cc'ing bsheedy in case there's anything that can be done to improve this):
        https://chromium-swarm.appspot.com/task?id=510e8b771990b010#BackForwardCache

        but overall it looks like there's an assertion failure probably from trying to manually turn on the back/forward cache:

         4  libchrome.so!base::debug::BreakDebugger() [debugger_posix.cc : 311 + 0x0]
        fp = 0x0000007fd7890ab0 lr = 0x0000007f7c5415e4
        sp = 0x0000007fd7890440 pc = 0x0000007f7c5e3544
        Found by: previous frame's frame pointer
        5 libchrome.so!logging::LogMessage::~LogMessage() [logging.cc : 558 + 0x0]
        x19 = 0x0000000000000030 fp = 0x0000007fd7890b10
        sp = 0x0000007fd7890ad0 pc = 0x0000007f7c541964
        Found by: call frame info
        6 libchrome.so!base::FeatureList::RegisterFieldTrialOverride(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, base::FeatureList::OverrideState, base::FieldTrial*) [feature_list.cc : 308 + 0x4]
        x19 = 0x0000007f93b8ce00 fp = 0x0000007fd7890b30
        sp = 0x0000007fd7890b30 pc = 0x0000007f7c52e388
        Found by: call frame info
        7 libchrome.so!variations::AssociateParamsFromFieldTrialConfig(variations::FieldTrialTestingConfig const&, base::RepeatingCallback<void (unsigned int, std::__1::basic_string<char16_t, std::__1::char_traits<char16_t>, std::__1::allocator<char16_t> > const&)> const&, variations::Study_Platform, base::FeatureList*) [field_trial_util.cc : 117 + 0x10]

    To view, visit change 2617413. To unsubscribe, or for help writing mail filters, visit settings.

    Gerrit-Project: chromium/src
    Gerrit-Branch: master
    Gerrit-Change-Id: Ic153e74b4b251df74c5b0a99ed6f1bc40863eb89
    Gerrit-Change-Number: 2617413
    Gerrit-PatchSet: 2
    Gerrit-Owner: Hajime Hoshi <hajim...@chromium.org>
    Gerrit-Reviewer: Hajime Hoshi <hajim...@chromium.org>
    Gerrit-Reviewer: Kenneth Russell <k...@chromium.org>
    Gerrit-CC: Brian Sheedy <bsh...@chromium.org>
    Gerrit-Attention: Hajime Hoshi <hajim...@chromium.org>
    Gerrit-Comment-Date: Tue, 12 Jan 2021 19:29:26 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Gerrit-MessageType: comment

    Hajime Hoshi (Gerrit)

    unread,
    Jan 20, 2021, 6:46:24 AM1/20/21
    to bfcache...@chromium.org, Brian Sheedy, Kenneth Russell, Tricium, Chromium LUCI CQ, chromium...@chromium.org

    View Change

    1 comment:

    • Patchset:

      • Patch Set #2:

        The logs are very verbose (cc'ing bsheedy in case there's anything that can be done to improve this) […]

        Thanks. Do you know hot to test this with swarm (./tools/mb/mb)?

    To view, visit change 2617413. To unsubscribe, or for help writing mail filters, visit settings.

    Gerrit-Project: chromium/src
    Gerrit-Branch: master
    Gerrit-Change-Id: Ic153e74b4b251df74c5b0a99ed6f1bc40863eb89
    Gerrit-Change-Number: 2617413
    Gerrit-PatchSet: 3
    Gerrit-Owner: Hajime Hoshi <hajim...@chromium.org>
    Gerrit-Reviewer: Hajime Hoshi <hajim...@chromium.org>
    Gerrit-Reviewer: Kenneth Russell <k...@chromium.org>
    Gerrit-CC: Brian Sheedy <bsh...@chromium.org>
    Gerrit-Comment-Date: Wed, 20 Jan 2021 11:46:10 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No

    Kenneth Russell (Gerrit)

    unread,
    Jan 20, 2021, 7:07:50 PM1/20/21
    to Hajime Hoshi, bfcache...@chromium.org, Brian Sheedy, Tricium, Chromium LUCI CQ, chromium...@chromium.org

    Attention is currently required from: Hajime Hoshi.

    View Change

    1 comment:

    To view, visit change 2617413. To unsubscribe, or for help writing mail filters, visit settings.

    Gerrit-Project: chromium/src
    Gerrit-Branch: master
    Gerrit-Change-Id: Ic153e74b4b251df74c5b0a99ed6f1bc40863eb89
    Gerrit-Change-Number: 2617413
    Gerrit-PatchSet: 3
    Gerrit-Owner: Hajime Hoshi <hajim...@chromium.org>
    Gerrit-Reviewer: Hajime Hoshi <hajim...@chromium.org>
    Gerrit-Reviewer: Kenneth Russell <k...@chromium.org>
    Gerrit-CC: Brian Sheedy <bsh...@chromium.org>
    Gerrit-Attention: Hajime Hoshi <hajim...@chromium.org>
    Gerrit-Comment-Date: Thu, 21 Jan 2021 00:07:38 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Hajime Hoshi <hajim...@chromium.org>

    Brian Sheedy (Gerrit)

    unread,
    Jan 20, 2021, 7:10:31 PM1/20/21
    to Hajime Hoshi, bfcache...@chromium.org, Kenneth Russell, Tricium, Chromium LUCI CQ, chromium...@chromium.org

    Attention is currently required from: Hajime Hoshi.

    View Change

    2 comments:

    • Patchset:

      • Patch Set #2:

        Thanks. Do you know hot to test this with swarm (. […]

      • I believe the following should work:

        1. Use the following for your GN args:
        dcheck_always_on = true
        disable_android_lint = true
        enable_resource_allowlist_generation = true
        ffmpeg_branding = "Chrome"
        is_component_build = false
        is_debug = false
        proprietary_codecs = true
        symbol_level = 1
        system_webview_package_name = "com.google.android.webview"
        target_cpu = "arm64"
        target_os = "android"
        use_errorprone_java_compiler = false
        use_goma = true
        use_jacoco_coverage = true
        use_static_angle = true

        2. tools/mb/mb.py run -s --no-default-dimensions -d pool chromium.tests -d device_type bullhead -d device_os MMB29Q out/Release telemetry_gpu_integration_test -- context_lost --show-stdout --browser android-chromium --passthrough -v --extra-browser-args "--enable-logging=stderr --js-flags=--expose-gc --use-cmd-decoder=validating" --isolated-script-test-output '${ISOLATED_OUTDIR}/output.json' --isolated-script-test-perf-output '${ISOLATED_OUTDIR}/perftest-output.json'

    • Patchset:

      • Patch Set #3:

        It would help if I actually published the comment I wrote this morning...

    To view, visit change 2617413. To unsubscribe, or for help writing mail filters, visit settings.

    Gerrit-Project: chromium/src
    Gerrit-Branch: master
    Gerrit-Change-Id: Ic153e74b4b251df74c5b0a99ed6f1bc40863eb89
    Gerrit-Change-Number: 2617413
    Gerrit-PatchSet: 3
    Gerrit-Owner: Hajime Hoshi <hajim...@chromium.org>
    Gerrit-Reviewer: Hajime Hoshi <hajim...@chromium.org>
    Gerrit-Reviewer: Kenneth Russell <k...@chromium.org>
    Gerrit-CC: Brian Sheedy <bsh...@chromium.org>
    Gerrit-Attention: Hajime Hoshi <hajim...@chromium.org>
    Gerrit-Comment-Date: Thu, 21 Jan 2021 00:10:19 +0000

    Hajime Hoshi (Gerrit)

    unread,
    Jan 21, 2021, 1:45:41 AM1/21/21
    to bfcache...@chromium.org, Fergal Daly, Kenneth Russell

    Hajime Hoshi has uploaded this change for review.

    View Change

    BackForwardCache: Add a GPU test for the back-forward cache

    This test adds a new GPU test that confirms a page with WebGL is put in
    the back-forward cache when navigating, and is restored when navigating
    back.

    Bug: 1146922
    Change-Id: Ic153e74b4b251df74c5b0a99ed6f1bc40863eb89
    ---
    M content/test/gpu/gpu_tests/context_lost_integration_test.py
    1 file changed, 23 insertions(+), 3 deletions(-)


    To view, visit change 2617413. To unsubscribe, or for help writing mail filters, visit settings.

    Gerrit-Project: chromium/src
    Gerrit-Branch: master
    Gerrit-Change-Id: Ic153e74b4b251df74c5b0a99ed6f1bc40863eb89
    Gerrit-Change-Number: 2617413
    Gerrit-PatchSet: 3
    Gerrit-Owner: Hajime Hoshi <hajim...@chromium.org>
    Gerrit-Reviewer: Hajime Hoshi <hajim...@chromium.org>
    Gerrit-Reviewer: Kenneth Russell <k...@chromium.org>
    Gerrit-CC: Brian Sheedy <bsh...@chromium.org>
    Gerrit-CC: Fergal Daly <fer...@chromium.org>
    Gerrit-MessageType: newchange

    Hajime Hoshi (Gerrit)

    unread,
    Jan 21, 2021, 1:45:48 AM1/21/21
    to bfcache...@chromium.org, Fergal Daly, Brian Sheedy, Kenneth Russell, Tricium, Chromium LUCI CQ, chromium...@chromium.org

    View Change

    1 comment:

    To view, visit change 2617413. To unsubscribe, or for help writing mail filters, visit settings.

    Gerrit-Project: chromium/src
    Gerrit-Branch: master
    Gerrit-Change-Id: Ic153e74b4b251df74c5b0a99ed6f1bc40863eb89
    Gerrit-Change-Number: 2617413
    Gerrit-PatchSet: 3
    Gerrit-Owner: Hajime Hoshi <hajim...@chromium.org>
    Gerrit-Reviewer: Hajime Hoshi <hajim...@chromium.org>
    Gerrit-Reviewer: Kenneth Russell <k...@chromium.org>
    Gerrit-CC: Brian Sheedy <bsh...@chromium.org>
    Gerrit-CC: Fergal Daly <fer...@chromium.org>
    Gerrit-Comment-Date: Thu, 21 Jan 2021 06:45:37 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Gerrit-MessageType: comment

    Hajime Hoshi (Gerrit)

    unread,
    Jan 21, 2021, 3:08:21 AM1/21/21
    to bfcache...@chromium.org, Fergal Daly, Brian Sheedy, Kenneth Russell, Tricium, Chromium LUCI CQ, chromium...@chromium.org

    Attention is currently required from: Brian Sheedy.

    View Change

    1 comment:

    • Patchset:

      • Patch Set #2:

        I believe the following should work: […]

        Thanks, as Brian said, specifying telemetry_gpu_integration_test at tools/mb/mb.py worked well!

    To view, visit change 2617413. To unsubscribe, or for help writing mail filters, visit settings.

    Gerrit-Project: chromium/src
    Gerrit-Branch: master
    Gerrit-Change-Id: Ic153e74b4b251df74c5b0a99ed6f1bc40863eb89
    Gerrit-Change-Number: 2617413
    Gerrit-PatchSet: 3
    Gerrit-Owner: Hajime Hoshi <hajim...@chromium.org>
    Gerrit-Reviewer: Hajime Hoshi <hajim...@chromium.org>
    Gerrit-Reviewer: Kenneth Russell <k...@chromium.org>
    Gerrit-CC: Brian Sheedy <bsh...@chromium.org>
    Gerrit-CC: Fergal Daly <fer...@chromium.org>
    Gerrit-Attention: Brian Sheedy <bsh...@chromium.org>
    Gerrit-Comment-Date: Thu, 21 Jan 2021 08:08:06 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Brian Sheedy <bsh...@chromium.org>

    Hajime Hoshi (Gerrit)

    unread,
    Jan 21, 2021, 5:08:42 AM1/21/21
    to bfcache...@chromium.org, Rakina Zata Amni, Kenneth Russell

    Attention is currently required from: Brian Sheedy.

    Hajime Hoshi has uploaded this change for review.

    View Change

    BackForwardCache: Add a GPU test for the back-forward cache

    This test adds a new GPU test that confirms a page with WebGL is put in
    the back-forward cache when navigating, and is restored when navigating
    back.

    Bug: 1146922
    Change-Id: Ic153e74b4b251df74c5b0a99ed6f1bc40863eb89
    ---
    M content/test/gpu/gpu_tests/context_lost_integration_test.py
    1 file changed, 23 insertions(+), 3 deletions(-)


    To view, visit change 2617413. To unsubscribe, or for help writing mail filters, visit settings.

    Gerrit-Project: chromium/src
    Gerrit-Branch: master
    Gerrit-Change-Id: Ic153e74b4b251df74c5b0a99ed6f1bc40863eb89
    Gerrit-Change-Number: 2617413
    Gerrit-PatchSet: 3
    Gerrit-Owner: Hajime Hoshi <hajim...@chromium.org>
    Gerrit-Reviewer: Hajime Hoshi <hajim...@chromium.org>
    Gerrit-Reviewer: Kenneth Russell <k...@chromium.org>
    Gerrit-CC: Brian Sheedy <bsh...@chromium.org>
    Gerrit-CC: Fergal Daly <fer...@chromium.org>
    Gerrit-CC: Rakina Zata Amni <rak...@chromium.org>
    Gerrit-Attention: Brian Sheedy <bsh...@chromium.org>
    Gerrit-MessageType: newchange

    Hajime Hoshi (Gerrit)

    unread,
    Jan 21, 2021, 5:08:50 AM1/21/21
    to bfcache...@chromium.org, Rakina Zata Amni, Fergal Daly, Brian Sheedy, Kenneth Russell, Tricium, Chromium LUCI CQ, chromium...@chromium.org

    Attention is currently required from: Brian Sheedy.

    View Change

    1 comment:

    • File content/test/gpu/gpu_tests/context_lost_integration_test.py:

      • Patch Set #3, Line 581: ['--enable-features=BackForwardCache:enable_same_site/true'])

        My understanding is that this doesn't work on Android, where same-site navigations are partially enabled, and this setting is d-checked at base::FeatureList::RegisterFieldTrialOverride. (I have confirmed that any DCHECK failure seems just a crash on the try bots.)

        I changed `self._NavigateAndWaitForLoad('simple.html')` to `self._NavigateAndWaitForLoad('https://example.com')` but navigating back by go(-1) did not work.

        1. Is it possible to navigate a different domain page in this test, and navigate back?
        2. If not, I think we should wait for enabling BFcache for same-site navigations on all the environment.

        CC +rakina for insights of the current same-site navigations situation.

    To view, visit change 2617413. To unsubscribe, or for help writing mail filters, visit settings.

    Gerrit-Project: chromium/src
    Gerrit-Branch: master
    Gerrit-Change-Id: Ic153e74b4b251df74c5b0a99ed6f1bc40863eb89
    Gerrit-Change-Number: 2617413
    Gerrit-PatchSet: 3
    Gerrit-Owner: Hajime Hoshi <hajim...@chromium.org>
    Gerrit-Reviewer: Hajime Hoshi <hajim...@chromium.org>
    Gerrit-Reviewer: Kenneth Russell <k...@chromium.org>
    Gerrit-CC: Brian Sheedy <bsh...@chromium.org>
    Gerrit-CC: Fergal Daly <fer...@chromium.org>
    Gerrit-CC: Rakina Zata Amni <rak...@chromium.org>
    Gerrit-Attention: Brian Sheedy <bsh...@chromium.org>
    Gerrit-Comment-Date: Thu, 21 Jan 2021 10:08:37 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Gerrit-MessageType: comment

    Kenneth Russell (Gerrit)

    unread,
    Jan 21, 2021, 6:01:11 PM1/21/21
    to Hajime Hoshi, bfcache...@chromium.org, Rakina Zata Amni, Fergal Daly, Brian Sheedy, Tricium, Chromium LUCI CQ, chromium...@chromium.org

    Attention is currently required from: Brian Sheedy, Hajime Hoshi.

    View Change

    1 comment:

    • File content/test/gpu/gpu_tests/context_lost_integration_test.py:

      • My understanding is that this doesn't work on Android, where same-site navigations are partially ena […]

        It's not simple to navigate to a different domain for another page in the same test. +bsheedy in case he has any comments on the feasibility of this in Telemetry and the HTTP server it starts.

    To view, visit change 2617413. To unsubscribe, or for help writing mail filters, visit settings.

    Gerrit-Project: chromium/src
    Gerrit-Branch: master
    Gerrit-Change-Id: Ic153e74b4b251df74c5b0a99ed6f1bc40863eb89
    Gerrit-Change-Number: 2617413
    Gerrit-PatchSet: 3
    Gerrit-Owner: Hajime Hoshi <hajim...@chromium.org>
    Gerrit-Reviewer: Hajime Hoshi <hajim...@chromium.org>
    Gerrit-Reviewer: Kenneth Russell <k...@chromium.org>
    Gerrit-CC: Brian Sheedy <bsh...@chromium.org>
    Gerrit-CC: Fergal Daly <fer...@chromium.org>
    Gerrit-CC: Rakina Zata Amni <rak...@chromium.org>
    Gerrit-Attention: Brian Sheedy <bsh...@chromium.org>
    Gerrit-Attention: Hajime Hoshi <hajim...@chromium.org>
    Gerrit-Comment-Date: Thu, 21 Jan 2021 23:00:57 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Hajime Hoshi <hajim...@chromium.org>
    Gerrit-MessageType: comment

    Brian Sheedy (Gerrit)

    unread,
    Jan 21, 2021, 6:18:15 PM1/21/21
    to Hajime Hoshi, bfcache...@chromium.org, Rakina Zata Amni, Fergal Daly, Kenneth Russell, Tricium, Chromium LUCI CQ, chromium...@chromium.org

    Attention is currently required from: Hajime Hoshi, Kenneth Russell.

    View Change

    1 comment:

    • File content/test/gpu/gpu_tests/context_lost_integration_test.py:

      • It's not simple to navigate to a different domain for another page in the same test. […]

        I don't think there's a way to have different domains with the default HTTP server, as everything is accessed through 127.0.0.1. The closest you can probably get is with chrome:// URLs, but those are generally pretty special so I don't know if they'll get you the behavior you want.

        It *is* possible to have different domains in Telemetry tests, but the only way I'm aware of is to use WebPageReplay and WPR archives for different domains. AFAIK the GPU tests don't currently have support for WPR since there hasn't been a use case before. Not sure off-hand how much work it would be to add that, either.

        If Android is currently the only issue, you could add the test as-is and skip it via the expectation files until the root cause is fixed https://source.chromium.org/chromium/chromium/src/+/master:content/test/gpu/gpu_tests/test_expectations/context_lost_expectations.txt

    To view, visit change 2617413. To unsubscribe, or for help writing mail filters, visit settings.

    Gerrit-Project: chromium/src
    Gerrit-Branch: master
    Gerrit-Change-Id: Ic153e74b4b251df74c5b0a99ed6f1bc40863eb89
    Gerrit-Change-Number: 2617413
    Gerrit-PatchSet: 3
    Gerrit-Owner: Hajime Hoshi <hajim...@chromium.org>
    Gerrit-Reviewer: Hajime Hoshi <hajim...@chromium.org>
    Gerrit-Reviewer: Kenneth Russell <k...@chromium.org>
    Gerrit-CC: Brian Sheedy <bsh...@chromium.org>
    Gerrit-CC: Fergal Daly <fer...@chromium.org>
    Gerrit-CC: Rakina Zata Amni <rak...@chromium.org>
    Gerrit-Attention: Hajime Hoshi <hajim...@chromium.org>
    Gerrit-Attention: Kenneth Russell <k...@chromium.org>
    Gerrit-Comment-Date: Thu, 21 Jan 2021 23:17:56 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Hajime Hoshi <hajim...@chromium.org>

    Fergal Daly (Gerrit)

    unread,
    Mar 4, 2021, 2:31:07 AM3/4/21
    to Hajime Hoshi, bfcache...@chromium.org, Rakina Zata Amni, Fergal Daly, Brian Sheedy, Kenneth Russell, Tricium, Chromium LUCI CQ, chromium...@chromium.org

    Attention is currently required from: Brian Sheedy, Hajime Hoshi, Kenneth Russell.

    View Change

    1 comment:

    • File content/test/gpu/gpu_tests/context_lost_integration_test.py:

      • I don't think there's a way to have different domains with the default HTTP server, as everything is […]

        I should be possible to navigate away to about:blank and navigate back as cross-site, I think.

    To view, visit change 2617413. To unsubscribe, or for help writing mail filters, visit settings.

    Gerrit-Project: chromium/src
    Gerrit-Branch: master
    Gerrit-Change-Id: Ic153e74b4b251df74c5b0a99ed6f1bc40863eb89
    Gerrit-Change-Number: 2617413
    Gerrit-PatchSet: 4
    Gerrit-Owner: Hajime Hoshi <hajim...@chromium.org>
    Gerrit-Reviewer: Hajime Hoshi <hajim...@chromium.org>
    Gerrit-Reviewer: Kenneth Russell <k...@chromium.org>
    Gerrit-CC: Brian Sheedy <bsh...@chromium.org>
    Gerrit-CC: Fergal Daly <fer...@chromium.org>
    Gerrit-CC: Rakina Zata Amni <rak...@chromium.org>
    Gerrit-Attention: Brian Sheedy <bsh...@chromium.org>
    Gerrit-Attention: Hajime Hoshi <hajim...@chromium.org>
    Gerrit-Attention: Kenneth Russell <k...@chromium.org>
    Gerrit-Comment-Date: Thu, 04 Mar 2021 07:30:54 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Brian Sheedy <bsh...@chromium.org>

    Hajime Hoshi (Gerrit)

    unread,
    Mar 4, 2021, 2:32:59 AM3/4/21
    to bfcache...@chromium.org, Rakina Zata Amni, Fergal Daly, Brian Sheedy, Kenneth Russell, Tricium, Chromium LUCI CQ, chromium...@chromium.org

    Attention is currently required from: Brian Sheedy, Kenneth Russell.

    Patch set 4:Commit-Queue +1

    View Change

      To view, visit change 2617413. To unsubscribe, or for help writing mail filters, visit settings.

      Gerrit-Project: chromium/src
      Gerrit-Branch: master
      Gerrit-Change-Id: Ic153e74b4b251df74c5b0a99ed6f1bc40863eb89
      Gerrit-Change-Number: 2617413
      Gerrit-PatchSet: 4
      Gerrit-Owner: Hajime Hoshi <hajim...@chromium.org>
      Gerrit-Reviewer: Hajime Hoshi <hajim...@chromium.org>
      Gerrit-Reviewer: Kenneth Russell <k...@chromium.org>
      Gerrit-CC: Brian Sheedy <bsh...@chromium.org>
      Gerrit-CC: Fergal Daly <fer...@chromium.org>
      Gerrit-CC: Rakina Zata Amni <rak...@chromium.org>
      Gerrit-Attention: Brian Sheedy <bsh...@chromium.org>
      Gerrit-Attention: Kenneth Russell <k...@chromium.org>
      Gerrit-Comment-Date: Thu, 04 Mar 2021 07:32:44 +0000

      Hajime Hoshi (Gerrit)

      unread,
      Mar 4, 2021, 5:57:05 AM3/4/21
      to bfcache...@chromium.org, Rakina Zata Amni, Fergal Daly, Brian Sheedy, Kenneth Russell, Tricium, Chromium LUCI CQ, chromium...@chromium.org

      Attention is currently required from: Brian Sheedy, Fergal Daly, Kenneth Russell.

      View Change

      1 comment:

      • File content/test/gpu/gpu_tests/context_lost_integration_test.py:

        • I should be possible to navigate away to about:blank and navigate back as cross-site, I think.

          |self._NavigateAndWaitForLoad('about:blank')| was stuck, and |tab.Navigate('about:blank')| didn't pass the test (probably the page went back before loading was finished. Hmm?

      To view, visit change 2617413. To unsubscribe, or for help writing mail filters, visit settings.

      Gerrit-Project: chromium/src
      Gerrit-Branch: master
      Gerrit-Change-Id: Ic153e74b4b251df74c5b0a99ed6f1bc40863eb89
      Gerrit-Change-Number: 2617413
      Gerrit-PatchSet: 4
      Gerrit-Owner: Hajime Hoshi <hajim...@chromium.org>
      Gerrit-Reviewer: Hajime Hoshi <hajim...@chromium.org>
      Gerrit-Reviewer: Kenneth Russell <k...@chromium.org>
      Gerrit-CC: Brian Sheedy <bsh...@chromium.org>
      Gerrit-CC: Fergal Daly <fer...@chromium.org>
      Gerrit-CC: Rakina Zata Amni <rak...@chromium.org>
      Gerrit-Attention: Brian Sheedy <bsh...@chromium.org>
      Gerrit-Attention: Fergal Daly <fer...@chromium.org>
      Gerrit-Attention: Kenneth Russell <k...@chromium.org>
      Gerrit-Comment-Date: Thu, 04 Mar 2021 10:56:51 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      Comment-In-Reply-To: Brian Sheedy <bsh...@chromium.org>
      Comment-In-Reply-To: Fergal Daly <fer...@chromium.org>

      Kenneth Russell (Gerrit)

      unread,
      Mar 4, 2021, 10:25:52 PM3/4/21
      to Hajime Hoshi, bfcache...@chromium.org, Rakina Zata Amni, Fergal Daly, Brian Sheedy, Tricium, Chromium LUCI CQ, chromium...@chromium.org

      Attention is currently required from: Brian Sheedy, Fergal Daly, Hajime Hoshi.

      Patch set 4:Code-Review +1

      View Change

      2 comments:

      • Patchset:

      • File content/test/gpu/gpu_tests/context_lost_integration_test.py:

      To view, visit change 2617413. To unsubscribe, or for help writing mail filters, visit settings.

      Gerrit-Project: chromium/src
      Gerrit-Branch: master
      Gerrit-Change-Id: Ic153e74b4b251df74c5b0a99ed6f1bc40863eb89
      Gerrit-Change-Number: 2617413
      Gerrit-PatchSet: 4
      Gerrit-Owner: Hajime Hoshi <hajim...@chromium.org>
      Gerrit-Reviewer: Hajime Hoshi <hajim...@chromium.org>
      Gerrit-Reviewer: Kenneth Russell <k...@chromium.org>
      Gerrit-CC: Brian Sheedy <bsh...@chromium.org>
      Gerrit-CC: Fergal Daly <fer...@chromium.org>
      Gerrit-CC: Rakina Zata Amni <rak...@chromium.org>
      Gerrit-Attention: Brian Sheedy <bsh...@chromium.org>
      Gerrit-Attention: Fergal Daly <fer...@chromium.org>
      Gerrit-Attention: Hajime Hoshi <hajim...@chromium.org>
      Gerrit-Comment-Date: Fri, 05 Mar 2021 03:25:19 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: Yes
      Comment-In-Reply-To: Brian Sheedy <bsh...@chromium.org>

      John Chen (Gerrit)

      unread,
      Mar 5, 2021, 11:53:03 AM3/5/21
      to Hajime Hoshi, bfcache...@chromium.org, Rakina Zata Amni, Fergal Daly, Brian Sheedy, Kenneth Russell, Tricium, Chromium LUCI CQ, chromium...@chromium.org

      Attention is currently required from: Brian Sheedy, Fergal Daly, Hajime Hoshi, Kenneth Russell.

      View Change

      1 comment:

      • File content/test/gpu/gpu_tests/context_lost_integration_test.py:

      To view, visit change 2617413. To unsubscribe, or for help writing mail filters, visit settings.

      Gerrit-Project: chromium/src
      Gerrit-Branch: master
      Gerrit-Change-Id: Ic153e74b4b251df74c5b0a99ed6f1bc40863eb89
      Gerrit-Change-Number: 2617413
      Gerrit-PatchSet: 4
      Gerrit-Owner: Hajime Hoshi <hajim...@chromium.org>
      Gerrit-Reviewer: Hajime Hoshi <hajim...@chromium.org>
      Gerrit-Reviewer: Kenneth Russell <k...@chromium.org>
      Gerrit-CC: Brian Sheedy <bsh...@chromium.org>
      Gerrit-CC: Fergal Daly <fer...@chromium.org>
      Gerrit-CC: John Chen <john...@chromium.org>
      Gerrit-CC: Rakina Zata Amni <rak...@chromium.org>
      Gerrit-Attention: Brian Sheedy <bsh...@chromium.org>
      Gerrit-Attention: Fergal Daly <fer...@chromium.org>
      Gerrit-Attention: Hajime Hoshi <hajim...@chromium.org>
      Gerrit-Attention: Kenneth Russell <k...@chromium.org>
      Gerrit-Comment-Date: Fri, 05 Mar 2021 16:52:45 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No

      Kenneth Russell (Gerrit)

      unread,
      Mar 5, 2021, 11:24:38 PM3/5/21
      to Hajime Hoshi, bfcache...@chromium.org, John Chen, Rakina Zata Amni, Fergal Daly, Brian Sheedy, Tricium, Chromium LUCI CQ, chromium...@chromium.org

      Attention is currently required from: Brian Sheedy, Fergal Daly, Hajime Hoshi, John Chen.

      View Change

      1 comment:

      • File content/test/gpu/gpu_tests/context_lost_integration_test.py:

        • |self. […]

          Thanks John for your input. Could you please help Hajime figure out how to get past this issue? We have the ability to call internal APIs like GpuBenchmarkingExtension, so we could do something like mark the next navigation as being cross-origin. Or we could potentially spin up another web server on another port. Other suggestions?

      To view, visit change 2617413. To unsubscribe, or for help writing mail filters, visit settings.

      Gerrit-Project: chromium/src
      Gerrit-Branch: master
      Gerrit-Change-Id: Ic153e74b4b251df74c5b0a99ed6f1bc40863eb89
      Gerrit-Change-Number: 2617413
      Gerrit-PatchSet: 4
      Gerrit-Owner: Hajime Hoshi <hajim...@chromium.org>
      Gerrit-Reviewer: Hajime Hoshi <hajim...@chromium.org>
      Gerrit-Reviewer: Kenneth Russell <k...@chromium.org>
      Gerrit-CC: Brian Sheedy <bsh...@chromium.org>
      Gerrit-CC: Fergal Daly <fer...@chromium.org>
      Gerrit-CC: John Chen <john...@chromium.org>
      Gerrit-CC: Rakina Zata Amni <rak...@chromium.org>
      Gerrit-Attention: Brian Sheedy <bsh...@chromium.org>
      Gerrit-Attention: Fergal Daly <fer...@chromium.org>
      Gerrit-Attention: Hajime Hoshi <hajim...@chromium.org>
      Gerrit-Attention: John Chen <john...@chromium.org>
      Gerrit-Comment-Date: Sat, 06 Mar 2021 04:24:25 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      Comment-In-Reply-To: Brian Sheedy <bsh...@chromium.org>
      Comment-In-Reply-To: Hajime Hoshi <hajim...@chromium.org>
      Comment-In-Reply-To: Kenneth Russell <k...@chromium.org>
      Comment-In-Reply-To: John Chen <john...@chromium.org>
      Gerrit-MessageType: comment

      John Chen (Gerrit)

      unread,
      Mar 8, 2021, 6:38:08 PM3/8/21
      to Hajime Hoshi, bfcache...@chromium.org, Rakina Zata Amni, Fergal Daly, Brian Sheedy, Kenneth Russell, Tricium, Chromium LUCI CQ, chromium...@chromium.org

      Attention is currently required from: Brian Sheedy, Fergal Daly, Hajime Hoshi, Kenneth Russell.

      View Change

      1 comment:

      • File content/test/gpu/gpu_tests/context_lost_integration_test.py:

        • Thanks John for your input. […]

          One potential fix is to call |tab.Navigate('about:blank')| followed by |tab.WaitForNavigate()|. This should allow waiting for the navigation to about:blank to complete before continuing.

      To view, visit change 2617413. To unsubscribe, or for help writing mail filters, visit settings.

      Gerrit-Project: chromium/src
      Gerrit-Branch: master
      Gerrit-Change-Id: Ic153e74b4b251df74c5b0a99ed6f1bc40863eb89
      Gerrit-Change-Number: 2617413
      Gerrit-PatchSet: 4
      Gerrit-Owner: Hajime Hoshi <hajim...@chromium.org>
      Gerrit-Reviewer: Hajime Hoshi <hajim...@chromium.org>
      Gerrit-Reviewer: Kenneth Russell <k...@chromium.org>
      Gerrit-CC: Brian Sheedy <bsh...@chromium.org>
      Gerrit-CC: Fergal Daly <fer...@chromium.org>
      Gerrit-CC: John Chen <john...@chromium.org>
      Gerrit-CC: Rakina Zata Amni <rak...@chromium.org>
      Gerrit-Attention: Brian Sheedy <bsh...@chromium.org>
      Gerrit-Attention: Fergal Daly <fer...@chromium.org>
      Gerrit-Attention: Hajime Hoshi <hajim...@chromium.org>
      Gerrit-Attention: Kenneth Russell <k...@chromium.org>
      Gerrit-Comment-Date: Mon, 08 Mar 2021 23:37:52 +0000

      Hajime Hoshi (Gerrit)

      unread,
      Mar 9, 2021, 7:19:50 AM3/9/21
      to bfcache...@chromium.org, John Chen, Rakina Zata Amni, Fergal Daly, Brian Sheedy, Kenneth Russell, Tricium, Chromium LUCI CQ, chromium...@chromium.org

      Attention is currently required from: Brian Sheedy, Fergal Daly, Kenneth Russell, John Chen.

      View Change

      1 comment:

      • File content/test/gpu/gpu_tests/context_lost_integration_test.py:

        • One potential fix is to call |tab.Navigate('about:blank')| followed by |tab.WaitForNavigate()|. […]

          Thank you! Interestingly, tab.WaitForNavigate() got stuck forever...

      To view, visit change 2617413. To unsubscribe, or for help writing mail filters, visit settings.

      Gerrit-Project: chromium/src
      Gerrit-Branch: master
      Gerrit-Change-Id: Ic153e74b4b251df74c5b0a99ed6f1bc40863eb89
      Gerrit-Change-Number: 2617413
      Gerrit-PatchSet: 4
      Gerrit-Owner: Hajime Hoshi <hajim...@chromium.org>
      Gerrit-Reviewer: Hajime Hoshi <hajim...@chromium.org>
      Gerrit-Reviewer: Kenneth Russell <k...@chromium.org>
      Gerrit-CC: Brian Sheedy <bsh...@chromium.org>
      Gerrit-CC: Fergal Daly <fer...@chromium.org>
      Gerrit-CC: John Chen <john...@chromium.org>
      Gerrit-CC: Rakina Zata Amni <rak...@chromium.org>
      Gerrit-Attention: Brian Sheedy <bsh...@chromium.org>
      Gerrit-Attention: Fergal Daly <fer...@chromium.org>
      Gerrit-Attention: Kenneth Russell <k...@chromium.org>
      Gerrit-Attention: John Chen <john...@chromium.org>
      Gerrit-Comment-Date: Tue, 09 Mar 2021 12:19:34 +0000

      John Chen (Gerrit)

      unread,
      Mar 9, 2021, 11:39:43 AM3/9/21
      to Hajime Hoshi, bfcache...@chromium.org, Rakina Zata Amni, Fergal Daly, Brian Sheedy, Kenneth Russell, Tricium, Chromium LUCI CQ, chromium...@chromium.org

      Attention is currently required from: Brian Sheedy, Fergal Daly, Hajime Hoshi, Kenneth Russell.

      View Change

      1 comment:

      • File content/test/gpu/gpu_tests/context_lost_integration_test.py:

        • Thank you! Interestingly, tab.WaitForNavigate() got stuck forever...

          Interesting. I think about:blank is a special page, and it might not emit all the events needed by tab.WaitForNavigate. Since navigate to about:blank should be quick, I think using a simple time.sleep(1) should suffice. If you want to be more certain, you can wait until JavaScript location.href == 'about:blank' && document.readyState == 'complete'.

      To view, visit change 2617413. To unsubscribe, or for help writing mail filters, visit settings.

      Gerrit-Project: chromium/src
      Gerrit-Branch: master
      Gerrit-Change-Id: Ic153e74b4b251df74c5b0a99ed6f1bc40863eb89
      Gerrit-Change-Number: 2617413
      Gerrit-PatchSet: 4
      Gerrit-Owner: Hajime Hoshi <hajim...@chromium.org>
      Gerrit-Reviewer: Hajime Hoshi <hajim...@chromium.org>
      Gerrit-Reviewer: Kenneth Russell <k...@chromium.org>
      Gerrit-CC: Brian Sheedy <bsh...@chromium.org>
      Gerrit-CC: Fergal Daly <fer...@chromium.org>
      Gerrit-CC: John Chen <john...@chromium.org>
      Gerrit-CC: Rakina Zata Amni <rak...@chromium.org>
      Gerrit-Attention: Brian Sheedy <bsh...@chromium.org>
      Gerrit-Attention: Fergal Daly <fer...@chromium.org>
      Gerrit-Attention: Hajime Hoshi <hajim...@chromium.org>
      Gerrit-Attention: Kenneth Russell <k...@chromium.org>
      Gerrit-Comment-Date: Tue, 09 Mar 2021 16:39:30 +0000

      Hajime Hoshi (Gerrit)

      unread,
      Mar 19, 2021, 8:43:05 AM3/19/21
      to bfcache...@chromium.org, John Chen, Rakina Zata Amni, Fergal Daly, Brian Sheedy, Kenneth Russell, Tricium, Chromium LUCI CQ, chromium...@chromium.org

      Attention is currently required from: Brian Sheedy, Fergal Daly, Kenneth Russell.

      Patch set 4:Commit-Queue +1

      View Change

        To view, visit change 2617413. To unsubscribe, or for help writing mail filters, visit settings.

        Gerrit-Project: chromium/src
        Gerrit-Branch: master
        Gerrit-Change-Id: Ic153e74b4b251df74c5b0a99ed6f1bc40863eb89
        Gerrit-Change-Number: 2617413
        Gerrit-PatchSet: 4
        Gerrit-Owner: Hajime Hoshi <hajim...@chromium.org>
        Gerrit-Reviewer: Hajime Hoshi <hajim...@chromium.org>
        Gerrit-Reviewer: Kenneth Russell <k...@chromium.org>
        Gerrit-CC: Brian Sheedy <bsh...@chromium.org>
        Gerrit-CC: Fergal Daly <fer...@chromium.org>
        Gerrit-CC: John Chen <john...@chromium.org>
        Gerrit-CC: Rakina Zata Amni <rak...@chromium.org>
        Gerrit-Attention: Brian Sheedy <bsh...@chromium.org>
        Gerrit-Attention: Fergal Daly <fer...@chromium.org>
        Gerrit-Attention: Kenneth Russell <k...@chromium.org>
        Gerrit-Comment-Date: Fri, 19 Mar 2021 12:42:52 +0000

        John Chen (Gerrit)

        unread,
        Mar 19, 2021, 8:32:01 PM3/19/21
        to Hajime Hoshi, bfcache...@chromium.org, Rakina Zata Amni, Fergal Daly, Brian Sheedy, Kenneth Russell, Tricium, Chromium LUCI CQ, chromium...@chromium.org

        Attention is currently required from: Brian Sheedy, Fergal Daly, Hajime Hoshi, Kenneth Russell.

        View Change

        4 comments:

        • Patchset:

          • Patch Set #4:

            I have added a few suggestions below, and hopefully they will help resolving the test failures. Please let me know if you need any additional help.

        • File content/test/gpu/gpu_tests/context_lost_integration_test.py:

          • Patch Set #4, Line 591: tab.Navigate

            I think this should be self._NavigateAndWaitForLoad instead. tab.Navigate can return before the navigation is complete, and then |window.testValueThatMustBeKept = 1| can be set on the wrong page.

          • Patch Set #4, Line 598: window.window.

            I guess the repetition was unintentional?

          • Patch Set #4, Line 600: if t

            At this point, the back navigation might still be in progress, so the JavaScript might be run on the wrong page. I'd suggest using JavaScript location.href to get the URL, and wait until it has the expected value.

        To view, visit change 2617413. To unsubscribe, or for help writing mail filters, visit settings.

        Gerrit-Project: chromium/src
        Gerrit-Branch: master
        Gerrit-Change-Id: Ic153e74b4b251df74c5b0a99ed6f1bc40863eb89
        Gerrit-Change-Number: 2617413
        Gerrit-PatchSet: 4
        Gerrit-Owner: Hajime Hoshi <hajim...@chromium.org>
        Gerrit-Reviewer: Hajime Hoshi <hajim...@chromium.org>
        Gerrit-Reviewer: Kenneth Russell <k...@chromium.org>
        Gerrit-CC: Brian Sheedy <bsh...@chromium.org>
        Gerrit-CC: Fergal Daly <fer...@chromium.org>
        Gerrit-CC: John Chen <john...@chromium.org>
        Gerrit-CC: Rakina Zata Amni <rak...@chromium.org>
        Gerrit-Attention: Brian Sheedy <bsh...@chromium.org>
        Gerrit-Attention: Fergal Daly <fer...@chromium.org>
        Gerrit-Attention: Hajime Hoshi <hajim...@chromium.org>
        Gerrit-Attention: Kenneth Russell <k...@chromium.org>
        Gerrit-Comment-Date: Sat, 20 Mar 2021 00:31:43 +0000
        Gerrit-HasComments: Yes
        Gerrit-Has-Labels: No
        Gerrit-MessageType: comment

        Hajime Hoshi (Gerrit)

        unread,
        Mar 22, 2021, 5:16:55 AM3/22/21
        to bfcache...@chromium.org, John Chen, Rakina Zata Amni, Fergal Daly, Brian Sheedy, Kenneth Russell, Tricium, Chromium LUCI CQ, chromium...@chromium.org

        Attention is currently required from: Brian Sheedy, Fergal Daly, Kenneth Russell, John Chen.

        View Change

        5 comments:

        • Patchset:

        • File content/test/gpu/gpu_tests/context_lost_integration_test.py:

          • Interesting. […]

            I'm sorry but I found that when about:blank is used as a source or a destination, back-forward cache is not used...

        • File content/test/gpu/gpu_tests/context_lost_integration_test.py:

          • I think this should be self._NavigateAndWaitForLoad instead. tab. […]

            It looks like |_NavigateAndWaitForLoad| with |self.UrlOfStaticFilePath(test_path)| takes forever. |test_path| is file:// URL while |self.UrlOfStaticFilePath(test_path)| is http:// URL, and they made the difference, but I am not sure.

            I added while loop to confirm that the URL has changed instead.

          • Done

          • At this point, the back navigation might still be in progress, so the JavaScript might be run on the […]

            Done

        To view, visit change 2617413. To unsubscribe, or for help writing mail filters, visit settings.

        Gerrit-Project: chromium/src
        Gerrit-Branch: master
        Gerrit-Change-Id: Ic153e74b4b251df74c5b0a99ed6f1bc40863eb89
        Gerrit-Change-Number: 2617413
        Gerrit-PatchSet: 5
        Gerrit-Owner: Hajime Hoshi <hajim...@chromium.org>
        Gerrit-Reviewer: Hajime Hoshi <hajim...@chromium.org>
        Gerrit-Reviewer: Kenneth Russell <k...@chromium.org>
        Gerrit-CC: Brian Sheedy <bsh...@chromium.org>
        Gerrit-CC: Fergal Daly <fer...@chromium.org>
        Gerrit-CC: John Chen <john...@chromium.org>
        Gerrit-CC: Rakina Zata Amni <rak...@chromium.org>
        Gerrit-Attention: Brian Sheedy <bsh...@chromium.org>
        Gerrit-Attention: Fergal Daly <fer...@chromium.org>
        Gerrit-Attention: Kenneth Russell <k...@chromium.org>
        Gerrit-Attention: John Chen <john...@chromium.org>
        Gerrit-Comment-Date: Mon, 22 Mar 2021 09:16:44 +0000
        Gerrit-HasComments: Yes
        Gerrit-Has-Labels: No

        John Chen (Gerrit)

        unread,
        Mar 22, 2021, 1:33:38 PM3/22/21
        to Hajime Hoshi, bfcache...@chromium.org, Rakina Zata Amni, Fergal Daly, Brian Sheedy, Kenneth Russell, Tricium, Chromium LUCI CQ, chromium...@chromium.org

        Attention is currently required from: Brian Sheedy, Fergal Daly, Hajime Hoshi, Kenneth Russell.

        View Change

        1 comment:

        • Patchset:

          • Patch Set #5:

            The test code now looks correct to me, so I'm not sure why the test is still failing. Could it be possible that the back-forward cache itself is working in some unexpected way? Is there some way to enable more debugging output from back-forward cache?

        To view, visit change 2617413. To unsubscribe, or for help writing mail filters, visit settings.

        Gerrit-Project: chromium/src
        Gerrit-Branch: master
        Gerrit-Change-Id: Ic153e74b4b251df74c5b0a99ed6f1bc40863eb89
        Gerrit-Change-Number: 2617413
        Gerrit-PatchSet: 5
        Gerrit-Owner: Hajime Hoshi <hajim...@chromium.org>
        Gerrit-Reviewer: Hajime Hoshi <hajim...@chromium.org>
        Gerrit-Reviewer: Kenneth Russell <k...@chromium.org>
        Gerrit-CC: Brian Sheedy <bsh...@chromium.org>
        Gerrit-CC: Fergal Daly <fer...@chromium.org>
        Gerrit-CC: John Chen <john...@chromium.org>
        Gerrit-CC: Rakina Zata Amni <rak...@chromium.org>
        Gerrit-Attention: Brian Sheedy <bsh...@chromium.org>
        Gerrit-Attention: Fergal Daly <fer...@chromium.org>
        Gerrit-Attention: Hajime Hoshi <hajim...@chromium.org>
        Gerrit-Attention: Kenneth Russell <k...@chromium.org>
        Gerrit-Comment-Date: Mon, 22 Mar 2021 17:33:22 +0000
        Gerrit-HasComments: Yes
        Gerrit-Has-Labels: No
        Gerrit-MessageType: comment
        Reply all
        Reply to author
        Forward
        0 new messages