-
beidson@apple.com authored
<rdar://problem/7672667> and https://bugs.webkit.org/show_bug.cgi?id=35556 Reviewed by Sam Weinig. WebCore: * dom/ScriptElement.cpp: (WebCore::ScriptElementData::shouldExecuteAsJavaScript): To more perfectly match Gecko's rule, strip whitespace from the attribute values before comparing to window/onload/onload(). LayoutTests: * fast/loader/for-window-event-onload-scripts-expected.txt: * fast/loader/for-window-event-onload-scripts.html: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55428 268f45cc-cd09-0410-ab3c-d52691b4dbfc
72e59dea