[Mac] Authentication tests fail even after r139140
https://bugs.webkit.org/show_bug.cgi?id=106405

* platform/mac-wk2/TestExpectations: Skip authentication tests that are still
failing in WebKit2 on Mac.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@139148 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[EFL] [WK2] Some authentication tests fail in WebKit2
https://bugs.webkit.org/show_bug.cgi?id=106407

* platform/efl-wk2/TestExpectations: Skip some tests failing for EFL
on WebKit2.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@139149 268f45cc-cd09-0410-ab3c-d52691b4dbfc
REGRESSION(r138222?): [Mac WK1] http/tests/appcache/main-resource-redirect.html asserts in WebFrameLoaderClient::dispatchDidFinishLoading
https://bugs.webkit.org/show_bug.cgi?id=106123

Reviewed by Alexey Proskuryakov.

Source/WebCore:

No new tests, fixing an existing test.

* loader/MainResourceLoader.cpp:
(WebCore::MainResourceLoader::continueAfterNavigationPolicy): Before calling m_resource->removeClient(this)
    and potentially canceling the ResourceLoader, ensure it won't send resource load callbacks.
* loader/ResourceLoader.h:
(WebCore::ResourceLoader::setSendCallbackPolicy):

LayoutTests:

* platform/mac-wk2/TestExpectations:
* platform/mac/TestExpectations: main-resource-redirect.html is no longer crashing.


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