<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[215151] trunk</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://trac.webkit.org/projects/webkit/changeset/215151">215151</a></dd>
<dt>Author</dt> <dd>simon.fraser@apple.com</dd>
<dt>Date</dt> <dd>2017-04-08 16:03:16 -0700 (Sat, 08 Apr 2017)</dd>
</dl>

<h3>Log Message</h3>
<pre>Update CSSProperties.json with correct fill-and-stroke status, and other cleanup
https://bugs.webkit.org/show_bug.cgi?id=170643

Reviewed by Chris Dumez.
Source/WebCore:

Structural changes:
    - move implementation-related &quot;comment&quot; blocks into &quot;codegen-properties&quot;
    - move status-related &quot;comment&quot; blocks into &quot;status&quot;

Add the concept of &quot;obsolete-category&quot; and &quot;obsolete-url&quot; for properties
like the text-fill-and-stroke properties that used to be specified in SVG but
now have their own module shared with CSS.

Update the status of paint-order, stroke-linecap, stroke-linejoin, stroke-miterlimit
and stroke-width to &quot;supported&quot;, overriding the default for css-text-fill-and-stroke which
is &quot;under consideration&quot;.

Add display values &quot;flow&quot; and &quot;flow-root&quot; but mark them as unimplemented.

Fix makeprop.pl to ignore comments inside codegen-properties.

* css/CSSProperties.json:
* css/makeprop.pl:
(addProperty):

Tools:

Update the CSSProperties.json style checker to allow:
    - comments in codegen_properties
    - obsolete-category and obsolete-url in specification blocks
    - renamed &quot;done&quot; to &quot;supported&quot;

Fix some references to codegen_properties to be codegen-properties.

* Scripts/webkitpy/style/checkers/jsonchecker.py:
(JSONCSSPropertiesChecker.validate_status_type):
(JSONCSSPropertiesChecker.validate_property_specification):
(JSONCSSPropertiesChecker.check_codegen_properties):</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkSourceWebCoreChangeLog">trunk/Source/WebCore/ChangeLog</a></li>
<li><a href="#trunkSourceWebCorecssCSSPropertiesjson">trunk/Source/WebCore/css/CSSProperties.json</a></li>
<li><a href="#trunkSourceWebCorecssmakeproppl">trunk/Source/WebCore/css/makeprop.pl</a></li>
<li><a href="#trunkToolsChangeLog">trunk/Tools/ChangeLog</a></li>
<li><a href="#trunkToolsScriptswebkitpystylecheckersjsoncheckerpy">trunk/Tools/Scripts/webkitpy/style/checkers/jsonchecker.py</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (215150 => 215151)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog        2017-04-08 22:44:39 UTC (rev 215150)
+++ trunk/Source/WebCore/ChangeLog        2017-04-08 23:03:16 UTC (rev 215151)
</span><span class="lines">@@ -1,3 +1,30 @@
</span><ins>+2017-04-08  Simon Fraser  &lt;simon.fraser@apple.com&gt;
+
+        Update CSSProperties.json with correct fill-and-stroke status, and other cleanup
+        https://bugs.webkit.org/show_bug.cgi?id=170643
+
+        Reviewed by Chris Dumez.
+
+        Structural changes:
+            - move implementation-related &quot;comment&quot; blocks into &quot;codegen-properties&quot;
+            - move status-related &quot;comment&quot; blocks into &quot;status&quot;
+        
+        Add the concept of &quot;obsolete-category&quot; and &quot;obsolete-url&quot; for properties
+        like the text-fill-and-stroke properties that used to be specified in SVG but
+        now have their own module shared with CSS.
+        
+        Update the status of paint-order, stroke-linecap, stroke-linejoin, stroke-miterlimit
+        and stroke-width to &quot;supported&quot;, overriding the default for css-text-fill-and-stroke which
+        is &quot;under consideration&quot;.
+        
+        Add display values &quot;flow&quot; and &quot;flow-root&quot; but mark them as unimplemented.
+        
+        Fix makeprop.pl to ignore comments inside codegen-properties.
+
+        * css/CSSProperties.json:
+        * css/makeprop.pl:
+        (addProperty):
+
</ins><span class="cx"> 2017-04-08  Eric Carlson  &lt;eric.carlson@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         [MediaStream iOS] Update muted state when interrupted
</span></span></pre></div>
<a id="trunkSourceWebCorecssCSSPropertiesjson"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/css/CSSProperties.json (215150 => 215151)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/css/CSSProperties.json        2017-04-08 22:44:39 UTC (rev 215150)
+++ trunk/Source/WebCore/css/CSSProperties.json        2017-04-08 23:03:16 UTC (rev 215151)
</span><span class="lines">@@ -177,10 +177,12 @@
</span><span class="cx">                 &quot;no-default-color&quot;: true,
</span><span class="cx">                 &quot;high-priority&quot;: true
</span><span class="cx">             },
</span><ins>+            &quot;status&quot;: {
+                &quot;comment&quot;: &quot;All the values from CSS Color Level 3 are supported, as well as the 8- and 4-digit forms of hex color, and the color() function.&quot;
+            },
</ins><span class="cx">             &quot;specification&quot;: {
</span><span class="cx">                 &quot;category&quot;: &quot;css-color&quot;,
</span><del>-                &quot;url&quot;: &quot;https://www.w3.org/TR/css-color-4/#the-color-property&quot;,
-                &quot;comment&quot;: &quot;All the values from CSS Color Level 3 are supported, as well as the 8- and 4-digit forms of hex color, and the color() function.&quot;
</del><ins>+                &quot;url&quot;: &quot;https://www.w3.org/TR/css-color-4/#the-color-property&quot;
</ins><span class="cx">             }
</span><span class="cx">         },
</span><span class="cx">         &quot;direction&quot;: {
</span><span class="lines">@@ -202,6 +204,16 @@
</span><span class="cx">             &quot;values&quot;: [
</span><span class="cx">                 &quot;inline&quot;,
</span><span class="cx">                 &quot;block&quot;,
</span><ins>+                {
+                    &quot;value&quot;: &quot;flow&quot;,
+                    &quot;status&quot;: &quot;not implemented&quot;,
+                    &quot;url&quot;: &quot;https://www.w3.org/TR/css-display-3/#valdef-display-flow&quot;
+                },
+                {
+                    &quot;value&quot;: &quot;flow-root&quot;,
+                    &quot;status&quot;: &quot;not implemented&quot;,
+                    &quot;url&quot;: &quot;https://www.w3.org/TR/css-display-3/#valdef-display-flow-root&quot;
+                },
</ins><span class="cx">                 &quot;list-item&quot;,
</span><span class="cx">                 {
</span><span class="cx">                     &quot;value&quot;: &quot;compact&quot;,
</span><span class="lines">@@ -210,7 +222,7 @@
</span><span class="cx">                 &quot;inline-block&quot;,
</span><span class="cx">                 {
</span><span class="cx">                     &quot;value&quot;: &quot;run-in&quot;,
</span><del>-                    &quot;status&quot;: &quot;Removed&quot;,
</del><ins>+                    &quot;status&quot;: &quot;removed&quot;,
</ins><span class="cx">                     &quot;url&quot;: &quot;https://www.w3.org/TR/css-display-3/#valdef-display-run-in&quot;,
</span><span class="cx">                     &quot;comment&quot;: &quot;Removed in https://trac.webkit.org/r163560&quot;
</span><span class="cx">                 },
</span><span class="lines">@@ -740,8 +752,8 @@
</span><span class="cx">                     &quot;status&quot;: &quot;unimplemented&quot;
</span><span class="cx">                 }
</span><span class="cx">             ],
</span><del>-            &quot;status&quot;: {
-                &quot;comment&quot;:  &quot;This is the highest priority property and 'is resolved before all other properties, to ensure that its value can be checked when determining a smart default font size', (&lt;https://trac.webkit.org/browser/trunk/Source/WebCore/ChangeLog?rev=172861&gt;).&quot;
</del><ins>+            &quot;codegen-properties&quot;: {
+                &quot;comment&quot;: &quot;This is the highest priority property and 'is resolved before all other properties, to ensure that its value can be checked when determining a smart default font size', (&lt;https://trac.webkit.org/browser/trunk/Source/WebCore/ChangeLog?rev=172861&gt;).&quot;
</ins><span class="cx">             },
</span><span class="cx">             &quot;specification&quot;: {
</span><span class="cx">                 &quot;category&quot;: &quot;css-ruby&quot;,
</span><span class="lines">@@ -2780,9 +2792,11 @@
</span><span class="cx">             &quot;codegen-properties&quot;: {
</span><span class="cx">                 &quot;converter&quot;: &quot;PaintOrder&quot;
</span><span class="cx">             },
</span><ins>+            &quot;status&quot;: &quot;supported&quot;,
</ins><span class="cx">             &quot;specification&quot;: {
</span><del>-                &quot;category&quot;: &quot;svg&quot;,
-                &quot;url&quot;: &quot;https://www.w3.org/TR/SVG2/painting.html#PaintOrderProperty&quot;
</del><ins>+                &quot;category&quot;: &quot;css-text-fill-and-stroke&quot;,
+                &quot;obsolete-category&quot;: &quot;svg&quot;,
+                &quot;obsolete-url&quot;: &quot;https://www.w3.org/TR/SVG2/painting.html#PaintOrderProperty&quot;
</ins><span class="cx">             }
</span><span class="cx">         },
</span><span class="cx">         &quot;pointer-events&quot;: {
</span><span class="lines">@@ -2987,9 +3001,12 @@
</span><span class="cx">             &quot;codegen-properties&quot;: {
</span><span class="cx">                 &quot;name-for-methods&quot;: &quot;CapStyle&quot;
</span><span class="cx">             },
</span><ins>+            &quot;status&quot;: &quot;supported&quot;,
</ins><span class="cx">             &quot;specification&quot;: {
</span><del>-                &quot;category&quot;: &quot;svg&quot;,
-                &quot;url&quot;: &quot;https://www.w3.org/TR/SVG11/painting.html#StrokeLinecapProperty&quot;
</del><ins>+                &quot;category&quot;: &quot;css-text-fill-and-stroke&quot;,
+                &quot;url&quot;: &quot;https://drafts.fxtf.org/fill-stroke-3/#propdef-stroke-linecap&quot;,
+                &quot;obsolete-category&quot;: &quot;svg&quot;,
+                &quot;obsolete-url&quot;: &quot;https://www.w3.org/TR/SVG11/painting.html#StrokeLinecapProperty&quot;
</ins><span class="cx">             }
</span><span class="cx">         },
</span><span class="cx">         &quot;stroke-linejoin&quot;: {
</span><span class="lines">@@ -3002,9 +3019,12 @@
</span><span class="cx">             &quot;codegen-properties&quot;: {
</span><span class="cx">                 &quot;name-for-methods&quot;: &quot;JoinStyle&quot;
</span><span class="cx">             },
</span><ins>+            &quot;status&quot;: &quot;supported&quot;,
</ins><span class="cx">             &quot;specification&quot;: {
</span><del>-                &quot;category&quot;: &quot;svg&quot;,
-                &quot;url&quot;: &quot;https://www.w3.org/TR/SVG11/painting.html#StrokeMiterlimitProperty&quot;
</del><ins>+                &quot;category&quot;: &quot;css-text-fill-and-stroke&quot;,
+                &quot;url&quot;: &quot;https://drafts.fxtf.org/fill-stroke-3/#propdef-stroke-linejoin&quot;,
+                &quot;obsolete-category&quot;: &quot;svg&quot;,
+                &quot;obsolete-url&quot;: &quot;https://www.w3.org/TR/SVG11/painting.html#StrokeMiterlimitProperty&quot;
</ins><span class="cx">             }
</span><span class="cx">         },
</span><span class="cx">         &quot;stroke-miterlimit&quot;: {
</span><span class="lines">@@ -3013,9 +3033,12 @@
</span><span class="cx">                 &quot;name-for-methods&quot;: &quot;StrokeMiterLimit&quot;,
</span><span class="cx">                 &quot;converter&quot;: &quot;Number&lt;float&gt;&quot;
</span><span class="cx">             },
</span><ins>+            &quot;status&quot;: &quot;supported&quot;,
</ins><span class="cx">             &quot;specification&quot;: {
</span><del>-                &quot;category&quot;: &quot;svg&quot;,
-                &quot;url&quot;: &quot;https://www.w3.org/TR/SVG11/painting.html#StrokeMiterlimitProperty&quot;
</del><ins>+                &quot;category&quot;: &quot;css-text-fill-and-stroke&quot;,
+                &quot;url&quot;: &quot;https://drafts.fxtf.org/fill-stroke-3/#propdef-stroke-miterlimit&quot;,
+                &quot;obsolete-category&quot;: &quot;svg&quot;,
+                &quot;obsolete-url&quot;: &quot;https://www.w3.org/TR/SVG11/painting.html#StrokeMiterlimitProperty&quot;
</ins><span class="cx">             }
</span><span class="cx">         },
</span><span class="cx">         &quot;stroke-opacity&quot;: {
</span><span class="lines">@@ -3036,9 +3059,12 @@
</span><span class="cx">                 &quot;initial&quot;: &quot;initialOneLength&quot;,
</span><span class="cx">                 &quot;converter&quot;: &quot;Length&quot;
</span><span class="cx">             },
</span><ins>+            &quot;status&quot;: &quot;supported&quot;,
</ins><span class="cx">             &quot;specification&quot;: {
</span><del>-                &quot;category&quot;: &quot;svg&quot;,
-                &quot;url&quot;: &quot;https://www.w3.org/TR/SVG11/painting.html#StrokeWidthProperty&quot;
</del><ins>+                &quot;category&quot;: &quot;css-text-fill-and-stroke&quot;,
+                &quot;url&quot;: &quot;https://drafts.fxtf.org/fill-stroke-3/#propdef-stroke-width&quot;,
+                &quot;obsolete-category&quot;: &quot;svg&quot;,
+                &quot;obsolete-url&quot;: &quot;https://www.w3.org/TR/SVG11/painting.html#StrokeWidthProperty&quot;
</ins><span class="cx">             }
</span><span class="cx">         },
</span><span class="cx">         &quot;speak&quot;: {
</span><span class="lines">@@ -3606,11 +3632,13 @@
</span><span class="cx">             &quot;codegen-properties&quot;: {
</span><span class="cx">                 &quot;name-for-methods&quot;: &quot;OverflowWrap&quot;
</span><span class="cx">             },
</span><del>-            &quot;status&quot;: &quot;obsolete&quot;,
</del><ins>+            &quot;status&quot;: {
+                &quot;status&quot;: &quot;obsolete&quot;,
+                &quot;comment&quot;: &quot;Replaced by overflow-wrap&quot;
+            },
</ins><span class="cx">             &quot;specification&quot;: {
</span><span class="cx">                 &quot;category&quot;: &quot;css-text&quot;,
</span><del>-                &quot;url&quot;: &quot;https://www.w3.org/TR/css-text-3/#overflow-wrap&quot;,
-                &quot;comment&quot;: &quot;Replaced by overflow-wrap&quot;
</del><ins>+                &quot;url&quot;: &quot;https://www.w3.org/TR/css-text-3/#overflow-wrap&quot;
</ins><span class="cx">             }
</span><span class="cx">         },
</span><span class="cx">         &quot;x&quot;: {
</span><span class="lines">@@ -3783,9 +3811,7 @@
</span><span class="cx">                 &quot;fill-layer-property&quot;: true
</span><span class="cx">             },
</span><span class="cx">             &quot;status&quot;: {
</span><del>-                &quot;status&quot;: &quot;experimental&quot;
-            },
-            &quot;specification&quot;: {
</del><ins>+                &quot;status&quot;: &quot;experimental&quot;,
</ins><span class="cx">                 &quot;comment&quot;: &quot;Partially subsumed by background-blend-mode.&quot;
</span><span class="cx">             }
</span><span class="cx">         },
</span><span class="lines">@@ -4973,11 +4999,13 @@
</span><span class="cx">                 &quot;none&quot;,
</span><span class="cx">                 &quot;edges&quot;
</span><span class="cx">             ],
</span><del>-            &quot;status&quot;: &quot;obsolete&quot;,
</del><ins>+            &quot;status&quot;: {
+                &quot;status&quot;: &quot;obsolete&quot;,
+                &quot;comment&quot;: &quot;Added in https://trac.webkit.org/changeset/108133&quot;
+            },
</ins><span class="cx">             &quot;specification&quot;: {
</span><span class="cx">                 &quot;category&quot;: &quot;css-line-grid&quot;,
</span><del>-                &quot;url&quot;: &quot;https://www.w3.org/TR/css-line-grid-1/&quot;,
-                &quot;comment&quot;: &quot;Added in https://trac.webkit.org/changeset/108133&quot;
</del><ins>+                &quot;url&quot;: &quot;https://www.w3.org/TR/css-line-grid-1/&quot;
</ins><span class="cx">             }
</span><span class="cx">         },
</span><span class="cx">         &quot;line-break&quot;: {
</span><span class="lines">@@ -5961,9 +5989,7 @@
</span><span class="cx">                 &quot;preserve-3d&quot;
</span><span class="cx">             ],
</span><span class="cx">             &quot;codegen-properties&quot;: {
</span><del>-                &quot;name-for-methods&quot;: &quot;TransformStyle3D&quot;
-            },
-            &quot;status&quot;: {
</del><ins>+                &quot;name-for-methods&quot;: &quot;TransformStyle3D&quot;,
</ins><span class="cx">                 &quot;comment&quot;: &quot;Keeping -webkit-transform-style around is how we'll detect legacy content. At that point, we'll have to add a custom builder and a new ETransformStyle3D type. FIXME: this never happened.&quot;
</span><span class="cx">             }
</span><span class="cx">         },
</span></span></pre></div>
<a id="trunkSourceWebCorecssmakeproppl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/css/makeprop.pl (215150 => 215151)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/css/makeprop.pl        2017-04-08 22:44:39 UTC (rev 215150)
+++ trunk/Source/WebCore/css/makeprop.pl        2017-04-08 23:03:16 UTC (rev 215151)
</span><span class="lines">@@ -188,6 +188,8 @@
</span><span class="cx">                     next;
</span><span class="cx">                 } elsif ($codegenOptionName eq &quot;skip-codegen&quot;) {
</span><span class="cx">                     next;
</span><ins>+                } elsif ($codegenOptionName eq &quot;comment&quot;) {
+                    next;
</ins><span class="cx">                 } elsif ($codegenOptionName eq &quot;high-priority&quot;) {
</span><span class="cx">                     $nameIsHighPriority{$name} = 1;
</span><span class="cx">                 } elsif ($codegenOptionName eq &quot;aliases&quot;) {
</span></span></pre></div>
<a id="trunkToolsChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Tools/ChangeLog (215150 => 215151)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/ChangeLog        2017-04-08 22:44:39 UTC (rev 215150)
+++ trunk/Tools/ChangeLog        2017-04-08 23:03:16 UTC (rev 215151)
</span><span class="lines">@@ -1,3 +1,22 @@
</span><ins>+2017-04-08  Simon Fraser  &lt;simon.fraser@apple.com&gt;
+
+        Update CSSProperties.json with correct fill-and-stroke status, and other cleanup
+        https://bugs.webkit.org/show_bug.cgi?id=170643
+
+        Reviewed by Chris Dumez.
+        
+        Update the CSSProperties.json style checker to allow:
+            - comments in codegen_properties
+            - obsolete-category and obsolete-url in specification blocks
+            - renamed &quot;done&quot; to &quot;supported&quot;
+            
+        Fix some references to codegen_properties to be codegen-properties.
+
+        * Scripts/webkitpy/style/checkers/jsonchecker.py:
+        (JSONCSSPropertiesChecker.validate_status_type):
+        (JSONCSSPropertiesChecker.validate_property_specification):
+        (JSONCSSPropertiesChecker.check_codegen_properties):
+
</ins><span class="cx"> 2017-04-08  Youenn Fablet  &lt;youenn@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         WebRTC tests gardening
</span></span></pre></div>
<a id="trunkToolsScriptswebkitpystylecheckersjsoncheckerpy"></a>
<div class="modfile"><h4>Modified: trunk/Tools/Scripts/webkitpy/style/checkers/jsonchecker.py (215150 => 215151)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/Scripts/webkitpy/style/checkers/jsonchecker.py        2017-04-08 22:44:39 UTC (rev 215150)
+++ trunk/Tools/Scripts/webkitpy/style/checkers/jsonchecker.py        2017-04-08 23:03:16 UTC (rev 215151)
</span><span class="lines">@@ -177,7 +177,7 @@
</span><span class="cx">         self.validate_string(property_name, property_key, key, value)
</span><span class="cx"> 
</span><span class="cx">         allowed_statuses = {
</span><del>-            'done',
</del><ins>+            'supported',
</ins><span class="cx">             'in development',
</span><span class="cx">             'under consideration',
</span><span class="cx">             'experimental',
</span><span class="lines">@@ -229,6 +229,8 @@
</span><span class="cx">         keys_and_validators = {
</span><span class="cx">             'category': self.validate_property_category,
</span><span class="cx">             'url': self.validate_url,
</span><ins>+            'obsolete-category': self.validate_property_category,
+            'obsolete-url': self.validate_url,
</ins><span class="cx">             'documentation-url': self.validate_url,
</span><span class="cx">             'keywords': self.validate_array,
</span><span class="cx">             'description': self.validate_string,
</span><span class="lines">@@ -265,12 +267,13 @@
</span><span class="cx"> 
</span><span class="cx">     def check_codegen_properties(self, property_name, codegen_properties):
</span><span class="cx">         if not isinstance(codegen_properties, (dict, list)):
</span><del>-            self._handle_style_error(0, 'json/syntax', 5, '&quot;codegen_properties&quot; for property &quot;%s&quot; is not a dictionary or array.' % property_name)
</del><ins>+            self._handle_style_error(0, 'json/syntax', 5, '&quot;codegen-properties&quot; for property &quot;%s&quot; is not a dictionary or array.' % property_name)
</ins><span class="cx">             return
</span><span class="cx"> 
</span><span class="cx">         keys_and_validators = {
</span><span class="cx">             'aliases': self.validate_array,
</span><span class="cx">             'auto-functions': self.validate_boolean,
</span><ins>+            'comment': self.validate_string,
</ins><span class="cx">             'conditional-converter': self.validate_string,
</span><span class="cx">             'converter': self.validate_string,
</span><span class="cx">             'custom': self.validate_string,
</span><span class="lines">@@ -293,7 +296,7 @@
</span><span class="cx"> 
</span><span class="cx">         for key, value in codegen_properties.items():
</span><span class="cx">             if key not in keys_and_validators:
</span><del>-                self._handle_style_error(0, 'json/syntax', 5, 'codegen_properties for property &quot;%s&quot; has unexpected key &quot;%s&quot;.' % (property_name, key))
</del><ins>+                self._handle_style_error(0, 'json/syntax', 5, 'codegen-properties for property &quot;%s&quot; has unexpected key &quot;%s&quot;.' % (property_name, key))
</ins><span class="cx">                 return
</span><span class="cx"> 
</span><del>-            keys_and_validators[key](property_name, 'codegen_properties', key, value)
</del><ins>+            keys_and_validators[key](property_name, 'codegen-properties', key, value)
</ins></span></pre>
</div>
</div>

</body>
</html>