Bug 191640

Summary: WebKit.DecidePolicyForNavigationActionForHyperlinkThatRedirects API fails when PSON is enabled
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: WebKit2Assignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: achristensen, beidson, commit-queue, ggaren, rniwa, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 191572    
Attachments:
Description Flags
WIP Patch
none
WIP Patch
none
Patch
none
Patch none

Description Chris Dumez 2018-11-14 09:59:20 PST
WebKit.DecidePolicyForNavigationActionForHyperlinkThatRedirects API fails when PSON is enabled:
        /Volumes/Data/slave/highsierra-release/build/Tools/TestWebKitAPI/Tests/WebKitCocoa/DecidePolicyForNavigationAction.mm:470
        Expected equality of these values:
          WKNavigationTypeLinkActivated
            Which is: 0
          [action navigationType]
            Which is: -1
        
        
        /Volumes/Data/slave/highsierra-release/build/Tools/TestWebKitAPI/Tests/WebKitCocoa/DecidePolicyForNavigationAction.mm:475
        Expected equality of these values:
          "http"
          [[[action sourceFrame] securityOrigin] protocol]
            Which is: ""
        
        
        /Volumes/Data/slave/highsierra-release/build/Tools/TestWebKitAPI/Tests/WebKitCocoa/DecidePolicyForNavigationAction.mm:476
        Expected equality of these values:
          "webkit.org"
          [[[action sourceFrame] securityOrigin] host]
            Which is: ""
Comment 1 Chris Dumez 2018-11-14 13:29:57 PST
Created attachment 354845 [details]
WIP Patch
Comment 2 Chris Dumez 2018-11-14 13:55:07 PST
Created attachment 354848 [details]
WIP Patch
Comment 3 Chris Dumez 2018-11-14 14:57:28 PST
Created attachment 354854 [details]
Patch
Comment 4 Chris Dumez 2018-11-14 15:10:29 PST
Created attachment 354859 [details]
Patch
Comment 5 WebKit Commit Bot 2018-11-14 19:31:15 PST
Comment on attachment 354859 [details]
Patch

Rejecting attachment 354859 [details] from commit-queue.

Failed to run "['/Volumes/Data/EWS/WebKit/Tools/Scripts/webkit-patch', '--status-host=webkit-queues.webkit.org', '--bot-id=webkit-cq-03', 'land-attachment', '--force-clean', '--non-interactive', '--parent-command=commit-queue', 354859, '--port=mac']" exit_code: 2 cwd: /Volumes/Data/EWS/WebKit

Logging in as commit-queue@webkit.org...
Fetching: https://bugs.webkit.org/attachment.cgi?id=354859&action=edit
Fetching: https://bugs.webkit.org/show_bug.cgi?id=191640&ctype=xml&excludefield=attachmentdata
Processing 1 patch from 1 bug.
Updating working directory
Processing patch 354859 from bug 191640.
Fetching: https://bugs.webkit.org/attachment.cgi?id=354859
Failed to run "['git', 'svn', 'dcommit', '--rmdir']" exit_code: 1 cwd: /Volumes/Data/EWS/WebKit

Committing to http://svn.webkit.org/repository/webkit/trunk ...
	M	Source/WebKit/ChangeLog

ERROR from SVN:
Item is out of date: File '/trunk/Source/WebKit/ChangeLog' is out of date
W: c5e0318d3fa563cc200fff320169640f43ce46b6 and refs/remotes/origin/master differ, using rebase:
:040000 040000 11b23a455be0f3e2ed0a610affef6aff6cad3463 14e0845f61bbdca5003de71e24e13f5a6ad715db M	Source
:040000 040000 a8de8ea603dae7aae40ace9f8ae0880781940ab2 4eabb1ae5efee1301a51365814642f0ee0821b50 M	Tools
Current branch master is up to date.
ERROR: Not all changes have been committed into SVN, however the committed
ones (if any) seem to be successfully integrated into the working tree.
Please see the above messages for details.


Failed to run "['git', 'svn', 'dcommit', '--rmdir']" exit_code: 1 cwd: /Volumes/Data/EWS/WebKit

Committing to http://svn.webkit.org/repository/webkit/trunk ...
	M	Source/WebKit/ChangeLog

ERROR from SVN:
Item is out of date: File '/trunk/Source/WebKit/ChangeLog' is out of date
W: c5e0318d3fa563cc200fff320169640f43ce46b6 and refs/remotes/origin/master differ, using rebase:
:040000 040000 11b23a455be0f3e2ed0a610affef6aff6cad3463 14e0845f61bbdca5003de71e24e13f5a6ad715db M	Source
:040000 040000 a8de8ea603dae7aae40ace9f8ae0880781940ab2 4eabb1ae5efee1301a51365814642f0ee0821b50 M	Tools
Current branch master is up to date.
ERROR: Not all changes have been committed into SVN, however the committed
ones (if any) seem to be successfully integrated into the working tree.
Please see the above messages for details.


Failed to run "['git', 'svn', 'dcommit', '--rmdir']" exit_code: 1 cwd: /Volumes/Data/EWS/WebKit
Updating OpenSource
Current branch master is up to date.

Full output: https://webkit-queues.webkit.org/results/9997858
Comment 6 Chris Dumez 2018-11-14 19:35:45 PST
Committed r238218: <https://trac.webkit.org/changeset/238218>
Comment 7 Radar WebKit Bug Importer 2018-11-14 19:36:25 PST
<rdar://problem/46084651>