New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 793498 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 774406
Owner:
Closed: Dec 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 2
Type: Bug



Sign in to add a comment

Panning pinch-zoomed pages stops after calling document.write();document.close()

Reported by ian.yo...@ocucom.com, Dec 8 2017

Issue description

Example URL:
http://chromium.clients.arcfield.com/mobile/index.php?meta=1&viewport-width=&initial-scale=1&min-scale=1&max-scale=10&user-scale=1&min-width=320&min-width=320&fit=1

Steps to reproduce the problem:
1. browse to a page with a viewport tag that allows zoom
2. zoom in
3. clear the page by calling document.open();document.write(<some html>);document.close();
4. Attempt to pan around the zoomed-in content of the page

What is the expected behavior?
content pans

What went wrong?
content does not pan

Does it occur on multiple sites: Yes

Is it a problem with a plugin? N/A 

Did this work before? Yes Chrome 56.0.2924.87 (based on Samsung Browser on Galaxy Tab S2 (SamsungBrowser 6.2)

Does this work in other browsers? Yes

Chrome version: 62.0.3202.84  Channel: n/a
OS Version: 7.0
Flash Version:
 
Cc: bokan@chromium.org
Components: -Blink Blink>Input
Labels: Needs-triage-Mobile
Cc: pnangunoori@chromium.org
Labels: Triaged-Mobile Needs-Feedback
@ian.young -- Could you please help us by providing the screen cast of the issue to reproduce it at our end. This would help us in further triaging the issue.

Thanks in advance!
GDrive link (MP4 58MB): https://drive.google.com/open?id=12BQM_jwW4fmStyrPaaOamJeF2hnXmNIZ

While using URL http://chromium.clients.arcfield.com/mobile/

As you can see, after replacing the page's content with HTML via document.write() at ~00:00:20, the page scrolls (but not all the way) yet panning left to right is unavailable.
Project Member

Comment 5 by sheriffbot@chromium.org, Dec 11 2017

Labels: -Needs-Feedback
Thank you for providing more feedback. Adding requester "pnangunoori@chromium.org" to the cc list and removing "Needs-Feedback" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
This is the PHP file I am using to test
index.php
10.0 KB View Download
Here is a screencast from Samsung's Browser (allegedly Chrome 56):

(MP4, 31MB) https://drive.google.com/file/d/1-y_nF-wK-memyXmuVNESj-4VOFJWQZWq/view?usp=sharing
In Chrome 56, panning works and scrolling goes all the way to the top and bottom of the page after the document.write().
Cc: msrchandra@chromium.org nyerramilli@chromium.org sandeepkumars@chromium.org
Labels: hasbisect-per-revision M-65
Owner: bokan@chromium.org
Status: Assigned (was: Unconfirmed)
Tested the issue in Android and able to reproduce the issue. 

Steps Followed:
1. Launched the Chrome Browser.
2. Navigated to the URL: http://chromium.clients.arcfield.com/mobile/
3. Zoom-in to the screen.
4. Tap on the button "Replace HTML from Ajax".
5. Try to move the screen by swiping on the screen.
6. Observed that screen is not accessed normally and complete screen is not accessed.

Chrome versions tested:
57.0.2944.0, 63.0.3239.83(Stable), 65.0.3292.0(Canary)

OS:
Android 8.0.0

Android Devices:
Pixel XL Build/OPR1.170623

Using the per-revision bisect providing the bisect results,
Good build: 57.0.2943.0(436483)
Bad build: 57.0.2944.0(436816)

You are looking for a change made after 436494(GOOD), but before 436495(BAD).

CHANGELOG URL:
The script might not always return single CL as suspect as some perf builds might get missing due to failure.

https://chromium.googlesource.com/chromium/src/+/22a14115b5adb0df9540eaf1afb273a3f8dd6baf

From the CL above, assigning the issue to the owner concerned.

@bokan:  Could you please look into the issue, pardon me if it has nothing to do with your changes and if possible please assign it to owner concerned.

Please navigate to below link for log's and video--
go/chrome-androidlogs/793498

Note: This issue is not observed in Desktop.

Comment 10 by bokan@chromium.org, Dec 14 2017

Mergedinto: 774406
Status: Duplicate (was: Assigned)

Sign in to add a comment