Do not fire load events from frames with scripting disabled
authorjiewen_tan@apple.com <jiewen_tan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 11 Dec 2015 19:49:56 +0000 (19:49 +0000)
committerjiewen_tan@apple.com <jiewen_tan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 11 Dec 2015 19:49:56 +0000 (19:49 +0000)
commit27871b4a428dcfc943cda5b6e32ba47bc98f7285
treea346980e0c45937776561ebd0dbc7013ed1328ac
parent2d1d6e67b50be1e1d88b767556253a3b807187d1
Do not fire load events from frames with scripting disabled
https://bugs.webkit.org/show_bug.cgi?id=118042
<rdar://problem/14272857>

Reviewed by Brent Fulgham.

Since the crash is not reproducible, only test case from Blink r153029 is merged:
https://codereview.chromium.org/17682003

* fast/images/image-load-event-crash-expected.txt: Added.
* fast/images/image-load-event-crash.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@193969 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/images/image-load-event-crash-expected.txt [new file with mode: 0644]
LayoutTests/fast/images/image-load-event-crash.html [new file with mode: 0644]