WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 148615
Bug 148638
http/tests/w3c/dom/nodes/ParentNode-querySelector-All-xhtml.xhtml is flaky
https://bugs.webkit.org/show_bug.cgi?id=148638
Summary
http/tests/w3c/dom/nodes/ParentNode-querySelector-All-xhtml.xhtml is flaky
Chris Dumez
Reported
2015-08-31 10:42:27 PDT
http/tests/w3c/dom/nodes/ParentNode-querySelector-All-xhtml.xhtml is flaky: --- /Volumes/Data/EWS/WebKit/WebKitBuild/Release/layout-test-results/http/tests/w3c/dom/nodes/ParentNode-querySelector-All-xhtml-expected.txt +++ /Volumes/Data/EWS/WebKit/WebKitBuild/Release/layout-test-results/http/tests/w3c/dom/nodes/ParentNode-querySelector-All-xhtml-actual.txt @@ -553,8 +553,8 @@ PASS Document.querySelector: :link and :visited pseudo-class selectors, matching a and area elements with href attributes: #pseudo-link :link, #pseudo-link :visited PASS Document.querySelectorAll: :link and :visited pseudo-class selectors, matching link elements with href attributes: #head :link, #head :visited PASS Document.querySelector: :link and :visited pseudo-class selectors, matching link elements with href attributes: #head :link, #head :visited -FAIL Document.querySelectorAll: :target pseudo-class selector, matching the element referenced by the URL fragment identifier: :target assert_equals: The method should return the expected number of matches. expected 1 but got 0 -FAIL Document.querySelector: :target pseudo-class selector, matching the element referenced by the URL fragment identifier: :target assert_not_equals: The method should return a match. got disallowed value null +PASS Document.querySelectorAll: :target pseudo-class selector, matching the element referenced by the URL fragment identifier: :target +PASS Document.querySelector: :target pseudo-class selector, matching the element referenced by the URL fragment identifier: :target PASS Document.querySelectorAll: :lang pseudo-class selector, matching inherited language: #pseudo-lang-div1:lang(en) PASS Document.querySelector: :lang pseudo-class selector, matching inherited language: #pseudo-lang-div1:lang(en) PASS Document.querySelectorAll: :lang pseudo-class selector, matching specified language with exact value: #pseudo-lang-div2:lang(fr) @@ -1803,8 +1803,8 @@ PASS In-document Element.querySelector: :link and :visited pseudo-class selectors, not matching link elements with href attributes: #head :link, #head :visited PASS In-document Element.querySelectorAll: :link and :visited pseudo-class selectors, chained, mutually exclusive pseudo-classes match nothing: :link:visited PASS In-document Element.querySelector: :link and :visited pseudo-class selectors, chained, mutually exclusive pseudo-classes match nothing: :link:visited -FAIL In-document Element.querySelectorAll: :target pseudo-class selector, matching the element referenced by the URL fragment identifier: :target assert_equals: The method should return the expected number of matches. expected 1 but got 0 -FAIL In-document Element.querySelector: :target pseudo-class selector, matching the element referenced by the URL fragment identifier: :target assert_not_equals: The method should return a match. got disallowed value null +PASS In-document Element.querySelectorAll: :target pseudo-class selector, matching the element referenced by the URL fragment identifier: :target +PASS In-document Element.querySelector: :target pseudo-class selector, matching the element referenced by the URL fragment identifier: :target PASS In-document Element.querySelectorAll: :lang pseudo-class selector, matching inherited language: #pseudo-lang-div1:lang(en) PASS In-document Element.querySelector: :lang pseudo-class selector, matching inherited language: #pseudo-lang-div1:lang(en) PASS In-document Element.querySelectorAll: :lang pseudo-class selector, matching specified language with exact value: #pseudo-lang-div2:lang(fr)
Attachments
Add attachment
proposed patch, testcase, etc.
Chris Dumez
Comment 1
2015-08-31 10:44:04 PDT
Marked as flaky in <
http://trac.webkit.org/changeset/189173
>.
Chris Dumez
Comment 2
2015-08-31 10:45:26 PDT
Could be the same bug as
https://bugs.webkit.org/show_bug.cgi?id=148615
.
Chris Dumez
Comment 3
2015-08-31 13:04:26 PDT
I am suspecting this is because we are updating Document::cssTarget() asynchronously after layout. Therefore, the selector can return a wrong result if queried because the layout is done.
Chris Dumez
Comment 4
2015-08-31 13:53:35 PDT
*** This bug has been marked as a duplicate of
bug 148615
***
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