2014-10-30 Babak Shafiei Merge r175347. 2014-10-29 Alexey Proskuryakov Notify Settings object when its Page object goes away. https://bugs.webkit.org/show_bug.cgi?id=138183 rdar://problem/18786900 Reviewed by Andreas Kling. I could not make a test for this issue. * page/Page.cpp: (WebCore::Page::~Page): * page/Settings.cpp: (WebCore::setImageLoadingSettings): (WebCore::Settings::Settings): (WebCore::Settings::setTextAutosizingEnabled): (WebCore::Settings::setTextAutosizingWindowSizeOverride): (WebCore::Settings::setTextAutosizingFontScaleFactor): (WebCore::Settings::setMediaTypeOverride): (WebCore::Settings::setScriptEnabled): (WebCore::Settings::setUserStyleSheetLocation): (WebCore::Settings::setMinDOMTimerInterval): (WebCore::Settings::minDOMTimerInterval): (WebCore::Settings::domTimerAlignmentInterval): (WebCore::Settings::setUsesPageCache): (WebCore::Settings::setScreenFontSubstitutionEnabled): (WebCore::Settings::setFontRenderingMode): (WebCore::Settings::setDNSPrefetchingEnabled): (WebCore::Settings::setStorageBlockingPolicy): (WebCore::Settings::setBackgroundShouldExtendBeyondPage): (WebCore::Settings::setScrollingPerformanceLoggingEnabled): (WebCore::Settings::setHiddenPageDOMTimerThrottlingEnabled): (WebCore::Settings::setHiddenPageCSSAnimationSuspensionEnabled): (WebCore::Settings::setFontFallbackPrefersPictographs): * page/Settings.h: (WebCore::Settings::pageDestroyed): 2014-09-23 Lucas Forschler Rollout trunk r173848 | (r173897 on branch) 2014-09-23 Lucas Forschler Merge r173848 2014-09-22 Alexey Proskuryakov WebSocket crash when a connection is closed from server side https://bugs.webkit.org/show_bug.cgi?id=137009 rdar://problem/18333977 rdar://problem/12708225 Reviewed by Brady Eidson. I don't think that this can be tested with our test server. * Modules/websockets/WebSocketChannel.cpp: (WebCore::WebSocketChannel::WebSocketChannel): Added logging. (WebCore::WebSocketChannel::~WebSocketChannel): Ditto. (WebCore::WebSocketChannel::close): Protect self, because startClosingHandshake can release the last reference. (WebCore::WebSocketChannel::fail): Added an assertion that the channel is always closed after this function. (WebCore::WebSocketChannel::startClosingHandshake): Protect self, and don't change the stack from closed back to closing if after failing to send closing handshake. (WebCore::WebSocketChannel::processOutgoingFrameQueue): Protect self. 2014-09-17 Matthew Hanson Merge r173664. rdar://problem/18187713 2014-09-16 Jer Noble Videos with controls enabled never receive 'dragstart' events. https://bugs.webkit.org/show_bug.cgi?id=136837 Reviewed by Eric Carlson. Fixes a crash regression introduced by r173631. Node::contains() has an interesting property of returning false if `this` is NULL. Rather than depending on this behavior, explicitly NULL-check state.source and bail early. * page/DragController.cpp: (WebCore::DragController::startDrag): 2014-09-17 Matthew Hanson Merge r173632. rdar://problem/18187713 2014-09-15 Jer Noble Unreviewed logic fix from r173631. Logic for includeShadowDOM was reversed. * page/DragController.cpp: (WebCore::DragController::startDrag): 2014-09-17 Matthew Hanson Merge r173631. rdar://problem/18187713 2014-09-15 Jer Noble Videos with controls enabled never receive 'dragstart' events. https://bugs.webkit.org/show_bug.cgi?id=136837 Reviewed by Simon Fraser. When initiating a drag, the DragController checks whether the hit-tested element at a drag location is a child of the drag source, and bails if early if that is not the case. For a