Offline indicator should not be shown when the page is still being loaded |
|||||
Issue descriptionSteps: (1) Load a slow page (2) Disconnect the network while it is still being loaded Observe that the offline indicator is shown. Per the spec, the offline indicator should not be shown at this time.
,
Sep 6
Verified in Canary 71.0.3544.0
,
Sep 7
,
Sep 7
Approved for merge into 70, branch 3538.
,
Sep 7
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/a5470b3c20c179f1b7782291686e38e6795edd4e commit a5470b3c20c179f1b7782291686e38e6795edd4e Author: Jian Li <jianli@chromium.org> Date: Fri Sep 07 20:24:30 2018 Merge M70: Fix a couple problems with showing offline indicator UI 1) Do not show offline indicator UI on offline page 2) If the page is still being loaded, wait until it is done and then decide whether to show offline indicator UI. TBR=jianli@chromium.org (cherry picked from commit 040c9b95be1c6ed3d1852515b227fe18ddb64142) Bug: 879705 Change-Id: I31f3df33ca19544b846e8cb60d2d1bc87c9b2439 Reviewed-on: https://chromium-review.googlesource.com/1138987 Commit-Queue: Jian Li <jianli@chromium.org> Reviewed-by: Peter Williamson <petewil@chromium.org> Cr-Original-Commit-Position: refs/heads/master@{#588231} Reviewed-on: https://chromium-review.googlesource.com/1214164 Reviewed-by: Jian Li <jianli@chromium.org> Cr-Commit-Position: refs/branch-heads/3538@{#154} Cr-Branched-From: 79f7c91a2b2a2932cd447fa6f865cb6662fa8fa6-refs/heads/master@{#587811} [modify] https://crrev.com/a5470b3c20c179f1b7782291686e38e6795edd4e/chrome/android/java/src/org/chromium/chrome/browser/offlinepages/indicator/ConnectivityDetector.java [modify] https://crrev.com/a5470b3c20c179f1b7782291686e38e6795edd4e/chrome/android/java/src/org/chromium/chrome/browser/offlinepages/indicator/OfflineIndicatorController.java [modify] https://crrev.com/a5470b3c20c179f1b7782291686e38e6795edd4e/chrome/android/javatests/src/org/chromium/chrome/browser/offlinepages/indicator/OfflineIndicatorControllerTest.java
,
Sep 7
|
|||||
►
Sign in to add a comment |
|||||
Comment 1 by bugdroid1@chromium.org
, Sep 1