DescriptionHave V8Clipboard::clearDataMethodCustom() use V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID()
Have V8Clipboard::clearDataMethodCustom() use V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID() macro
instead of toWebCoreString() so that ClipboardChromium::clearData() is not called if
the string conversion failed.
Also remove a wrong ASSERT_NOT_REACHED() from ClipboardChromium::clearData() that was
causing us to crash whenever this method was called in a debug build.
ClipboardData.clearData() was not covered by layout tests until now which is why we
did not notice it before.
TEST=fast/events/clipboard-dataTransferItemList.html
R=haraken
BUG=
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=157601
Patch Set 1 #
Messages
Total messages: 4 (0 generated)
|