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

Issue 600711 link

Starred by 2 users

Issue metadata

Status: Archived
Owner: ----
Closed: Apr 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Bug



Sign in to add a comment

Track external scripts written via document.write

Project Member Reported by csharrison@chromium.org, Apr 5 2016

Issue description

We should add a field on ScriptLoader that tracks whether the element was written via document.write.

This will be useful in metrics to improve performance of loading these scripts.

A first pass implementation will be to introspect ownerDocumentForCurrentNode().isInDocumentWrite(). However, if the tokenizer/parser is blocked waiting for scripts when the element is inserted, this mechanism will not work. We won't construct the element until the document.write call is completed.

Instead, we will need to do something cleverer like keeping track of untokenized string positions.
 
Cc: csharrison@chromium.org
Project Member

Comment 2 by sheriffbot@chromium.org, Apr 5 2017

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been available for more than 365 days, and should be re-evaluated. Please re-triage this issue.
The Hotlist-Recharge-Cold label is applied for tracking purposes, and should not be removed after re-triaging the issue.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Comment 3 by tkent@chromium.org, Apr 13 2017

Status: Archived (was: Untriaged)

Sign in to add a comment