Bug 89473 - [Qt][WK2] editing/pasteboard/copy-in-password-field.html fails
Summary: [Qt][WK2] editing/pasteboard/copy-in-password-field.html fails
Status: RESOLVED WORKSFORME
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: Qt, QtTriaged
Depends on:
Blocks:
 
Reported: 2012-06-19 08:15 PDT by Csaba Osztrogonác
Modified: 2013-05-30 05:03 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Csaba Osztrogonác 2012-06-19 08:15:30 PDT
editing/pasteboard/copy-in-password-field.html fails on Qt-WK2 bots.
(It passed when xvfbdriver was enabled.)

--- /home/webkitbuildbot/slaves/release64bitWebKit2_EC2/buildslave/qt-linux-64-release-webkit2/build/layout-test-results/editing/pasteboard/copy-in-password-field-expected.txt
+++ /home/webkitbuildbot/slaves/release64bitWebKit2_EC2/buildslave/qt-linux-64-release-webkit2/build/layout-test-results/editing/pasteboard/copy-in-password-field-actual.txt
@@ -3,9 +3,9 @@
 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: shouldInsertText:[not modified] replacingDOMRange:range from 0 of #text > DIV > #shadow-root to 14 of #text > DIV > #shadow-root givenAction:WebViewInsertActionPasted
+EDITING DELEGATE: shouldInsertText: replacingDOMRange:range from 0 of #text > DIV > #shadow-root to 14 of #text > DIV > #shadow-root givenAction:WebViewInsertActionPasted
 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of DIV > #shadow-root to 0 of DIV > #shadow-root toDOMRange:range from 14 of #text > DIV > #shadow-root to 14 of #text > DIV > #shadow-root affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
+EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of DIV > #shadow-root to 0 of DIV > #shadow-root toDOMRange:range from 0 of DIV > #shadow-root to 0 of DIV > #shadow-root affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
 This test verifies that copying is disabled for password fields by attempting to copy from a password field and paste into a textfield. If the test passes, you'll see a of 'PASS' message below, and the textfield will remain unmodified.
@@ -13,5 +13,5 @@
 (The test is only meaningful in debug builds, since paste is disabled in release builds.)
 
   
-PASS document.getElementById("text").value is "[not modified]"
+FAIL document.getElementById("text").value should be [not modified]. Was .
 

I tried to reproduce it locally, but I can't when I run only this test or all editing or all editing/pasteboard tests.
Comment 1 Csaba Osztrogonác 2012-06-19 08:42:13 PDT
I skipped it to try to paint the bots green - http://trac.webkit.org/changeset/120715
Comment 2 Csaba Osztrogonác 2012-06-19 08:55:29 PDT
Great ... after skipping editing/pasteboard/copy-element-with-conflicting-background-color-from-rule.html	started to fail ... 

It is before editing/pasteboard/copy-in-password-field.html ... 
but it was "only" flakey (IMAGE PASS) previously. But after skipping
editing/pasteboard/copy-element-with-conflicting-background-color-from-rule.html
it started to fail constantly. Let's skip it too, because less tests means less problem. :)
Comment 3 Csaba Osztrogonác 2012-06-19 09:09:38 PDT
(In reply to comment #2)
> Great ... after skipping editing/pasteboard/copy-element-with-conflicting-background-color-from-rule.html    started to fail ... 
> 
> It is before editing/pasteboard/copy-in-password-field.html ... 
> but it was "only" flakey (IMAGE PASS) previously. But after skipping
> editing/pasteboard/copy-element-with-conflicting-background-color-from-rule.html
> it started to fail constantly. Let's skip it too, because less tests means less problem. :)

editing/pasteboard/copy-element-with-conflicting-background-color-from-rule.html  skipped in http://trac.webkit.org/changeset/120720
Comment 4 Gábor Ábrahám 2013-05-30 04:38:17 PDT
Now this test passed.
https://trac.webkit.org/changeset/150892