Title: [193488] trunk
Revision
193488
Author
[email protected]
Date
2015-12-04 16:42:28 -0800 (Fri, 04 Dec 2015)

Log Message

Update feature status for up-to-date status information.
https://bugs.webkit.org/show_bug.cgi?id=151821

Reviewed by Timothy Hatcher.

Source/_javascript_Core:

* features.json:

Source/WebCore:

* features.json:

Websites/webkit.org:

* wp-content/themes/webkit/status.php:

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (193487 => 193488)


--- trunk/Source/_javascript_Core/ChangeLog	2015-12-05 00:31:30 UTC (rev 193487)
+++ trunk/Source/_javascript_Core/ChangeLog	2015-12-05 00:42:28 UTC (rev 193488)
@@ -1,3 +1,12 @@
+2015-12-04  Jonathan Davis  <[email protected]>
+
+        Update feature status for up-to-date status information.
+        https://bugs.webkit.org/show_bug.cgi?id=151821
+
+        Reviewed by Timothy Hatcher.
+
+        * features.json:
+
 2015-12-04  Saam barati  <[email protected]>
 
         OSR exits that are exception handlers should emit less code eagerly in the thunk generator, and instead, should defer as much code generation as possible to be lazily generated in the exit itself

Modified: trunk/Source/_javascript_Core/features.json (193487 => 193488)


--- trunk/Source/_javascript_Core/features.json	2015-12-05 00:31:30 UTC (rev 193487)
+++ trunk/Source/_javascript_Core/features.json	2015-12-05 00:42:28 UTC (rev 193488)
@@ -126,18 +126,6 @@
         "specification": "ES6"
     },
     {
-        "name": "for...of Loops",
-        "status": {
-            "status": "Done",
-            "enabled-by-default": true
-        },
-        "url": "http://people.mozilla.org/~jorendorff/es6-draft.html#sec-for-in-and-for-of-statements",
-        "documentation-url": "https://developer.mozilla.org/en-US/docs/Web/_javascript_/Reference/Statements/for...of",
-        "description": "The for...of loops iterate over the values provided by the iterator of the target object.",
-        "specification": "ES6",
-        "comment": "Older versions of WebKit only supported iterating _javascript_ arrays."
-    },
-    {
         "name": "Generators",
         "status": {
             "status": "In Development",
@@ -177,17 +165,6 @@
         "specification": "ES6"
     },
     {
-        "name": "new.target",
-        "status": {
-            "status": "Done",
-            "enabled-by-default": true
-        },
-        "url": "http://www.ecma-international.org/ecma-262/6.0/#sec-built-in-function-objects",
-        "documentation-url": "https://developer.mozilla.org/en-US/docs/Web/_javascript_/Reference/Operators/new.target",
-        "description": "new.target allows you to detect if a function or constructor was instantiated with the new operator, or if instead it was called using normal function calling syntax.",
-        "specification": "ES6"
-    },
-    {
         "name": "Number Object Extensions",
         "status": {
             "status": "Done",
@@ -225,9 +202,10 @@
     {
         "name": "Proxy Objects",
         "status": {
-            "status": "No active development"
+            "status": "Under Consideration"
         },
         "url": "http://www.ecma-international.org/ecma-262/6.0/index.html#sec-proxy-objects",
+        "webkit-url": "https://bugs.webkit.org/show_bug.cgi?id=35731",
         "specification": "ES6",
         "description": "An intermediary object that defines custom basic behaviors of another object such as property lookup, assignment, enumeration.",
         "contact": {
@@ -344,6 +322,29 @@
             "name": "Yusuke Suzuki",
             "email": "[email protected]"
         }
+    },
+    {
+        "name": "for...of Loops",
+        "status": {
+            "status": "Done",
+            "enabled-by-default": true
+        },
+        "url": "http://people.mozilla.org/~jorendorff/es6-draft.html#sec-for-in-and-for-of-statements",
+        "documentation-url": "https://developer.mozilla.org/en-US/docs/Web/_javascript_/Reference/Statements/for...of",
+        "description": "The for...of loops iterate over the values provided by the iterator of the target object.",
+        "specification": "ES6",
+        "comment": "Older versions of WebKit only supported iterating _javascript_ arrays."
+    },
+    {
+        "name": "new.target",
+        "status": {
+            "status": "Done",
+            "enabled-by-default": true
+        },
+        "url": "http://www.ecma-international.org/ecma-262/6.0/#sec-built-in-function-objects",
+        "documentation-url": "https://developer.mozilla.org/en-US/docs/Web/_javascript_/Reference/Operators/new.target",
+        "description": "new.target allows you to detect if a function or constructor was instantiated with the new operator, or if instead it was called using normal function calling syntax.",
+        "specification": "ES6"
     }
     ]
 }

Modified: trunk/Source/WebCore/ChangeLog (193487 => 193488)


--- trunk/Source/WebCore/ChangeLog	2015-12-05 00:31:30 UTC (rev 193487)
+++ trunk/Source/WebCore/ChangeLog	2015-12-05 00:42:28 UTC (rev 193488)
@@ -1,3 +1,12 @@
+2015-12-04  Jonathan Davis  <[email protected]>
+
+        Update feature status for up-to-date status information.
+        https://bugs.webkit.org/show_bug.cgi?id=151821
+
+        Reviewed by Timothy Hatcher.
+
+        * features.json:
+
 2015-12-04  Brady Eidson  <[email protected]>
 
         Modern IDB: Flip test expectations around so we only list failures.

Modified: trunk/Source/WebCore/features.json (193487 => 193488)


--- trunk/Source/WebCore/features.json	2015-12-05 00:31:30 UTC (rev 193487)
+++ trunk/Source/WebCore/features.json	2015-12-05 00:42:28 UTC (rev 193488)
@@ -34,7 +34,7 @@
     {
         "name": "CSS Painting API Level 1",
         "status": {
-            "status": "Under consideration"
+            "status": "Under Consideration"
         },
         "url": "https://drafts.css-houdini.org/css-paint-api/",
         "keywords": ["css", "houdini"],
@@ -49,7 +49,7 @@
     {
         "name": "CSS Properties and Values API Level 1",
         "status": {
-            "status": "Under consideration"
+            "status": "Under Consideration"
         },
         "url": "https://drafts.css-houdini.org/css-properties-values-api/",
         "keywords": ["css", "houdini"],
@@ -136,7 +136,7 @@
     {
         "name": "Service Workers",
         "status": {
-            "status": "No active development"
+            "status": "Under Consideration"
         },
         "url": "http://www.w3.org/TR/2015/WD-service-workers-20150625/",
         "keywords": ["service workers"],
@@ -209,9 +209,10 @@
     {
         "name": "WebRTC",
         "status": {
-            "status": "No active development"
+            "status": "In Development"
         },
         "url": "http://www.w3.org/TR/webrtc/",
+        "webkit-url": "https://bugs.webkit.org/show_bug.cgi?id=124288",
         "keywords": ["webrtc"],
         "category": "webapps",
         "description": "An API to facilitate real-time communication for browser-to-browser applications.",
@@ -332,9 +333,10 @@
     {
         "name": "Custom Elements",
         "status": {
-            "status": "No active development"
+            "status": "Prototyping"
         },
         "url": "http://w3c.github.io/webcomponents/spec/custom/",
+        "webkit-url": "https://bugs.webkit.org/show_bug.cgi?id=150225",
         "specification": "Web Components",
         "description": "Define a custom HTML tag and associate it with an ES6 class.",
         "contact": {
@@ -382,7 +384,7 @@
     {
         "name": "HTML imports",
         "status": {
-            "status": "No active development"
+            "status": "Not Considering"
         },
         "url": "http://w3c.github.io/webcomponents/spec/imports/",
         "specification": "Web Components",
@@ -437,7 +439,7 @@
     {
         "name": "Picture element",
         "status": {
-            "status": "In development",
+            "status": "In Development",
             "enabled-by-default": false
         },
         "url": "https://html.spec.whatwg.org/multipage/embedded-content.html#the-picture-element",

Modified: trunk/Websites/webkit.org/ChangeLog (193487 => 193488)


--- trunk/Websites/webkit.org/ChangeLog	2015-12-05 00:31:30 UTC (rev 193487)
+++ trunk/Websites/webkit.org/ChangeLog	2015-12-05 00:42:28 UTC (rev 193488)
@@ -1,5 +1,14 @@
 2015-12-04  Jonathan Davis  <[email protected]>
 
+        Update feature status for up-to-date status information.
+        https://bugs.webkit.org/show_bug.cgi?id=151821
+
+        Reviewed by Timothy Hatcher.
+
+        * wp-content/themes/webkit/status.php:
+
+2015-12-04  Jonathan Davis  <[email protected]>
+
         Added redirects for old webkit.org archive.
 
         * .htaccess:

Modified: trunk/Websites/webkit.org/wp-content/themes/webkit/status.php (193487 => 193488)


--- trunk/Websites/webkit.org/wp-content/themes/webkit/status.php	2015-12-05 00:31:30 UTC (rev 193487)
+++ trunk/Websites/webkit.org/wp-content/themes/webkit/status.php	2015-12-05 00:42:28 UTC (rev 193488)
@@ -28,7 +28,7 @@
         xhrRequest.send();
     });
 }
-var origin = new URL("https://svn.webkit.org/");
+var origin = new URL("https://<?php echo WP_HOST == "webkit.org" ? "svn.webkit.org" : WP_HOST; ?>/");
 var loadJavaScriptCoreFeatures = xhrPromise(new URL("/repository/webkit/trunk/Source/_javascript_Core/features.json", origin));
 var loadWebCoreFeatures = xhrPromise(new URL("/repository/webkit/trunk/Source/WebCore/features.json", origin));
 </script>
@@ -108,8 +108,8 @@
     border-radius: 3px;
     padding: 1em;
     margin: 1em 0 !important;
-    max-height: intrinsic;  
-    min-height: 3rem;          
+    max-height: intrinsic;
+    min-height: 3rem;
     overflow-y: hidden;
     cursor: pointer;
     -webkit-transition: background-color 0.3s ease-in;
@@ -181,6 +181,10 @@
     padding-left: 0.5em;
 }
 
+.feature-header h3 a {
+    color: #444;
+}
+
 .feature-header h3 .internal-reference a:hover {
     color: inherit;
     text-decoration: underline;
@@ -202,7 +206,7 @@
     display: inline-block;
     position: relative;
     min-width: 4em;
-    text-align: right; 
+    text-align: right;
 }
 
 .feature-status,
@@ -272,6 +276,16 @@
 }
 
 
+#status-filters .under-consideration,
+.feature-status.under-consideration,
+.feature-status.under-consideration a {
+    color: #cc9d00;
+}
+
+.status-marker.under-consideration {
+    border-color: #FFC500 transparent transparent transparent;
+}
+
 .feature-status.removed,
 .feature-status.removed a {
     color: #999999;
@@ -281,9 +295,6 @@
     border-color: #999999 transparent transparent transparent;
 }
 
-
-
-
 .feature-filters {
     position: relative;
     top: 0;
@@ -319,12 +330,19 @@
     top: -3px;
 }
 
+h3 a[name], .admin-bar h3 a[name] {
+    top: initial;
+    width: auto;
+    display: inline-block;
+    visibility: visible;
+}
+
 @media only screen and (max-width: 508px) {
     #feature-filters,
     #feature-list {
         width: 100%;
     }
-    
+
     #feature-filters {
         border: 1px solid #dddddd;
         border-radius: 3px;
@@ -334,7 +352,15 @@
         margin-right: 0;
         margin-bottom: 3rem;
     }
-    
+
+    .feature-header h3 {
+        font-size: 2rem;
+    }
+
+    .feature-status {
+        font-size: 1.6rem;
+        margin-top: 0.4rem;
+    }
 }
 
 </style>
@@ -348,7 +374,7 @@
                 <input type="text" id="search" placeholder="Search filter&hellip;" title="Filter the feature list." required>
                 <ul id="status-filters">
                 </ul>
-                
+
             </form>
 
             <div id="feature-list">
@@ -377,14 +403,14 @@
 
 <script>
 function initializeStatusPage() {
-    
+
     function sortAlphabetically(array) {
         array.sort(function(a, b){
             var aName = a.name.toLowerCase();
             var bName = b.name.toLowerCase();
 
             var nameCompareResult = aName.localeCompare(bName);
-            
+
             if ( nameCompareResult )
                 return nameCompareResult;
 
@@ -420,25 +446,30 @@
         var hasReferenceLink = "url" in featureObject;
         var hasContactObject = "contact" in featureObject;
         var hasSpecificationObject = "specification" in featureObject;
-        
+
         container.addEventListener('click', function (e) {
             if ( container.className.indexOf('opened') !== -1 ) {
                 container.className = container.className.replace(' opened','');
             } else container.className += " opened";
         });
-        
+
         container.className = "feature";
 
+        var slug = featureObject.name.toLowerCase().replace(/ /g, '-');
         if ("features" in featureObject) {
-            container.setAttribute("id", "specification-" + featureObject.name);
+            container.setAttribute("id", "specification-" + slug);
         } else {
-            container.setAttribute("id", "feature-" + featureObject.name);
+            container.setAttribute("id", "feature-" + slug);
         }
 
+        if (window.location.hash && window.location.hash == "#" + container.getAttribute('id')) {
+            container.className += " opened";
+        }
+
         var cornerStatus = document.createElement('div');
         cornerStatus.className = "status-marker ";
         container.appendChild(cornerStatus);
-        
+
         var descriptionContainer = document.createElement('div');
         descriptionContainer.className = "feature-description";
 
@@ -447,7 +478,11 @@
         descriptionContainer.appendChild(featureHeaderContainer);
 
         var titleElement = document.createElement("h3");
-        titleElement.textContent = featureObject.name;
+        var anchorLinkElement = document.createElement("a");
+        anchorLinkElement.href = "" + container.getAttribute("id");
+        anchorLinkElement.name = container.getAttribute("id");
+        anchorLinkElement.textContent = featureObject.name;
+        titleElement.appendChild(anchorLinkElement);
 
         // Add sub-feature here
         if (hasSpecificationObject) {
@@ -456,6 +491,7 @@
             specSpan.className = "internal-reference";
             titleElement.appendChild(specSpan);
         }
+
         featureHeaderContainer.appendChild(titleElement);
 
         if ("status" in featureObject) {
@@ -572,11 +608,11 @@
         var inputField = document.getElementById('search');
         var featuresEls = document.querySelectorAll('.features > li');
         var statusFilters = {};
-        
+
         featuresArray.forEach(function(feature, i) {
             feature.el = featuresEls[i];
             feature.visible = true;
-            
+
             if (feature.status != undefined) {
                 featureStatusKey = feature.status.status.toLocaleLowerCase();
 
@@ -585,9 +621,9 @@
 
             }
         });
-        
+
         var statusLength = statusFilters.length;
-        
+
         for (var key in statusFilters) {
             var status = statusFilters[key];
             var entry = document.createElement("li");
@@ -602,7 +638,7 @@
             entry.appendChild(label);
             statusContainer.appendChild(entry);
         }
-                
+
         filtersForm.addEventListener('click', function (e) {
             if ( filtersForm.className.indexOf('opened') !== -1 ) {
                 filtersForm.className = filtersForm.className.replace(' opened','');
@@ -610,7 +646,7 @@
         });
 
         inputField.addEventListener('input', search);
-        
+
         var inputs = [].slice.call(filtersForm.getElementsByTagName('input'));
         inputs.forEach(function (input,i) {
             input.addEventListener('click', function (e) {
@@ -634,13 +670,13 @@
     function searchFeatures(featuresArray, searchTerm, statusFilters) {
         featuresArray.forEach(function(feature) {
             var visible = isSearchMatch(feature, searchTerm) && isStatusFiltered(feature, statusFilters);
-            
+
             if (visible && !feature.visible) {
                 feature.el.className = 'feature';
             } else if (!visible && feature.visible) {
                 feature.el.className = 'feature is-hidden';
             }
-            
+
             feature.visible = visible;
         });
     }
@@ -660,11 +696,11 @@
     function isStatusFiltered(feature, activeFilters) {
         if (activeFilters.length == 0)
             return true;
-        if (feature.status === undefined) 
+        if (feature.status === undefined)
             return false;
         if (activeFilters.indexOf(feature.status.status.toLowerCase()) != -1)
             return true;
-        
+
         return false;
     }
 
@@ -700,10 +736,16 @@
         }
 
         var everythingToShow = allFeatures.concat(allSpecifications);
-        
+
         sortAlphabetically(everythingToShow);
         renderFeaturesAndSpecifications(everythingToShow);
         initSearch(everythingToShow);
+
+        if (window.location.hash) {
+            var hash = window.location.hash;
+            window.location.hash = ""; // Change hash so navigation takes place
+            window.location.hash = hash;
+        }
     }
 
     function displayError(error) {
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to