WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
162331
Import html/syntax web platform tests
https://bugs.webkit.org/show_bug.cgi?id=162331
Summary
Import html/syntax web platform tests
Chris Dumez
Reported
2016-09-20 20:48:11 PDT
Import html/syntax web platform tests.
Attachments
Patch
(1.37 MB, patch)
2016-09-20 20:56 PDT
,
Chris Dumez
no flags
Details
Formatted Diff
Diff
Archive of layout-test-results from ews125 for ios-simulator-elcapitan-wk2
(9.60 MB, application/zip)
2016-09-20 22:10 PDT
,
Build Bot
no flags
Details
Patch
(1.35 MB, patch)
2016-09-20 22:17 PDT
,
Chris Dumez
no flags
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Chris Dumez
Comment 1
2016-09-20 20:56:01 PDT
Created
attachment 289426
[details]
Patch
Build Bot
Comment 2
2016-09-20 22:10:45 PDT
Comment on
attachment 289426
[details]
Patch
Attachment 289426
[details]
did not pass ios-sim-ews (ios-simulator-wk2): Output:
http://webkit-queues.webkit.org/results/2116369
New failing tests: imported/w3c/web-platform-tests/html/syntax/parsing/foreign_content_009.html imported/w3c/web-platform-tests/html/syntax/parsing/foreign_content_003.html imported/w3c/web-platform-tests/html/syntax/parsing/foreign_content_004.html imported/w3c/web-platform-tests/html/syntax/parsing/foreign_content_005.html imported/w3c/web-platform-tests/html/syntax/parsing/foreign_content_001.html imported/w3c/web-platform-tests/html/syntax/parsing/foreign_content_013.html imported/w3c/web-platform-tests/html/syntax/parsing/foreign_content_010.html imported/w3c/web-platform-tests/html/syntax/parsing/foreign_content_008.html imported/w3c/web-platform-tests/html/syntax/parsing/foreign_content_006.html imported/w3c/web-platform-tests/html/syntax/parsing-html-fragments/the-input-byte-stream-004.html imported/w3c/web-platform-tests/html/syntax/parsing-html-fragments/the-input-byte-stream-003.html imported/w3c/web-platform-tests/html/syntax/parsing/foreign_content_011.html
Build Bot
Comment 3
2016-09-20 22:10:49 PDT
Created
attachment 289431
[details]
Archive of layout-test-results from ews125 for ios-simulator-elcapitan-wk2 The attached test failures were seen while running run-webkit-tests on the ios-sim-ews. Bot: ews125 Port: ios-simulator-elcapitan-wk2 Platform: Mac OS X 10.11.6
Chris Dumez
Comment 4
2016-09-20 22:17:58 PDT
Created
attachment 289432
[details]
Patch
youenn fablet
Comment 5
2016-09-20 23:48:32 PDT
Comment on
attachment 289432
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=289432&action=review
> LayoutTests/imported/w3c/web-platform-tests/html/syntax/parsing-html-fragments/the-input-byte-stream-003-expected.txt:5 > + RenderView at (0,0) size 800x600
I guess these two tests will get fixed at some point.
WebKit Commit Bot
Comment 6
2016-09-21 00:17:06 PDT
Comment on
attachment 289432
[details]
Patch Clearing flags on attachment: 289432 Committed
r206201
: <
http://trac.webkit.org/changeset/206201
>
WebKit Commit Bot
Comment 7
2016-09-21 00:17:11 PDT
All reviewed patches have been landed. Closing bug.
Chris Dumez
Comment 8
2016-09-21 07:36:55 PDT
(In reply to
comment #5
)
> Comment on
attachment 289432
[details]
> Patch > > View in context: >
https://bugs.webkit.org/attachment.cgi?id=289432&action=review
> > > LayoutTests/imported/w3c/web-platform-tests/html/syntax/parsing-html-fragments/the-input-byte-stream-003-expected.txt:5 > > + RenderView at (0,0) size 800x600 > > I guess these two tests will get fixed at some point.
I am not sure the issue is with the test itself. The test looks alright but it is in UTF16 without BOM. It could be that we are not decoding properly.
youenn fablet
Comment 9
2016-09-21 09:50:43 PDT
Comment on
attachment 289432
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=289432&action=review
> LayoutTests/imported/w3c/resources/resource-files.json:26 > + "syntax/parsing/foreign_content_013.html",
There seems to be a bug here, it should be something like: "web-platform-tests/syntax/parsing-html-fragments/the-input-byte-stream-003.html" "web-platform-tests/html/syntax/parsing/foreign_content_001.html" ... That would ensure these tests are actually skipped since they are classified as resource files. The patch does not contain any of the syntax/parsing/foreign_content*.html though. Did you run the import script? If so, how did you run it? The import script would also make skipping syntax/parsing-html-fragments/the-input-byte-stream-003.html probably because the python html parser is not able to parse it correctly. We should use the WPT manifest and not the python html parser
Chris Dumez
Comment 10
2016-09-21 09:54:32 PDT
(In reply to
comment #9
)
> Comment on
attachment 289432
[details]
> Patch > > View in context: >
https://bugs.webkit.org/attachment.cgi?id=289432&action=review
> > > LayoutTests/imported/w3c/resources/resource-files.json:26 > > + "syntax/parsing/foreign_content_013.html", > > There seems to be a bug here, it should be something like: > "web-platform-tests/syntax/parsing-html-fragments/the-input-byte-stream-003. > html" > "web-platform-tests/html/syntax/parsing/foreign_content_001.html" > ... > > That would ensure these tests are actually skipped since they are classified > as resource files. > The patch does not contain any of the syntax/parsing/foreign_content*.html > though. > > Did you run the import script? If so, how did you run it? > > The import script would also make skipping > syntax/parsing-html-fragments/the-input-byte-stream-003.html probably > because the python html parser is not able to parse it correctly. > We should use the WPT manifest and not the python html parser
1. I imported them like so: Tools/Scripts/import-w3c-tests -l /Volumes/Data/web-platform-tests-fork/html/ -t syntax/ -d imported/w3c/web-platform-tests/html/ 2. I removed web-platform-tests/html/syntax/parsing/foreign_content* from my patch because they did not have expected result and it caused the iOS EWS to fail. I tried to generated expected results for them on Mac but it would not.
youenn fablet
Comment 11
2016-09-21 10:16:54 PDT
> 1. I imported them like so: > Tools/Scripts/import-w3c-tests -l > /Volumes/Data/web-platform-tests-fork/html/ -t syntax/ -d > imported/w3c/web-platform-tests/html/
I see. The generation of resource files probably does not work with this set of arguments. With your setup, something like the following should work: Tools/Scripts/import-w3c-tests -l /Volumes/Data -t web-platform-tests/html/syntax But that would require renaming your /Volumes/Data/web-platform-tests-fork folder in /Volumes/Data/web-platform-tests. Or moving it to /Volumes/Data/w3c/web-platform-tests and using Tools/Scripts/import-w3c-tests -l /Volumes/Data/w3c -t web-platform-tests/html/syntax My way of importing is the following: 1. Edit LayoutTests/imported/w3c/ImportExpectations to unskip all of web-platform-tests/html/syntax 2. Run Tools/Scripts/import-w3c-tests -t web-platform-tests/html/syntax On the first time you do not provide a -l option, the script will checkout the wpt and csswg repositories in WebKitBuild folder, so it takes some time.
> 2. I removed web-platform-tests/html/syntax/parsing/foreign_content* from my > patch because they did not have expected result and it caused the iOS EWS to > fail. I tried to generated expected results for them on Mac but it would not.
Looking at these tests, they are not testharness.js based and not reference tests. That is why the test importer classifies them as resource files. But with the resource-files.json issue, they were still run.
Brent Fulgham
Comment 12
2016-09-22 10:17:56 PDT
This change has substantially regressed Windows test bot run time, moving us from 25 minutes per test run to over an hour. I've filed
Bug 162415
about this problem. Should we roll this change out?
Chris Dumez
Comment 13
2016-09-22 10:25:36 PDT
(In reply to
comment #12
)
> This change has substantially regressed Windows test bot run time, moving us > from 25 minutes per test run to over an hour. > > I've filed
Bug 162415
about this problem. >
Those tests run under 1 minute on my Mac machines and they bring important test coverage for what I am currently working on. If some of the tests are slow, I think they should be skipped on Windows and bugs should be filed. I don't think rolling out would be appropriate here as this is not a code change that caused a regression. Chances are that Windows is missing some features and a lot of tests are timing out because of it.
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