aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/mozilla/firefox/releases/24/site_compatibility/index.html
blob: 296e580123df57d0b475893fdd331f51ab23aed3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
---
title: Firefox 24网站兼容性
slug: Site_Compatibility_for_Firefox_24
translation_of: Mozilla/Firefox/Releases/24/Site_compatibility
---
<div>{{FirefoxSidebar}}</div><p>{{ draft() }}</p>
<p>Firefox 24 <a href="http://www.mozilla.org/zh-CN/firefox/aurora/">Aurora</a> (pre-Beta) will be released on <time datetime="2013-06-28">June 28, 2013</time>. 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.</p>
<p><strong>This article only explains the changes that may affect backward compatibility for Websites</strong>. For the other new features and changes, please read the following documents:</p>
<ul>
  <li><a href="/zh-CN/docs/Mozilla/Firefox/Releases/24">Firefox 24 for developers</a></li>
</ul>
<p>This list may be updated until the release of the final version on <time datetime="2013-09-17">September 17, 2013</time>, so please check back later.</p>
<section id="sect1">
  <h2 id="DOM">DOM</h2>
  <section id="sect2">
    <h3 id="releaseEventscaptureEventsrouteEvent等方法被删除"><code>releaseEvents</code>,<code>captureEvents,</code><code>routeEvent</code>等方法被删除</h3>
    <ul>
      <li><a href="https://bugzilla.mozilla.org/show_bug.cgi?id=673919">Bug 673919 – Remove releaseEvents, captureEvents, routeEvent</a></li>
    </ul>
    <p>The <a href="/zh-CN/docs/Web/API/window.releaseEvents"><code>releaseEvents</code></a>, <a href="/zh-CN/docs/Web/API/window.captureEvents"><code>captureEvents</code></a>, <a href="/zh-CN/docs/Web/API/window.routeEvent"><code>routeEvent</code></a>, <code>enableExternalCapture</code> and <code>disableExternalCapture</code> methods on the <a href="/zh-CN/docs/Web/API/Window"><code>window</code></a> object have been removed. They were Netscape-derived APIs <a href="/zh-CN/docs/Gecko_1.9_Changes_affecting_websites">deprecated since Firefox 3</a> and the implementation has been no-op (doing nothing). Recently Google Chrome (the Blink rendering engine) also removed the support for those methods. The standard <a href="/zh-CN/docs/Web/API/Event">DOM Event</a> methods, including <a href="/zh-CN/docs/Web/API/EventTarget.addEventListener"><code>addEventListener</code></a> and <a href="/zh-CN/docs/Web/API/EventTarget.removeEventListener"><code>removeEventListener</code></a>, should be used instead.</p>
  </section>
</section>