{"push_id":729805420,"size":3,"distinct_size":3,"ref":"refs/heads/master","head":"ff51b6922e53a9bdee389a8e5db781f24644e2ee","before":"37731990455f4d9db834dad701de250068911464","commits":[{"sha":"c99c715bb8d4965fb84c29d3ecd174041ce03be3","author":{"email":"c67cad03cd1356332f3ef3eb273740e931d7b0ec@apple.com","name":"mitz@apple.com"},"message":"Source/WebCore:\nWebCore part of <rdar://problem/21803781> The external URL policy is not reported correctly in navigation actions that create new windows\nhttps://bugs.webkit.org/show_bug.cgi?id=147040\n\nReviewed by Dean Jackson.\n\nTest: TestWebKitAPI/Tests/WebKit2Cocoa/ShouldOpenExternalURLsInNewWindowActions.mm\n\n* loader/FrameLoader.cpp:\n(WebCore::shouldOpenExternalURLsPolicyToApply): Pulled the logic out of\napplyShouldOpenExternalURLsPolicyToNewDocumentLoader into this new helper.\n(WebCore::FrameLoader::loadURL): When targeting a new frame, apply the external URLs policy\nto the action passed to checkNewWindowPolicy.\n(WebCore::FrameLoader::applyShouldOpenExternalURLsPolicyToNewDocumentLoader): Call the new\nhelper function.\n(WebCore::createWindow): Include the external URL policy in the action passed to\ncreateWindow.\n\nSource/WebKit2:\nWebKit2 part of <rdar://problem/21803781> The external URL policy is not reported correctly in navigation actions that create new windows\nhttps://bugs.webkit.org/show_bug.cgi?id=147040\n\nReviewed by Dean Jackson.\n\n* UIProcess/Cocoa/UIDelegate.mm:\n(WebKit::UIDelegate::UIClient::createNewPage): Disallow App Links if the new page is for the\nsame protocol, host and port as the main frame of this page.\n\n* UIProcess/WebPageProxy.cpp:\n(WebKit::WebPageProxy::decidePolicyForNavigationAction): Disallow App Links if\nm_shouldSuppressAppLinksInNextNavigationPolicyDecision is set, and reset it. See below for\nwhen we set it.\n(WebKit::WebPageProxy::decidePolicyForNewWindowAction): Disallow App Links if the new window\nis for the same protocol, host and port as the main frame of this page.\n(WebKit::WebPageProxy::createNewPage): Make the new page disallow App Links in the first\npolicy decision if it is for the same protocol, host and port as the main frame of this\npage.\n* UIProcess/WebPageProxy.h: Added m_shouldSuppressAppLinksInNextNavigationPolicyDecision\nmember variable.\n\n* WebProcess/WebCoreSupport/WebChromeClient.cpp:\n(WebKit::WebChromeClient::createWindow): Pass the shouldOpenExternalURLsPolicy.\n\n* WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:\n(WebKit::WebFrameLoaderClient::dispatchDecidePolicyForNewWindowAction): Ditto.\n\nTools:\nTests for <rdar://problem/21803781> The external URL policy is not reported correctly in navigation actions that create new windows\nhttps://bugs.webkit.org/show_bug.cgi?id=147040\n\nReviewed by Dean Jackson.\n\n* TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:\n* TestWebKitAPI/Tests/WebKit2Cocoa/ShouldOpenExternalURLsInNewWindowActions.mm: Added.\n(-[ShouldOpenExternalURLsInNewWindowActionsController webView:decidePolicyForNavigationAction:decisionHandler:]):\n(-[ShouldOpenExternalURLsInNewWindowActionsController webView:didFinishNavigation:]):\n(-[ShouldOpenExternalURLsInNewWindowActionsController webView:createWebViewWithConfiguration:forNavigationAction:windowFeatures:]):\n(TEST):\n\n\n\ngit-svn-id: http://svn.webkit.org/repository/webkit/trunk@186964 268f45cc-cd09-0410-ab3c-d52691b4dbfc","distinct":true,"url":"https://api.github.com/repos/paul99/webkit-mips/commits/c99c715bb8d4965fb84c29d3ecd174041ce03be3"},{"sha":"ae8b567c6daebcdff8ad1f477521c4993d47a271","author":{"email":"a82ad16292c9f3b890b7b13c336ff95f6bd02623@webkit.org","name":"commit-queue@webkit.org"},"message":"[Content Extensions] Term::isUniversalTransition() incorrectly expects the end-of-line assertion in character sets\nhttps://bugs.webkit.org/show_bug.cgi?id=147032\n\nPatch by Benjamin Poulain <bpoulain@apple.com> on 2015-07-17\nReviewed by Alex Christensen.\n\nSource/WebCore:\n\n* contentextensions/Term.h:\n(WebCore::ContentExtensions::Term::isUniversalTransition):\nThe universal transition is not supposed to account for the end-of-line assertion,\nit should be a transition matching any character.\n\nHere, we were counting 128 transitions, the 127 characters plus the\ntransition on zero we are using for EOL.\n\nThe end result is Term::isUniversalTransition() was completely useless.\nThe only code using it is the pattern simplificaton phase. That part\nwas not working correclty and was allowing useless \".*\" in the patterns.\n\nTools:\n\n* TestWebKitAPI/Tests/WebCore/ContentExtensions.cpp:\nTest that the useless terms are eliminated by counting\nthe number of NFA nodes generated.\n\ngit-svn-id: http://svn.webkit.org/repository/webkit/trunk@186965 268f45cc-cd09-0410-ab3c-d52691b4dbfc","distinct":true,"url":"https://api.github.com/repos/paul99/webkit-mips/commits/ae8b567c6daebcdff8ad1f477521c4993d47a271"},{"sha":"ff51b6922e53a9bdee389a8e5db781f24644e2ee","author":{"email":"177bef41247b2b039b4b4d4f7428c2c16069ba8f@gmail.com","name":"utatane.tea@gmail.com"},"message":"Integrate automatic microtask draining into JSC framework and re-enable Promise\nhttps://bugs.webkit.org/show_bug.cgi?id=146828\n\nReviewed by Sam Weinig.\n\nSource/JavaScriptCore:\n\nAdd automatic microtask draining system into JSC framework.\nWhen the depth of VM lock becomes 0, before this, we drain the queued microtasks.\nEnqueuing behavior can be injected by the JSGlobalObject's method table.\nIt is utilized in WebCore to post the microtask to WebCore's event loop.\n\nIn the case of JSC interactive shell, VM depth is always greater than 0.\nSo we manually drains the queued microtasks after evaluating the written line.\n\nSince now JSC framework has the microtask queue, we can drain the queued microtasks.\nSo re-enable the Promise in the JSC framework context.\n\n* API/JSContextRef.cpp:\n(javaScriptRuntimeFlags): Deleted.\n* API/tests/testapi.c:\n(main):\n* API/tests/testapi.mm:\n(testObjectiveCAPIMain):\n* jsc.cpp:\n(runInteractive):\n* runtime/JSGlobalObject.cpp:\n(JSC::JSGlobalObject::queueMicrotask):\n* runtime/JSLock.cpp:\n(JSC::JSLock::willReleaseLock):\n* runtime/VM.cpp:\n(JSC::VM::queueMicrotask):\n(JSC::VM::drainMicrotasks):\n(JSC::QueuedTask::run):\n* runtime/VM.h:\n(JSC::QueuedTask::QueuedTask):\n\nLayoutTests:\n\nAdd Promise tests mainly focusing on microtasks.\nThey can be executed in JSC shell. So they are locate in js/ directory (not js/dom).\n\n* js/promise-nested-microtasks-expected.txt: Added.\n* js/promise-nested-microtasks.html: Added.\n* js/promise-resolve-in-non-dom-expected.txt: Added.\n* js/promise-resolve-in-non-dom.html: Added.\n* js/script-tests/promise-nested-microtasks.js: Added.\n(Promise.resolve.then):\n* js/script-tests/promise-resolve-non-dom.js: Added.\n(value.then):\n* resources/standalone-post.js:\n\ngit-svn-id: http://svn.webkit.org/repository/webkit/trunk@186966 268f45cc-cd09-0410-ab3c-d52691b4dbfc","distinct":true,"url":"https://api.github.com/repos/paul99/webkit-mips/commits/ff51b6922e53a9bdee389a8e5db781f24644e2ee"}]}