/[blink]
Chromium logo

Revision 187458


Jump to revision: Previous Next
Author: sigbjornf@opera.com
Date: Thu Dec 18 13:11:21 2014 UTC (8 years, 5 months ago)
Changed paths: 4
Log Message:
Correctly move script element to a detached document.

If a script element ends up being moved over to a new document's tree,
its script loader is re-associated with that document's script runner
if the load is still pending. That association of script runner and
loader needs to reflect document association of the element itself,
otherwise completion of script loading and any later movement of the
element to another document will go wrong.

R=marja,jochen
BUG=443115

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

Changed paths

Path Details
Directorytrunk/LayoutTests/fast/dom/HTMLScriptElement/resources/script-element-moved-to-detached-document-crash-frames.html added
Directorytrunk/LayoutTests/fast/dom/HTMLScriptElement/script-element-moved-to-detached-document-crash-expected.txt
(Copied from trunk/LayoutTests/accessibility/language-attribute-expected.txt, r187457)
added , text changed
Directorytrunk/LayoutTests/fast/dom/HTMLScriptElement/script-element-moved-to-detached-document-crash.html added
Directorytrunk/Source/core/html/HTMLScriptElement.cpp modified , text changed

Properties

Name Value
commit-bot commit-bot@chromium.org

Powered by ViewVC 1.1.26 ViewVC Help