Changeset 211234 in webkit


Ignore:
Timestamp:
Jan 26, 2017 3:47:06 PM (7 years ago)
Author:
commit-queue@webkit.org
Message:

Request pointer unlock on navigation and re-enable pointer-lock tests for WK2.
https://bugs.webkit.org/show_bug.cgi?id=166765

Patch by Jeremy Jones <jeremyj@apple.com> on 2017-01-26
Reviewed by Tim Horton.

Source/WebKit2:

When the main frame is load is committed, pointer lock should end.
This resets pointer lock state between tests and allows tests to succeed.

  • UIProcess/WebPageProxy.cpp:

(WebKit::WebPageProxy::didCommitLoadForFrame):

LayoutTests:

Enabled pointer lock tests for wk2 now that pointer lock state is being reset after each test.

  • platform/mac-wk2/TestExpectations:
Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r211228 r211234  
     12017-01-26  Jeremy Jones  <jeremyj@apple.com>
     2
     3        Request pointer unlock on navigation and re-enable pointer-lock tests for WK2.
     4        https://bugs.webkit.org/show_bug.cgi?id=166765
     5
     6        Reviewed by Tim Horton.
     7
     8        Enabled pointer lock tests for wk2 now that pointer lock state is being reset after each test.
     9
     10        * platform/mac-wk2/TestExpectations:
     11
    1122017-01-26  Zalan Bujtas  <zalan@apple.com>
    213
  • trunk/LayoutTests/platform/mac-wk2/TestExpectations

    r211219 r211234  
    602602webkit.org/b/165392 [ ElCapitan Release ] imported/mathml-in-html5/mathml/presentation-markup/fractions/frac-parameters-1.html [ Pass Failure ]
    603603
    604 webkit.org/b/166765 pointer-lock/ [ Skip ]
    605 webkit.org/b/166765 http/tests/pointer-lock/ [ Skip ]
    606 
    607604webkit.org/b/161887 [ ElCapitan ] swipe/main-frame-pinning-requirement.html [ Pass Timeout ]
  • trunk/Source/WebKit2/ChangeLog

    r211229 r211234  
     12017-01-26  Jeremy Jones  <jeremyj@apple.com>
     2
     3        Request pointer unlock on navigation and re-enable pointer-lock tests for WK2.
     4        https://bugs.webkit.org/show_bug.cgi?id=166765
     5
     6        Reviewed by Tim Horton.
     7
     8        When the main frame is load is committed, pointer lock should end.
     9        This resets pointer lock state between tests and allows tests to succeed.
     10
     11        * UIProcess/WebPageProxy.cpp:
     12        (WebKit::WebPageProxy::didCommitLoadForFrame):
     13
    1142017-01-26  Chris Dumez  <cdumez@apple.com>
    215
  • trunk/Source/WebKit2/UIProcess/WebPageProxy.cpp

    r211226 r211234  
    33543354    }
    33553355
     3356#if ENABLE(POINTER_LOCK)
     3357    if (frame->isMainFrame())
     3358        requestPointerUnlock();
     3359#endif
     3360
    33563361    m_pageLoadState.commitChanges();
    33573362    if (m_navigationClient) {
Note: See TracChangeset for help on using the changeset viewer.