RESOLVED FIXED 26481
Implement layoutTestController.dispatchPendingLoadRequests
https://bugs.webkit.org/show_bug.cgi?id=26481
Summary Implement layoutTestController.dispatchPendingLoadRequests
Adam Roben (:aroben)
Reported 2009-06-17 08:52:44 PDT
r44519 added layoutTestController.dispatchPendingLoadRequests. We need to implement this on Windows so we can run the tests that use it.
Attachments
Patch (5.39 KB, patch)
2015-06-17 05:34 PDT, Hyungwook Lee
bfulgham: review-
Patch (5.25 KB, patch)
2015-06-17 16:08 PDT, Hyungwook Lee
no flags
Adam Roben (:aroben)
Comment 1 2009-06-17 08:54:59 PDT
Hyungwook Lee
Comment 2 2015-06-17 05:34:21 PDT
Brady Eidson
Comment 3 2015-06-17 08:16:07 PDT
Comment on attachment 255012 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=255012&action=review > Source/WebKit/win/Interfaces/IWebViewPrivate.idl:300 > // SPI for DumpRenderTree > HRESULT setLoadResourcesSerially([in] BOOL serialize); > > + HRESULT dispatchPendingLoadRequests(); > + > HRESULT scaleWebView([in] double scale, [in] POINT origin); > } I might be wrong about this because I haven't worked on the Windows bindings in forever, but I seem to recall a requirement that new methods be added to the end of an interface as to not break shipping software? I might be conflating this with something else altogether, but I'm weary of this. Need a Windows expert to look at this.
Brent Fulgham
Comment 4 2015-06-17 10:17:25 PDT
Comment on attachment 255012 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=255012&action=review r- because the ordering in the IDL file needs to be adjusted to avoid breaking shipping software. Otherwise this looks fine. > Source/WebKit/win/WebView.h:1024 > + HRESULT STDMETHODCALLTYPE dispatchPendingLoadRequests(); Just to be safe, I'd move this below "scaleWebView" as well. >> Source/WebKit/win/Interfaces/IWebViewPrivate.idl:300 >> } > > I might be wrong about this because I haven't worked on the Windows bindings in forever, but I seem to recall a requirement that new methods be added to the end of an interface as to not break shipping software? > > I might be conflating this with something else altogether, but I'm weary of this. > > Need a Windows expert to look at this. You're right. We want the link offsets to be consistent across builds, so we need to move this new method below "scaleWebView".
Hyungwook Lee
Comment 5 2015-06-17 16:02:31 PDT
Comment on attachment 255012 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=255012&action=review >>> Source/WebKit/win/Interfaces/IWebViewPrivate.idl:300 >>> } >> >> I might be wrong about this because I haven't worked on the Windows bindings in forever, but I seem to recall a requirement that new methods be added to the end of an interface as to not break shipping software? >> >> I might be conflating this with something else altogether, but I'm weary of this. >> >> Need a Windows expert to look at this. > > You're right. We want the link offsets to be consistent across builds, so we need to move this new method below "scaleWebView". Thanks for your review. I will update it as your guide.
Hyungwook Lee
Comment 6 2015-06-17 16:08:20 PDT
Gyuyoung Kim
Comment 7 2015-06-17 20:22:17 PDT
Comment on attachment 255047 [details] Patch Hyungwook, please check if this patch breaks buildbots after landing.
Hyungwook Lee
Comment 8 2015-06-17 20:32:15 PDT
I will check it.
WebKit Commit Bot
Comment 9 2015-06-17 21:11:47 PDT
Comment on attachment 255047 [details] Patch Clearing flags on attachment: 255047 Committed r185691: <http://trac.webkit.org/changeset/185691>
WebKit Commit Bot
Comment 10 2015-06-17 21:11:54 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.