Regression(r176212): Broke app switching on iCloud.com
authorcdumez@apple.com <cdumez@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 5 Jun 2015 22:10:19 +0000 (22:10 +0000)
committercdumez@apple.com <cdumez@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 5 Jun 2015 22:10:19 +0000 (22:10 +0000)
commitc00dec3e2dfa62de3844fbe4bb89b19f3dd2252e
tree71f6e64e91f1f49d8094114ae042605b8e7a66ce
parent1af6f96f6d186a0f2a55591ed58607d0c8362345
Regression(r176212): Broke app switching on iCloud.com
https://bugs.webkit.org/show_bug.cgi?id=145708
<rdar://problem/21235277>

Reviewed by Simon Fraser.

Source/WebCore:

Roll out r176212 and follow-up fixes for now, to fix iCloud.com.
We can reconsider later how to do this in a safer way.

* bindings/js/JSCSSStyleDeclarationCustom.cpp:
(WebCore::JSCSSStyleDeclaration::putDelegate): Deleted.
(WebCore::JSCSSStyleDeclaration::getOwnPropertyNames): Deleted.
* dom/Element.cpp:
* dom/Element.h:
* dom/ElementRareData.cpp:
* dom/ElementRareData.h:
(WebCore::ElementRareData::ElementRareData):
(WebCore::ElementRareData::~ElementRareData): Deleted.
* dom/Node.cpp:
(WebCore::Node::materializeRareData):
* html/HTMLCanvasElement.cpp:
(WebCore::HTMLCanvasElement::notifyObserversCanvasChanged): Deleted.
* page/DOMTimer.cpp:
(WebCore::DOMTimerFireState::scriptMadeNonUserObservableChanges): Deleted.
(WebCore::DOMTimerFireState::scriptMadeUserObservableChanges): Deleted.
(WebCore::NestedTimersMap::instanceForContext): Deleted.
(WebCore::DOMTimer::install): Deleted.
(WebCore::DOMTimer::fired): Deleted.
(WebCore::DOMTimer::alignedFireTime): Deleted.
(WebCore::DOMTimer::activeDOMObjectName): Deleted.
* page/DOMTimer.h:
* page/FrameView.cpp:
(WebCore::FrameView::reset): Deleted.
(WebCore::FrameView::viewportContentsChanged): Deleted.
(WebCore::FrameView::autoSizeIfEnabled): Deleted.
* page/FrameView.h:

LayoutTests:

Remove layout tests covering DOM Timer throttling.

* fast/canvas/canvas-outside-viewport-timer-throttling-expected.txt: Removed.
* fast/canvas/canvas-outside-viewport-timer-throttling.html: Removed.
* fast/dom/nested-timer-display-none-element-throttling-expected.txt: Removed.
* fast/dom/nested-timer-display-none-element-throttling.html: Removed.
* fast/dom/repeating-timer-display-none-element-throttling-expected.txt: Removed.
* fast/dom/repeating-timer-display-none-element-throttling.html: Removed.
* fast/dom/repeating-timer-element-overflow-hidden-throttling-expected.txt: Removed.
* fast/dom/repeating-timer-element-overflow-hidden-throttling.html: Removed.
* fast/dom/resources/timer-throttling-iframe.html: Removed.
* fast/dom/timer-throttle-on-scrolling-iframe-away-expected.txt: Removed.
* fast/dom/timer-throttle-on-scrolling-iframe-away.html: Removed.
* fast/dom/timer-unthrottle-on-layout-expected.txt: Removed.
* fast/dom/timer-unthrottle-on-layout.html: Removed.
* fast/dom/timer-unthrottle-on-scroll-expected.txt: Removed.
* fast/dom/timer-unthrottle-on-scroll.html: Removed.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@185269 268f45cc-cd09-0410-ab3c-d52691b4dbfc
28 files changed:
LayoutTests/ChangeLog
LayoutTests/fast/canvas/canvas-outside-viewport-timer-throttling-expected.txt [deleted file]
LayoutTests/fast/canvas/canvas-outside-viewport-timer-throttling.html [deleted file]
LayoutTests/fast/dom/nested-timer-display-none-element-throttling-expected.txt [deleted file]
LayoutTests/fast/dom/nested-timer-display-none-element-throttling.html [deleted file]
LayoutTests/fast/dom/repeating-timer-display-none-element-throttling-expected.txt [deleted file]
LayoutTests/fast/dom/repeating-timer-display-none-element-throttling.html [deleted file]
LayoutTests/fast/dom/repeating-timer-element-overflow-hidden-throttling-expected.txt [deleted file]
LayoutTests/fast/dom/repeating-timer-element-overflow-hidden-throttling.html [deleted file]
LayoutTests/fast/dom/resources/timer-throttling-iframe.html [deleted file]
LayoutTests/fast/dom/timer-throttle-on-scrolling-iframe-away-expected.txt [deleted file]
LayoutTests/fast/dom/timer-throttle-on-scrolling-iframe-away.html [deleted file]
LayoutTests/fast/dom/timer-unthrottle-on-layout-expected.txt [deleted file]
LayoutTests/fast/dom/timer-unthrottle-on-layout.html [deleted file]
LayoutTests/fast/dom/timer-unthrottle-on-scroll-expected.txt [deleted file]
LayoutTests/fast/dom/timer-unthrottle-on-scroll.html [deleted file]
Source/WebCore/ChangeLog
Source/WebCore/bindings/js/JSCSSStyleDeclarationCustom.cpp
Source/WebCore/dom/Element.cpp
Source/WebCore/dom/Element.h
Source/WebCore/dom/ElementRareData.cpp
Source/WebCore/dom/ElementRareData.h
Source/WebCore/dom/Node.cpp
Source/WebCore/html/HTMLCanvasElement.cpp
Source/WebCore/page/DOMTimer.cpp
Source/WebCore/page/DOMTimer.h
Source/WebCore/page/FrameView.cpp
Source/WebCore/page/FrameView.h