WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
203181
imported/w3c/web-platform-tests/clipboard-apis/async-navigator-clipboard-basics.https.html is flaky
https://bugs.webkit.org/show_bug.cgi?id=203181
Summary
imported/w3c/web-platform-tests/clipboard-apis/async-navigator-clipboard-basi...
Aakash Jain
Reported
2019-10-19 08:33:54 PDT
The following layout test is flaky on iOS (debug/release) and linux. imported/w3c/web-platform-tests/clipboard-apis/async-navigator-clipboard-basics.https.html Flakiness Dashboard:
https://webkit-test-results.webkit.org/dashboards/flakiness_dashboard.html#showAllRuns=true&tests=imported%2Fw3c%2Fweb-platform-tests%2Fclipboard-apis%2Fasync-navigator-clipboard-basics.https.html
Attachments
Fixes the test
(39.37 KB, patch)
2019-10-20 17:58 PDT
,
Wenson Hsieh
no flags
Details
Formatted Diff
Diff
Fix GTK/WPE builds
(39.59 KB, patch)
2019-10-21 13:55 PDT
,
Wenson Hsieh
no flags
Details
Formatted Diff
Diff
Patch for EWS
(82.90 KB, patch)
2019-10-21 19:16 PDT
,
Wenson Hsieh
no flags
Details
Formatted Diff
Diff
Fix GTK/WPE builds
(83.24 KB, patch)
2019-10-21 19:29 PDT
,
Wenson Hsieh
no flags
Details
Formatted Diff
Diff
Show Obsolete
(3)
View All
Add attachment
proposed patch, testcase, etc.
Aakash Jain
Comment 1
2019-10-19 08:35:29 PDT
This test failed on clean tree (run-layout-tests-without-patch step) in
https://ews-build.webkit.org/#/builders/24/builds/2042
Wenson Hsieh
Comment 2
2019-10-20 17:58:21 PDT
Comment hidden (obsolete)
Created
attachment 381396
[details]
Fixes the test
Wenson Hsieh
Comment 3
2019-10-21 13:55:05 PDT
Created
attachment 381447
[details]
Fix GTK/WPE builds
Ryosuke Niwa
Comment 4
2019-10-21 15:59:20 PDT
Comment on
attachment 381447
[details]
Fix GTK/WPE builds View in context:
https://bugs.webkit.org/attachment.cgi?id=381447&action=review
Since change count is a Cocoa specific concept, we need to hide that from the platform agnostic code. Perhaps something like PasteboardToken.
> Source/WebCore/Modules/async-clipboard/Clipboard.h:70 > - int changeCount; > + long changeCount;
Can we use uint32_t or uint64_t to be more explicit about the width of this count? Also, changeCount is cocoa specific concept. It probably doesn't belong in this platform agnostic class not that we should fix it in this patch.
> Source/WebCore/platform/Pasteboard.h:325 > + long m_changeCount { 0 }; > +
I don't think this change makes sense. The concept of change count doesn't exist in platforms like Windows.
Wenson Hsieh
Comment 5
2019-10-21 16:03:06 PDT
Comment on
attachment 381447
[details]
Fix GTK/WPE builds View in context:
https://bugs.webkit.org/attachment.cgi?id=381447&action=review
Thanks for the review!
>> Source/WebCore/Modules/async-clipboard/Clipboard.h:70 >> + long changeCount; > > Can we use uint32_t or uint64_t to be more explicit about the width of this count? > Also, changeCount is cocoa specific concept. > It probably doesn't belong in this platform agnostic class not that we should fix it in this patch.
Good point. This should be a int64_t, to match macOS/iOS — I’ll change it to that. I’ll also refactor changeCount out of platform-agnostic code in a followup.
>> Source/WebCore/platform/Pasteboard.h:325 >> + > > I don't think this change makes sense. The concept of change count doesn't exist in platforms like Windows.
Okay — I’ll undo this change.
Wenson Hsieh
Comment 6
2019-10-21 19:16:47 PDT
Comment hidden (obsolete)
Created
attachment 381499
[details]
Patch for EWS
Wenson Hsieh
Comment 7
2019-10-21 19:29:48 PDT
Created
attachment 381500
[details]
Fix GTK/WPE builds
WebKit Commit Bot
Comment 8
2019-10-22 00:22:27 PDT
Comment on
attachment 381500
[details]
Fix GTK/WPE builds Clearing flags on attachment: 381500 Committed
r251421
: <
https://trac.webkit.org/changeset/251421
>
WebKit Commit Bot
Comment 9
2019-10-22 00:22:28 PDT
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 10
2019-10-22 00:23:13 PDT
<
rdar://problem/56491382
>
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