From 9b2427e4648e3cc9002c87274aeb8360a391fa0f Mon Sep 17 00:00:00 2001 From: julieng Date: Wed, 4 Aug 2021 18:32:17 +0200 Subject: Fixes #1634 - remove old compat site for zh-CN and zh-TW --- files/zh-cn/_redirects.txt | 2 - files/zh-cn/_wikihistory.json | 85 ----- files/zh-cn/mozilla/firefox/releases/17/index.html | 146 --------- files/zh-cn/mozilla/firefox/releases/23/index.html | 94 ------ .../releases/23/site_compatibility/index.html | 93 ------ files/zh-cn/mozilla/firefox/releases/35/index.html | 213 ------------- files/zh-cn/mozilla/firefox/releases/43/index.html | 173 ---------- files/zh-cn/mozilla/firefox/releases/44/index.html | 222 ------------- files/zh-cn/mozilla/firefox/releases/45/index.html | 187 ----------- files/zh-cn/mozilla/firefox/releases/49/index.html | 348 --------------------- files/zh-cn/mozilla/firefox/releases/56/index.html | 129 -------- files/zh-cn/mozilla/firefox/releases/59/index.html | 2 +- files/zh-cn/mozilla/firefox/releases/65/index.html | 6 - files/zh-cn/mozilla/firefox/releases/68/index.html | 240 -------------- files/zh-cn/mozilla/firefox/releases/69/index.html | 185 ----------- files/zh-cn/mozilla/firefox/releases/78/index.html | 6 - .../zh-cn/web/api/element/keydown_event/index.html | 2 +- files/zh-cn/web/api/element/keyup_event/index.html | 2 +- files/zh-cn/web/api/navigator/buildid/index.html | 6 +- files/zh-cn/web/api/worker/index.html | 2 +- 20 files changed, 5 insertions(+), 2138 deletions(-) delete mode 100644 files/zh-cn/mozilla/firefox/releases/17/index.html delete mode 100644 files/zh-cn/mozilla/firefox/releases/23/index.html delete mode 100644 files/zh-cn/mozilla/firefox/releases/23/site_compatibility/index.html delete mode 100644 files/zh-cn/mozilla/firefox/releases/35/index.html delete mode 100644 files/zh-cn/mozilla/firefox/releases/43/index.html delete mode 100644 files/zh-cn/mozilla/firefox/releases/44/index.html delete mode 100644 files/zh-cn/mozilla/firefox/releases/45/index.html delete mode 100644 files/zh-cn/mozilla/firefox/releases/49/index.html delete mode 100644 files/zh-cn/mozilla/firefox/releases/56/index.html delete mode 100644 files/zh-cn/mozilla/firefox/releases/68/index.html delete mode 100644 files/zh-cn/mozilla/firefox/releases/69/index.html (limited to 'files/zh-cn') diff --git a/files/zh-cn/_redirects.txt b/files/zh-cn/_redirects.txt index 502a55f730..83915af3b0 100644 --- a/files/zh-cn/_redirects.txt +++ b/files/zh-cn/_redirects.txt @@ -516,7 +516,6 @@ /zh-CN/docs/Firefox_14_for_developers /zh-CN/docs/Mozilla/Firefox/Releases/14 /zh-CN/docs/Firefox_15_for_developers /zh-CN/docs/Mozilla/Firefox/Releases/15 /zh-CN/docs/Firefox_16_for_developers /zh-CN/docs/Mozilla/Firefox/Releases/16 -/zh-CN/docs/Firefox_17_for_developers /zh-CN/docs/Mozilla/Firefox/Releases/17 /zh-CN/docs/Firefox_18_for_developers /zh-CN/docs/Mozilla/Firefox/Releases/18 /zh-CN/docs/Firefox_20_for_developers /zh-CN/docs/Mozilla/Firefox/Releases/20 /zh-CN/docs/Firefox_21_for_developers /zh-CN/docs/Mozilla/Firefox/Releases/21 @@ -1190,7 +1189,6 @@ /zh-CN/docs/Server-sent_events/Using_server-sent_events /zh-CN/docs/Web/API/Server-sent_events/Using_server-sent_events /zh-CN/docs/Site_Compatibility_for_Firefox_19 /zh-CN/docs/Mozilla/Firefox/Releases/19/Site_compatibility /zh-CN/docs/Site_Compatibility_for_Firefox_21 /zh-CN/docs/Mozilla/Firefox/Releases/21/Site_compatibility -/zh-CN/docs/Site_Compatibility_for_Firefox_23 /zh-CN/docs/Mozilla/Firefox/Releases/23/Site_compatibility /zh-CN/docs/Site_Compatibility_for_Firefox_24 /zh-CN/docs/Mozilla/Firefox/Releases/24/Site_compatibility /zh-CN/docs/Tips_for_Authoring_Fast-loading_HTML_Pages /zh-CN/docs/Learn/HTML/Howto/Author_fast-loading_HTML_pages /zh-CN/docs/Tools-840092-dup/Remote_Debugging /zh-CN/docs/Tools/Remote_Debugging diff --git a/files/zh-cn/_wikihistory.json b/files/zh-cn/_wikihistory.json index f43a63b1b0..091b99d93b 100644 --- a/files/zh-cn/_wikihistory.json +++ b/files/zh-cn/_wikihistory.json @@ -6443,16 +6443,6 @@ "ethertank" ] }, - "Mozilla/Firefox/Releases/17": { - "modified": "2019-03-18T21:09:08.582Z", - "contributors": [ - "fscholz", - "wbamberg", - "Ende93", - "ethertank", - "ziyunfei" - ] - }, "Mozilla/Firefox/Releases/18": { "modified": "2019-01-16T16:41:51.967Z", "contributors": [ @@ -6508,21 +6498,6 @@ "ziyunfei" ] }, - "Mozilla/Firefox/Releases/23": { - "modified": "2019-01-16T17:12:46.618Z", - "contributors": [ - "wbamberg", - "Ende93", - "ziyunfei" - ] - }, - "Mozilla/Firefox/Releases/23/Site_compatibility": { - "modified": "2019-01-16T17:27:23.228Z", - "contributors": [ - "wbamberg", - "ziyunfei" - ] - }, "Mozilla/Firefox/Releases/24": { "modified": "2019-01-16T17:41:58.569Z", "contributors": [ @@ -6657,15 +6632,6 @@ "ziyunfei" ] }, - "Mozilla/Firefox/Releases/35": { - "modified": "2019-12-13T20:33:35.958Z", - "contributors": [ - "wbamberg", - "Ende93", - "tiansh", - "Fiag" - ] - }, "Mozilla/Firefox/Releases/41": { "modified": "2019-01-16T20:57:02.807Z", "contributors": [ @@ -6674,44 +6640,6 @@ "zhentao_lin" ] }, - "Mozilla/Firefox/Releases/43": { - "modified": "2019-03-23T22:45:32.059Z", - "contributors": [ - "wbamberg", - "Ende93", - "tulei555" - ] - }, - "Mozilla/Firefox/Releases/44": { - "modified": "2019-01-16T22:24:18.829Z", - "contributors": [ - "wbamberg", - "EricHedgedog" - ] - }, - "Mozilla/Firefox/Releases/45": { - "modified": "2019-01-16T22:09:44.303Z", - "contributors": [ - "wbamberg", - "Ende93", - "imeteora" - ] - }, - "Mozilla/Firefox/Releases/49": { - "modified": "2019-01-16T23:59:52.584Z", - "contributors": [ - "wbamberg", - "Ende93", - "Jiang-Xuan" - ] - }, - "Mozilla/Firefox/Releases/56": { - "modified": "2019-03-23T22:06:15.833Z", - "contributors": [ - "wbamberg", - "dapenglang" - ] - }, "Mozilla/Firefox/Releases/59": { "modified": "2019-03-18T21:44:42.821Z", "contributors": [ @@ -6734,19 +6662,6 @@ "wearehere8" ] }, - "Mozilla/Firefox/Releases/68": { - "modified": "2020-08-24T20:29:03.064Z", - "contributors": [ - "w568w", - "HondaNM" - ] - }, - "Mozilla/Firefox/Releases/69": { - "modified": "2019-10-25T04:48:07.433Z", - "contributors": [ - "KringMiao" - ] - }, "Mozilla/Firefox/Releases/78": { "modified": "2020-07-04T05:18:44.320Z", "contributors": [ diff --git a/files/zh-cn/mozilla/firefox/releases/17/index.html b/files/zh-cn/mozilla/firefox/releases/17/index.html deleted file mode 100644 index 51303a40d8..0000000000 --- a/files/zh-cn/mozilla/firefox/releases/17/index.html +++ /dev/null @@ -1,146 +0,0 @@ ---- -title: Firefox 17 for developers -slug: Mozilla/Firefox/Releases/17 -tags: - - Firefox - - Firefox 17 -translation_of: Mozilla/Firefox/Releases/17 ---- -
{{FirefoxSidebar}}
- -

Firefox 17 shipped on November 20, 2012. This article lists key changes that are useful for not only web developers, but also Firefox and Gecko developers as well as add-on developers.

- -

WEB开发者需要注意的变化

- -

HTML

- - - -

CSS

- - - -

DOM

- - - -

 

- -

JavaScript

- - - -

WebGL

- -

 

- - - -

 

- -

SVG

- -

No change.

- -

MathML

- -

 

- - - -

 

- -

XUL

- - - -

网络

- -

 

- - - -

 

- -

开发者工具

- -

 

- - - -

User Agent

- -

The Gecko part of the user agent string changed. The build date (which hadn't been updated since 2010) was removed, and the Gecko version number was put in its place instead. So Gecko/20100101 -> Gecko/17.0. This may affect you if you are doing user agent sniffing.

- -

附加组件和Mozilla开发者需要注意的变化

- -

接口变化

- -
-
{{ interface("nsIInputStream") }}
-
available() 方法返回一个64位的长度而不是32位的. ({{bug("215450")}})
-
{{ interface("nsIDOMWindowUtils") }}
-
sendMouseScrollEvent()方法被sendWheelEvent()替换. ({{bug("719320")}})
-
{{interface("nsIFilePicker")}}
-
The open() method, to open the file dialog asynchronously, has been added and the show() method has been deprecated ({{bug("731307")}}).
-
{{interface("nsIScriptSecurityManager")}}
-
The checkLoadURIStr() and checkLoadURI() methods have been removed ({{bug("327244")}}).
-
{{interface("nsIRefreshURI")}}
-
The setupRefreshURIFromHeader() method has a added principal parameter ({{bug("327244")}}).
-
- -

新增接口

- -

None.

- -

移除接口

- -

None removed.

- -

See also

- - - -

Older versions

- -

{{Firefox_for_developers('16')}}

diff --git a/files/zh-cn/mozilla/firefox/releases/23/index.html b/files/zh-cn/mozilla/firefox/releases/23/index.html deleted file mode 100644 index adaf75356f..0000000000 --- a/files/zh-cn/mozilla/firefox/releases/23/index.html +++ /dev/null @@ -1,94 +0,0 @@ ---- -title: Firefox 23 for developers -slug: Mozilla/Firefox/Releases/23 -tags: - - Firefox - - Firefox 23 -translation_of: Mozilla/Firefox/Releases/23 ---- -
{{FirefoxSidebar}}

Web开发者需要注意的变化

- -

HTML

- - - -

JavaScript

- -

 

- - - -

HTML

- - - -

 

- -

DOM

- - - -

CSS

- - - -

WebRTC

- - - -

MathML

- - - -

Changes for addon and Mozilla developers

- -

Firefox developer tools

- -

Addons that overlay chrome://browser/content/debugger.xul must now overlay chrome://browser/content/devtools/debugger.xul. You may add references to both these files in chrome.manifest for compatibility.

- -

 

- -

See also

- - - -

 

- -

 

- -

之前版本

- -

{{Firefox_for_developers('22')}}

diff --git a/files/zh-cn/mozilla/firefox/releases/23/site_compatibility/index.html b/files/zh-cn/mozilla/firefox/releases/23/site_compatibility/index.html deleted file mode 100644 index b2bb77a090..0000000000 --- a/files/zh-cn/mozilla/firefox/releases/23/site_compatibility/index.html +++ /dev/null @@ -1,93 +0,0 @@ ---- -title: Site Compatibility for Firefox 23 -slug: Mozilla/Firefox/Releases/23/Site_compatibility -translation_of: Mozilla/Firefox/Releases/23/Site_compatibility -original_slug: Site_Compatibility_for_Firefox_23 ---- -
{{FirefoxSidebar}}

{{ draft() }}

-

Firefox 23 Aurora (pre-Beta) was released on . While it has been developed to maintain compatibility as much as possible, the new version includes some changes affecting backward compatibility aimed at improving interoperability with the other browsers or following the latest Web standards. Here's the list of such changes — Hope this helps whenever you test your sites or applications.

-

This article only explains the changes that may affect backward compatibility for Websites. For the other new features and changes, please read the following documents:

- -

This list may be updated until the release of the final version on , so please check back later.

-
-

CSS

-
-

能产生文字闪烁效果的text-decoration:blink属性值被删除

- -

Firefox previously supported the Netscape-derived blink effect with the blink keyword for the CSS text-decoration property as well as the HTML blink element and the DOM String.blink method. Starting with Firefox 23, the blink effect no longer works. While text-decoration:blink continues to be supported by the CSS parser and the DOM APIs, the HTML parser has dropped the blink element support, thus the element will be treated as an unknown element. Internet Explorer, Chrome and Safari haven't supported the effect. Opera may also drop the support once it switches to the Blink rendering engine.

-
-
-
-

DOM

-
-

添加到侧边栏的功能被删除

- -

window.sidebar.addPanel and window.sidebar.addPersistentPanel are no longer supported. These methods were a part of a Netscape-derived API which allowed Web publishers to integrate their contents as sidebar panels of the browser. They were not standardized, rarely used, and not very well supported. No other browsers have implemented these.

-

There is also a plan to remove window.sidebar itself in the future.

-
-
-

requestAnimationFrame脱前缀

- -

requestAnimationFrame, the unprefixed version of mozRequestAnimationFrame, has been added. This unprefixed method passes a DOMHighResTimeStamp to callbacks. It has microsecond precision and can be compared to performance.now().

-

On the other hand, the prefixed method, which will be removed in the future, continues to pass an epoch-based DOMTimeStamp to callbacks. The passed-in value has millisecond precision and can be compared to mozAnimationStartTime.

-
-
-

跨域文档的contentDocument属性现在返回null

- -

The contentDocument property on frames now returns null if the caller doesn't subsume the document. This change affects the contentDocument property on the frame, iframe and object elements as well as the getSVGDocument method on the embed, iframe and object elements.

-
-
-

window.defaultStatus被删除

- -

The window.defaultStatus property is no longer available. Setting this property has had no effect in Firefox because the default preference has disallowed changes to the status text by Web pages. Recently, the Firefox UI dropped support for enabling that pref. Also, this property is not specified in the HTML5 spec. window.status is still available.

-
-
-

不再允许创建AnimationEvent和TransitionEvent

- -

The support for obsolete document.createEvent("AnimationEvent"), document.createEvent("TransitionEvent"), AnimationEvent.initAnimationEvent, and TransitionEvent.initTransitionEvent has been removed.

-
-
-
-

视频和音频

-
-

Audio Data API被废弃

- -

The non-standard, experimental Audio Data API is now considered deprecated. The standard Web Audio API can be used instead.

-
-
-

HTMLMediaElement.initialTime被删除

- -

The HTMLMediaElement.initialTime property is no longer available, due to the removal from the spec.

-
-
-
-

安全和隐私

-
-

在SSL页面(HTTPS)上的非SSL活动内容会被默认阻止

- -

Firefox 18 introduced preferences to block loading content from non-SSL (http) sites on SSL (https) pages. One of those preferences, security.mixed_content.block_active_content is now enabled by default in order to enhance user security. That means insecure scripts, stylesheets, plug-in contents, inline frames, Web fonts and WebSockets are blocked on secure pages, and a notification is displayed instead. It will not block "display content" like images, videos or audio. See Tanvi Vyas' blog post for details.

-

Mozilla is tracking mixed content issues found on major sites as well as its own properties.

-
-
diff --git a/files/zh-cn/mozilla/firefox/releases/35/index.html b/files/zh-cn/mozilla/firefox/releases/35/index.html deleted file mode 100644 index c7d75e5f94..0000000000 --- a/files/zh-cn/mozilla/firefox/releases/35/index.html +++ /dev/null @@ -1,213 +0,0 @@ ---- -title: Firefox 35 开发者相关变更清单 -slug: Mozilla/Firefox/Releases/35 -tags: - - Firefox - - Firefox 35 -translation_of: Mozilla/Firefox/Releases/35 ---- -
Firefox 35 was released on January 13th, 2015. This article lists key changes that are useful not only for web developers, but also Firefox and Gecko developers as well as add-on developers.
- -

Web 开发者相关变更

- -

开发者工具

- -

Highlights:

- - - -

All devtools bugs fixed between Firefox 34 and Firefox 35.

- -

CSS

- - - -

HTML

- - - -

JavaScript

- - - -

接口/APIs/DOM

- - - -

 MathML

- - - -

SVG

- -

无变化。

- -

音频/视频

- -

无变化。

- -

网络 & 安全

- - - -

附加组件和 Mozilla 开发者相关的变更

- -

XUL & 附加组件

- - - -

Add-on SDK

- -

Highlights

- - - -

明细

- -

Firefox 34 到 Firefox 35 的 GitHub 提交. This will not include any uplifts made after this release entered Aurora.

- -

Bugs fixed between Firefox 34 and Firefox 35. This will not include any uplifts made after this release entered Aurora.

- -

 

- -

See also

- - - -

 

- -

以往版本

- -
- -
diff --git a/files/zh-cn/mozilla/firefox/releases/43/index.html b/files/zh-cn/mozilla/firefox/releases/43/index.html deleted file mode 100644 index 81566a6373..0000000000 --- a/files/zh-cn/mozilla/firefox/releases/43/index.html +++ /dev/null @@ -1,173 +0,0 @@ ---- -title: Firefox 43 for developers -slug: Mozilla/Firefox/Releases/43 -tags: - - Firefox -translation_of: Mozilla/Firefox/Releases/43 ---- -
{{FirefoxSidebar}}

To test the latest developer features of Firefox,
- install Firefox Developer Edition
Firefox 43 was released on December 15, 2015. This article lists key changes that are useful not only for web developers, but also Firefox and Gecko developers as well as add-on developers.

- -

Changes for Web developers

- -

Developer Tools

- -

Highlights:

- - - -

All devtools bugs fixed between Firefox 42 and Firefox 43.

- -

CSS

- - - -

HTML

- - - -

JavaScript

- -

New APIs

- - - -

Changes regarding the arguments object

- - - -

Other changes

- - - -

Interfaces/APIs/DOM

- -

DOM & HTML DOM

- -

No change.

- -

IndexedDB

- - - -

Service Workers

- - - -

WebRTC

- - - -

Miscellaneous

- - - -

MathML

- -

No change.

- -

SVG

- -

No change.

- -

Audio/Video

- -

No change.

- -

HTTP

- -

No change.

- -

Networking

- -

No change.

- -

Security

- - - -

Changes for add-on and Mozilla developers

- -

Interfaces

- -

No change

- -

XUL

- -

No change.

- -

JavaScript code modules

- -

No change.

- -

XPCOM

- -

No change.

- -

Plugins

- - - -

Other

- -

No change.

- -

See also

- - - -

Older versions

- -

{{Firefox_for_developers('42')}}

diff --git a/files/zh-cn/mozilla/firefox/releases/44/index.html b/files/zh-cn/mozilla/firefox/releases/44/index.html deleted file mode 100644 index d18ac693ac..0000000000 --- a/files/zh-cn/mozilla/firefox/releases/44/index.html +++ /dev/null @@ -1,222 +0,0 @@ ---- -title: Firefox 44 for developers -slug: Mozilla/Firefox/Releases/44 -translation_of: Mozilla/Firefox/Releases/44 ---- -
{{FirefoxSidebar}}

为了测试火狐最新的开发人员特性,请安装火狐开发人员版(Firefox Developer Edition )Firefox 44 于2016年1月26号发布。这个页面列出了对开发人员有用的关键变化。

- -

对于Web开发人员的变化

- -

开发者工具

- -

{{page('/en-US/docs/Tools/Release_notes', 'Firefox_44')}}

- -

HTML

- - - -

CSS

- - - -

JavaScript

- -

New APIs

- - - -

Changes

- - - -

Removals

- - - -

Interfaces/APIs/DOM

- -

DOM & HTML DOM

- - - -

Canvas

- - - -

WebGL

- - - -

IndexedDB

- - - -

Service Workers

- - - -

WebRTC

- - - -

New APIs

- - - -

Miscellaneous

- - - -

MathML

- -

No change.

- -

SVG

- -

No change.

- -

Audio/Video

- -

No change.

- -

HTTP

- - - -

Networking

- -

No change.

- -

Security

- - - -

Changes for add-on and Mozilla developers

- -

Interfaces

- -

No change

- -

XUL

- -

No change.

- -

JavaScript code modules

- - - -

XPCOM

- - - -

Other

- - - -

See also

- - - -

Older versions

- -

{{Firefox_for_developers(43)}}

diff --git a/files/zh-cn/mozilla/firefox/releases/45/index.html b/files/zh-cn/mozilla/firefox/releases/45/index.html deleted file mode 100644 index e288cbacc6..0000000000 --- a/files/zh-cn/mozilla/firefox/releases/45/index.html +++ /dev/null @@ -1,187 +0,0 @@ ---- -title: Firefox 45 for developers -slug: Mozilla/Firefox/Releases/45 -tags: - - Firefox - - Firefox 45 -translation_of: Mozilla/Firefox/Releases/45 ---- -
{{FirefoxSidebar}}

安装Firefox开发者版本,
- 以便测试Firefox最新的功能
Firefox 45 was released on March 8, 2016. This article lists key changes that are useful not only for web developers, but also Firefox and Gecko developers as well as add-on developers.

- -

针对网络开发者的功能更新

- -

开发工具

- -

{{page('/en-US/docs/Tools/Release_notes', 'Firefox_45')}}

- -

HTML

- - - -

CSS

- - - -

JavaScript

- - - -

Interfaces/APIs/DOM

- -

DOM & HTML DOM

- - - -

WebGL

- -

Our implementation of WebGL2 have been extended:

- - - -

IndexedDB

- -

No change.

- -

Service Workers

- - - -

WebRTC

- -

No change.

- -

New APIs

- -

No change.

- -

Miscellaneous

- - - -

MathML

- -

 

- -

No change.

- -

SVG

- - - -

Audio/Video

- - - -

HTTP

- - - -

Security

- - - -

Changes for add-on and Mozilla developers

- -

Interfaces

- -

No change.

- -

XUL

- - - -

JavaScript code modules

- -

No change.

- -

XPCOM

- -

No change.

- -

Search plugins

- -

Starting in Firefox 45, search plugins located in the user's profile's searchpluginsdirectory are no longer automatically loaded on startup. Instead, a list of user-installed plugins is maintained and only those plugins are loaded. In effect, this means that the only ways to install new search plugins are for the user to do so in the Firefox UX (via OpenSearch discovery, for instance) or for an add-on to install it. Also, when a new search plugin is installed, more information is recorded about where it came from, for future use by profile debugging and cleaning tools.

- -

 

- -

Other

- - - -

 

- -

See also

- - - -

Older versions

- -

{{Firefox_for_developers(44)}}

diff --git a/files/zh-cn/mozilla/firefox/releases/49/index.html b/files/zh-cn/mozilla/firefox/releases/49/index.html deleted file mode 100644 index d1afa7f9a6..0000000000 --- a/files/zh-cn/mozilla/firefox/releases/49/index.html +++ /dev/null @@ -1,348 +0,0 @@ ---- -title: Firefox 49 for developers -slug: Mozilla/Firefox/Releases/49 -tags: - - Firefox - - Firefox 49 -translation_of: Mozilla/Firefox/Releases/49 ---- -
{{FirefoxSidebar}}

To test the latest developer features of Firefox,
- install Firefox Developer Edition
Firefox 49 was released on September 20, 2016. This article lists key changes that are useful not only for web developers, but also Firefox and Gecko developers as well as add-on developers.

- -

对于Web开发者的改变

- -

开发者工具

- - - -

HTML

- - - -

CSS

- - - -

JavaScript

- - - -

Interfaces/APIs/DOM

- -

DOM & HTML DOM

- - - -

Canvas

- - - -

WebGL

- - - -

IndexedDB

- - - - - - - -

Media Streams

- - - -

WebRTC

- - - -

New APIs

- - - -

Others

- - - -

MathML

- -

No change.

- -

SVG

- - - -

Audio/Video

- -

没有改变.

- -

Plugins and Flash

- -

Beginning in Firefox 49, Firefox, by default, blocks certain kinds of Flash content that aren't necessary for sites to function well. This behavior, controlled by the preference browser.safebrowsing.blockedURIs.enabled, helps to improve the performance of sites and Firefox in general without having significant impact on site usability. It also helps improve stability of the browsing experience by elminating a major cause of crashes. The blocked Flash modules include several used just for fingerprinting purposes, as well as a number of "supercookie" modules, and in the future may be expanded to include more types of blocked modules. See {{bug(1275591)}} for details.

- -

This marks the next step in the journey toward a plugin-free future. HTML is very close to the point where plugins will no longer be needed to get the job done.

- -

HTTP

- - - -

Networking

- - - -

Security

- - - -

Compatibility

- -

为了增强兼容性对于现在已经存在的内容, Firefox 现在接受一些 webkit 前缀 properties and attributes.

- - - -

改变对于 add-on and Mozilla developers

- -

WebExtensions

- - - -

Interfaces

- - - -

Other

- -

没有改变.

- -

See also

- - - -

Older versions

- -

{{Firefox_for_developers(48)}}

diff --git a/files/zh-cn/mozilla/firefox/releases/56/index.html b/files/zh-cn/mozilla/firefox/releases/56/index.html deleted file mode 100644 index e7e2870e37..0000000000 --- a/files/zh-cn/mozilla/firefox/releases/56/index.html +++ /dev/null @@ -1,129 +0,0 @@ ---- -title: Firefox 56 for developers -slug: Mozilla/Firefox/Releases/56 -translation_of: Mozilla/Firefox/Releases/56 ---- -
{{FirefoxSidebar}}
-

本文介绍了一些在Firefox 56中的一些改进,这些改进会对开发者们产生影响。Firefox 56是当前Firefox的Beta版,预计在2017年9月26日正式发布。

- -
-

针对网页开发者们的若干改变

- -

开发者工具

- -
    -
  • 在CSS格检查器中显示以负号开始的行号({{bug(1369942)}}).
  • -
- -

HTML

- -
    -
  • 在打标签的窗体控件中采用labels 属性,比如 {{domxref("HTMLInputElement.labels")}} ({{bug(556743)}}).
  • -
  • 实现了 <link rel="preload">; 更详细的内容,可以参见 Preloading content with rel="preload"  ({{bug(1222633)}}). 需要注意的是,当前的Firefox只支持对可缓存的资源进行预加载。
  • -
- -

CSS

- -
    -
  • 实现了Mozilla自有的属性 {{cssxref("<color>")}} 值为 -moz-win-accentcolor 以及 -moz-win-accentcolortext (可以参见 {{bug(1344910)}}), 以及专用的媒体查询语句 -moz-windows-accent-color-in-titlebar (参见{{bug(1379938)}}).
  • -
- -

SVG

- -

无修改.

- -

JavaScript

- -
    -
  • The Intl API has been enabled on Firefox for Android ({{bug(1344625)}}).
  • -
- -

APIs

- -

New APIs

- -

No changes.

- -

DOM

- -
    -
  • On Mac, {{domxref("Document.hidden")}} is now true when the window is behind another non-translucent application {{bug(1236512)}}.
  • -
  • The {{domxref("Gamepad.displayId")}} property has been implemented ({{bug(1375816)}}).
  • -
  • The {{domxref("PerformanceTiming.secureConnectionStart")}} property has been implemented ({{bug(772589)}}).
  • -
  • Firefox used to accept iso-2022-jp-2 sequences silently when an iso-2022-jp {{domxref("TextDecoder.TextDecoder","TextDecoder()")}} was instantiated, however this has now been removed to simplify the API, as no other browsers support it and no pages seem to use it. ({{bug(715833)}}).
  • -
  • The 4ms clamping behaviour of {{domxref("WindowOrWorkerGlobalScope.setTimeout","setTimeout()")}} and {{domxref("WindowOrWorkerGlobalScope.setInterval","setInterval()")}} has been updated to be more in line with other browsers, as described in Timeouts throttled to >=4ms ({{bug(1378586)}}).
  • -
  • The Page Visibility API's {{domxref("Document.onvisibilitychange")}} handler has been added ({{bug("1333912")}}).
  • -
  • The {{domxref("Window.showModalDialog()")}} method has been removed ({{bug(981796)}}).
  • -
- -

DOM events

- -
    -
  • {{domxref("GlobalEventHandlers.onwheel")}} is now available on {{domxref("HTMLElement")}} — it wasn't before ({{bug(1370550)}}).
  • -
- -

WebRTC

- -
    -
  • Firefox now supports the {{domxref("RTCPeerConnection")}} properties which let you examine the current and pending configurations of the local and remote ends of the connection, to help manage changes in configuration: {{domxref("RTCPeerConnection.currentLocalDescription", "currentLocalDescription")}}, {{domxref("RTCPeerConnection.pendingLocalDescription", "pendingLocalDescription")}}, {{domxref("RTCPeerConnection.currentRemoteDescription", "currentRemoteDescription")}}, and {{domxref("RTCPeerConnection.pendingRemoteDescription", "pendingRemoteDescription")}}.
  • -
- -

Canvas and WebGL

- -
    -
  • The {{domxref("CanvasRenderingContext2D.drawImage()")}} method has been updated so that smoothing occurs when downscaling even if imageSmoothingEnabled is false. This is not mandatory as per spec, but follows Chrome's behaviour. See {{bug(1360415)}}.
  • -
  • An {{domxref("SVGImageElement")}} can now be used as a {{domxref("CanvasImageSource")}}, e.g. as the image source in a {{domxref("CanvasRenderingContext2D.drawImage","drawImage()")}} call ({{bug(1382027)}}).
  • -
- -

Security

- -

No changes.

- -

Plugins

- -

No changes.

- -

Other

- -
    -
  • Gecko now encodes URLs internally as punycode, to avoid URL encoding problems (see {{bug("945240")}}, also see discussion in {{bug("942074")}}).
  • -
  • Firefox on Windows and Mac OS X can now be made to run in headless mode using the -headless flag (see {{bug(1355150)}} and {{bug(1355147)}}).
  • -
- -

Removals from the web platform

- -

HTML

- -
    -
  • The {{htmlelement("isindex")}} element has been removed from the HTML parser, and from form submission ({{bug(1266495)}}).
  • -
  • The {{htmlelement("applet")}} element has been removed ({{bug(1279218)}}).
  • -
- -

APIs

- -

No changes.

- -

SVG

- -

No changes.

- -

Changes for add-on and Mozilla developers

- -

WebExtensions

- -

No changes.

- -

See also

- - -
- - - -

Older versions

- -

{{Firefox_for_developers(55)}}

-
diff --git a/files/zh-cn/mozilla/firefox/releases/59/index.html b/files/zh-cn/mozilla/firefox/releases/59/index.html index aca2ace7c6..3db0fe4da0 100644 --- a/files/zh-cn/mozilla/firefox/releases/59/index.html +++ b/files/zh-cn/mozilla/firefox/releases/59/index.html @@ -75,7 +75,7 @@ translation_of: Mozilla/Firefox/Releases/59

安全

diff --git a/files/zh-cn/mozilla/firefox/releases/65/index.html b/files/zh-cn/mozilla/firefox/releases/65/index.html index 548193494e..b5800bacbd 100644 --- a/files/zh-cn/mozilla/firefox/releases/65/index.html +++ b/files/zh-cn/mozilla/firefox/releases/65/index.html @@ -117,12 +117,6 @@ translation_of: Mozilla/Firefox/Releases/65

移除

-

参阅

- - -

更早期的版本

{{Firefox_for_developers(65)}}

diff --git a/files/zh-cn/mozilla/firefox/releases/68/index.html b/files/zh-cn/mozilla/firefox/releases/68/index.html deleted file mode 100644 index 621bd205fb..0000000000 --- a/files/zh-cn/mozilla/firefox/releases/68/index.html +++ /dev/null @@ -1,240 +0,0 @@ ---- -title: 为开发者的 Firefox 68 文档 -slug: Mozilla/Firefox/Releases/68 -translation_of: Mozilla/Firefox/Releases/68 ---- -

{{FirefoxSidebar}}

- -

本篇文章将提供关于在Firefox 68版本中,会影响到开发人员的更新的信息。Firefox 68版本发布于2019年7月9日。

- -

面向开发者的变更

- -

开发者工具

- -

浏览器/网页控制台

- - - -

JavaScript 调试器

- - - -

网络监视器

- - - -

页面查看器

- - - -

存储查看器

- - - -

其它

- - - -

移除

- - - -

HTML

- - - -

 移除

- - - -

CSS

- - - -

Removals

- - - -

SVG

- -

No changes.

- -

JavaScript

- - - -

APIs

- -

CSS Object Model (CSSOM)

- - - -

DOM

- - - -

DOM events

- - - -

Media, Web Audio, and WebRTC

- - - -

Removals

- - - -

HTTP

- - - -

Removals

- - - -

Security

- - - -

WebDriver conformance (Marionette)

- -

Bug fixes

- - - -

Other

- - - -

Plugins

- -

No changes.

- -

Changes for add-on developers

- -

API changes

- - - -

显著变更

- -

无变更。

- -

还可以看看

- - - -

更早的版本

- -

{{Firefox_for_developers(67)}}

diff --git a/files/zh-cn/mozilla/firefox/releases/69/index.html b/files/zh-cn/mozilla/firefox/releases/69/index.html deleted file mode 100644 index 88f1c741aa..0000000000 --- a/files/zh-cn/mozilla/firefox/releases/69/index.html +++ /dev/null @@ -1,185 +0,0 @@ ---- -title: 面向开发者的Firefox 69 -slug: Mozilla/Firefox/Releases/69 -translation_of: Mozilla/Firefox/Releases/69 ---- -

{{FirefoxSidebar}}

- -

这篇文章将会围绕Firefox 69对于开发者产生的影响展开。

- -

Firefox 69 发布于2019年9月3日。

- -

对于web开发者的变化

- -

开发者工具

- -

Debugger(调试器)

- - - -

Console(控制台)

- - - -

Network(网络)

- - - -

Inspector(查看器)

- - - -

Remote debugging(远程调试)

- - - -

General(日常)

- - - -

HTML

- - - -

 Removals

- - - -

CSS

- - - -

SVG

- - - -

JavaScript

- - - -

HTTP

- - - -

APIs

- -

New APIs

- - - -

DOM

- - - -

Media, Web Audio, and WebRTC

- - - -

Removals

- - - -

WebDriver conformance (Marionette)

- -

Other

- - - -

Changes for add-on developers

- -

API changes

- - - -

Other changes

- - - -

See also

- - - -

Older versions

- -

{{Firefox_for_developers(68)}}

diff --git a/files/zh-cn/mozilla/firefox/releases/78/index.html b/files/zh-cn/mozilla/firefox/releases/78/index.html index 1c28b03a7a..cba1e3f83a 100644 --- a/files/zh-cn/mozilla/firefox/releases/78/index.html +++ b/files/zh-cn/mozilla/firefox/releases/78/index.html @@ -105,12 +105,6 @@ translation_of: Mozilla/Firefox/Releases/78
  • 当使用带有另存为选项的downloads.download时,可以记住最近使用的目录。 尽管此信息对开发人员用处不大,但对用户而言却非常方便。
  • -

    参见

    - - -

    旧版本

    {{Firefox_for_developers(77)}}

    diff --git a/files/zh-cn/web/api/element/keydown_event/index.html b/files/zh-cn/web/api/element/keydown_event/index.html index 2576b577f2..56777100fb 100644 --- a/files/zh-cn/web/api/element/keydown_event/index.html +++ b/files/zh-cn/web/api/element/keydown_event/index.html @@ -38,7 +38,7 @@ translation_of: Web/API/Element/keydown_event

    键盘事件只能由 <inputs>, <textarea> 以及任何具有  contentEditable 或 tabindex="-1"属性的组件触发。

    -

    自 Firefox 65起,  keydown 与 keyup 事件会在IME(输入法编辑器)复合事件中被触发,目的是为了提升CJKT(中日韩台地区)用户跨浏览器性能, ({{bug(354358)}},更多详情访问 keydown and keyup events are now fired during IME composition ). 若要忽略复合事件中所有 keydown 事件, 可以按照如下代码修改 (229是某个在IME中触发的键盘事件对应的 keyCode):

    +

    自 Firefox 65起,  keydown 与 keyup 事件会在IME(输入法编辑器)复合事件中被触发,目的是为了提升CJKT(中日韩台地区)用户跨浏览器性能, ({{bug(354358)}}). 若要忽略复合事件中所有 keydown 事件, 可以按照如下代码修改 (229是某个在IME中触发的键盘事件对应的 keyCode):

    eventTarget.addEventListener("keydown", event => {
       if (event.isComposing || event.keyCode === 229) {
    diff --git a/files/zh-cn/web/api/element/keyup_event/index.html b/files/zh-cn/web/api/element/keyup_event/index.html
    index 17df6b0336..1a56ecfa2d 100644
    --- a/files/zh-cn/web/api/element/keyup_event/index.html
    +++ b/files/zh-cn/web/api/element/keyup_event/index.html
    @@ -32,7 +32,7 @@ translation_of: Web/API/Element/keyup_event
     
     

    keydown 和 keyup 事件提供指出哪个键被按下的代码,而 keypress 指出哪些字符被输入。例如,小写字母 “a” 在 keydown 和 keyup 时会被报告为 65,但在 keypress 时为 97。所有事件均将大写字母 “A” 报告为 65。

    -

    从 Firefox 65 开始,keyup 和 keydown 事件在 IME 编辑时也会被触发,以提升 CJKT 用户的跨浏览器兼容性({{bug(354358)}},另请参阅 keydown and keyup events are now fired during IME composition 获取更多有用的详情)。要忽略 IME 编辑时的所有 keyup 事件,请执行以下操作(229 是一个关于被 IME 加工过的事件的  keyCode 的特殊值 ):

    +

    从 Firefox 65 开始,keyup 和 keydown 事件在 IME 编辑时也会被触发,以提升 CJKT 用户的跨浏览器兼容性({{bug(354358)}})。要忽略 IME 编辑时的所有 keyup 事件,请执行以下操作(229 是一个关于被 IME 加工过的事件的  keyCode 的特殊值 ):

    eventTarget.addEventListener("keyup", event => {
       if (event.isComposing || event.keyCode === 229) {
    diff --git a/files/zh-cn/web/api/navigator/buildid/index.html b/files/zh-cn/web/api/navigator/buildid/index.html
    index 8e9d5fa3d0..bb79355571 100644
    --- a/files/zh-cn/web/api/navigator/buildid/index.html
    +++ b/files/zh-cn/web/api/navigator/buildid/index.html
    @@ -32,8 +32,4 @@ translation_of: Web/API/Navigator/buildID
     
     

    浏览器兼容性

    -

    {{Compat("api.Navigator.buildID")}}

    - -

    另请参阅

    - -

    navigator.buildID 现在返回一个固定的时间戳。

    +

    {{Compat("api.Navigator.buildID")}}

    \ No newline at end of file diff --git a/files/zh-cn/web/api/worker/index.html b/files/zh-cn/web/api/worker/index.html index 24d6bbc738..3084311247 100644 --- a/files/zh-cn/web/api/worker/index.html +++ b/files/zh-cn/web/api/worker/index.html @@ -94,7 +94,7 @@ first.onchange = function() {

    跨域行为的错误事件

    -

    浏览器的早期版本中,加载跨域的执行者脚本导致 SecurityError事件。根据规范的变更,而新版本的浏览器只有{{event("error")}}事件发生。关于如何处理这种事件的更多信息参考 Loading cross-origin worker now fires error event instead of throwing; worker in sandboxed iframe no longer allowed.

    +

    浏览器的早期版本中,加载跨域的执行者脚本导致 SecurityError事件。根据规范的变更,而新版本的浏览器只有{{event("error")}}事件发生

    相关链接

    -- cgit v1.2.3-54-g00ecf