New issue
Advanced search Search tips

Issue 898089 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: iOS
Pri: 3
Type: Bug



Sign in to add a comment

all_frames_document_end_web_bundle.js is not injected after document.write.

Project Member Reported by olivierrobin@chromium.org, Oct 23

Issue description

Chrome Version: Any
OS: iOS

What steps will reproduce the problem?
(1) Load a page
(2) in developper tools, type document.write("test")
(3) Note that scripts are injected except all_frames_document_end_web_bundle.js 

What is the expected result?

What happens instead?



Please use labels and text to provide additional information.

If this is a regression (i.e., worked before), please consider using the
bisect tool (https://www.chromium.org/developers/bisect-builds-py) to help
us identify the root cause and more rapidly triage the issue.

For graphics-related bugs, please copy/paste the contents of the about:gpu
page at the end of this report.


 
All scripts are correctly injected after (1) so this is probably a side effect of how Apple injects User Scripts at document end time. When the document is overwritten with document.write, those scripts are lost.
Status: Assigned (was: Untriaged)
Components: Mobile>iOSWeb
Components: -Mobile>WebView>Glue

Sign in to add a comment