|
Description:
|
|
# ep49 Monthly Web 201902
第 49 回のテーマは 2019 年 02 月の Monthly Web です。
## Show Note
### Chrome 動向
- Stable: 73.0
- Updates
- *Prototyping Stack Packs for Lighthouse*
- https://developers.google.com/web/updates/2019/01/lighthouse-platform-packs
- RTCQuicTransport Coming to an Origin Trial Near You (Chrome 73)
- https://developers.google.com/web/updates/2019/01/rtcquictransport-api
- Lightning-fast templates & Web Components: lit-html & LitElement
- https://developers.google.com/web/updates/2019/02/lit-element-and-lit-html
- The model-viewer web component
- https://developers.google.com/web/updates/2019/02/model-viewer
- *Chromium Blog: Introducing a Trusted Web Activity for Android*
- https://blog.chromium.org/2019/02/introducing-trusted-web-activity-for.html
- https://developers.google.com/web/updates/2019/02/using-twa
- PWA のサイトを Android APP の中で表示できる
- 表示は UI 無しフルスクリーン Chrome で Chrome Custom Tab や WebView より多機能
- Digital Asset Links で連携したページのみ
- Lighthouse で 80 点以上の必要あり?
- Rendering on the Web
- https://developers.google.com/web/updates/2019/02/rendering-on-the-web
- レンダリングの仕組みと各チェックポイントでの測定の仕方の解説
- Audio/Video Updates in Chrome 73
- https://developers.google.com/web/updates/2019/02/chrome-73-media-updates
- Better match results with String.prototype.matchAll()
- https://developers.google.com/web/updates/2019/02/string-matchall
- *Making wheel scrolling fast by default*
- https://developers.google.com/web/updates/2019/02/scrolling-intervention
- デフォルトで passive にしていく
- blog
- Deprecations and removals in Chrome 73
- https://developers.google.com/web/updates/2019/02/chrome-73-deps-rems
- Remove EXPLAIN and REINDEX support in WebSQL
- Remove isomorphic decoding of URL fragment identifier
- Deprecate 'drive-by downloads' in sandboxed iframes
- *Trust is Good, Observation is Better-Intersection Observer v2*
- https://developers.google.com/web/updates/2019/02/intersectionobserver-v2
- *Trusted Types help prevent Cross-Site Scripting*
- .isVisible が入り、 transform や opacity も含め false negative で取れる
- https://developers.google.com/web/updates/2019/02/trusted-types
- blog
- *Get Ready for Priority Hints*
- https://developers.google.com/web/updates/2019/02/priority-hints
- M73 から priority hints の origin trial が始まった
- そもそも h2 priority のきんとした実装は難しい
- CDN での実装具合のテスト結果も出ている
- https://github.com/andydavies/http2-prioritization-issues#current-status
- Replacing a hot path in your app's JavaScript with WebAssembly
- https://developers.google.com/web/updates/2019/02/hotpath-with-wasm
- *Constructable Stylesheets: seamless reusable styles*
- https://developers.google.com/web/updates/2019/02/constructable-stylesheets
- CSS を style 要素を経由せずに作って適用する API
- Shadow Parts の中での適用などがしやすくなった
- *Exploring a back/forward cache for Chrome*
- https://developers.google.com/web/updates/2019/02/back-forward-cache
- https://groups.google.com/a/chromium.org/forum/#!msg/blink-dev/OVROmzNUng0/1gTmi-I3EQAJ
- 遷移前の状態を JS ヒープまで含めてキャッシュし、戻るで復元する
- Firefox / Safari は既に違う実装でこれを行なっている
- Chrome は multi-process のアーキテクチャが違うので Safari の実装は使ってない
- *Web Dev Ecosystem team - February wrap up*
- https://developers.google.com/web/updates/2019/02/feb-wrap-up
- Chrome チームによる Monthly Web が始まった
- Intents
- *Ship: WebAssembly Threads*
- https://groups.google.com/a/chromium.org/forum/#!msg/blink-dev/tD6np-OG2PU/rcNGROOMFQAJ
- Ship: PointerEvent.getPredictedEvents API
- https://groups.google.com/a/chromium.org/forum/#!msg/blink-dev/emvtXAXtqWs/ohZ_ZkYSEAAJ
- *Ship: Signed Exchange Reporting for distributors*
- https://groups.google.com/a/chromium.org/forum/#!msg/blink-dev/bHo6cy9qKuw/6xqZt_1LAAAJ
- SXG で証明書エラーなどのエラーを NEL API で取れる
- 主に distributor (つまり AMP Cache など)がレポーティングエンドポイントになる
- *Implement: Signed Exchange Reporting for distributors*
- https://groups.google.com/a/chromium.org/forum/#!msg/blink-dev/ZcJNEfRFbj0/kl42H12-GAAJ
- SXG を配信する CDN などが、その SXG が表示できなかった場合のエラーをとれる
- 証明書が取れない、署名が古いなどの状況が把握できる
- NEL を拡張しその内容を report-to に送れる
- *Ship: Private class fields*
- https://groups.google.com/a/chromium.org/forum/#!msg/blink-dev/b9hf2mgNAXY/AgR_HcM2BQAJ
- ついに to ship まできた
- Ship: Web Authentication getTransports
- https://groups.google.com/a/chromium.org/forum/#!msg/blink-dev/dOFRO8eC850/e23_XCAxBQAJ
- Ship: Intl.Locale
- https://groups.google.com/a/chromium.org/forum/#!msg/blink-dev/9-bs9zZ2A84/KTKFrB4xBQAJ
- Implement and Ship: PaymentRequest.hasEnrolledInstrument()
- https://groups.google.com/a/chromium.org/forum/#!msg/blink-dev/6rZ7kBLwmhg/lqEpsHLiDgAJ
- Implement and Ship: Remove [NoInterfaceObject] from Geolocation API interfaces
- https://groups.google.com/a/chromium.org/forum/#!msg/blink-dev/Xig9oewsQMA/eyC7dbtiAAAJ
- Implement and Ship: Remove [NoInterfaceObject] from DeviceOrientation Event interfaces
- https://groups.google.com/a/chromium.org/forum/#!msg/blink-dev/pyLg_jGqOQg/uiVaKF0QEAAJ
- *Implement and Ship: CSP violation reports observable by ReportingObserver*
- https://groups.google.com/a/chromium.org/forum/#!msg/blink-dev/dBc_epXL-r4/XhhajwQVBQAJ
- reporting api に送ると ReportingObserver に送られないのを修正
- Implement and Ship: User Activation Delegation through postMessages
- https://groups.google.com/a/chromium.org/forum/#!msg/blink-dev/1twTm3WCwgQ/FRYZ9Cs0AgAJ
- *Implement and Ship: Simulcast with PeerConnection AddTranceiver API in WebRTC*
- https://groups.google.com/a/chromium.org/forum/#!msg/blink-dev/N31xFKvgbck/h5G0a9RqAQAJ
- SDP をいじらず AddTranceiver することで Simulcast できるように
- Implement and Ship: SctpTransport in WebRTC
- https://groups.google.com/a/chromium.org/forum/#!msg/blink-dev/hs0xuxTrvrc/7hv3P0ZBAQAJ
- Intent to Implement: Async Clipboard read/write with image support
- https://groups.google.com/a/chromium.org/forum/#!msg/blink-dev/NcLn2-BpBd0/ItPPTEZPBAAJ
- *Implement: Unified V8 & Blink Garbage Collection (aka Unified Heap)*
- https://groups.google.com/a/chromium.org/forum/#!searchin/blink-dev/oilpan%7Csort:date/blink-dev/tg2rXkjHw9g/e1TuqxfoFgAJ
- V8 と Blink の GC 統合 Oilpan が Finch で入り始めた
- M74 で Wrapper つきで入った
- M75 からちょっとづつ抜いていく
- Implement: File Handling
- https://groups.google.com/a/chromium.org/forum/#!msg/blink-dev/y85xtaIpDH8/nHhOPG-iAAAJ
- Implement: Throw on invalid "basic-card" data
- https://groups.google.com/a/chromium.org/forum/#!msg/blink-dev/ACf7kNZgWd8/zusI2htaAAAJ
- *Implement: Import maps, basic support*
- https://groups.google.com/a/chromium.org/forum/#!msg/blink-dev/qYeQFqgFOyA/rXJapjMaEAAJ
- import する module と url のマッピングを定義する仕様
- ` |