Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Commits on Jul 2, 2015
  1. iOS WebKitLegacy should match WebKit2's viewport behavior

    timothy_horton@apple.com authored
    https://bugs.webkit.org/show_bug.cgi?id=146540
    <rdar://problem/20574017>
    
    Reviewed by Dan Bernstein.
    
    A number of changes have been made to WebKit2's viewport behavior
    to make it possible to scale "responsive" sites that misbehave (lay out
    in a non-responsive way).
    
    * History/WebHistoryItem.mm:
    * History/WebHistoryItemPrivate.h:
    Add the plumbing required to implement these new behaviors in WebKit1.
    
    * WebKit.iOS.exp:
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@186223 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  2. Skip new web timing test on platforms without web timing.

    achristensen@apple.com authored
    * platform/ios-sim-deprecated/Skipped:
    * platform/mac/TestExpectations:
    * platform/win/TestExpectations:
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@186222 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  3. [GTK] Accelerated Compositing stops working after a web process crash

    carlosgc@webkit.org authored
    https://bugs.webkit.org/show_bug.cgi?id=146508
    
    Reviewed by Martin Robinson.
    
    The problem is that we don't send the window ID again to the new
    web process.
    
    * UIProcess/API/gtk/PageClientImpl.cpp:
    (WebKit::PageClientImpl::didRelaunchProcess): Call
    webkitWebViewBaseDidRelaunchWebProcess().
    * UIProcess/API/gtk/WebKitWebViewBase.cpp:
    (webkitWebViewBaseDidRelaunchWebProcess): Set the window ID to
    the new drawing area.
    * UIProcess/API/gtk/WebKitWebViewBasePrivate.h:
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@186221 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  4. Source/ThirdParty/ANGLE:

    achristensen@apple.com authored
    Re-enable WebGL on WinCairo
    https://bugs.webkit.org/show_bug.cgi?id=146537
    
    Reviewed by Csaba Osztrogonác.
    
    * ANGLE.vcxproj/DirectX32.props:
    * ANGLE.vcxproj/DirectX64.props:
    * ANGLE.vcxproj/libGLESv2Common.props:
    Update DirectX directories to use the Windows SDK instead of the June 2010 DirectX SDK.
    
    Source/WebKit:
    Re-enable WebGL on WinCairo.
    https://bugs.webkit.org/show_bug.cgi?id=146537
    
    Reviewed by Csaba Osztrogonác.
    
    * WebKit.vcxproj/WebKit.sln:
    Build the ANGLE projects on WinCairo again.
    
    Source/WTF:
    Re-enable WebGL on WinCairo
    https://bugs.webkit.org/show_bug.cgi?id=146537
    
    Reviewed by Csaba Osztrogonác.
    
    * wtf/FeatureDefines.h:
    Enable WebGL on WinCairo again.
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@186220 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  5. Fix test from r186208 and r186216.

    achristensen@apple.com authored
    * http/tests/misc/webtiming-resolution-expected.txt:
    * http/tests/misc/webtiming-resolution.html:
    Properly and explicitly test if the time delta is close to a multiple of the expected resolution.
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@186219 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  6. Web Inspector: Aggregate profile call information on the backend to d…

    commit-queue@webkit.org authored
    …rastically reduce profile sizes
    
    
    https://bugs.webkit.org/show_bug.cgi?id=146536
    
    Patch by Joseph Pecoraro <pecoraro@apple.com> on 2015-07-01
    Reviewed by Timothy Hatcher.
    
    Source/JavaScriptCore:
    
    * inspector/protocol/Timeline.json:
    Change a CPUProfile from sending a required "calls" param to sending a required
    "callInfo" param which includes aggregated information about the calls.
    
    Source/WebCore:
    
    * inspector/TimelineRecordFactory.cpp:
    (WebCore::buildAggregateCallInfoInspectorObject):
    (WebCore::buildInspectorObject):
    Replace the array of Call objects with a single aggregated call info object.
    
    Source/WebInspectorUI:
    
    Since we still support legacy backends, the frontend documents where
    it is handling legacy backends with compatibility comments.
    
    * UserInterface/Models/ProfileNode.js:
    (WebInspector.ProfileNode):
    (WebInspector.ProfileNode.prototype.get callInfo):
    Handle a ProfileNode created with callInfo or calls. They are mutually exclusive.
    
    * UserInterface/Models/ScriptTimelineRecord.js:
    (WebInspector.ScriptTimelineRecord.prototype._initializeProfileFromPayload.profileNodeFromPayload):
    If the profile has per-call information, construct ProfileNodeCall objects, otherwise
    just construct the ProfileNode with the aggregate callInfo value.
    
    * UserInterface/Views/ScriptTimelineDataGridNode.js:
    (WebInspector.ScriptTimelineDataGridNode.prototype.get data):
    When we have aggregate call information we cannot easily partition a script,
    so we instead treat the entire script as one large atomic unit in the timeline.
    If the timeline range has any portion of the script, show the entire script.
    Users used to be able to select a portion of a script and view the relevant
    functions called in just that sliver, but this doesn't appear to be a well
    known feature or commonly used. In fact, given the small ranges of time it
    could be confusing for users.
    
    * UserInterface/Views/TimelineRecordingContentView.js:
    (WebInspector.TimelineRecordingContentView.prototype.matchTreeElementAgainstCustomFilters):
    Treat as a discrete unit.
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@186218 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  7. Web Inspector: When autocompleting, pressing tab twice shouldn't inse…

    drousso@apple.com authored
    …rt a tab character
    
    
    https://bugs.webkit.org/show_bug.cgi?id=145885
    
    Reviewed by Timothy Hatcher.
    
    * UserInterface/Controllers/CodeMirrorCompletionController.js:
    (WebInspector.CodeMirrorCompletionController):
    (WebInspector.CodeMirrorCompletionController.prototype.updateCompletions): Resolves the promise as having completions.
    (WebInspector.CodeMirrorCompletionController.prototype.hideCompletions): Resolves the promise as not having completions.
    (WebInspector.CodeMirrorCompletionController.prototype.completeAtCurrentPositionIfNeeded): Returns a WrappedPromise that allows
    callers of this function to determine if the autocomplete had any values or was instead not shown.
    (WebInspector.CodeMirrorCompletionController.prototype._resolveUpdatePromise):
    * UserInterface/Main.html: Added WrappedPromise class.
    * UserInterface/Models/WrappedPromise.js: Added WrappedPromise object to expose resolve and reject functions.
    * UserInterface/Views/ConsolePrompt.js:
    (WebInspector.ConsolePrompt.prototype._handleTabKey): Attempts to find completions for current text.  If there are none, beep.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@186217 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  8. Reduce resolution of performance.now

    cdumez@apple.com authored
    https://bugs.webkit.org/show_bug.cgi?id=146531
    
    Reviewed by Simon Fraser.
    
    Make layout test introduced in r186208.
    
    * http/tests/misc/webtiming-resolution-expected.txt:
    * http/tests/misc/webtiming-resolution.html:
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@186216 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  9. DFG::freezeFragile should register the frozen value's structure

    fpizlo@apple.com authored
    https://bugs.webkit.org/show_bug.cgi?id=136055
    rdar://problem/21042120
    
    Reviewed by Mark Lam and Geoffrey Garen.
            
    This fixes weird concurrency bugs where the constant folding phase tries to convert
    something to a constant but then crashes because the constant's structure wasn't
    registered. The AI was registering the structure of any value it saw, but constant folding
    wasn't - and that's fine so long as there ain't no concurrency.
            
    The best fix is to just make it impossible to introduce a constant into the IR without
    registering its structure. That's what this change does. This is not only a great
    concurrency fix - it also makes the compiler somewhat easier to hack on because it's one
    less case of structure registering that you have to remember about.
            
    * dfg/DFGAbstractValue.cpp:
    (JSC::DFG::AbstractValue::setOSREntryValue): No need to register.
    (JSC::DFG::AbstractValue::set): We still call register, but just to get the watchpoint state.
    * dfg/DFGGraph.cpp:
    (JSC::DFG::Graph::freezeFragile): Register the structure.
    * dfg/DFGStructureRegistrationPhase.cpp:
    (JSC::DFG::StructureRegistrationPhase::run): Assert that these are all registered.
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@186215 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  10. Web Inspector: [Mac] InspectorFrontendHost.beep() doesn't play a soun…

    commit-queue@webkit.org authored
    …d, sandbox warnings
    
    
    https://bugs.webkit.org/show_bug.cgi?id=146525
    
    Patch by Joseph Pecoraro <pecoraro@apple.com> on 2015-07-01
    Reviewed by Timothy Hatcher.
    
    * WebProcess/com.apple.WebProcess.sb.in:
    Get NSBeep working without any sandbox warnings.
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@186214 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  11. Make the first click on a rule section create a newline for easy prop…

    drousso@apple.com authored
    …erty addition
    
    
    https://bugs.webkit.org/show_bug.cgi?id=146490
    
    Reviewed by Timothy Hatcher.
    
    * UserInterface/Views/CSSStyleDeclarationTextEditor.js:
    (WebInspector.CSSStyleDeclarationTextEditor):
    (WebInspector.CSSStyleDeclarationTextEditor.prototype._highlightNextNameOrValue):
    (WebInspector.CSSStyleDeclarationTextEditor.prototype._handleEnterKey): Inserts a semicolon if the line is missing one.
    (WebInspector.CSSStyleDeclarationTextEditor.prototype._handleMouseDown): If the user clicks on a property with the editor being
    unfocused, the name/value containing the cursor will be highlighted.  If instead the user clicks at the end of a line, the
    cursor's position is saved for mouseUp.
    (WebInspector.CSSStyleDeclarationTextEditor.prototype._handleMouseUp): If the mouseDown cursor position was saved and is equal
    to the current cursor's position (the user did not drag), add a newline after the current line and place the cursor on that line.
    (WebInspector.CSSStyleDeclarationTextEditor.prototype._handleTabKey):
    (WebInspector.CSSStyleDeclarationTextEditor.prototype._handleTabKey.highlightNextNameOrValue): Deleted.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@186212 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  12. Unreviewed, rebaseline js/dom/global-constructors-attributes.html aft…

    cdumez@apple.com authored
    …er r186198.
    
    * platform/mac-mavericks/js/dom/global-constructors-attributes-expected.txt:
    * platform/mac-yosemite/js/dom/global-constructors-attributes-expected.txt:
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@186211 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  13. [Win] REGRESSION (r185124) CACFLayer handling broken

    bfulgham@apple.com authored
    https://bugs.webkit.org/show_bug.cgi?id=146530
    <rdar://problem/21642241>
    
    Reviewed by Tim Horton.
    
    At some point in the past, the set of LayerChange flags
    overflowed the default MSVC enum type of 'int'. This caused
    Windows rendering code to not receive various update notifications.
    
    Zalan's change moved the DebugIndicatorsChanged flag into that
    overflow set, which made it obvious that something was wrong.
    
    The fix is to tell the compiler to use a compatible base type
    for the enum.
    
    * platform/graphics/ca/GraphicsLayerCA.h: Prevent overflow.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@186210 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  14. Reduce resolution of performance.now.

    achristensen@apple.com authored
    https://bugs.webkit.org/show_bug.cgi?id=146531
    rdar://problem/20116796
    
    Reviewed by Simon Fraser.
    
    Source/WebCore:
    
    Test: http/tests/misc/webtiming-resolution.html
    
    * page/Performance.cpp:
    (WebCore::Performance::now):
    Floor the time returned by performance.now to the nearest 5 microseconds.
    
    LayoutTests:
    
    * http/tests/misc/webtiming-resolution-expected.txt: Added.
    * http/tests/misc/webtiming-resolution.html: Added.
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@186208 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  15. Ignore Visual Studio warning in SegmentedVector

    commit-queue@webkit.org authored
    https://bugs.webkit.org/show_bug.cgi?id=146514
    
    Patch by Alex Christensen <achristensen@webkit.org> on 2015-07-01
    Reviewed by Andreas Kling.
    
    * wtf/SegmentedVector.h:
    (WTF::SegmentedVector::deleteAllSegments):
    Use pragmas to ignore the 0 element array warning.
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@186207 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  16. [iOS] Build fix

    bfulgham@apple.com authored
    Patch by Eric Carlson <eric.carlson@apple.com> on 2015-07-01
    Reviewed by Brent Fulgham.
    
    * platform/ios/WebVideoFullscreenInterfaceAVKit.mm:
    (-[WebAVVideoLayer enterPIPModeRedirectingVideoToLayer:]): Renamed from enterOptimizedFullScreenModeRedirectingVideoToLayer.
    (-[WebAVVideoLayer leavePIPMode]): Renamed from leaveOptimizedFullScreenMode.
    (-[WebAVVideoLayer enterOptimizedFullScreenModeRedirectingVideoToLayer:]): Deleted.
    (-[WebAVVideoLayer leaveOptimizedFullScreenMode]): Deleted.
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@186206 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  17. [iOS] Support bold and thin italicized system fonts

    mmaxfield@apple.com authored
    https://bugs.webkit.org/show_bug.cgi?id=146463
    <rdar://problem/20948885>
    
    Reviewed by Darin Adler.
    
    Source/WebCore:
    
    Add the italicized attribute to font descriptors.
    
    Test: fast/text/weighted-italicized-system-font.html
    
    * platform/graphics/ios/FontCacheIOS.mm:
    (WebCore::createCTFontWithFamilyNameAndWeight):
    * platform/graphics/mac/FontCacheMac.mm:
    (WebCore::fontWithFamilySpecialCase):
    (WebCore::fontWithFamily):
    * platform/spi/cocoa/CoreTextSPI.h:
    
    LayoutTests:
    
    * fast/text/weighted-italicized-system-font-expected.html: Added.
    * fast/text/weighted-italicized-system-font.html: Added.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@186205 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  18. Remove code to recompute rounded window corners

    andersca@apple.com authored
    https://bugs.webkit.org/show_bug.cgi?id=146534
    
    Reviewed by Simon Fraser.
    
    This code is no longer needed since we're always layer-backed now.
    
    * UIProcess/API/mac/WKView.mm:
    (-[WKView displayIfNeeded]): Deleted.
    (-[WKView _cacheWindowBottomCornerRect]): Deleted.
    * UIProcess/API/mac/WKViewInternal.h:
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@186204 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Commits on Jul 1, 2015
  1. bmalloc: realloc of an XLarge range can unmap adjacent VM ranges

    ggaren@apple.com authored
    https://bugs.webkit.org/show_bug.cgi?id=146535
    
    Reviewed by Anders Carlsson.
    
    This bug causes a crash when running fast/css/large-list-of-rules-crash.html
    with the fix applied for https://bugs.webkit.org/show_bug.cgi?id=146519.
    
    * bmalloc/Allocator.cpp:
    (bmalloc::Allocator::reallocate): Start at object + newSize since starting
    at object + oldSize means deleting the adjacent VM range.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@186203 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  2. Unreviewed, rolling out r185889

    mmirman@apple.com authored
    https://bugs.webkit.org/show_bug.cgi?id=146528
    rdar://problem/21573959
    
    Patch breaks chromeexperiments.com
    
    Reverted changeset:
    
    Source/JavaScriptCore:
    
    * CMakeLists.txt:
    * JavaScriptCore.vcxproj/JavaScriptCore.vcxproj:
    * JavaScriptCore.vcxproj/JavaScriptCore.vcxproj.filters:
    * JavaScriptCore.xcodeproj/project.pbxproj:
    * inspector/InjectedScriptSource.js:
    (.):
    * runtime/JSBoundSlotBaseFunction.cpp: Removed.
    * runtime/JSBoundSlotBaseFunction.h: Removed.
    * runtime/JSGlobalObject.cpp:
    (JSC::JSGlobalObject::init): Deleted.
    (JSC::JSGlobalObject::visitChildren): Deleted.
    * runtime/JSGlobalObject.h:
    (JSC::JSGlobalObject::boundSlotBaseFunctionStructure): Deleted.
    * runtime/JSObject.cpp:
    (JSC::JSObject::getOwnPropertyDescriptor):
    (JSC::getBoundSlotBaseFunctionForGetterSetter): Deleted.
    * runtime/VM.cpp:
    (JSC::VM::VM): Deleted.
    * runtime/VM.h:
    
    LayoutTests:
    
    * inspector-protocol/runtime/getProperties-expected.txt:
    * js/dom/native-bindings-descriptors-expected.txt: Removed.
    * js/dom/native-bindings-descriptors.html: Removed.
    * js/dom/script-tests/native-bindings-descriptors.js: Removed.
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@186202 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  3. Fix ANGLE Windows build after r186169.

    achristensen@apple.com authored
    https://bugs.webkit.org/show_bug.cgi?id=146532
    
    Reviewed by Brent Fulgham.
    
    Source/ThirdParty/ANGLE:
    
    * ANGLE.vcxproj/libEGL.vcxproj:
    * ANGLE.vcxproj/libEGL.vcxproj.filters:
    * ANGLE.vcxproj/libGLESv2.vcxproj:
    * ANGLE.vcxproj/libGLESv2.vcxproj.filters:
    * ANGLE.vcxproj/libGLESv2Common.props:
    * ANGLE.vcxproj/translator_common.vcxproj:
    * ANGLE.vcxproj/translator_common.vcxproj.filters:
    * ANGLE.vcxproj/translator_glsl.vcxproj:
    * ANGLE.vcxproj/translator_glsl.vcxproj.filters:
    * ANGLE.vcxproj/translator_hlsl.vcxproj:
    * ANGLE.vcxproj/translator_hlsl.vcxproj.filters:
    Update Windows build to build new files.
    
    Source/WebCore:
    
    * WebCore.vcxproj/WebCore.vcxproj:
    * WebCore.vcxproj/WebCore.vcxproj.filters:
    Don't compile OpenGLShims.cpp or Extensions3DOpenGL.cpp on Windows 
    because Windows uses OpenGLES through ANGLE, not OpenGL.
    * platform/graphics/ANGLEWebKitBridge.h:
    Use OpenGLESShims.h on Windows instead of OpenGLShims.h.
    * platform/graphics/OpenGLESShims.h:
    Added needed definitions from OpenGL to compile successfully.
    * platform/graphics/win/GL/glext.h: Removed.
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@186201 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  4. Web page doesn't update its loading state when web process becomes su…

    commit-queue@webkit.org authored
    …spended if there are pending network requests (XHR).
    
    
    https://bugs.webkit.org/show_bug.cgi?id=146439
    
    When web page is loading, we hold a background activity token in NavigationState and we release the token when the page done
    loading. A web page can start loading subresources (like XHR) after the page is loaded, and WebPageProxy will update its
    _networkRequestsInProgress state which will notify the client there is network actvity on-going. Since we don't hold
    the background activity token after page is loaded, the WebContent process could become suspended without notifying the client
    and the client will lose track of the loading state.
    
    The first thought was to hold another background activity when _networkRequestsInProgress flag is set in NavigationState.
    However, this could result in side-effect that a WebContent process can stay active for too long if there is a long lasting
    XHR resquest.
    
    This patch fix this by notifying the client that network activity is stopped when WebContent process is going to be suspended.
    We also cache the networkRequestsInProgress state for suspended process, so that when it becomes foreground, we can tell
    the client the correct state of network activity.
    
    Patch by Yongjun Zhang <yongjun_zhang@apple.com> on 2015-07-01
    Reviewed by Dan Bernstein.
    
    * UIProcess/WebPageProxy.cpp:
    (WebKit::WebPageProxy::WebPageProxy): Initialize m_hasNetworkRequestsOnSuspended.
    (WebKit::WebPageProxy::processWillBecomeSuspended): If there is pending requests on suspend, cache the network activity state
        and notify the client.
    (WebKit::WebPageProxy::processWillBecomeForground): Restore the network activity state when the process becomes foreground.
    (WebKit::WebPageProxy::resetState):
    * UIProcess/WebPageProxy.h: Add a data member m_hasNetworkRequestsOnSuspended to cache the network activity state on process
        suspend.
    * UIProcess/WebProcessProxy.cpp:
    (WebKit::WebProcessProxy::didSetAssertionState):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@186200 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  5. Turn off mediastreamaudiosourcenode.html test

    commit-queue@webkit.org authored
    https://bugs.webkit.org/show_bug.cgi?id=146527
    <rdar://problem/21641223>
    
    Patch by Matthew Daiter <mdaiter@apple.com> on 2015-07-01
    Reviewed by Simon Fraser.
    
    * platform/mac/TestExpectations:
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@186199 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  6. Disable the experimental WebGL2 implementation

    dino@apple.com authored
    https://bugs.webkit.org/show_bug.cgi?id=146526
    <rdar://problem/21641235>
    
    Reviewed by Myles Maxfield.
    
    Source/JavaScriptCore:
    
    Add (and disable) an ENABLE_WEBGL2 flag.
    
    * Configurations/FeatureDefines.xcconfig:
    
    Source/WebCore:
    
    Add (and disable) an ENABLE_WEBGL2 flag. Also protect
    anything that is specific to WebGL2.
    
    Covered by running the WebGL 1.0.2 conformance suite
    and our LayoutTests.
    
    * Configurations/FeatureDefines.xcconfig:
    * bindings/js/JSCanvasRenderingContextCustom.cpp:
    (WebCore::toJS):
    * bindings/js/JSWebGL2RenderingContextCustom.cpp:
    * bindings/js/JSWebGLRenderingContextBaseCustom.cpp:
    (WebCore::toJS):
    * html/HTMLCanvasElement.cpp:
    (WebCore::HTMLCanvasElement::is3dType):
    * html/canvas/WebGL2RenderingContext.cpp:
    * html/canvas/WebGL2RenderingContext.h:
    * html/canvas/WebGL2RenderingContext.idl:
    * html/canvas/WebGLFramebuffer.cpp:
    (WebCore::WebGLFramebuffer::drawBuffersIfNecessary):
    * html/canvas/WebGLGetInfo.cpp:
    * html/canvas/WebGLGetInfo.h:
    * html/canvas/WebGLRenderingContextBase.cpp:
    (WebCore::WebGLRenderingContextBase::create):
    * html/canvas/WebGLVertexArrayObject.cpp:
    * html/canvas/WebGLVertexArrayObject.h:
    * html/canvas/WebGLVertexArrayObject.idl:
    
    Source/WebKit/mac:
    
    Add (and disable) an ENABLE_WEBGL2 flag.
    
    * Configurations/FeatureDefines.xcconfig:
    
    Source/WebKit2:
    
    Add (and disable) an ENABLE_WEBGL2 flag.
    
    * Configurations/FeatureDefines.xcconfig:
    
    Source/WTF:
    
    Add (and disable) an ENABLE_WEBGL2 flag.
    
    * wtf/FeatureDefines.h:
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@186198 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  7. Fix missing space.

    simon.fraser@apple.com authored
    * platform/mac/TestExpectations:
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@186197 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  8. Never try to pass URLs to LaunchServices when they're the same domain…

    beidson@apple.com authored
    … as the current URL.
    
    <rdar://problem/20731429> and https://bugs.webkit.org/show_bug.cgi?id=146521
    
    Reviewed by Alex Christensen.
    
    * UIProcess/Cocoa/NavigationState.mm:
    (WebKit::tryAppLink): Compare the proposed URL to the current URL to see if they’re in the same domain.
    (WebKit::NavigationState::NavigationClient::decidePolicyForNavigationAction):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@186196 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  9. Regression(183998): Disqus comments take a very long time to load

    cdumez@apple.com authored
    https://bugs.webkit.org/show_bug.cgi?id=146522
    <rdar://problem/21590601>
    
    Reviewed by Simon Fraser.
    
    Source/WebCore:
    
    Stop throttling requestAnimationFrame() in iframes that are not visible
    due to them being zero-sized or display:none. Those are usually utility
    iframes and throttling them is risky.
    
    Se still throttle requestAnimationFrame() in iframes that would be
    visible in theory but are currently not noticeable because they are
    outside the viewport.
    
    Test:
    - fast/animation/request-animation-frame-throttle-subframe.html
    - fast/animation/request-animation-frame-throttle-subframe-display-none.html
    - fast/animation/request-animation-frame-throttle-subframe-zero-size.html
    
    * page/FrameView.cpp:
    (WebCore::FrameView::updateScriptedAnimationsAndTimersThrottlingState):
    
    LayoutTests:
    
    * fast/animation/request-animation-frame-throttle-subframe-display-none-expected.txt:
    * fast/animation/request-animation-frame-throttle-subframe-display-none.html:
    Update layout test as we changed behavior here. We no longer throttle display:none
    iframes.
    
    * fast/animation/request-animation-frame-throttle-subframe-zero-size-expected.txt: Added.
    * fast/animation/request-animation-frame-throttle-subframe-zero-size.html: Added.
    Add layout test to check that we don't throttle RaF in iframes that are zero-sized.
    
    * fast/animation/resources/requestAnimationFrame-frame-2.html:
    * fast/animation/resources/requestAnimationFrame-frame.html:
    Update use of requestAnimationFrame() to be more representative of real world usage.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@186195 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  10. WKWebView snapshots have the wrong scale after rotation

    timothy_horton@apple.com authored
    https://bugs.webkit.org/show_bug.cgi?id=146476
    <rdar://problem/18345247>
    
    Reviewed by Anders Carlsson.
    
    * UIProcess/API/Cocoa/WKWebView.mm:
    (-[WKWebView _didCommitLayerTree:]):
    "Coordinate" -> "Coordinates".
    
    (-[WKWebView _snapshotRect:intoImageOfWidth:completionHandler:]):
    Defer any snapshotting that happens during a resize until after
    the resize completes. This will ensure that (in the case of an IOSurface
    snapshot) the tiles are up to date, and (in the case of a software snapshot)
    that our understanding of the scale and scroll offset of the WKContentView
    are up to date, so that we can correctly convert from view to content coordinates
    in the UI process.
    
    (-[WKWebView _endAnimatedResize]):
    Perform the deferred snapshotting after the resize completes.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@186194 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  11. Fix the iOS build.

    simon.fraser@apple.com authored
    * WebCoreSupport/WebUserMediaClient.mm:
    (-[WebUserMediaPolicyListener denyOnlyThisRequest]): Remove ASSERT_NOT_REACHED,
    because it caused the compiler to warn about noreturn.
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@186193 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  12. Mark compositing/masks/compositing-clip-path-origin.html as being ima…

    simon.fraser@apple.com authored
    …ge-flakey.
    
    * platform/mac/TestExpectations:
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@186192 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  13. REGRESSION (r179168): Characters overlap after resizing the font on t…

    rniwa@webkit.org authored
    …he copy-pasted Japanese text
    
    
    https://bugs.webkit.org/show_bug.cgi?id=146492
    
    Reviewed by Darin Adler.
    
    Source/WebCore:
    
    The bug was caused by WebKit serializing the used line-height size (e.g. 18px) in the copied content
    instead of string "normal" and removeStyleFromRulesAndContext failing to strip it down when text with
    a font that influences the line height got pasted. This is because the used value of line-height
    property of the context and the pasted content doesn't match when the context doesn't use the same font.
    
    Fixed the bug by not considering line-height as a list of editing properties we try to preserve. This is
    fine because we don't provide editing operations to directly manipulate line-height.
    
    Test: editing/pasteboard/cjk-line-height.html
    
    * editing/EditingStyle.cpp:
    (WebCore::editingProperties): Removed CSSPropertyLineHeight.
    
    LayoutTests:
    
    Added a regression test. Also reverted the bad rebaseline in r179168:
    http://trac.webkit.org/changeset/179168/trunk/LayoutTests/editing/pasteboard/simplfiying-markup-should-not-strip-content-expected.txt
    
    * editing/pasteboard/cjk-line-height-expected.txt: Added.
    * editing/pasteboard/cjk-line-height.html: Added.
    * editing/pasteboard/simplfiying-markup-should-not-strip-content-expected.txt:
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@186191 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  14. REGRESSION (r184296): View keeps scrolling upward

    bfulgham@apple.com authored
    https://bugs.webkit.org/show_bug.cgi?id=146497
    <rdar://problem/21524942>
    
    Reviewed by Darin Adler.
    
    Avoid improperly triggering the ScrollController wheel event handling
    logic when the wheel event deltaX/deltaY are zero. On certain sites,
    this caused a programmatic JavaScript scroll to be triggered unexpectedly,
    scrolling the page back to some initial state.
    
    This bug was introduced while trying to make sure scrollbars were notified
    when the wheel event had come to an end. Revise that change so that we still
    follow the right code path for non-stretchable regions. However, make sure
    that for zero-delta wheel events we make sure to properly handle the wheel
    event phase. 
    
    * platform/mac/ScrollAnimatorMac.h:
    * platform/mac/ScrollAnimatorMac.mm:
    (WebCore::ScrollAnimatorMac::shouldForwardWheelEventsToParent): New helper function
    to reduce the complexity of the logic in handleWheelEvent.
    (WebCore::ScrollAnimatorMac::handleWheelEvent): When wheel events should be forwarded
    to the parent scroll view, if the event was handled or has no change in position
    trigger the 'handleWheelEventPhase' logic so that scrollbars are hidden, etc.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@186185 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  15. This is a quick follow-on to http://trac.webkit.org/changeset/186132

    bdakin@apple.com authored
    Rubber-stamped by Darin Adler.
    
    Make this a one-liner.
    * WebProcess/WebPage/ios/WebPageIOS.mm:
    (WebKit::WebPage::getPositionInformation):
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@186184 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  16. Hide the inline controls when going into PiP

    dino@apple.com authored
    https://bugs.webkit.org/show_bug.cgi?id=146487
    <rdar://problem/19881159>
    
    Reviewed by Eric Carlson.
    
    When the presentation mode is PiP, toggle a class
    on the container element so that we can completely
    hide the control toolbar. The placard should still
    remain visible.
    
    * Modules/mediacontrols/mediaControlsiOS.css:
    (video::-webkit-media-controls-panel-container.picture-in-picture): Add
    a rule that hides the toolbar when PiP is active.
    * Modules/mediacontrols/mediaControlsiOS.js:
    (ControllerIOS.prototype.showControls):
    (ControllerIOS.prototype.handlePresentationModeChange): Toggle a
    class. Also fix a bug I noticed where exiting from PiP was
    not auto-hiding the controls until the user tapped.
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@186183 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  17. Source/JavaScriptCore:

    commit-queue@webkit.org authored
    Enable MEDIA_STREAM flag
    https://bugs.webkit.org/show_bug.cgi?id=145947
    <rdar://problem/21365829>
    
    Patch by Matthew Daiter <mdaiter@apple.com> on 2015-07-01
    Reviewed by Eric Carlson.
    
    * Configurations/FeatureDefines.xcconfig: Added MEDIA_STREAM flag
    
    Source/WebCore:
    Enable MEDIA_STREAM flag
    https://bugs.webkit.org/show_bug.cgi?id=145947
    <rdar://problem/21365829>
    
    Patch by Matthew Daiter <mdaiter@apple.com> on 2015-07-01
    Reviewed by Eric Carlson.
    
    * Configurations/FeatureDefines.xcconfig: Added MEDIA_STREAM flag
    * Modules/mediastream/MediaStreamTrack.h:
    * WebCore.xcodeproj/project.pbxproj: Changed project headers to
    private headers
    * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.h:
    * platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.h:
    * platform/graphics/mac/MediaPlayerPrivateQTKit.h:
    * platform/mediastream/RealtimeMediaSource.h:
    * platform/mediastream/mac/AVAudioCaptureSource.mm:
    * platform/mediastream/mac/AVCaptureDeviceManager.mm:
    (WebCore::refreshCaptureDeviceList): Deleted.
    * platform/mediastream/mac/AVMediaCaptureSource.mm:
    (WebCore::AVMediaCaptureSource::startProducingData):
    (WebCore::AVMediaCaptureSource::stopProducingData):
    
    Source/WebKit/mac:
    Enable MEDIA_STREAM flag
    https://bugs.webkit.org/show_bug.cgi?id=145947
    <rdar://problem/21365829>
    
    Patch by Matthew Daiter <mdaiter@apple.com> on 2015-07-01
    Reviewed by Eric Carlson.
    
    * Configurations/FeatureDefines.xcconfig: Added MEDIA_STREAM flag
    * WebCoreSupport/WebUserMediaClient.h: Changed signatures
    * WebCoreSupport/WebUserMediaClient.mm: Changed signatures
    (WebUserMediaClient::requestPermission):
    (WebUserMediaClient::cancelRequest):
    (-[WebUserMediaPolicyListener denyOnlyThisRequest]):
    (-[WebUserMediaPolicyListener shouldClearCache]):
    
    Source/WebKit2:
    Enable MEDIA_STREAM flag
    https://bugs.webkit.org/show_bug.cgi?id=145947
    <rdar://problem/21365829>
    
    Patch by Matthew Daiter <mdaiter@apple.com> on 2015-07-01
    Reviewed by Eric Carlson.
    
    * Configurations/FeatureDefines.xcconfig: Add MEDIA_STREAM flag
    * WebKit2.xcodeproj/project.pbxproj: Changed some project to private
    declarations of headers
    * WebProcess/WebCoreSupport/WebUserMediaClient.cpp:
    * WebProcess/WebPage/WebPage.h:
    (WebKit::WebPage::userMediaPermissionRequestManager):
    
    Tools:
    Enabled MEDIA_STREAM flag
    https://bugs.webkit.org/show_bug.cgi?id=145947
    <rdar://problem/21365829>
    
    Patch by Matthew Daiter <mdaiter@apple.com> on 2015-07-01
    Reviewed by Eric Carlson.
    
    * TestWebKitAPI/Tests/WebKit2/UserMedia.cpp:
    
    LayoutTests:
    Enable MEDIA_STREAM flag
    https://bugs.webkit.org/show_bug.cgi?id=145947
    <rdar://problem/21365829>
    
    Patch by Matthew Daiter <mdaiter@apple.com> on 2015-07-01
    Reviewed by Eric Carlson.
    
    *
    platform/mac-mavericks/js/dom/global-constructors-attributes-expected.txt:
    Added attributes to tests
    *
    platform/mac-yosemite/js/dom/global-constructors-attributes-expected.txt:
    Ditto
    * platform/mac/js/dom/global-constructors-attributes-expected.txt:
    Ditto
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@186182 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Something went wrong with that request. Please try again.