Expose visibleDebugOverlayRegions pref via the WK2 C SPI
https://bugs.webkit.org/show_bug.cgi?id=138342

Reviewed by Dan Bernstein.

Expose WKDebugOverlayRegions via the C SPI.

* UIProcess/API/C/WKPreferences.cpp:
(WKPreferencesSetVisibleDebugOverlayRegions):
(WKPreferencesGetVisibleDebugOverlayRegions):
* UIProcess/API/C/WKPreferencesRef.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@175503 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Fix jquery/manipulation.html flakiness on debug builds
https://bugs.webkit.org/show_bug.cgi?id=138335

Reviewed by Alexey Proskuryakov.

Update jquery's qunit config to not refresh the test results
regularly as this is not useful as part of layout testing.

This was causing qunit to set a timer every 13ms to check if
results should be updated and this timer would sometimes get
throttled after r175441.

* TestExpectations:
* jquery/resources/test/qunit/qunit/qunit.js:
(.):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@175504 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Clarify RenderListMarker ownership model.
<https://webkit.org/b/138329>

Reviewed by Antti Koivisto.

A RenderListMarker is either in-tree and owned by the tree, or out-of-tree
and owned by a RenderListItem.

This patch changes RenderListItem::m_marker to be a raw pointer, and removes
the special handling of list markers in RenderElement child teardown.

We also remove the willBeDestroyed() hook. It was used to clear out the
m_marker pointer, but this is now done in the regular ~RenderListItem()
destructor with an assertion for marker sanity. m_marker is automatically
nulled out by a didDestroyListMarker() callback on RenderListItem.

* rendering/RenderElement.cpp:
(WebCore::RenderElement::destroyLeftoverChildren):

    Removed special handling of list marker renderers when deleting a
    RenderElement's children.

* rendering/RenderListItem.cpp:
(WebCore::RenderListItem::RenderListItem):
(WebCore::RenderListItem::~RenderListItem):
(WebCore::RenderListItem::styleDidChange):
(WebCore::RenderListItem::insertOrMoveMarkerRendererIfNeeded):
(WebCore::RenderListItem::positionListMarker):

    Made m_marker a raw pointer instead of a RenderPtr since the ownership
    really switches between weak and strong reference.

(WebCore::RenderListItem::willBeDestroyed):
* rendering/RenderListMarker.cpp:
(WebCore::RenderListMarker::~RenderListMarker):

    Added a regular destructor to replace the willBeDestroyed() hook.

* rendering/RenderListItem.h:
(WebCore::RenderListItem::didDestroyListMarker):

    Added. Called by ~RenderListMarker to null out RenderListItem::m_marker.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@175505 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Non-fast scrollable region overlay offsets the overlay by topContentInset
https://bugs.webkit.org/show_bug.cgi?id=138344

Reviewed Tim Horton.

Offset the region by topContentInset, and make it not green.

* page/DebugPageOverlays.cpp:
(WebCore::NonFastScrollableRegionOverlay::updateRegion):

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