{"push_id":689269388,"size":2,"distinct_size":2,"ref":"refs/heads/master","head":"bd9f71fd45fe86dcf24ab31dca23429da840f004","before":"50459f4e28b5a66ae4a84c81dc918d67da0bcf58","commits":[{"sha":"6760d2ed9282d43522600fdc02b510e84dc343a0","author":{"email":"ac9a2473c0ef555408136e34495b9caa303d8cc0@crf.canon.fr","name":"youenn.fablet@crf.canon.fr"},"message":"[Streams API] ReadableJSStream should handle JS source getters that throw\nhttps://bugs.webkit.org/show_bug.cgi?id=145600\n\nReviewed by Darin Adler.\n\nSource/WebCore:\n\nChecking whether there is an exception when trying to access to a source method.\nIf so, rethrowing it in case of \"start\".\n\nRefactoring of code to prepare pulling, cancelling and additional parameter handling in ReadableStream construtor.\n\nFixed the case of ReadableStream constructor called with an undefined parameter.\n\nCovered by rebased test expectation.\n\n* bindings/js/JSReadableStreamCustom.cpp:\n(WebCore::constructJSReadableStream): Refactoring to group all parameter check and exception handling in ReadableJSStream::create.\n* bindings/js/ReadableJSStream.cpp:\n(WebCore::getPropertyFromObject):\n(WebCore::callFunction):\n(WebCore::ReadableJSStream::invoke): Added method to be used also for pulling and cancelling.\n(WebCore::ReadableJSStream::doStart):\n(WebCore::ReadableJSStream::create):\n* bindings/js/ReadableJSStream.h:\n\nLayoutTests:\n\n* streams/reference-implementation/bad-underlying-sources-expected.txt:\n* streams/reference-implementation/readable-stream-expected.txt:\n\n\ngit-svn-id: http://svn.webkit.org/repository/webkit/trunk@185356 268f45cc-cd09-0410-ab3c-d52691b4dbfc","distinct":true,"url":"https://api.github.com/repos/paul99/webkit-mips/commits/6760d2ed9282d43522600fdc02b510e84dc343a0"},{"sha":"bd9f71fd45fe86dcf24ab31dca23429da840f004","author":{"email":"13b7a280d6dd9fe398795ea307cbc0c8df68cd69@apple.com","name":"jhoneycutt@apple.com"},"message":"[iOS] UI process memory spike, hang when uploading a very large JPEG\n\n<https://bugs.webkit.org/show_bug.cgi?id=145567>\n<rdar://problem/21206699>\n\nWhen uploading an image, we generate a thumbnail to use for an icon\nthat sits next to the control. To do this, we load the image and draw\nit into a thumbnail-sized canvas. This can be very expensive for large\nimages.\n\nTo fix this, we'll use CGImageSource API, which will allow us to get\nany existing thumbnail that exists in the source file.\n\nReviewed by Darin Adler.\n\n* UIProcess/ios/forms/WKFileUploadPanel.mm:\n(squareCropRectForSize):\nUse std::round, based on Darin's review feedback that a) rintf is\nincorrect in 64-bit systems where CGFloat is a double, b) rintf uses a\nvariable rounding mode, which is undesirable.\n(squareImage):\nChanged to take a CGImageRef.\nUse RetainPtr and +[UIImage imageWithCGImage:] to match other code in\nthis file.\n(thumbnailSizedImageForImage):\nChanged to take a CGImageRef and to use iconSideLength.\n(iconForImageFile):\nCreate an image source for the file, then use CGImageSource API to\ngenerate a thumbnail.\n(-[_WKImageFileUploadItem initWithFileURL:originalImage:]): Deleted.\n(-[_WKImageFileUploadItem displayImage]):\nUse iconForImageFile() rather than trying to generate an icon from the\nUIImage.\n(-[WKFileUploadPanel _uploadItemForImageData:imageName:successBlock:failureBlock:]):\nRemoved originalImage parameter; _WKImageFileUploadItem no longer uses\nit.\n(-[WKFileUploadPanel _uploadItemForJPEGRepresentationOfImage:successBlock:failureBlock:]):\n(-[WKFileUploadPanel _uploadItemForImage:withAssetURL:successBlock:failureBlock:]):\n\ngit-svn-id: http://svn.webkit.org/repository/webkit/trunk@185357 268f45cc-cd09-0410-ab3c-d52691b4dbfc","distinct":true,"url":"https://api.github.com/repos/paul99/webkit-mips/commits/bd9f71fd45fe86dcf24ab31dca23429da840f004"}]}