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
<rdar://problem/56262298>
Marked this test as failing as part of: https://trac.webkit.org/changeset/251098/webkit
We probably just need to adjust the experimental feature for async Clipboard API to work in DRT in Windows.
*** Bug 202950 has been marked as a duplicate of this bug. ***
Created attachment 380954 [details] Patch
Comment on attachment 380954 [details] Patch Clearing flags on attachment: 380954 Committed r251149: <https://trac.webkit.org/changeset/251149>
All reviewed patches have been landed. Closing bug.