WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
203021
[Clipboard API] Support navigator.clipboard.read()
https://bugs.webkit.org/show_bug.cgi?id=203021
Summary
[Clipboard API] Support navigator.clipboard.read()
Wenson Hsieh
Reported
2019-10-15 19:12:33 PDT
More work in progress. This should unlock the ability to asynchronously fetch pasted content from the clipboard as ClipboardItems, via the Clipboard API.
Attachments
Patch
(53.45 KB, patch)
2019-10-17 13:48 PDT
,
Wenson Hsieh
no flags
Details
Formatted Diff
Diff
Archive of layout-test-results from ews213 for win-future
(13.88 MB, application/zip)
2019-10-17 15:05 PDT
,
EWS Watchlist
no flags
Details
For EWS
(58.22 KB, patch)
2019-10-17 16:35 PDT
,
Wenson Hsieh
commit-queue
: commit-queue-
Details
Formatted Diff
Diff
Archive of layout-test-results from webkit-cq-01 for mac-highsierra
(3.46 MB, application/zip)
2019-10-17 23:25 PDT
,
WebKit Commit Bot
no flags
Details
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Wenson Hsieh
Comment 1
2019-10-17 13:48:21 PDT
Comment hidden (obsolete)
Created
attachment 381222
[details]
Patch
Ryosuke Niwa
Comment 2
2019-10-17 14:07:49 PDT
Comment on
attachment 381222
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=381222&action=review
> Source/WebCore/Modules/async-clipboard/Clipboard.cpp:112 > + if (itemInfo.changeCount != changeCountAtStart) {
This change count check should really be happening in the UI process side but it's okay for now.
EWS Watchlist
Comment 3
2019-10-17 15:05:55 PDT
Comment hidden (obsolete)
Comment on
attachment 381222
[details]
Patch
Attachment 381222
[details]
did not pass win-ews (win): Output:
https://webkit-queues.webkit.org/results/13144645
New failing tests: editing/async-clipboard/clipboard-interfaces.html
EWS Watchlist
Comment 4
2019-10-17 15:05:57 PDT
Comment hidden (obsolete)
Created
attachment 381233
[details]
Archive of layout-test-results from ews213 for win-future The attached test failures were seen while running run-webkit-tests on the win-ews. Bot: ews213 Port: win-future Platform: CYGWIN_NT-10.0-17763-3.0.5-338.x86_64-x86_64-64bit
Wenson Hsieh
Comment 5
2019-10-17 15:57:50 PDT
Comment on
attachment 381222
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=381222&action=review
>> Source/WebCore/Modules/async-clipboard/Clipboard.cpp:112 >> + if (itemInfo.changeCount != changeCountAtStart) { > > This change count check should really be happening in the UI process side but it's okay for now.
Indeed — I’m planning to implement UI-process-side changeCount checking in a subsequent patch. I’ll add a FIXME here for now.
Wenson Hsieh
Comment 6
2019-10-17 16:35:22 PDT
Created
attachment 381247
[details]
For EWS
WebKit Commit Bot
Comment 7
2019-10-17 22:21:17 PDT
Comment hidden (obsolete)
The commit-queue encountered the following flaky tests while processing
attachment 381247
[details]
: fast/events/resize-subframe-in-rendering-update.html
bug 203140
(author:
rniwa@webkit.org
) The commit-queue is continuing to process your patch.
WebKit Commit Bot
Comment 8
2019-10-17 22:21:35 PDT
Comment hidden (obsolete)
The commit-queue encountered the following flaky tests while processing
attachment 381247
[details]
: imported/w3c/web-platform-tests/websockets/bufferedAmount-unchanged-by-sync-xhr.any.worker.html
bug 202003
(author:
youennf@gmail.com
) inspector/console/webcore-logging.html
bug 203118
(authors:
drousso@apple.com
and
eric.carlson@apple.com
) The commit-queue is continuing to process your patch.
WebKit Commit Bot
Comment 9
2019-10-17 23:07:54 PDT
Comment hidden (obsolete)
The commit-queue encountered the following flaky tests while processing
attachment 381247
[details]
: The commit-queue is continuing to process your patch.
WebKit Commit Bot
Comment 10
2019-10-17 23:08:06 PDT
Comment hidden (obsolete)
The commit-queue encountered the following flaky tests while processing
attachment 381247
[details]
: media/remote-control-command-seek.html
bug 192381
(authors:
eric.carlson@apple.com
and
graouts@apple.com
) The commit-queue is continuing to process your patch.
WebKit Commit Bot
Comment 11
2019-10-17 23:25:56 PDT
Comment on
attachment 381247
[details]
For EWS Rejecting
attachment 381247
[details]
from commit-queue. New failing tests: fast/events/resize-subframe-in-rendering-update.html inspector/console/webcore-logging.html Full output:
https://webkit-queues.webkit.org/results/13146169
WebKit Commit Bot
Comment 12
2019-10-17 23:25:58 PDT
Comment hidden (obsolete)
Created
attachment 381279
[details]
Archive of layout-test-results from webkit-cq-01 for mac-highsierra The attached test failures were seen while running run-webkit-tests on the commit-queue. Bot: webkit-cq-01 Port: mac-highsierra Platform: Mac OS X 10.13.6
Wenson Hsieh
Comment 13
2019-10-18 07:24:51 PDT
The CQ test failures (fast/events/resize-subframe-in-rendering-update.html and inspector/console/webcore-logging.html) are unrelated. Committed:
https://trac.webkit.org/r251279
.
Radar WebKit Bug Importer
Comment 14
2019-10-18 07:25:22 PDT
<
rdar://problem/56406019
>
Darin Adler
Comment 15
2019-10-18 14:19:01 PDT
Comment on
attachment 381247
[details]
For EWS View in context:
https://bugs.webkit.org/attachment.cgi?id=381247&action=review
> Tools/DumpRenderTree/mac/DumpRenderTreePasteboard.mm:38 > +#import <WebCore/LegacyNSPasteboardTypes.h>
Seems like this is left over from before you did some refactoring and isn’t needed.
Wenson Hsieh
Comment 16
2019-10-18 14:25:27 PDT
Comment on
attachment 381247
[details]
For EWS View in context:
https://bugs.webkit.org/attachment.cgi?id=381247&action=review
>> Tools/DumpRenderTree/mac/DumpRenderTreePasteboard.mm:38 >> +#import <WebCore/LegacyNSPasteboardTypes.h> > > Seems like this is left over from before you did some refactoring and isn’t needed.
Good catch! Removing it now.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug