Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove E4X code for Firefox 20+ #53 #54

Merged
merged 2 commits into from
Apr 7, 2013
Merged

Remove E4X code for Firefox 20+ #53 #54

merged 2 commits into from
Apr 7, 2013

Conversation

syoichi
Copy link
Contributor

@syoichi syoichi commented Mar 4, 2013

Firefox 20以降で実施されるE4Xの無効化と削除に対応する為、E4Xが使用されている処理の削除、及び互換性のある処理への置き換えを行なっています。

E4X is obsolete. It has been disabled by default for webpages (content) in Firefox 17, disabled by default for chrome in Firefox 20, and will be removed in Firefox 21.

E4X | MDN

Firefox 20ではabout:configに「javascript.options.xml.chrome」、「javascript.options.xml.content」は存在するのですが、これらを有効にしてもTomblooは動作しませんでした。Firefox 21以降ではこれらは存在しません。
screenshot

不具合及びこの変更の動作は、Windows 7 Home Premium SP1 64bit上のFirefox Beta 20.0、拡張のバージョンは0.4.34という環境で確認しています。

- Add commentToText()
- Add getTextContent()
@hsbt
Copy link

hsbt commented Mar 18, 2013

👍

@array
Copy link

array commented Apr 1, 2013

マージを待ってます。

@syoichi
Copy link
Contributor Author

syoichi commented Apr 2, 2013

不具合及びこの変更の動作を、Windows 7 Home Premium SP1 64bit上のFirefox 20.0、拡張のバージョンは0.4.34という環境で確認しました。少なくとも、この変更を適用したTomblooは正常に起動し、TumblrへのPostに成功するようです。

E4Xを含むコードは、Firefox 20.0ではSyntaxErrorとなります。これにより、TomblooはE4Xを含むファイルを読み込んだ段階で処理を停止してしまいます。これは、E4X無効化への対応はパッチでは行えない事を意味しています(Tomblooのファイルを読み込んでからパッチを読み込む為)。

また、この変更は基本的にTomblooの全ての動作に影響を与えうるものですが、直接的に影響を受ける機能として以下が該当すると思われます。

  • Photo - CaptureのRegion
  • ショートカット(マウス) - 実行場所に適したタイプ
  • Tumblr Model
  • Flickr Model
  • Kawa Model
  • Faves Model
  • HatenaDiary Model

この内、Kawa Modelはテストでのみ使用されているようでした。

@send
Copy link

send commented Apr 4, 2013

👍

to added a commit that referenced this pull request Apr 7, 2013
Remove E4X code for Firefox 20+ #53
@to to merged commit 94e90d6 into to:master Apr 7, 2013
@to
Copy link
Owner

to commented Apr 7, 2013

マージが遅れて、大変失礼いたしました。
影響範囲が多く、大変でしたね。お疲れさまでした。
僕も、未だに、毎日使っているので、更新されると、とても嬉しいです。助かります。
今後は、僕もbetaチャンネルのFirefoxを使うようにし、動作異常に早めに気付くようにします。
パッチ、ありがとうございました。

wantora pushed a commit to wantora/tombfix-core that referenced this pull request May 13, 2016
wantora pushed a commit to wantora/tombfix-core that referenced this pull request May 13, 2016
* Update minVersion from 22.0 to 26.0
* Revise YahooBookmarks Model to#9
 * Remove YahooBookmarks's Tag Provider
* Update Delicious Model to#56
 * Use getLocalStorage() in Delicious.getInfo() to#10
* Drop support for NDrive to#25
* Add "Quote - textarea" Extractor to#41
* Revise "Video - YouTube" Extractor #65
* Revise "Video - Nico Nico Douga" Extractor
 * Rename "Video - Nico Nico Douga" to "Video - Nicovideo"
* Revise "Video - Vimeo" Extractor to#54
* Fix bugs about Tumblr Photoset to#38
* Fix a bug about "Photo - pixiv" Extractor #64
* "Change Account" should be translate
* Add "require a browser restart" message in Options Post to#55
* Add Cu
* Update DOMStorageManager's ContractID for Firefox 23+
* Update getLocalStorage() for Firefox 23+
* Rename getLocalStorageValue() to getLocalStorageValueBySQL()
* Improve Console Logging
 * Add console
 * Remove ConsoleService
* Revise prototype.js to#12
 * Move Array#split from utility.js to prototype.js
 * Move String.katakana from utility.js to prototype.js
 * prototype.js: Remove String#repeat, Math.hypot()
* utility.js: Add createLink() from Taberareloo 3.0.4
* utility.js: Remove uniq(), createSet()
* Add dev scripts to#12
* test: Add getLocalStorage()_about_ssl_delicious_test_patch.js, prototype_test_patch.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants