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

Issue 923670 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Last visit 28 days ago
Closed: Jan 20
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 3
Type: Bug



Sign in to add a comment

DevTools: addScriptToEvaluateOnNewDocument should work with disabled javascript

Project Member Reported by lushnikov@google.com, Jan 19 (3 days ago)

Issue description

- addScriptToEvaluateOnNewDocument is used a lot to pre-setup page environment
for future automation (e.g. to inject helpers).
- addScriptToEvaluateOnNewDocument is also used to create isolated worlds as
the page navigates to different origins. Isolated worlds are used later on with `Runtime.evaluate` protocol method
- Page's javascript is oftentimes disabled to make pages more predictable

With this in mind, it is very desirable to make addScriptToEvaluateOnNewDocument to work
even with disabled javascript.


 

Comment 2 by lushnikov@google.com, Jan 20 (2 days ago)

Status: Fixed (was: Assigned)

Sign in to add a comment