Commit e1cdab2a authored by peter@chromium.org's avatar peter@chromium.org

Run the incognito title-changing content_script extension for tests at document_end

In Blink r164582 ("Don't set document.title when there is no <head>") Blink
aligns the behavior of the "document.title" property with the HTML specification,
and now disregards users who set the title when no <head> or <title> element
exist yet.

This content_script extension runs at document_start, at which time no DOM is
available yet. Changing this to document_end means that the DOM is available, and
it's thus able to change the page's title (the sole purpose of the extension).

BUG=332106
R=wjmaclean@chromium.org

Review URL: https://codereview.chromium.org/117993006

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@243317 0039d316-1c4b-4281-b951-d872f2087c98
parent f0355bde
......@@ -8,7 +8,7 @@
{
"matches": ["http://*/*", "https://*/*"],
"js": ["change_page_title.js"],
"run_at": "document_start"
"run_at": "document_end"
}
]
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment