Slides for my Talk about WebVR. Presented at BED-Con in Berlin 2016 (http://bed-con.org/2016/)
Slides for my Talk about WebVR. Presented at BED-Con in Berlin 2016 (http://bed-con.org/2016/)
フレーム描画のタイミング制御モデル 今更 requestAnimationFrame() だなんて Can I use を見ても IE 10 ですら実装していて、世界の 9 割以上で動作しうるカバレッジなわけですが改めて setTimeout() との違いを表現しうるサンプルをこさえてました。 それぞれの仕様の詳細や挙動についてはそれこそ今更なのでググっていただくとして、この記事ではサンプルについて曖昧な説明を添えていきます。 CodePen - setTimeout vs requestAnimationFrame (with CSS Transitions) See the Pen setTimeout vs requestAnimationFrame (with CSS Transitions) by Ayumu Sato (@ahomu) on CodePen. 比較のポイントとシ
Secure Contexts Service Workers、Web BluetoothといったAPIは、安全に使用するためにセキュリティ上の条件があります。 その条件がSecure Contextと呼ばれるコンテキストであり、W3CのSecure Contexts(URL)というドキュメントで定義されています。 このSecure Contextsの仕様上で localhost. の扱いがどうなっているかというと次のようになっている。RFC6761の定義では「ローカルのリゾルバはlocalhost. 及び .localhost. の内側のドメインを特殊扱いしてもよい、すべき(MAY/SHOULD)」と書かれており、その不確実性のためlocalhostではなく127.0.0.1の場合に特別扱いするとしている。 つまり、localhostのドメインをローカルネットワークのDNSに問い合わせて
console.log関連についてまとめました。 モダンブラウザであればどれも使用できると思いますが、基本出力結果等はchromeで確認したものです。 console.hogehogeのいろいろ console.log 基本 引数を入れることで出力結果をカスタマイズできます console.info、console.warn、console.error それぞれで見た目を変えることができます。 console.assert 式を評価してfalseの場合にログ出力します。 console.count ログの出力結果が同じ場合にカウント数が自動的に増えていきます。 console.dir オブジェクトのプロパティの中身をログに出力します。 console.dirxml HTMLとかXMLの要素を渡すと、下の要素が全部見れるようになります。 console.group、conosle.group
Notifications Location Location (approximate) Camera Microphone Camera + Microphone Pan-Tilt-Zoom Pan-Tilt-Zoom + Microphone Screen Share MIDI MIDI + SysEx Bluetooth USB Serial HID Encrypted Media (EME) Idle Detection Persistent Storage Show Open File Picker Show Directory Picker Protocol Handler WebAuthn Attestation NFC Virtual Reality (VR) Augmented Reality (AR) Device Orientation Device Motion
22 March 2024 Hey there, this is the current maintainer of BrowserFS. I've been working on BrowserFS for over a year now, and have made some big improvements. A few months ago, I began seperating some backends from BrowserFS to be placed into different packages. Along with this, I created the browser-fs organization on Github and the browserfs organization on NPM. I made new organizations to keep
autoscale: true ECMAScript as a Living Standard 自己紹介 Name : azu Twitter : @azu_re Website: Web scratch, JSer.info 伝えたいこと ECMAScriptの仕様策定は特別なプロセスではない そこへ参加する/見ていくのはむずかしいものではない^x 伝えたいこと ECMAScriptの仕様策定はただの大きな(GitHub)プロジェクト 普通のプロジェクトと大きな違いはない ^y フォーマルに物事が進む分 普通より分かりやすい どのように進めれば物事が進むかのパターンを学べる ES2016 リリース :tada: その前にES2015では何があったんだっけ? 一番大きな変化 ES2015からは1年毎のリリースサイクルに変更される ES2015はその早いリリースサイクルを適応できるだけの基盤
// Check if site's storage has been marked as persistent if (navigator.storage && navigator.storage.persist) { const isPersisted = await navigator.storage.persisted(); console.log(`Persisted storage granted: ${isPersisted}`); } When should I ask for persistent storage? The best time to request your storage be marked as persistent is when you save critical user data, and the request should ideally
Rill is the answer to a simple question; Can I run my Express style router in the browser? Turns out you can and it works awesome. It brings a common interface to many typical app like features in both the browser and nodejs. Many isomorphic frameworks and routers have crazy abstractions and learning curves but with Rill, if you understand Express or Koa, you already know how the routing works! In
Karmaを使うことでフロントエンドの単体テストを楽しくかつ機能的に行うことができます。 ステップを通して少しづつ理解できるように執筆しました。 また、最後に重要だろうと思われる補足内容を記載しました。 Karmaの導入に一役買えれば幸いです。 テスト全体の流れについては以前書いた記事フロントエンドにテストを導入を参照してください。 Karmaとは ブラウザ上で 単体テストを実行するためのテストランナーです。 テストを実行するだけでなくファイルの変更監視や結果のレポートを出力してくれたりと単体テストに必要な機能が一通りそろっています。 特定のフレームワームに依存しておらず汎用的に使えるツールで、プラグインを使った機能の拡張が強力です。 前提 Nodejs,npm,chromeが導入済みであること 流れ Karmaは4つの大きな機能(プラグイン)が存在します。 Step 3 〜 Step 6
PhantomJS 2.1 was released on January 23, 2016. It came with an updated WebKit library based on Qt 5.5. New features Upgraded Qt to 5.5.1 (issue #13377) Added support for SSL Client Authentication (issue #11275) Added support for context menu event (issue #11429) Allow remote debugging to use random port assigned by the OS (issue #13432) Improvements Allow outer context to access arbitrary URLs (i
はじめに JavaScriptのデバッグをするときに、console.logなどを使いますが、 調べてみるとなんだかたくさんあったので触ってみました。 普段個人的にはChromeを使ってるけど、 Chromeと同じノリで他のブラウザで使った時に動かないのは嫌だし 仕事とかではIEなども使ったりするので、Chrome以外で動くのかも調べてみました。 使用ブラウザバージョンは以下。 Chrome(47.0.2526.111 (64-bit)) Firefox(43.0.4) IE8_Win7(8.0.7601.17514) IE11_Win7 and Win 10(11.0.10240.16384と11.0.9600.17801) Edge_Win10(20.10240.16384.0) Safari(9.0.3) メソッド一覧・対応状況 コンソールにエラーが出たのが「×」。 「△」は更新プロ
Warning if you choose a module that happensto not be in the cache, it may take up to a minute to compile. Please be patient. Comparison to wzrd.inThere is another browserify CDN available at wzrd.in that pre-dates this version. There are a number of differences though: BrowserifyCDN uses a docker image to isolate each build, wzrd.in just trusts the download from npm to not contain malware.Browseri
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く