Remove <iframe seamless> support.
<https://webkit.org/b/128213>

.:

Rubber-stamped by Antti Koivisto.

* Source/autotools/SetupWebKitFeatures.m4:
* Source/cmake/WebKitFeatures.cmake:
* Source/cmakeconfig.h.cmake:

Source/JavaScriptCore:

Rubber-stamped by Antti Koivisto.

* Configurations/FeatureDefines.xcconfig:

Source/WebCore:

Seamless iframes were behind a runtime flag that we never enabled,
and the only other engine that implemented them (Blink) recently
removed them. Since the feature is very invasive, let's take it
out for now.

Rubber-stamped by Antti Koivisto.

* Configurations/FeatureDefines.xcconfig:
* accessibility/AccessibilityObject.h:
* accessibility/AccessibilityRenderObject.cpp:
(WebCore::AccessibilityRenderObject::parentObjectIfExists):
(WebCore::AccessibilityRenderObject::parentObject):
(WebCore::AccessibilityRenderObject::boundingBoxRect):
(WebCore::AccessibilityRenderObject::computeAccessibilityIsIgnored):
(WebCore::AccessibilityRenderObject::determineAccessibilityRole):
* accessibility/mac/WebAccessibilityObjectWrapperMac.mm:
(createAccessibilityRoleMap):
* bindings/generic/RuntimeEnabledFeatures.cpp:
(WebCore::RuntimeEnabledFeatures::RuntimeEnabledFeatures):
* bindings/generic/RuntimeEnabledFeatures.h:
* css/CSSComputedStyleDeclaration.cpp:
(WebCore::ComputedStyleExtractor::propertyValue):
* css/CSSSelector.cpp:
(WebCore::CSSSelector::pseudoId):
(WebCore::populatePseudoTypeByNameMap):
(WebCore::CSSSelector::extractPseudoType):
* css/CSSSelector.h:
* css/SelectorChecker.cpp:
(WebCore::SelectorChecker::checkOne):
* css/StyleResolver.cpp:
(WebCore::StyleResolver::adjustRenderStyle):
* css/html.css:
(iframe):
* dom/Document.cpp:
(WebCore::Document::scheduleStyleRecalc):
(WebCore::Document::implicitOpen):
(WebCore::Document::initSecurityContext):
* dom/Document.h:
* dom/DocumentStyleSheetCollection.cpp:
(WebCore::DocumentStyleSheetCollection::updateActiveStyleSheets):
* dom/SecurityContext.cpp:
(WebCore::SecurityContext::SecurityContext):
* dom/SecurityContext.h:
* html/HTMLAttributeNames.in:
* html/HTMLIFrameElement.cpp:
(WebCore::HTMLIFrameElement::HTMLIFrameElement):
(WebCore::HTMLIFrameElement::isPresentationAttribute):
(WebCore::HTMLIFrameElement::parseAttribute):
* html/HTMLIFrameElement.h:
* html/HTMLIFrameElement.idl:
* loader/FrameLoader.cpp:
(WebCore::FrameLoader::findFrameForNavigation):
* page/FrameView.cpp:
(WebCore::FrameView::calculateScrollbarModesForLayout):
(WebCore::FrameView::isInChildFrameWithFrameFlattening):
* page/Location.cpp:
(WebCore::Location::setLocation):
* rendering/RenderBox.h:
(WebCore::RenderBox::stretchesToViewport):
* rendering/RenderIFrame.cpp:
(WebCore::RenderIFrame::shouldComputeSizeAsReplaced):
(WebCore::RenderIFrame::isInlineBlockOrInlineTable):
(WebCore::RenderIFrame::flattenFrame):
(WebCore::RenderIFrame::layout):
* rendering/RenderIFrame.h:
* rendering/RenderView.cpp:
(WebCore::RenderView::initializeLayoutState):
(WebCore::RenderView::layout):
* rendering/RenderView.h:
* style/StyleResolveForDocument.cpp:
(WebCore::Style::resolveForDocument):
* style/StyleResolveTree.cpp:
(WebCore::Style::resolveTree):

Source/WebKit/efl:

Rubber-stamped by Antti Koivisto.

* WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
* WebCoreSupport/DumpRenderTreeSupportEfl.h:
* ewk/ewk_view.cpp:
(_ewk_view_priv_new):

Source/WebKit/gtk:

Rubber-stamped by Antti Koivisto.

* WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
* WebCoreSupport/DumpRenderTreeSupportGtk.h:

Source/WebKit/mac:

Rubber-stamped by Antti Koivisto.

* Configurations/FeatureDefines.xcconfig:
* WebView/WebPreferenceKeysPrivate.h:
* WebView/WebPreferences.mm:
* WebView/WebPreferencesPrivate.h:
* WebView/WebView.mm:
(-[WebView _preferencesChanged:]):

Source/WebKit/win:

Rubber-stamped by Antti Koivisto.

* WebPreferences.h:
* WebView.cpp:
(WebView::notifyPreferencesChanged):

Source/WebKit2:

Rubber-stamped by Antti Koivisto.

* Configurations/FeatureDefines.xcconfig:
* WebProcess/InjectedBundle/API/c/WKBundle.cpp:
* WebProcess/InjectedBundle/API/c/WKBundlePrivate.h:
* WebProcess/InjectedBundle/InjectedBundle.cpp:
* WebProcess/InjectedBundle/InjectedBundle.h:

Source/WTF:

Rubber-stamped by Antti Koivisto.

* wtf/FeatureDefines.h:

Tools:

Rubber-stamped by Antti Koivisto.

* DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
(DumpRenderTreeChrome::resetDefaultsToConsistentValues):
* DumpRenderTree/gtk/DumpRenderTree.cpp:
(resetDefaultsToConsistentValues):
* DumpRenderTree/mac/DumpRenderTree.mm:
(resetWebPreferencesToConsistentValues):
* DumpRenderTree/win/DumpRenderTree.cpp:
(resetDefaultsToConsistentValues):
* Scripts/webkitperl/FeatureList.pm:
* WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
(WTR::InjectedBundle::beginTesting):

WebKitLibraries:

Rubber-stamped by Antti Koivisto.

* win/tools/vsprops/FeatureDefines.props:

LayoutTests:

Rubber-stamped by Antti Koivisto.

* fast/frames/seamless/resources/css-cascade-child.html: Removed.
* fast/frames/seamless/resources/done.html: Removed.
* fast/frames/seamless/resources/nested-seamless.html: Removed.
* fast/frames/seamless/resources/percent-square.html: Removed.
* fast/frames/seamless/resources/quirks-square.html: Removed.
* fast/frames/seamless/resources/span.html: Removed.
* fast/frames/seamless/resources/square.html: Removed.
* fast/frames/seamless/resources/two-inline-blocks.html: Removed.
* fast/frames/seamless/seamless-basic-expected.txt: Removed.
* fast/frames/seamless/seamless-basic.html: Removed.
* fast/frames/seamless/seamless-body-margin-expected.txt: Removed.
* fast/frames/seamless/seamless-body-margin.html: Removed.
* fast/frames/seamless/seamless-border-padding-expected.txt: Removed.
* fast/frames/seamless/seamless-border-padding.html: Removed.
* fast/frames/seamless/seamless-contenteditable-not-inherited-expected.txt: Removed.
* fast/frames/seamless/seamless-contenteditable-not-inherited.html: Removed.
* fast/frames/seamless/seamless-css-cascade-expected.txt: Removed.
* fast/frames/seamless/seamless-css-cascade.html: Removed.
* fast/frames/seamless/seamless-custom-font-pruning-crash-expected.txt: Removed.
* fast/frames/seamless/seamless-custom-font-pruning-crash.html: Removed.
* fast/frames/seamless/seamless-designMode-expected.txt: Removed.
* fast/frames/seamless/seamless-designMode.html: Removed.
* fast/frames/seamless/seamless-document-write-expected.txt: Removed.
* fast/frames/seamless/seamless-document-write.html: Removed.
* fast/frames/seamless/seamless-float-expected.txt: Removed.
* fast/frames/seamless/seamless-float.html: Removed.
* fast/frames/seamless/seamless-form-get-expected.txt: Removed.
* fast/frames/seamless/seamless-form-get-named-expected.txt: Removed.
* fast/frames/seamless/seamless-form-get-named.html: Removed.
* fast/frames/seamless/seamless-form-get-override-expected.txt: Removed.
* fast/frames/seamless/seamless-form-get-override.html: Removed.
* fast/frames/seamless/seamless-form-get.html: Removed.
* fast/frames/seamless/seamless-form-post-expected.txt: Removed.
* fast/frames/seamless/seamless-form-post-named-expected.txt: Removed.
* fast/frames/seamless/seamless-form-post-named.html: Removed.
* fast/frames/seamless/seamless-form-post-override-expected.txt: Removed.
* fast/frames/seamless/seamless-form-post-override.html: Removed.
* fast/frames/seamless/seamless-form-post.html: Removed.
* fast/frames/seamless/seamless-hyperlink-expected.txt: Removed.
* fast/frames/seamless/seamless-hyperlink-named-expected.txt: Removed.
* fast/frames/seamless/seamless-hyperlink-named.html: Removed.
* fast/frames/seamless/seamless-hyperlink-override-expected.txt: Removed.
* fast/frames/seamless/seamless-hyperlink-override.html: Removed.
* fast/frames/seamless/seamless-hyperlink.html: Removed.
* fast/frames/seamless/seamless-inherited-document-style-expected.txt: Removed.
* fast/frames/seamless/seamless-inherited-document-style.html: Removed.
* fast/frames/seamless/seamless-inherited-origin-expected.txt: Removed.
* fast/frames/seamless/seamless-inherited-origin.html: Removed.
* fast/frames/seamless/seamless-inline-expected.txt: Removed.
* fast/frames/seamless/seamless-inline.html: Removed.
* fast/frames/seamless/seamless-min-max-expected.txt: Removed.
* fast/frames/seamless/seamless-min-max.html: Removed.
* fast/frames/seamless/seamless-nested-crash-expected.txt: Removed.
* fast/frames/seamless/seamless-nested-crash.html: Removed.
* fast/frames/seamless/seamless-nested-expected.txt: Removed.
* fast/frames/seamless/seamless-nested.html: Removed.
* fast/frames/seamless/seamless-percent-height-expected.txt: Removed.
* fast/frames/seamless/seamless-percent-height.html: Removed.
* fast/frames/seamless/seamless-quirks-expected.txt: Removed.
* fast/frames/seamless/seamless-quirks.html: Removed.
* fast/frames/seamless/seamless-sandbox-flag-expected.txt: Removed.
* fast/frames/seamless/seamless-sandbox-flag.html: Removed.
* fast/frames/seamless/seamless-sandbox-srcdoc-expected.txt: Removed.
* fast/frames/seamless/seamless-sandbox-srcdoc.html: Removed.
* fast/frames/seamless/seamless-srcdoc-expected.txt: Removed.
* fast/frames/seamless/seamless-srcdoc.html: Removed.
* fast/frames/seamless/seamless-window-location-expected.txt: Removed.
* fast/frames/seamless/seamless-window-location-href-expected.txt: Removed.
* fast/frames/seamless/seamless-window-location-href.html: Removed.
* fast/frames/seamless/seamless-window-location-replace-expected.txt: Removed.
* fast/frames/seamless/seamless-window-location-replace.html: Removed.
* fast/frames/seamless/seamless-window-location-sandbox-expected.txt: Removed.
* fast/frames/seamless/seamless-window-location-sandbox.html: Removed.
* fast/frames/seamless/seamless-window-location.html: Removed.
* fast/frames/seamless/seamless-window-open-expected.txt: Removed.
* fast/frames/seamless/seamless-window-open-override-expected.txt: Removed.
* fast/frames/seamless/seamless-window-open-override.html: Removed.
* fast/frames/seamless/seamless-window-open.html: Removed.
* fast/multicol/resources/seamless.html: Removed.
* fast/multicol/seamless-flowed-through-columns-expected.html: Removed.
* fast/multicol/seamless-flowed-through-columns.html: Removed.
* fast/regions/resources/seamless.html: Removed.
* fast/regions/seamless-iframe-flowed-into-regions-expected.html: Removed.
* fast/regions/seamless-iframe-flowed-into-regions.html: Removed.
* http/tests/security/seamless/resources/square.html: Removed.
* http/tests/security/seamless/seamless-cross-origin-expected.txt: Removed.
* http/tests/security/seamless/seamless-cross-origin.html: Removed.
* http/tests/security/seamless/seamless-sandbox-srcdoc-expected.txt: Removed.
* http/tests/security/seamless/seamless-sandbox-srcdoc.html: Removed.
* platform/efl/TestExpectations:
* platform/gtk/TestExpectations:
* platform/mac/TestExpectations:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@163427 268f45cc-cd09-0410-ab3c-d52691b4dbfc
The stack limit computation does not work for Windows.
<https://webkit.org/b/128226>

Reviewed by Geoffrey Garen.

Source/JavaScriptCore:

* llint/LowLevelInterpreter.cpp:
(JSC::CLoopRegister::CLoopRegister):
(JSC::CLoop::execute):
- Suppressed some compiler warnings for the C loop build.
* runtime/VM.cpp:
(JSC::VM::updateStackLimitWithReservedZoneSize):
- Use the new StackBounds::recursionLimit() to compute the stack limit
  the right way.

Source/WTF:

The current stack limit computation assumes that the stack is allocated
in high memory. On Windows, the stack seems to be allocated very near
address 0, and is smaller in size than our Options::maxPerThreadStackUsage().
This combination triggers a bug where StackBounds::recursionLimit()
underflows and computes a limit address that is ridiculously high in memory.
The net effect is that the Windows port thinks its out of stack space all
the time.

We now check for potential underflows in StackBounds and return an
appropriate limit address.

* wtf/StackBounds.h:
(WTF::StackBounds::recursionLimit):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@163428 268f45cc-cd09-0410-ab3c-d52691b4dbfc
DoYouEvenBench: Update Ember.js test case
https://bugs.webkit.org/show_bug.cgi?id=128227

Reviewed by Benjamin Poulain.

Updated the Ember.js TodoMVC implementation.

* DoYouEvenBench/resources/tests.js:
* DoYouEvenBench/resources/todomvc/architecture-examples/emberjs/bower.json:
* DoYouEvenBench/resources/todomvc/architecture-examples/emberjs/bower_components/ember-data/ember-data.js: Added.
* DoYouEvenBench/resources/todomvc/architecture-examples/emberjs/bower_components/ember-localstorage-adapter/localstorage_adapter.js:
* DoYouEvenBench/resources/todomvc/architecture-examples/emberjs/bower_components/ember/ember.js:
* DoYouEvenBench/resources/todomvc/architecture-examples/emberjs/bower_components/handlebars/handlebars.js:
* DoYouEvenBench/resources/todomvc/architecture-examples/emberjs/bower_components/jquery/jquery.js:
* DoYouEvenBench/resources/todomvc/architecture-examples/emberjs/bower_components/todomvc-common/base.css:
* DoYouEvenBench/resources/todomvc/architecture-examples/emberjs/bower_components/todomvc-common/base.js:
* DoYouEvenBench/resources/todomvc/architecture-examples/emberjs/index.html:
* DoYouEvenBench/resources/todomvc/architecture-examples/emberjs/js/app.js:
* DoYouEvenBench/resources/todomvc/architecture-examples/emberjs/js/controllers/todo_controller.js:
* DoYouEvenBench/resources/todomvc/architecture-examples/emberjs/js/controllers/todos_controller.js:
* DoYouEvenBench/resources/todomvc/architecture-examples/emberjs/js/helpers/pluralize.js: Added.
* DoYouEvenBench/resources/todomvc/architecture-examples/emberjs/js/libs/ember-data.js: Removed.
* DoYouEvenBench/resources/todomvc/architecture-examples/emberjs/js/models/store.js: Removed.
* DoYouEvenBench/resources/todomvc/architecture-examples/emberjs/js/models/todo.js:
* DoYouEvenBench/resources/todomvc/architecture-examples/emberjs/js/router.js:
* DoYouEvenBench/resources/todomvc/architecture-examples/emberjs/js/views/edit_todo_view.js:
* DoYouEvenBench/resources/todomvc/architecture-examples/emberjs/js/views/todos_view.js: Added.
* DoYouEvenBench/resources/todomvc/architecture-examples/emberjs/readme.md:
* DoYouEvenBench/resources/todomvc/architecture-examples/emberjs/test.html:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@163429 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Revert the change made in r162216 as it broke the benchmark on shipping Safari.

* DoYouEvenBench/resources/benchmark-runner.js:

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