Crash in MiniBrowser when using Command-W to close a WK2 window
https://bugs.webkit.org/show_bug.cgi?id=128355
<rdar://problem/16008531>

Reviewed by Simon Fraser.

Don't set the API clients to nullptr when closing the page, just create new empty ones instead.
Too much code depends on the clients never being null.

* UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::close):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@163603 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Add a test case for navigator.isProtocolHandlerRegistered
https://bugs.webkit.org/show_bug.cgi?id=128302

Reviewed by Anders Carlsson.

Add a test case for navigator.isProtocolHandlerRegistered. This new test will
check if "navigator.isProtocolHandlerRegistered" throws the proper exceptions
and returns a proper state of handler.

Currently, this function is only supported by EFL WK1 port.

* fast/dom/is-protocol-handler-registered-expected.txt: Added.
* fast/dom/is-protocol-handler-registered.html: Added.
* platform/efl-wk2/TestExpectations: Skip this test.
* platform/gtk/TestExpectations: ditto.
* platform/mac/TestExpectations: ditto.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@163607 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[iOS] make should build WebKit2
https://bugs.webkit.org/show_bug.cgi?id=128351

Reviewed by Daniel Bates.

* Source/Makefile:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@163608 268f45cc-cd09-0410-ab3c-d52691b4dbfc