[Qt] Support layoutTestController.addURLToRedirect()
Created attachment 79842 [details] Patch
Comment on attachment 79842 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=79842&action=review r=me, one comment. > Source/WebKit/qt/WebCoreSupport/FrameLoaderClientQt.cpp:1027 > + QString url = newRequest.url().string(); > + if (URLsToRedirect.contains(url)) > + newRequest.setURL(QUrl(URLsToRedirect[url])); Let's only do this if QWebPagePrivate::drtRun is true.
Created attachment 79845 [details] Patch
Committed r76451: <http://trac.webkit.org/changeset/76451>