commit | 5913a51cd84b68afcdedbe808f8d8a04085db07f | [log] [tgz] |
---|---|---|
author | davve@opera.com <davve@opera.com@bbb929c8-8fbe-4397-9dbb-9b2b20218538> | Wed Jan 15 10:42:57 2014 |
committer | davve@opera.com <davve@opera.com@bbb929c8-8fbe-4397-9dbb-9b2b20218538> | Wed Jan 15 10:42:57 2014 |
tree | c9f779e155801f67a71fd72a6b3de37115406f95 | |
parent | e0d14ba8e5263352ae5f3699a5ac3a5b2f7b4fbf [diff] |
Revert "Remove children of title node before updating" It causes performance problems. See https://code.google.com/p/chromium/issues/detail?id=331076 Micro-benchmarks like http://jsperf.com/setting-document-title regress about one magnitude. We need to figure out whether the spec should change or if the CL could be written in a less performance-intrusive way, or if it's a performance penalty we accept. So revert for now. The follow-up "Inhibit title updates when removing children before setting new value" is reverted too since it has no value without the first patch. Reverted CLs: https://codereview.chromium.org/128603002 https://codereview.chromium.org/107513013 BUG=331076 Review URL: https://codereview.chromium.org/138213005 git-svn-id: svn://svn.chromium.org/blink/trunk@165117 bbb929c8-8fbe-4397-9dbb-9b2b20218538