WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
202940
REGRESSION: editing/async-clipboard/clipboard-interfaces.html is failing in WebKit1
https://bugs.webkit.org/show_bug.cgi?id=202940
Summary
REGRESSION: editing/async-clipboard/clipboard-interfaces.html is failing in W...
Truitt Savell
Reported
2019-10-14 13:22:29 PDT
The following layout test is failing on Win10 editing/async-clipboard/clipboard-interfaces.html Probable cause: This started with this build:
https://build.webkit.org/builders/Apple%20Win%2010%20Debug%20(Tests)/builds/2924
Flakiness Dashboard:
https://webkit-test-results.webkit.org/dashboards/flakiness_dashboard.html#showAllRuns=true&tests=editing%2Fasync-clipboard%2Fclipboard-interfaces.html
Diff: --- /home/buildbot/worker/win10-release-tests/build/layout-test-results/editing/async-clipboard/clipboard-interfaces-expected.txt +++ /home/buildbot/worker/win10-release-tests/build/layout-test-results/editing/async-clipboard/clipboard-interfaces-actual.txt @@ -5,47 +5,52 @@ Testing Clipboard: -PASS Clipboard instanceof Function is true -PASS typeof Clipboard is "function" -PASS navigator.clipboard instanceof Clipboard is true -PASS Object.getPrototypeOf(navigator.clipboard) === Clipboard.prototype is true -PASS Clipboard.prototype.readText instanceof Function is true -PASS Clipboard.prototype.writeText instanceof Function is true -PASS Clipboard.prototype.read instanceof Function is true -PASS Clipboard.prototype.write instanceof Function is true -PASS Clipboard() threw exception TypeError: Illegal constructor. -PASS new Clipboard() threw exception TypeError: function is not a constructor (evaluating 'new Clipboard()'). -PASS Clipboard.toString() is "function Clipboard() {\n [native code]\n}" -PASS navigator.clipboard.toString() is "[object Clipboard]" -PASS navigator.clipboard.writeText('foo') instanceof Promise is true -PASS navigator.clipboard.write([ ]) instanceof Promise is true -PASS navigator.clipboard.read() instanceof Promise is true -PASS navigator.clipboard.readText() instanceof Promise is true -PASS navigator.clipboard.write() rejected with TypeError: Not enough arguments -PASS navigator.clipboard.writeText() rejected with TypeError: Not enough arguments -PASS navigator.clipboard.write('foo') rejected with TypeError: Value is not a sequence -PASS navigator.clipboard.write([1, 2, 3]) rejected with TypeError: Type error -PASS navigator.clipboard.write(new ClipboardItem({ })) rejected with TypeError: Type error +FAIL Clipboard instanceof Function should be true. Threw exception ReferenceError: Can't find variable: Clipboard +FAIL typeof Clipboard should be function. Was undefined. +FAIL navigator.clipboard instanceof Clipboard should be true. Threw exception ReferenceError: Can't find variable: Clipboard +FAIL Object.getPrototypeOf(navigator.clipboard) === Clipboard.prototype should be true. Threw exception TypeError: undefined is not an object (evaluating 'Object.getPrototypeOf(navigator.clipboard)') +FAIL Clipboard.prototype.readText instanceof Function should be true. Threw exception ReferenceError: Can't find variable: Clipboard +FAIL Clipboard.prototype.writeText instanceof Function should be true. Threw exception ReferenceError: Can't find variable: Clipboard +FAIL Clipboard.prototype.read instanceof Function should be true. Threw exception ReferenceError: Can't find variable: Clipboard +FAIL Clipboard.prototype.write instanceof Function should be true. Threw exception ReferenceError: Can't find variable: Clipboard +PASS Clipboard() threw exception ReferenceError: Can't find variable: Clipboard. +PASS new Clipboard() threw exception ReferenceError: Can't find variable: Clipboard. +FAIL Clipboard.toString() should be function Clipboard() { + [native code] +}. Threw exception ReferenceError: Can't find variable: Clipboard +FAIL navigator.clipboard.toString() should be [object Clipboard]. Threw exception TypeError: undefined is not an object (evaluating 'navigator.clipboard.toString') +FAIL navigator.clipboard.writeText('foo') instanceof Promise should be true. Threw exception TypeError: undefined is not an object (evaluating 'navigator.clipboard.writeText') +FAIL navigator.clipboard.write([ ]) instanceof Promise should be true. Threw exception TypeError: undefined is not an object (evaluating 'navigator.clipboard.write') +FAIL navigator.clipboard.read() instanceof Promise should be true. Threw exception TypeError: undefined is not an object (evaluating 'navigator.clipboard.read') +FAIL navigator.clipboard.readText() instanceof Promise should be true. Threw exception TypeError: undefined is not an object (evaluating 'navigator.clipboard.readText') +PASS navigator.clipboard.write() rejected with TypeError: undefined is not an object (evaluating 'navigator.clipboard.write') +PASS navigator.clipboard.writeText() rejected with TypeError: undefined is not an object (evaluating 'navigator.clipboard.writeText') +PASS navigator.clipboard.write('foo') rejected with TypeError: undefined is not an object (evaluating 'navigator.clipboard.write') +PASS navigator.clipboard.write([1, 2, 3]) rejected with TypeError: undefined is not an object (evaluating 'navigator.clipboard.write') +PASS navigator.clipboard.write(new ClipboardItem({ })) rejected with TypeError: undefined is not an object (evaluating 'navigator.clipboard.write') Testing ClipboardItem: -PASS ClipboardItem instanceof Function is true -PASS typeof ClipboardItem is "function" -PASS ClipboardItem.prototype.getType instanceof Function is true -PASS ClipboardItem() threw exception TypeError: Constructor requires 'new' operator. -PASS new ClipboardItem() threw exception TypeError: Not enough arguments. -PASS new ClipboardItem('foo') threw exception TypeError: Type error. -PASS new ClipboardItem({ }) instanceof ClipboardItem is true -PASS Object.getPrototypeOf(new ClipboardItem({ })) === ClipboardItem.prototype is true -PASS new ClipboardItem({ }).types instanceof Array is true -PASS ClipboardItem.toString() is "function ClipboardItem() {\n [native code]\n}" -PASS new ClipboardItem({ }).toString() is "[object ClipboardItem]" -PASS new ClipboardItem({ }, { foo: 'attachment' }).presentationStyle is "unspecified" -PASS new ClipboardItem({ }, { presentationStyle: 'AttaCHmenT' }).presentationStyle threw exception TypeError: Type error. -PASS new ClipboardItem({ }, { presentationStyle: 'unspecified' }).presentationStyle is "unspecified" -PASS new ClipboardItem({ }, { presentationStyle: 'attachment' }).presentationStyle is "attachment" -PASS new ClipboardItem({ }, { presentationStyle: 'inline' }).presentationStyle is "inline" -PASS new ClipboardItem({ }, 'inline') threw exception TypeError: Type error. +FAIL ClipboardItem instanceof Function should be true. Threw exception ReferenceError: Can't find variable: ClipboardItem +FAIL typeof ClipboardItem should be function. Was undefined. +FAIL ClipboardItem.prototype.getType instanceof Function should be true. Threw exception ReferenceError: Can't find variable: ClipboardItem +PASS ClipboardItem() threw exception ReferenceError: Can't find variable: ClipboardItem. +PASS new ClipboardItem() threw exception ReferenceError: Can't find variable: ClipboardItem. +PASS new ClipboardItem('foo') threw exception ReferenceError: Can't find variable: ClipboardItem. +FAIL new ClipboardItem({ }) instanceof ClipboardItem should be true. Threw exception ReferenceError: Can't find variable: ClipboardItem +FAIL Object.getPrototypeOf(new ClipboardItem({ })) === ClipboardItem.prototype should be true. Threw exception ReferenceError: Can't find variable: ClipboardItem +FAIL new ClipboardItem({ }).types instanceof Array should be true. Threw exception ReferenceError: Can't find variable: ClipboardItem +FAIL ClipboardItem.toString() should be function ClipboardItem() { + [native code] +}. Threw exception ReferenceError: Can't find variable: ClipboardItem +FAIL new ClipboardItem({ }).toString() should be [object ClipboardItem]. Threw exception ReferenceError: Can't find variable: ClipboardItem +FAIL new ClipboardItem({ }, { foo: 'attachment' }).presentationStyle should be unspecified. Threw exception ReferenceError: Can't find variable: ClipboardItem +PASS new ClipboardItem({ }, { presentationStyle: 'AttaCHmenT' }).presentationStyle threw exception ReferenceError: Can't find variable: ClipboardItem. +FAIL new ClipboardItem({ }, { presentationStyle: 'unspecified' }).presentationStyle should be unspecified. Threw exception ReferenceError: Can't find variable: ClipboardItem +FAIL new ClipboardItem({ }, { presentationStyle: 'attachment' }).presentationStyle should be attachment. Threw exception ReferenceError: Can't find variable: ClipboardItem +FAIL new ClipboardItem({ }, { presentationStyle: 'inline' }).presentationStyle should be inline. Threw exception ReferenceError: Can't find variable: ClipboardItem +PASS new ClipboardItem({ }, 'inline') threw exception ReferenceError: Can't find variable: ClipboardItem. PASS successfullyParsed is true +Some tests failed. TEST COMPLETE
Attachments
Patch
(18.31 KB, patch)
2019-10-14 20:42 PDT
,
Wenson Hsieh
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2019-10-14 14:00:04 PDT
<
rdar://problem/56262298
>
Truitt Savell
Comment 2
2019-10-14 14:21:35 PDT
Marked this test as failing as part of:
https://trac.webkit.org/changeset/251098/webkit
Wenson Hsieh
Comment 3
2019-10-14 18:58:21 PDT
We probably just need to adjust the experimental feature for async Clipboard API to work in DRT in Windows.
Wenson Hsieh
Comment 4
2019-10-14 19:01:49 PDT
***
Bug 202950
has been marked as a duplicate of this bug. ***
Wenson Hsieh
Comment 5
2019-10-14 20:42:16 PDT
Created
attachment 380954
[details]
Patch
WebKit Commit Bot
Comment 6
2019-10-15 11:38:08 PDT
Comment on
attachment 380954
[details]
Patch Clearing flags on attachment: 380954 Committed
r251149
: <
https://trac.webkit.org/changeset/251149
>
WebKit Commit Bot
Comment 7
2019-10-15 11:38:09 PDT
All reviewed patches have been landed. Closing bug.
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