The following test does a copy and a paste of an image with the srcset attribute. The test is successful if the value of the srcset attribute has been canonicalized. To run the test manually, copy the green square into the contentediable area above the iframe. On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". FAIL canonicalize(iframeHref, sourceImageSegments[0]) should be ../../../fast/hidpi/resources/green-400-px-square.png. Was file:///home/clopez/webkit/webkit/LayoutTests/fast/hidpi/resources/green-400-px-square.png. FAIL canonicalize(iframeHref, sourceImageSegments[2]) should be ../../../fast/hidpi/resources/green-200-px-square.png. Was file:///home/clopez/webkit/webkit/LayoutTests/fast/hidpi/resources/green-200-px-square.png. PASS sourceImageSegments.length is 4 PASS destinationImageSegments.length is 4 PASS sourceImageSegments[1] is "2x," PASS destinationImageSegments[1] is "2x," PASS sourceImageSegments[3] is "1x" PASS destinationImageSegments[3] is "1x" FAIL Image should not fail to load PASS successfullyParsed is true TEST COMPLETE