Firefox 45 以降、Worker 内の performance.now メソッドは、最新の High Resolution Time 仕様に従い、親ウィンドウや親 Worker から継承された ナビゲーション開始時刻 ではなく、その Worker の作成時刻からの DOMHighResTimeStamp を返します。従来のようにメインウィンドウコンテキストに基づくタイムスタンプを得るには、新しい Performance.translateTime メソッドを使ってください。 更新: 仕様がまだ不安定らしいことから、この変更は Firefox 45 Beta サイクル中に 取り消されました。
Developer Edition 47 – User agent emulation, popup debugging and more This week marks the release of Firefox Developer Edition 47! In recent weeks, we’ve covered the DevTools reload add-on and service worker tooling, so be sure to check out those posts. In this post, we’ll cover the rest of the updates and changes in this Developer Edition release. User Agent emulation We have added the ability to
This is an archived page. It's not actively maintained. Like any web browser, Gecko can load JavaScript from untrusted and potentially hostile web pages and run it on the user's computer. The security model for web content is based on the same-origin policy, in which code gets full access to objects from its origin but highly restricted access to objects from a different origin. The rules for dete
A few weeks ago I released JavaScript Deobfuscator 2.0 — finally something that works with current Firefox versions again. Why did it take me a year to fix this compatibility issue? Well, it really wasn’t that simple. After considering all the possibilities I decided that rewriting it from scratch was the only possibility, and that was hard to accomplish in my spare time. Before I continue with th
The following is a changelog for JavaScript features in Firefox releases. Firefox 52 New features Support for the async functions has been added. This adds async function, async function expression, and the await keyword (bug 1185106). Implemented ES2017 trailing commas in functions (bug 1303788). Implemented rest parameter destructuring (bug 1243717). The exponentiation operator (**) is now enabl
This is an archived page. It's not actively maintained. One of the challenges of converting Firefox features and add-ons to multiprocess Firefox involves in-content pages. These pages (like about:addons) display in a tab but for now still render in the main process. There can be many reasons for wanting to move these into the content process, particularly if the page interacts with web content in
For more than a decade the Web has used XMLHttpRequest (XHR) to achieve asynchronous requests in JavaScript. While very useful, XHR is not a very nice API. It suffers from lack of separation of concerns. The input, output and state are all managed by interacting with one object, and state is tracked using events. Also, the event-based model doesn’t play well with JavaScript’s recent focus on Promi
Recently the BroadcastChannel API landed in Firefox 38. This API can be used for simple messaging between browser contexts that have the same user agent and origin. This API is exposed to both Windows and Workers and allows communication between iframes, browser tabs, and worker threads. The intent of the BroadcastChannel API is to provide an API that facilitates communicating simple messages betw
URLUtilsインターフェイスのブラウザーにおける実装であるLocationオブジェクトのhashプロパティーによりURLのフラグメント識別子(と#)を取得・代入できる。最近のブラウザーは非ASCII文字列もURLエンコードせずに扱えるようになっているが、この辺りの挙動がFirefoxだけ少し違うようだ。それはhashプロパティーの返す値で、常にデコードされた形で返ってくるようになっている。 例えば適当なウェブページで開発者ツール(的なもの)を開き、コンソール(などと呼ばれてるもの)で以下を実行してみる。 > location.hash = '#' + 'あいうえお' < "#あいうえお" > location.hash < "#あいうえお" > location.hash = '#' + encodeURIComponent('あいうえお') < "#%E3%81%82%E3%81%8
924688 - Implement ES6 computed property names また、新しい構文。 オブジェクトリテラル中のプロパティ名部分に式を入れることができる様になる。 今まで var prop = "foo"; var obj = {}; obj[prop] = "FOO Property"; 今までは一旦オブジェクトを作ってから代入するしかなかったものが、 これから var prop = "foo"; var obj = { [prop]: "FOO Property" }; とできるようになる。 プロパティ名の部分に、[expr] と書く。 何が嬉しいの? まぁ、普通に便利ですね。 と、これだけではアレなのでもう少し書くと、ECMAScript6thになってSymbolという型が登場し特殊なSymbol型のプロパティを定義できるわけだが、このComputedPro
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く