Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Commits on Aug 27, 2015
  1. AX: Fix accessibility/select-element-at-index.html test

    commit-queue@webkit.org authored
    https://bugs.webkit.org/show_bug.cgi?id=148516
    
    Patch by Nan Wang <n_wang@apple.com> on 2015-08-27
    Reviewed by Chris Fleizach.
    
    Tools:
    
    Implemented setSelectedChildAtIndex and removeSelectionAtIndex for mac.
    
    * DumpRenderTree/AccessibilityUIElement.cpp:
    (setSelectedChildCallback):
    (setSelectedChildAtIndexCallback):
    (removeSelectionAtIndexCallback):
    (elementAtPointCallback):
    (sentenceAtOffsetCallback):
    (stringForSelectionCallback):
    (AccessibilityUIElement::getJSClass):
    * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
    (AccessibilityUIElement::setSelectedChild):
    (AccessibilityUIElement::setSelectedChildAtIndex):
    (AccessibilityUIElement::removeSelectionAtIndex):
    (AccessibilityUIElement::accessibilityValue):
    * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.cpp:
    (WTR::AccessibilityUIElement::wordAtOffset):
    (WTR::AccessibilityUIElement::lineAtOffset):
    (WTR::AccessibilityUIElement::sentenceAtOffset):
    (WTR::AccessibilityUIElement::isSelectable):
    (WTR::AccessibilityUIElement::isMultiSelectable):
    (WTR::AccessibilityUIElement::setSelectedChild):
    (WTR::AccessibilityUIElement::setSelectedChildAtIndex):
    (WTR::AccessibilityUIElement::removeSelectionAtIndex):
    (WTR::AccessibilityUIElement::selectedChildrenCount):
    (WTR::AccessibilityUIElement::selectedChildAtIndex):
    (WTR::AccessibilityUIElement::isExpanded):
    * WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:
    (WTR::AccessibilityUIElement::setSelectedChild):
    (WTR::AccessibilityUIElement::setSelectedChildAtIndex):
    (WTR::AccessibilityUIElement::removeSelectionAtIndex):
    (WTR::AccessibilityUIElement::accessibilityValue):
    
    LayoutTests:
    
    * accessibility/select-element-at-index.html:
    * platform/mac/TestExpectations:
    * platform/mac/accessibility/select-element-at-index-expected.txt: Added.
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@189044 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  2. Decode redirected data URLs in web process

    antti@apple.com authored
    https://bugs.webkit.org/show_bug.cgi?id=148386
    
    Reviewed by Zalan Bujtas.
    
    Redirected data URLs still end up to networking layer for decoding. Handle them locally as well.
    
    Covered by existing tests.
    
    * loader/ResourceLoader.cpp:
    (WebCore::ResourceLoader::~ResourceLoader):
    (WebCore::ResourceLoader::finishNetworkLoad):
    
        Factor to a function.
    
    (WebCore::ResourceLoader::releaseResources):
    (WebCore::ResourceLoader::willSendRequestInternal):
    
        When receiving redirect to a data URL end the network load and decode it locally.
    
    (WebCore::ResourceLoader::willSendRequest):
    * loader/ResourceLoader.h:
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@189043 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  3. [Win] Skip new High DPI test (Windows doesn't quite support this)

    bfulgham@apple.com authored
    Also skip an event test that started failing after r188793.
    
    * platform/win/TestExpectations:
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@189042 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  4. REGRESSION (r188820): fast/dom/HTMLObjectElement/object-as-frame.html…

    ap@apple.com authored
    … is flaky.
    
    
    https://bugs.webkit.org/show_bug.cgi?id=148533
    
    * TestExpectations: Marking is as such.
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@189041 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  5. [Win] Mark some test failures.

    bfulgham@apple.com authored
    * platform/win/TestExpectations: Mark some test failures. Images are black instead
    of showing the correct output.
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@189040 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  6. [Win] Test gardening.

    bfulgham@apple.com authored
    Remove failure case for recent progression.
    
    * platform/win/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent: Removed.
    * platform/win/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Percent/S11.5.3_A4_T6-expected.txt: Removed.
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@189039 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  7. [Cocoa] Generic font families do not consult with the user's preferre…

    mmaxfield@apple.com authored
    …d language
    
    
    https://bugs.webkit.org/show_bug.cgi?id=148499
    <rdar://problem/22407296>
    
    Reviewed by Antti Koivisto.
    
    Source/WebCore:
    
    When WebKit encounters markup like lang="zh" style="font-family: sans-serif;"
    we currently always use Simplified Chinese fonts. However, the user may
    have specifically selected Traditional Chinese in their user preferences.
    In this absence of other signals, we should consult with the user
    preferences when determining which font to pick.
    
    Tests: fast/text/international/generic-font-family-language-simplified.html
           fast/text/international/generic-font-family-language-traditional.html
    
    * platform/Language.cpp:
    (WebCore::observerMap):
    (WebCore::overrideUserPreferredLanguages):
    * platform/graphics/FontGenericFamilies.cpp:
    (WebCore::computeUserPrefersSimplified):
    (WebCore::cachedUserPrefersSimplified):
    (WebCore::languageChanged):
    (WebCore::genericFontFamilyForScript):
    (WebCore::FontGenericFamilies::FontGenericFamilies):
    * platform/text/LocaleToScriptMappingDefault.cpp:
    (WebCore::scriptNameToCode):
    
    LayoutTests:
    
    Mock the user's font preferences.
    
    * fast/text/international/font-fallback-to-common-script.html:
    * fast/text/international/generic-font-family-language-simplified-expected.html: Added.
    * fast/text/international/generic-font-family-language-simplified.html: Added.
    * fast/text/international/generic-font-family-language-traditional-expected.html: Added.
    * fast/text/international/generic-font-family-language-traditional.html: Added.
    * fast/text/international/lang-sensitive-fonts-xml.xhtml:
    * fast/text/international/lang-sensitive-fonts.html:
    * fast/text/international/locale-sensitive-fonts.html:
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@189038 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  8. Update Grid Layout to use fewer magic -1s

    mmaxfield@apple.com authored
    https://bugs.webkit.org/show_bug.cgi?id=148505
    
    Reviewed by Javier Fernandez.
    
    After r188873, there were still some -1s left in Grid Layout code. This patch cleans them
    up after consulting with Javier Fernandez.
    
    No new tests because there is no behavior change.
    
    * rendering/RenderBox.cpp:
    (WebCore::RenderBox::containingBlockLogicalWidthForContent):
    (WebCore::RenderBox::containingBlockLogicalHeightForContent):
    (WebCore::RenderBox::perpendicularContainingBlockLogicalHeight):
    * rendering/RenderGrid.cpp:
    (WebCore::RenderGrid::applyStretchAlignmentToChildIfNeeded):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@189037 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  9. Build fix after r188982

    achristensen@apple.com authored
    * MiniBrowser/win/CMakeLists.txt:
    The directory structure changed in the move.
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@189035 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  10. Web Inspector: FrontendChannel should know its own connection type

    bburg@apple.com authored
    https://bugs.webkit.org/show_bug.cgi?id=148482
    
    Reviewed by Joseph Pecoraro.
    
    Source/JavaScriptCore:
    
    * inspector/InspectorFrontendChannel.h: Add connectionType().
    * inspector/remote/RemoteInspectorDebuggableConnection.h:
    
    Source/WebCore:
    
    To prepare for multiple attached frontends, the frontend connection should
    be able to report its type rather than explicitly setting connection type
    via a getter.
    
    No behavior change, no new tests.
    
    * inspector/InspectorController.cpp:
    (WebCore::InspectorController::hasLocalFrontend): Ask the channel what it is.
    (WebCore::InspectorController::hasRemoteFrontend): Ask the channel what it is.
    (WebCore::InspectorController::connectFrontend): Use hasRemoteFrotend().
    (WebCore::InspectorController::disconnectFrontend): Use hasRemoteFrontend().
    (WebCore::InspectorController::InspectorController): Deleted.
    * inspector/InspectorController.h: Initialize a few members here.
    (WebCore::InspectorController::hasFrontend): Deleted, it was unused.
    (WebCore::InspectorController::setHasRemoteFrontend): Deleted.
    * inspector/WorkerInspectorController.cpp:
    * page/PageDebuggable.cpp:
    (WebCore::PageDebuggable::connect):
    (WebCore::PageDebuggable::disconnect):
    * testing/Internals.cpp: Add connectionType().
    
    Source/WebKit/mac:
    
    * WebCoreSupport/WebInspectorClient.h: add connectionType().
    
    Source/WebKit/win:
    
    * WebCoreSupport/WebInspectorClient.h: add connectionType().
    
    Source/WebKit2:
    
    * WebProcess/WebPage/WebInspector.h: add connectionType().
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@189034 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  11. Define legacy main thread calling functions for iOS as well

    andersca@apple.com authored
    https://bugs.webkit.org/show_bug.cgi?id=148530
    
    Reviewed by Tim Horton.
    
    * wtf/mac/DeprecatedSymbolsUsedBySafari.mm:
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@189033 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  12. Web Inspector: Standardize on CSSStyleSheet.Type enum and move more p…

    commit-queue@webkit.org authored
    …rotocol enum conversion to the manager
    
    
    https://bugs.webkit.org/show_bug.cgi?id=148515
    
    Patch by Joseph Pecoraro <pecoraro@apple.com> on 2015-08-27
    Reviewed by Brian Burg.
    
    Source/WebInspectorUI:
    
    * UserInterface/Controllers/CSSStyleManager.js:
    (WebInspector.CSSStyleManager.protocolStyleSheetOriginToEnum):
    (WebInspector.CSSStyleManager.protocolMediaSourceToEnum):
    Protocol enum to frontend enum conversion.
    
    * UserInterface/Models/DOMNodeStyles.js:
    (WebInspector.DOMNodeStyles.prototype.refresh.fetchedComputedStyle):
    (WebInspector.DOMNodeStyles.prototype.refresh):
    (WebInspector.DOMNodeStyles.prototype._parseRulePayload):
    (WebInspector.DOMNodeStyles.prototype._collectStylesInCascadeOrder):
    Use the manager to convert from a protocol payload enum to frontend num for css types.
    
    * UserInterface/Models/CSSRule.js:
    (WebInspector.CSSRule.prototype.get editable):
    * UserInterface/Views/CSSStyleDeclarationSection.js:
    (WebInspector.CSSStyleDeclarationSection):
    (WebInspector.CSSStyleDeclarationSection.prototype.refresh):
    * UserInterface/Views/RulesStyleDetailsPanel.js:
    (WebInspector.RulesStyleDetailsPanel.prototype.refresh.appendStyleSection):
    (WebInspector.RulesStyleDetailsPanel.prototype.refresh):
    * UserInterface/Views/VisualStyleSelectorSection.js:
    (WebInspector.VisualStyleSelectorSection.prototype.update.createSelectorItem):
    (WebInspector.VisualStyleSelectorSection.prototype.update.uniqueOrderedRules.set return):
    (WebInspector.VisualStyleSelectorSection.prototype.update.uniqueOrderedRules):
    (WebInspector.VisualStyleSelectorSection.prototype.update):
    * UserInterface/Views/VisualStyleSelectorTreeItem.js:
    (WebInspector.VisualStyleSelectorTreeItem):
    Update enum use.
    
    LayoutTests:
    
    * inspector/css/matched-style-properties.html:
    * inspector/css/pseudo-element-matches.html:
    * inspector/css/selector-dynamic-specificity.html:
    * inspector/css/selector-specificity.html:
    * inspector/css/stylesheet-with-mutations.html:
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@189032 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  13. Media Session: MediaSession constructor 'kind' argument optional

    eric.carlson@apple.com authored
    https://bugs.webkit.org/show_bug.cgi?id=148527
    
    Reviewed by Jer Noble.
    
    Source/WebCore:
    
    No new tests, updated media/session/session-creation.html.
    
    * Modules/mediasession/MediaSession.cpp:
    (WebCore::MediaSession::parseKind): Treat null kind "content".
    (WebCore::MediaSession::MediaSession): Delete Document* version.
    * Modules/mediasession/MediaSession.h: Make constructor private.
    * Modules/mediasession/MediaSession.idl:
    
    * WebCore.xcodeproj/project.pbxproj: Add JSMediaSessionCustom.cpp.
    
    * bindings/js/JSMediaSessionCustom.cpp: Added.
    (WebCore::constructJSMediaSession):
    
    * dom/Document.cpp:
    (WebCore::Document::defaultMediaSession): Call MediaSession::create.
    
    * html/HTMLMediaElement.cpp:
    (WebCore::HTMLMediaElement::session): Compare session with document.defaultMediaSession, not
      its kind.
    (WebCore::HTMLMediaElement::setSession): Update comments.
    
    LayoutTests:
    
    * media/session/content-interruptions.html: Restructure to make less timing dependent. Minor cleanup.
    * media/session/session-creation-expected.txt:
    * media/session/session-creation.html: Test default MediaSession constructor argument.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@189031 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  14. Simple line layout: Use float types wherever possible to match line t…

    zalan@apple.com authored
    …ree.
    
    
    https://bugs.webkit.org/show_bug.cgi?id=148444
    
    Reviewed by Antti Koivisto.
    
    To match inline tree output, we should try to match the data types as far as precision goes.
    
    This patch also fixes the confusing mismatch between Run::baseline().x() and Run::rect().x().
    They are both supposed to return the left edge of the run. However Run::rect().x() returns a rounded
    LayoutUnit of the logical left, while Run::baseline().x() returns the correct logical left.
    With this patch
      1. baseline position does not include logical left anymore.
      2. Run::rect().x() does not round the logical left coordinate anymore.
    
    * rendering/RenderTreeAsText.cpp:
    (WebCore::writeSimpleLine):
    * rendering/SimpleLineLayoutFunctions.cpp:
    (WebCore::SimpleLineLayout::paintFlow):
    (WebCore::SimpleLineLayout::collectFlowOverflow):
    (WebCore::SimpleLineLayout::collectAbsoluteRects):
    (WebCore::SimpleLineLayout::showLineLayoutForFlow):
    * rendering/SimpleLineLayoutResolver.cpp:
    (WebCore::SimpleLineLayout::linePosition):
    (WebCore::SimpleLineLayout::lineSize):
    (WebCore::SimpleLineLayout::RunResolver::Run::rect):
    (WebCore::SimpleLineLayout::LineResolver::Iterator::operator*):
    (WebCore::SimpleLineLayout::baselinePosition): Deleted.
    (WebCore::SimpleLineLayout::RunResolver::Run::baseline): Deleted.
    * rendering/SimpleLineLayoutResolver.h:
    (WebCore::SimpleLineLayout::RunResolver::Run::baselinePosition):
    (WebCore::SimpleLineLayout::RunResolver::Run::computeBaselinePosition):
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@189030 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  15. Add an expectation for another momentum scrolling test that became fl…

    ap@apple.com authored
    …aky.
    
    * platform/mac-wk2/TestExpectations:
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@189028 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  16. [EFL] REGRESSION(r188793): It made 200 layout tests and Bindings/even…

    ossy@webkit.org authored
    …t-target-wrapper.html performance test fail
    
    
    https://bugs.webkit.org/show_bug.cgi?id=148470
    
    Unreviewed gardening, skip the hanging test to make the performance bot work.
    
    * Skipped:
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@189027 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  17. Subpixel positioned iframe's repaint area calculation problem.

    zalan@apple.com authored
    https://bugs.webkit.org/show_bug.cgi?id=148422
    
    When the repaint rect position is floored for iframes, we need
    to expand the size so that it still covers the content.
    
    Reviewed by Simon Fraser.
    
    Source/WebCore:
    
    Test: fast/repaint/content-inside-subpixel-positioned-iframe.html
    
    * rendering/RenderBox.cpp:
    (WebCore::RenderBox::computeRectForRepaint):
    
    LayoutTests:
    
    * fast/repaint/content-inside-subpixel-positioned-iframe-expected.txt: Added.
    * fast/repaint/content-inside-subpixel-positioned-iframe.html: Copied from LayoutTests/fast/repaint/hidpi-content-inside-iframe-leaves-trails.html.
    * fast/repaint/hidpi-content-inside-iframe-leaves-trails.html:
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@189026 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  18. [GTK] Unreviewed, install-dependencies should install geoclue2 on Fedora

    mcatanzaro@igalia.com authored
    geoclue-devel is for obsolete geoclue. Install geoclue2-devel instead.
    
    * gtk/install-dependencies:
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@189025 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  19. Add some new emoji with modifiers and new sequence.

    enrica@apple.com authored
    https://bugs.webkit.org/show_bug.cgi?id=148202
    rdar://problem/21849857
    
    Reviewed by Sam Weinig.
    
    Source/WebCore:
    
    Adding support for some new emoji with modifiers and
    one new emoji sequence.
    
    * platform/graphics/FontCascade.cpp:
    (WebCore::FontCascade::characterRangeCodePath):
    * platform/text/CharacterProperties.h:
    (WebCore::isEmojiGroupCandidate):
    (WebCore::isEmojiModifier):
    * platform/text/TextBreakIterator.cpp:
    (WebCore::cursorMovementIterator):
    
    LayoutTests:
    
    Updated test to reflect the changes.
    
    * editing/deleting/delete-emoji-expected.txt:
    * editing/deleting/delete-emoji.html:
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@189024 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  20. Initial infrastructure of media controls testing

    dino@apple.com authored
    https://bugs.webkit.org/show_bug.cgi?id=148426
    <rdar://problem/22417286>
    
    Reviewed by Eric Carlson.
    
    Source/WebCore:
    
    Expose a JS API from Internals that allows a layout test
    to ask the controls instance what it thinks it is
    doing.
    
    Test: media/controls/basic.html
    
    * Modules/mediacontrols/mediaControlsApple.js:
    (Controller.prototype.getCurrentControlsStatus): New method. Currently
    returns a simple JSON string.
    * html/HTMLMediaElement.cpp:
    (WebCore::HTMLMediaElement::getCurrentMediaControlsStatus): Call into
    the controls instance.
    * html/HTMLMediaElement.h:
    * testing/Internals.cpp:
    (WebCore::Internals::getCurrentMediaControlsStatusForElement): Link
    between the Internals API and the HTMLMediaElement.
    * testing/Internals.h:
    * testing/Internals.idl:
    
    LayoutTests:
    
    Very simple test that calls into the status object
    of the media controls instance.
    
    * media/controls/basic-expected.txt: Added.
    * media/controls/basic.html: Added.
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@189023 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  21. Add a Layout test for r188991

    wenson_hsieh@apple.com authored
    https://bugs.webkit.org/show_bug.cgi?id=148507
    
    Reviewed by Tim Horton.
    
    Tests that stopping an animation early and closing the window does
    not crash the process. This is a retrospective test added for
    https://bugs.webkit.org/show_bug.cgi?id=148442, "Fix crash due to
    animationDidEnd called on deallocated RemoteLayerTreeHost."
    
    * animations/crash-on-removing-animation.html: Added.
    * animations/crash-on-removing-animation-expected.txt: Added.
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@189022 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  22. Unreviewed. Mark WTF_WordLock.ContendedShortSection as slow too.

    carlosgc@webkit.org authored
    * Scripts/run-gtk-tests:
    (TestRunner):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@189021 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  23. [EFL] Move RenderThemeEfl.cpp|h from WebCore/platform/efl to WebCore/…

    gyuyoung.kim@webkit.org authored
    …rendering
    
    
    https://bugs.webkit.org/show_bug.cgi?id=148511
    
    Reviewed by Csaba Osztrogonác.
    
    To be aligned with other ports, move RenderThemeEfl.cpp|h to WebCore/rendering.
    
    Additionally this patch fixes style errors in RenderThemeEfl.cpp
    
    * PlatformEfl.cmake:
    * rendering/RenderThemeEfl.cpp: Renamed from Source/WebCore/platform/efl/RenderThemeEfl.cpp.
    (WebCore::toEdjeGroup):
    (WebCore::setSourceGroupForEdjeObject):
    (WebCore::RenderThemeEfl::adjustSizeConstraints):
    (WebCore::isFormElementTooLargeToDisplay):
    (WebCore::RenderThemeEfl::ThemePartCacheEntry::create):
    (WebCore::RenderThemeEfl::ThemePartCacheEntry::reuse):
    (WebCore::RenderThemeEfl::getThemePartFromCache):
    (WebCore::RenderThemeEfl::clearThemePartCache):
    (WebCore::RenderThemeEfl::applyEdjeStateFromForm):
    (WebCore::RenderThemeEfl::applyEdjeRTLState):
    (WebCore::RenderThemeEfl::isControlStyled):
    (WebCore::RenderThemeEfl::paintThemePart):
    (WebCore::RenderThemeEfl::create):
    (WebCore::RenderTheme::themeForPage):
    (WebCore::applyColorCallback):
    (WebCore::fillColorsFromEdjeClass):
    (WebCore::RenderThemeEfl::setColorFromThemeClass):
    (WebCore::RenderThemeEfl::setThemePath):
    (WebCore::RenderThemeEfl::themePath):
    (WebCore::RenderThemeEfl::loadTheme):
    (WebCore::RenderThemeEfl::applyPartDescriptionFallback):
    (WebCore::RenderThemeEfl::applyPartDescription):
    (WebCore::RenderThemeEfl::applyPartDescriptionsFrom):
    (WebCore::RenderThemeEfl::RenderThemeEfl):
    (WebCore::RenderThemeEfl::~RenderThemeEfl):
    (WebCore::supportsFocus):
    (WebCore::RenderThemeEfl::supportsFocusRing):
    (WebCore::RenderThemeEfl::controlSupportsTints):
    (WebCore::RenderThemeEfl::baselinePosition):
    (WebCore::RenderThemeEfl::platformActiveSelectionBackgroundColor):
    (WebCore::RenderThemeEfl::platformInactiveSelectionBackgroundColor):
    (WebCore::RenderThemeEfl::platformActiveSelectionForegroundColor):
    (WebCore::RenderThemeEfl::platformInactiveSelectionForegroundColor):
    (WebCore::RenderThemeEfl::platformFocusRingColor):
    (WebCore::RenderThemeEfl::supportsSelectionForegroundColors):
    (WebCore::RenderThemeEfl::paintSliderTrack):
    (WebCore::RenderThemeEfl::adjustSliderTrackStyle):
    (WebCore::RenderThemeEfl::adjustSliderThumbStyle):
    (WebCore::RenderThemeEfl::adjustSliderThumbSize):
    (WebCore::RenderThemeEfl::sliderTickSize):
    (WebCore::RenderThemeEfl::sliderTickOffsetFromTrackCenter):
    (WebCore::RenderThemeEfl::sliderTickSnappingThreshold):
    (WebCore::RenderThemeEfl::supportsDataListUI):
    (WebCore::RenderThemeEfl::paintSliderThumb):
    (WebCore::RenderThemeEfl::adjustCheckboxStyle):
    (WebCore::RenderThemeEfl::paintCheckbox):
    (WebCore::RenderThemeEfl::adjustRadioStyle):
    (WebCore::RenderThemeEfl::paintRadio):
    (WebCore::RenderThemeEfl::adjustButtonStyle):
    (WebCore::RenderThemeEfl::paintButton):
    (WebCore::RenderThemeEfl::adjustMenuListStyle):
    (WebCore::RenderThemeEfl::paintMenuList):
    (WebCore::RenderThemeEfl::adjustMenuListButtonStyle):
    (WebCore::RenderThemeEfl::paintMenuListButtonDecorations):
    (WebCore::RenderThemeEfl::adjustTextFieldStyle):
    (WebCore::RenderThemeEfl::paintTextField):
    (WebCore::RenderThemeEfl::adjustTextAreaStyle):
    (WebCore::RenderThemeEfl::paintTextArea):
    (WebCore::RenderThemeEfl::adjustSearchFieldResultsButtonStyle):
    (WebCore::RenderThemeEfl::paintSearchFieldResultsButton):
    (WebCore::RenderThemeEfl::adjustSearchFieldResultsDecorationPartStyle):
    (WebCore::RenderThemeEfl::paintSearchFieldResultsDecorationPart):
    (WebCore::RenderThemeEfl::adjustSearchFieldCancelButtonStyle):
    (WebCore::RenderThemeEfl::paintSearchFieldCancelButton):
    (WebCore::RenderThemeEfl::adjustSearchFieldStyle):
    (WebCore::RenderThemeEfl::paintSearchField):
    (WebCore::RenderThemeEfl::adjustInnerSpinButtonStyle):
    (WebCore::RenderThemeEfl::paintInnerSpinButton):
    (WebCore::RenderThemeEfl::setDefaultFontSize):
    (WebCore::RenderThemeEfl::updateCachedSystemFontDescription):
    (WebCore::RenderThemeEfl::adjustProgressBarStyle):
    (WebCore::RenderThemeEfl::animationRepeatIntervalForProgressBar):
    (WebCore::RenderThemeEfl::animationDurationForProgressBar):
    (WebCore::RenderThemeEfl::paintProgressBar):
    (WebCore::RenderThemeEfl::mediaControlsStyleSheet):
    (WebCore::RenderThemeEfl::mediaControlsScript):
    * rendering/RenderThemeEfl.h: Renamed from Source/WebCore/platform/efl/RenderThemeEfl.h.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@189020 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  24. [EFL] REGRESSION: userscripts tests crash

    ossy@webkit.org authored
    https://bugs.webkit.org/show_bug.cgi?id=148519
    
    Unreviewed gardening, skip failing tests to make the bot work again.
    
    * platform/efl/TestExpectations:
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@189019 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  25. [EFL] REGRESSION: fullscreen tests fail with timeout

    ossy@webkit.org authored
    https://bugs.webkit.org/show_bug.cgi?id=148518
    
    Unreviewed gardening, skip failing tests to make the bot work again.
    
    * platform/efl/TestExpectations:
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@189018 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  26. Fix GTK+ WTR crashes in initializeMainRunLoop()

    carlosgc@webkit.org authored
    Rubber-stamped by Žan Doberšek.
    
    Initialize threading and main thread before
    RunLoop::initializeMainRunLoop(), since the GLib implementation of
    the RunLoop uses isMainThread() to decide whether to create a new
    GMainContext or use the default one. Also use RunLoop::run() and
    ::stop() instead of gtk_main/quit.
    
    * WebKitTestRunner/TestController.cpp:
    (WTR::TestController::initialize):
    * WebKitTestRunner/gtk/TestControllerGtk.cpp:
    (WTR::TestController::notifyDone):
    (WTR::TestController::platformRunUntil):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@189017 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  27. [EFL] REGRESSION: 50+ layout tests crash

    ossy@webkit.org authored
    https://bugs.webkit.org/show_bug.cgi?id=148471
    
    Reviewed by Gyuyoung Kim.
    
    * UIProcess/CoordinatedGraphics/WebView.cpp:
    (WebKit::WebView::WebView):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@189016 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  28. Fix WKMutableArray creations in WKUserMediaPermissionRequest

    zandobersek@gmail.com authored
    https://bugs.webkit.org/show_bug.cgi?id=148489
    
    Reviewed by Carlos Garcia Campos.
    
    Call WKMutableArrayCreate() to create the WKMutableArray objects.
    WKMutableArrayRef type is a pointer, so calling 'WKMutableArrayRef()' 
    just sets a null value to the variable that is then returned and
    queried for size in WebKitTestRunner's TestController, resulting
    in a crash.
    
    * UIProcess/API/C/WKUserMediaPermissionRequest.cpp:
    (WKUserMediaPermissionRequestDeviceNamesVideo):
    (WKUserMediaPermissionRequestDeviceNamesAudio):
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@189015 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  29. Unreviewed, further shorten a test that times out because it's very long

    fpizlo@apple.com authored
    running.
    
    I've locally run these tests on repeat for 24 hours and found no genuine
    failures, like deadlocks. So, the timeouts are probably because the test
    machine is slow and debug is slow. We should just run this test for fewer
    iterations.
    
    * TestWebKitAPI/Tests/WTF/Lock.cpp:
    (TestWebKitAPI::TEST):
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@189014 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  30. Node::origin should always be set, and the dead zone due to SSA Phis …

    fpizlo@apple.com authored
    …can just use exitOK=false
    
    
    https://bugs.webkit.org/show_bug.cgi?id=148462
    
    Reviewed by Saam Barati.
    
    The need to label nodes that absolutely cannot exit was first observed when we introduced SSA form.
    We indicated this by not setting the CodeOrigin.
    
    But just recently (http://trac.webkit.org/changeset/188979), we added a more comprehensive "exitOK"
    bit in NodeOrigin. After that change, there were two ways of indicating that you cannot exit:
    !exitOK and an unset NodeOrigin. An unset NodeOrigin implied !exitOK.
    
    Now, this change is about removing the old way so that we only use !exitOK. From now on, all nodes
    must have their NodeOrigin set, and the IR validation will check this. This means that I could
    remove various pieces of cruft for dealing with unset NodeOrigins, but I did have to add some new
    cruft to ensure that all nodes we create have a NodeOrigin.
    
    This change simplifies our IR by having a simpler rule about when NodeOrigin is set: it's always
    set.
    
    * dfg/DFGBasicBlock.cpp:
    (JSC::DFG::BasicBlock::isInBlock):
    (JSC::DFG::BasicBlock::removePredecessor):
    (JSC::DFG::BasicBlock::firstOriginNode): Deleted.
    (JSC::DFG::BasicBlock::firstOrigin): Deleted.
    * dfg/DFGBasicBlock.h:
    (JSC::DFG::BasicBlock::begin):
    (JSC::DFG::BasicBlock::end):
    (JSC::DFG::BasicBlock::numSuccessors):
    (JSC::DFG::BasicBlock::successor):
    * dfg/DFGCombinedLiveness.cpp:
    (JSC::DFG::liveNodesAtHead):
    * dfg/DFGConstantHoistingPhase.cpp:
    * dfg/DFGCriticalEdgeBreakingPhase.cpp:
    (JSC::DFG::CriticalEdgeBreakingPhase::breakCriticalEdge):
    * dfg/DFGForAllKills.h:
    (JSC::DFG::forAllKilledOperands):
    * dfg/DFGIntegerRangeOptimizationPhase.cpp:
    * dfg/DFGLoopPreHeaderCreationPhase.cpp:
    (JSC::DFG::createPreHeader):
    (JSC::DFG::LoopPreHeaderCreationPhase::run):
    * dfg/DFGOSRAvailabilityAnalysisPhase.cpp:
    (JSC::DFG::OSRAvailabilityAnalysisPhase::run):
    * dfg/DFGObjectAllocationSinkingPhase.cpp:
    * dfg/DFGPutStackSinkingPhase.cpp:
    * dfg/DFGSSAConversionPhase.cpp:
    (JSC::DFG::SSAConversionPhase::run):
    * dfg/DFGValidate.cpp:
    (JSC::DFG::Validate::validate):
    (JSC::DFG::Validate::validateSSA):
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@189013 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  31. MarkedBlock::allocateBlock will have the wrong allocation size when (…

    saambarati1@gmail.com authored
    …sizeof(MarkedBlock) + bytes) is divisible by WTF::pageSize()
    
    
    https://bugs.webkit.org/show_bug.cgi?id=148500
    
    Reviewed by Mark Lam.
    
    Consider the following scenario:
    - On OS X, WTF::pageSize() is 4*1024 bytes.
    - JSEnvironmentRecord::allocationSizeForScopeSize(6621) == 53000
    - sizeof(MarkedBlock) == 248
    - (248 + 53000) is a multiple of 4*1024.
    - (248 + 53000)/(4*1024) == 13
    
    We will allocate a chunk of memory of size 53248 bytes that looks like this:
    0            248       256                       53248       53256
    [Marked Block | 8 bytes |  payload     ......      ]  8 bytes  |
                            ^                                      ^
                       Our Environment record starts here.         ^
                                                                   ^
                                                             Our last JSValue in the environment record will go from byte 53248 to 53256. But, we don't own this memory.
    
    We need to ensure that we round up sizeof(MarkedBlock) to an
    atomSize boundary. We need to do this because the first atom
    inside the MarkedBlock will start at the rounded up multiple
    of atomSize past MarkedBlock. If we end up with an allocation
    that is perfectly aligned to the page size, then we will be short
    8 bytes (in the current implementation where atomSize is 16 bytes,
    and MarkedBlock is 248 bytes).
    
    * heap/MarkedAllocator.cpp:
    (JSC::MarkedAllocator::allocateBlock):
    * tests/stress/heap-allocator-allocates-incorrect-size-for-activation.js: Added.
    (use):
    (makeFunction):
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@189012 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  32. Web Inspector: [Regression] [Mavericks]: Undocked Web Inspector toolb…

    nvasilyev@apple.com authored
    …ar is two different colors and has extra space
    
    
    https://bugs.webkit.org/show_bug.cgi?id=148510
    
    Make body element transparent and remove extra padding above the toolbar only for OS X Mavericks.
    
    Reviewed by Timothy Hatcher.
    
    * UserInterface/Base/Main.js:
    (WebInspector.contentLoaded):
    * UserInterface/Views/Main.css:
    (body:not(.mavericks)):
    (body): Deleted.
    * UserInterface/Views/Toolbar.css:
    (body:not(.mavericks) .toolbar):
    (body.window-inactive:not(.mavericks) .toolbar):
    (body.mac-platform:not(.docked, .mavericks) .toolbar):
    (.toolbar): Deleted.
    (body.window-inactive .toolbar): Deleted.
    (body.mac-platform:not(.docked) .toolbar): Deleted.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@189011 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  33. [ThreadedCompositor] Use WTF::Condition together with WTF::Lock

    commit-queue@webkit.org authored
    https://bugs.webkit.org/show_bug.cgi?id=148493
    
    Patch by Emanuele Aina <emanuele.aina@collabora.com> on 2015-08-26
    Reviewed by Gyuyoung Kim.
    
    * Shared/CoordinatedGraphics/threadedcompositor/ThreadedCompositor.cpp:
    Replace ThreadCondition::signal() calls with Condition::notifyOne().
    * Shared/CoordinatedGraphics/threadedcompositor/ThreadedCompositor.h:
    Replace ThreadCondition usage with Condition.
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@189010 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  34. watchdog m_didFire state erroneously retained.

    mark.lam@apple.com authored
    https://bugs.webkit.org/show_bug.cgi?id=131082
    
    Reviewed by Geoffrey Garen.
    
    Source/JavaScriptCore:
    
    The watchdog can fire for 2 reasons:
    1. an external controlling entity (i.e. another thread) has scheduled termination
       of the script thread via watchdog::terminateSoon().
    2. the allowed CPU time has expired.
    
    For case 1, we're doing away with the m_didFire flag.  Watchdog::terminateSoon() 
    will set the timer deadlines and m_timeLimit to 0, and m_timerDidFire to true.
    This will get the script thread to check Watchdog::didFire() and terminate
    execution.
    
    Note: the watchdog only guarantees that script execution will terminate as soon
    as possible due to a time limit of 0.  Once we've exited the VM, the client of the
    VM is responsible from keeping a flag to prevent new script execution.
    
    In a race condition, if terminateSoon() is called just after execution has gotten
    past the client's reentry check and the client is in the process of re-entering,
    the worst that can happen is that we will schedule the watchdog timer to fire
    after a period of 0.  This will terminate script execution quickly, and thereafter
    the client's check should be able to prevent further entry into the VM.
    
    The correctness (i.e. has no race condition) of this type of termination relies
    on the termination state being sticky.  Once the script thread is terminated this
    way, the VM will continue to terminate scripts quickly until the client sets the
    time limit to a non-zero value (or clears it which sets the time limit to
    noTimeLimit).
    
    For case 2, the watchdog does not alter m_timeLimit.  If the CPU deadline has
    been reached, the script thread will terminate execution and exit the VM.
    
    If the client of the VM starts new script execution, the watchdog will allow
    execution for the specified m_timeLimit.  In this case, since m_timeLimit is not
    0, the script gets a fresh allowance of CPU time to execute.  Hence, terminations
    due to watchdog time outs are no longer sticky.
    
    * API/JSContextRef.cpp:
    (JSContextGroupSetExecutionTimeLimit):
    (JSContextGroupClearExecutionTimeLimit):
    * API/tests/ExecutionTimeLimitTest.cpp:
    - Add test scenarios to verify that the watchdog is automatically reset by the VM
      upon throwing the TerminatedExecutionException.
    
    (testResetAfterTimeout):
    (testExecutionTimeLimit):
    * JavaScriptCore.vcxproj/JavaScriptCore.vcxproj:
    * JavaScriptCore.vcxproj/JavaScriptCore.vcxproj.filters:
    * JavaScriptCore.xcodeproj/project.pbxproj:
    * dfg/DFGByteCodeParser.cpp:
    (JSC::DFG::ByteCodeParser::parseBlock):
    * interpreter/Interpreter.cpp:
    (JSC::Interpreter::execute):
    (JSC::Interpreter::executeCall):
    (JSC::Interpreter::executeConstruct):
    * jit/JITOpcodes.cpp:
    (JSC::JIT::emit_op_loop_hint):
    (JSC::JIT::emitSlow_op_loop_hint):
    * jit/JITOperations.cpp:
    * llint/LLIntSlowPaths.cpp:
    (JSC::LLInt::LLINT_SLOW_PATH_DECL):
    * runtime/VM.cpp:
    (JSC::VM::VM):
    (JSC::VM::ensureWatchdog):
    * runtime/VM.h:
    * runtime/VMInlines.h: Added.
    (JSC::VM::shouldTriggerTermination):
    * runtime/Watchdog.cpp:
    (JSC::Watchdog::Watchdog):
    (JSC::Watchdog::setTimeLimit):
    (JSC::Watchdog::terminateSoon):
    (JSC::Watchdog::didFireSlow):
    (JSC::Watchdog::hasTimeLimit):
    (JSC::Watchdog::enteredVM):
    (JSC::Watchdog::exitedVM):
    (JSC::Watchdog::startTimer):
    (JSC::Watchdog::stopTimer):
    (JSC::Watchdog::hasStartedTimer): Deleted.
    (JSC::Watchdog::fire): Deleted.
    * runtime/Watchdog.h:
    (JSC::Watchdog::didFire):
    (JSC::Watchdog::timerDidFireAddress):
    
    Source/WebCore:
    
    No new tests.  The new code is covered by the JSC API tests and an existing test:
    fast/workers/worker-terminate-forever.html
    
    * bindings/js/JSEventListener.cpp:
    (WebCore::JSEventListener::handleEvent):
    * bindings/js/WorkerScriptController.cpp:
    (WebCore::WorkerScriptController::WorkerScriptController):
    - Always create a watchdog for the Web Worker's VM.  We need this in order to support
      Worker.terminate().
    (WebCore::WorkerScriptController::evaluate):
    (WebCore::WorkerScriptController::scheduleExecutionTermination):
    (WebCore::WorkerScriptController::isTerminatingExecution):
    (WebCore::WorkerScriptController::forbidExecution):
    (WebCore::WorkerScriptController::isExecutionTerminating): Deleted.
    * bindings/js/WorkerScriptController.h:
    
    LayoutTests:
    
    * fast/workers/worker-terminate-forever-expected.txt:
    * fast/workers/worker-terminate-forever.html:
    - Updated to check if the worker actually did terminate. 
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@189009 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  35. Web Inspector: Uncaught exception in CSS Completion - TypeError: unde…

    commit-queue@webkit.org authored
    …fined is not an object (evaluating 'this._values[middleIndex].startsWith')
    
    
    https://bugs.webkit.org/show_bug.cgi?id=148508
    
    Patch by Joseph Pecoraro <pecoraro@apple.com> on 2015-08-26
    Reviewed by Timothy Hatcher.
    
    * UserInterface/Models/CSSCompletions.js:
    (WebInspector.CSSCompletions):
    Add a comment explaining that the constructor may be called with
    a list of strings or a list of objects from the protocol. Add
    a fast path for when this is constructed with a list of strings.
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@189008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Something went wrong with that request. Please try again.