WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
122408
Generate toCSSFooValue() for CSSCursorImageValue, CSSCubicBezierTimingFunctionValue, CSSStepsTimingFunctionValue and CSSUnicodeRangeValue
https://bugs.webkit.org/show_bug.cgi?id=122408
Summary
Generate toCSSFooValue() for CSSCursorImageValue, CSSCubicBezierTimingFunctio...
Gyuyoung Kim
Reported
2013-10-06 04:23:33 PDT
As a step to use toCSSFooValue, this patch generates toCSSFooValue() for CSSCursorImageValue, CSSCubicBezierTimingFunctionValue, CSSStepsTimingFunctionValue and CSSUnicodeRangeValue. This will help to detect bad type cast.
Attachments
Patch
(8.84 KB, patch)
2013-10-06 04:25 PDT
,
Gyuyoung Kim
no flags
Details
Formatted Diff
Diff
Patch
(9.42 KB, patch)
2013-10-06 17:33 PDT
,
Gyuyoung Kim
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Gyuyoung Kim
Comment 1
2013-10-06 04:25:03 PDT
Created
attachment 213507
[details]
Patch
Gyuyoung Kim
Comment 2
2013-10-06 05:08:23 PDT
CC'ing Darin.
WebKit Commit Bot
Comment 3
2013-10-06 10:02:09 PDT
Comment on
attachment 213507
[details]
Patch Clearing flags on attachment: 213507 Committed
r156988
: <
http://trac.webkit.org/changeset/156988
>
WebKit Commit Bot
Comment 4
2013-10-06 10:02:14 PDT
All reviewed patches have been landed. Closing bug.
WebKit Commit Bot
Comment 5
2013-10-06 10:40:59 PDT
Re-opened since this is blocked by
bug 122415
Alexey Proskuryakov
Comment 6
2013-10-06 10:43:45 PDT
This broke debug build, rolled out in
r156993
.
http://build.webkit.org/builders/Apple%20MountainLion%20Debug%20%28Build%29/builds/17023/steps/compile-webkit/logs/stdio
Darin Adler
Comment 7
2013-10-06 10:44:45 PDT
Darn, too bad it was rolled out since I was about to fix it.
Gyuyoung Kim
Comment 8
2013-10-06 17:33:04 PDT
Created
attachment 213544
[details]
Patch
Gyuyoung Kim
Comment 9
2013-10-06 17:34:59 PDT
(In reply to
comment #7
)
> Darn, too bad it was rolled out since I was about to fix it.
Darin, that is really my fault. Patch is fixed on debug build. Sorry for annoying you again.
Gyuyoung Kim
Comment 10
2013-10-06 23:14:05 PDT
Comment on
attachment 213544
[details]
Patch Kling, thank you for your review. I will check debug buildbot after landing this patch.
WebKit Commit Bot
Comment 11
2013-10-06 23:38:16 PDT
Comment on
attachment 213544
[details]
Patch Clearing flags on attachment: 213544 Committed
r157024
: <
http://trac.webkit.org/changeset/157024
>
WebKit Commit Bot
Comment 12
2013-10-06 23:38:19 PDT
All reviewed patches have been landed. Closing bug.
Alexey Proskuryakov
Comment 13
2013-10-07 09:50:18 PDT
> Darn, too bad it was rolled out since I was about to fix it.
Did re-landing this patch with added fix present a substantial difficulty? I'd like to know what are the cases where immediate rollout is not the best thing to do for anyone who notices breakage.
Darin Adler
Comment 14
2013-10-07 10:25:30 PDT
(In reply to
comment #13
)
> Did re-landing this patch with added fix present a substantial difficulty?
My personal preference, since this had a (to me) obvious one-line fix, would be to roll it back in.
> I'd like to know what are the cases where immediate rollout is not the best thing to do for anyone who notices breakage.
I can’t really answer that question for the project. I personally find all roll-outs and roll-back-ins quite confusing in project history. I especially dislike change log entries that identify a roll-out only by revision number, and the duplicate nearly-identical change logs we have when we roll back in. We did the WebKit project for many years with very few roll-outs, but it’s possible that the quick roll-outs solve some problems that we had in those days. These past roll-outs and roll-back-ins often get in my way when understanding the code in the project and looking at file and function history. I personally would almost never think an immediate roll-out is the right thing to do; I’d briefly look for an obvious fix before rolling *anything* out. But my tastes are not project policy.
Darin Adler
Comment 15
2013-10-07 10:26:56 PDT
(In reply to
comment #14
)
> (In reply to
comment #13
) > > Did re-landing this patch with added fix present a substantial difficulty? > > My personal preference, since this had a (to me) obvious one-line fix, would be to roll it back in.
I meant to say, “would be to fix the problem instead of rolling out”.
Alexey Proskuryakov
Comment 16
2013-10-07 11:40:20 PDT
> I meant to say, “would be to fix the problem instead of rolling out”.
I looked at the build failure, and it wasn't an obvious fix to me. When saying "immediate", I intentionally omitted the step of briefly looking into fixing the failure. I don't want a person doing the rollout to ever be blamed for insufficient technical ability to resolve an issue. It should be a good thing for anyone to look at the bots, and to fix them when noticing badness. There should be some standards to follow, like making a minimal attempt to contact the author and possibly current bot watchers, and of course providing good information about what was broken for future investigation. That last part is something we used to have trouble with when rollout bot was first implemented, and I think that it's become much better now. I don't think that judging the job on whether the person had a fresh checkout, was able to spot the mistake, or even had sufficient time and energy for that will be best in practice.
> I personally find all roll-outs and roll-back-ins quite confusing in project history. I especially dislike change log entries that identify a roll-out only by revision number, and the duplicate nearly-identical change logs we have when we roll back in.
This sounds like something that can be improved. I now remember being hugely annoyed by such commit message and ChangeLog noise when I was reading all commit messages. Perhaps this would work: - Provide reverted change title in webkitbot-generated rollout ChangeLog. - Don't add changed function and file lists to these ChangeLogs.
> We did the WebKit project for many years with very few roll-outs, but it’s possible that the quick roll-outs solve some problems that we had in those days.
It used to be that people more commonly ran regression tests locally, and running Mac Debug tests was practically sufficient to avoid negatively affecting everyone else's productivity. Tests are still in a pretty bad shape to expect people to run them locally. I'm going to solve this by gradually cutting down on the number of unreliable tests, and by decreasing the likelyhood of making a checkout at a wrong time. Very quick resolution of build and test failures is necessary for people to be confident about their checkout as a clean baseline. If fixing a regression takes 15 minutes, it's still 2-3 times worse than a rollout. The issue with more modes that we have now (WK1 vs. WK2, and multiple platforms) is meant to be solved by EWS. It obviously doesn't help with debug builds now, and doesn't run the whole test suite that test bots run. But worst of all, it's slow, which makes people ignore it sometimes. UI could be improved, too. I think that making EWS faster and better will decrease the need for rollouts, and once we have the system in a decent shape, we should add debug EWS bots too. Reliably good state of the tree helps EWS do its work quickly (we may be able improve EWS to be more tolerant of bad tree state, but we are certainly not there yet).
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