WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
143671
imported/w3c/canvas/2d.text.measure.width.empty.html is flaky
https://bugs.webkit.org/show_bug.cgi?id=143671
Summary
imported/w3c/canvas/2d.text.measure.width.empty.html is flaky
Alexey Proskuryakov
Reported
2015-04-13 10:21:37 PDT
We lack waitUntilDone/notifyDone for imported tests. canvas/philip/tests/2d.text.measure.width.empty.html is good, but imported/w3c/canvas/2d.text.measure.width.empty.html usually fails (and only flakily passes on slow bots).
Attachments
proposed fix
(6.18 KB, patch)
2015-04-13 10:33 PDT
,
Alexey Proskuryakov
no flags
Details
Formatted Diff
Diff
proposed fix
(7.21 KB, patch)
2015-04-13 14:25 PDT
,
Alexey Proskuryakov
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Alexey Proskuryakov
Comment 1
2015-04-13 10:33:30 PDT
Created
attachment 250653
[details]
proposed fix I don't know if it's correct to fix imported W3C tests like this, or if there is a script somewhere that would overwrite the fixes later.
youenn fablet
Comment 2
2015-04-13 10:55:47 PDT
(In reply to
comment #1
)
> Created
attachment 250653
[details]
> proposed fix > > I don't know if it's correct to fix imported W3C tests like this, or if > there is a script somewhere that would overwrite the fixes later.
I encountered in the past some WPT tests that were missing testharness.js and testharnessreport.js includes. That may be a nicer way to handling such issues. How is the latest WPT version? In general, I would not recommend to modify scripts with webkit specific directives.
Alexey Proskuryakov
Comment 3
2015-04-13 11:04:52 PDT
> In general, I would not recommend to modify scripts with webkit specific directives.
Do you have a suggestion for how to fix this issue in a better way?
youenn fablet
Comment 4
2015-04-13 11:52:54 PDT
(In reply to
comment #3
)
> > In general, I would not recommend to modify scripts with webkit specific directives. > > Do you have a suggestion for how to fix this issue in a better way?
If am not mistaken, the corresponding test is
https://github.com/w3c/web-platform-tests/blob/master/2dcontext/drawing-text-to-the-canvas/2d.text.measure.width.empty.html
It now includes testharness.js/testharnessreport.js scripts. Reimporting that test should solve the issue. If it were me, I would reimport it into LayoutTests/imported/w3c/web-platform-tests/2dcontext
Alexey Proskuryakov
Comment 5
2015-04-13 14:25:55 PDT
Created
attachment 250675
[details]
proposed fix OK, updated the test from trunk. I don't know how to import, so I just copy/pasted it and updated the relative links. Note that we already have some local edits related to testRunner in canvas-tests though, we should probably undo that at some point in the future.
WebKit Commit Bot
Comment 6
2015-04-13 17:08:35 PDT
Comment on
attachment 250675
[details]
proposed fix Clearing flags on attachment: 250675 Committed
r182769
: <
http://trac.webkit.org/changeset/182769
>
WebKit Commit Bot
Comment 7
2015-04-13 17:08:39 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