Week and month date pickers, cSP and no more “desktop-width” viewport directive
Published on in Google Chrome, Last Week, tech, WebKit. Version: Chrome 25
1,652 changes landed to the projects last week, 889 to Chromium’s repository and 763 to WebKit’s. The v8 project received 77 commits, quite a few of which were related to implementing the new Object.observe() feature.
Web Inspector’s console messages now accept multiple formatting blocks by using %c multiple times. The new console.clear() method will, surprisingly, clear the console. An option has been added for disabling rulers, pressing Ctrl+A in the Network Panel now selects the resources rather than the entire panel and warning messages have been added for invalid cross-frame options and usage of the dpi and dpcm units outside of printed media stylesheets.
Within v8, Adam, Rafael and Andreas are working on implementing Object.observe(), various commits for which were made. While the implementation isn’t complete yet, it can be enabled by passing the --harmony-observation to v8. ECMAScript 6’s Map and Set collections now include the size and clear properties and JSON.stringify() is now better at handling proxies.
Canvas images reprojected using the -webkit-canvas() CSS function will now use the full backing store rather than the scaled ones, which improves quality on many mobile devices. Support for the “desktop-width” directive in the meta viewport element has been removed. Also newly supported are date pickers for <input type=month> and <input type=week>, and Skia is now able to use reference URL filters on composited layers.
It’s now possible to show a list of tracks available for media elements, an UI for which will be implemented soon. A touchEvent’s client{X,Y} attributes will have the right scrolling adjustments applied, proper escaping of quotes will now be applied in various HTML extension methods (String.prototype.anchor, link, etc) for JavaScriptCore and getUserMedia() will now throw a TypeError instead of a DOMException.
The Content Security Policy DOM implementation has been updated to match the specification. The interface is now called document.securityPolicy and various methods are now exposed as read-only properties.
Other changes which occurred last week:
- The Chromium port has enabled support for the requestAutocomplete method.
- Chrome for Android enabled the JavaScript i18n API, and disabled the unsupported registerProtocolHandler.
- The BlackBerry browser will now automatically go to fullscreen when playing a video.
- JavaScriptCore’s Thingy class received a more sensible name.
- Chrome for iOS now allows playing background music while browsing.
- Content Security Policy now prefers the full header in Chromium, and disallows wildcard hosts for extensions.
Thanks for reading!