[Curl] Compile error, setWasCached method has been removed.
https://bugs.webkit.org/show_bug.cgi?id=139737

Patch by peavo@outlook.com <peavo@outlook.com> on 2014-12-17
Reviewed by Alex Christensen.

The ResourceResponseBase::setWasCached() method has been replaced
with ResourceResponseBase::setSource().

* platform/network/curl/CurlCacheEntry.cpp:
(WebCore::CurlCacheEntry::setResponseFromCachedHeaders):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@177458 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Web Inspector: [Mac] Occosional Crashes Closing Inspector
https://bugs.webkit.org/show_bug.cgi?id=139740

Patch by Joseph Pecoraro <pecoraro@apple.com> on 2014-12-17
Reviewed by Timothy Hatcher.

* UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::didReceiveEvent):
The WebPageProxy could have gotten destroyed in handling (e.g. keyboard shortcut
to close the Inspector Window), so protect the object to avoid destruction
during handling.

* UIProcess/WebInspectorProxy.h:
* UIProcess/WebPageProxy.cpp:
Add platformInvalidate opportunity for the platform to do invalidation work.

* UIProcess/efl/WebInspectorProxyEfl.cpp:
(WebKit::WebInspectorProxy::platformInvalidate):
* UIProcess/gtk/WebInspectorProxyGtk.cpp:
(WebKit::WebInspectorProxy::platformInvalidate):
Empty implementations, these ports do not need to do anything.

* UIProcess/WebInspectorProxy.h:
* UIProcess/mac/WebInspectorProxyMac.mm:
(WebKit::WebInspectorProxy::closeTimerFired):
(WebKit::WebInspectorProxy::platformDidClose):
(WebKit::WebInspectorProxy::platformInvalidate):
When closing / invalidating make sure we close the WKView to clear client
for any delayed callbacks.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@177459 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Tests with infinite recursion frequently crash
https://bugs.webkit.org/show_bug.cgi?id=139548

Reviewed by Geoffrey Garen.

Source/JavaScriptCore:

While unwinding, if the call frame doesn't have a codeblock, then we
are in native code, handle appropriately.

* interpreter/Interpreter.cpp:
(JSC::unwindCallFrame):
(JSC::UnwindFunctor::operator()):
Added checks for null CodeBlock.

(JSC::Interpreter::unwind): Removed wrong ASSERT.

LayoutTests:

New test that exercises the various places that we do stack overflow checks.

* TestExpectations:
* js/regress-139548-expected.txt: Added.
* js/regress-139548.html: Added.
* js/script-tests/regress-139548.js: Added.
(ToStringObj):
(ToStringObj.prototype.toString):
(makeArgsArray):
(recurseNoDFG):
(recurse):
(probeAndRecurse):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@177460 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[iOS] More test gardening

* platform/ios-simulator-wk2/TestExpectations:
[...]

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@177462 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[iOS] Define button and action should respect profile settings.
https://bugs.webkit.org/show_bug.cgi?id=139739
rdar://problem/15461887

Reviewed by Joseph Pecoraro.

* UIProcess/ios/WKContentViewInteraction.mm:
(-[WKContentView canPerformAction:withSender:]):
(-[WKContentView _define:]):



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@177463 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed, rolling out r177456.
https://bugs.webkit.org/show_bug.cgi?id=139749

Broke webkitpy and Mac tests (Requested by ap on #webkit).

Reverted changeset:

"REGRESSION (r177363): Gtk and Efl testing is broken"
https://bugs.webkit.org/show_bug.cgi?id=139734
http://trac.webkit.org/changeset/177456

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