RESOLVED FIXED164251
Remove runtime flag for variation fonts
https://bugs.webkit.org/show_bug.cgi?id=164251
Summary Remove runtime flag for variation fonts
Myles C. Maxfield
Reported 2016-10-31 16:00:04 PDT
Remove runtime flag for variation fonts
Attachments
Patch (28.67 KB, patch)
2016-10-31 16:03 PDT, Myles C. Maxfield
dino: review+
Patch for committing (29.03 KB, patch)
2016-12-20 10:47 PST, Myles C. Maxfield
no flags
Patch for committing (28.48 KB, patch)
2017-01-04 14:09 PST, Myles C. Maxfield
no flags
Myles C. Maxfield
Comment 1 2016-10-31 16:03:45 PDT
Myles C. Maxfield
Comment 2 2016-10-31 16:08:54 PDT
*** Bug 164244 has been marked as a duplicate of this bug. ***
Dean Jackson
Comment 3 2016-10-31 16:35:02 PDT
Comment on attachment 293483 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=293483&action=review > Source/WebCore/ChangeLog:11 > + The mac port has already shipped Safari Technology Preview with the runtime > + flag defaulting to on, which means there are no reasons anyone would set the > + runtime flag to off when the compile-time flag is on. Because the compile-time > + flag suffices, we can remove the runtime flag. This is not true. We might want to put lots of things behind experimental flags, even though they've been shipping enabled in the STP. Previously we were waiting for nice UI before turning things off by default (because otherwise there was no way to turn them on). I think you can just leave this whole paragraph out. > Source/WebCore/ChangeLog:13 > + No new tests because there is no behavior change. You can list the tests you changed. > Source/WebCore/ChangeLog:28 > + * css/CSSComputedStyleDeclaration.cpp: > + (WebCore::ComputedStyleExtractor::propertyValue): > + * css/parser/CSSParser.cpp: > + (WebCore::CSSParserContext::CSSParserContext): > + (WebCore::operator==): > + (WebCore::CSSParser::parseValue): > + * css/parser/CSSParserMode.h: > + (WebCore::CSSParserContext::completeURL): > + (WebCore::CSSParserContextHash::hash): > + * testing/InternalSettings.cpp: > + (WebCore::InternalSettings::Backup::Backup): > + (WebCore::InternalSettings::Backup::restoreTo): > + (WebCore::InternalSettings::variationFontsEnabled): Deleted. > + (WebCore::InternalSettings::setVariationFontsEnabled): Deleted. This is missing the changes to Settings.in etc. Also, a WebCore::Setting is not the same as the Experimental Feature exposed from WebKit2. You could have kept the WebCore::Setting, but I assume there is no reason to.
Myles C. Maxfield
Comment 4 2016-11-02 19:52:38 PDT
Reopening.
Myles C. Maxfield
Comment 5 2016-12-20 10:47:02 PST
Created attachment 297534 [details] Patch for committing
Said Abou-Hallawa
Comment 6 2017-01-04 13:46:38 PST
I think the EWS failures are due to https://bugs.webkit.org/show_bug.cgi?id=165220.
Myles C. Maxfield
Comment 7 2017-01-04 14:09:22 PST
Created attachment 298043 [details] Patch for committing
Myles C. Maxfield
Comment 8 2017-01-04 20:36:49 PST
Darin Adler
Comment 9 2017-01-04 23:18:38 PST
Broke the iOS build: DerivedSources/WebCore/JSInternalSettingsGenerated.cpp:3846:10: error: no member named 'setVariationFontsEnabled' in 'WebCore::InternalSettingsGenerated' impl.setVariationFontsEnabled(WTFMove(variationFontsEnabled)); ~~~~ ^
Myles C. Maxfield
Comment 10 2017-01-05 11:19:54 PST
(In reply to comment #9) > Broke the iOS build: > > DerivedSources/WebCore/JSInternalSettingsGenerated.cpp:3846:10: error: no > member named 'setVariationFontsEnabled' in > 'WebCore::InternalSettingsGenerated' > impl.setVariationFontsEnabled(WTFMove(variationFontsEnabled)); > ~~~~ ^ This is a generated file which didn't get re-generated. In the future, what should I do to avoid this? Trigger a full rebuild on the bots? Touch platform.h?
Darin Adler
Comment 11 2017-01-05 20:26:52 PST
(In reply to comment #10) > (In reply to comment #9) > > Broke the iOS build: > > > > DerivedSources/WebCore/JSInternalSettingsGenerated.cpp:3846:10: error: no > > member named 'setVariationFontsEnabled' in > > 'WebCore::InternalSettingsGenerated' > > impl.setVariationFontsEnabled(WTFMove(variationFontsEnabled)); > > ~~~~ ^ > > This is a generated file which didn't get re-generated. > > In the future, what should I do to avoid this? Trigger a full rebuild on the > bots? Touch platform.h? We should determine why it did not get regenerated, perhaps by reproducing the problem, and fix the problem. I assume it’s some kind of bug in the makefile.
Myles C. Maxfield
Comment 12 2017-01-07 13:21:53 PST
(In reply to comment #11) > (In reply to comment #10) > > (In reply to comment #9) > > > Broke the iOS build: > > > > > > DerivedSources/WebCore/JSInternalSettingsGenerated.cpp:3846:10: error: no > > > member named 'setVariationFontsEnabled' in > > > 'WebCore::InternalSettingsGenerated' > > > impl.setVariationFontsEnabled(WTFMove(variationFontsEnabled)); > > > ~~~~ ^ > > > > This is a generated file which didn't get re-generated. > > > > In the future, what should I do to avoid this? Trigger a full rebuild on the > > bots? Touch platform.h? > > We should determine why it did not get regenerated, perhaps by reproducing > the problem, and fix the problem. I assume it’s some kind of bug in the > makefile. Yes, you're totally right. For some reason I was under the impression that our build regeneration logic was beyond repair, but of course, that isn't true. I'll look into this.
Darin Adler
Comment 13 2017-01-07 15:36:45 PST
(In reply to comment #12) > For some reason I was under the impression that > our build regeneration logic was beyond repair, but of course, that isn't > true. I'll look into this. For what it’s worth, the last couple of times I ran into a problem like this, I was able to fix a problem in the makefile and the problems weren’t too complex. Two techniques I used were to first come up with a reproducible technique so I could try things over and over again and to make a local temporary change to the project file so that make is invoked with the -d option, making clear what decisions it is making about what to build.
Myles C. Maxfield
Comment 14 2017-01-07 19:47:59 PST
(In reply to comment #13) > (In reply to comment #12) > > For some reason I was under the impression that > > our build regeneration logic was beyond repair, but of course, that isn't > > true. I'll look into this. > > For what it’s worth, the last couple of times I ran into a problem like > this, I was able to fix a problem in the makefile and the problems weren’t > too complex. Two techniques I used were to first come up with a reproducible > technique so I could try things over and over again and to make a local > temporary change to the project file so that make is invoked with the -d > option, making clear what decisions it is making about what to build. This is related to the .INTERMEDIATE rules introduced in r178955, which I don't fully understand. I found the regression point and filed https://bugs.webkit.org/show_bug.cgi?id=166814
Note You need to log in before you can comment on or make changes to this bug.