Last Week in Blink: Promises, ALPN support and font mime-types
Published on in Blink, Google Chrome, Last Week, tech. Version: Chrome 30
A wild Last Week post appears! That’s been a while. This post describes the 1,326 commits which landed in the Chromium, Blink and v8 repositories during the 4th of July US holiday week, until Chromium r210375.
Chrome DevTools windows won’t disappear anymore when an interstitial page is being displayed, for example warnings about self-signed certificates for developer environments. Six more mime-types will now be recognized as valid font mime-types, decreasing the number console warnings for invalid mime-types used for fonts. Development on CodeMirror as a code editor continues, adding syntax highlighting for six more languages.
Raphael is working on re-implementing the “capture” attribute as a boolean, matching the specification. Textual input and textarea elements now recognize the “inputmode” attribute, indicating what kind of characters the field is expecting (for example, alphabet or kana). The <dialog> element now supports the ::backdrop pseudo-element, support for border-image-repeat: round was added and filters will now be applied whilst honoring the effective zoom level. Finally, “compositionstart” events now include the text which is being replaced.
Dominic has been working on Blink’s custom element implementation, which now triggers events when an element enters or leaves a document, or encounters an attribute change. Blink now uses v8’s ArrayBuffer implementation instead of its own, and saw implementations of Promise.prototype.{catch, then}. The AudioBufferSourceNode and OscillatorNodes from the Web Audio API now support the “onended” event.
Other changes which were made last week:
- Information about v8’s heap is now visible on the chrome://memory-internals/ page.
- The v8-i18n extension (JavaScript Internationalization API) has been rolled into v8’s repository.
- The RealPlayer DLL has been blacklisted; it was responsible for ~40% of pepper-Flash crashes.
- Support for ALPN protocol negotiation has been added to Chromium’s network stack.
- Need to restart Chrome? You can now do so by navigating to about:restart!
- The color of disabled items in a <select> box has been amended on Windows, matching IE10.
- UI has been added for indicating when a Chrome Profile is supervided by another user.
- A command line flag has been added to expose window.internals to all pages in content_shell.
- Steve renamed the chromium-{android, mac} layout test platforms to {android, mac}.
- Jan, Claudio and Pan Deng became Chromium committers. Congratulations!
Interesting topics on blink-dev include an Intent to Implement for unregisterProtocolHandler() and isProtocolHandlerRegistered(), an Intent to Ship for the “mouseenter” and “mouseleave” events, an announcement for Opera 15 and a lengthy discussion on supporting animated WebP images. Thanks for reading!