Bug 1017424 part 1. Remove support for the dom.window_experimental_bindings preference. r=peterv

This commit is contained in:
Boris Zbarsky 2014-09-05 14:28:44 -04:00
parent af0fdfdc6c
commit a55fbb463f
4 changed files with 1 additions and 16 deletions

View File

@ -1125,10 +1125,7 @@ nsGlobalWindow::nsGlobalWindow(nsGlobalWindow *aOuterWindow)
// Initialize the PRCList (this). // Initialize the PRCList (this).
PR_INIT_CLIST(this); PR_INIT_CLIST(this);
if (Preferences::GetBool("dom.window_experimental_bindings") ||
!aOuterWindow) {
SetIsDOMBinding(); SetIsDOMBinding();
}
if (aOuterWindow) { if (aOuterWindow) {
// |this| is an inner window, add this inner window to the outer // |this| is an inner window, add this inner window to the outer

View File

@ -2,11 +2,6 @@
<html> <html>
<head> <head>
<script> <script>
/*
user_pref("dom.window_experimental_bindings", true);
*/
function boom() function boom()
{ {
window.__proto__ = null; window.__proto__ = null;

View File

@ -2,11 +2,6 @@
<html> <html>
<head> <head>
<script> <script>
/*
user_pref("dom.window_experimental_bindings", true);
*/
function boom() function boom()
{ {
window.__proto__ = function(){}; window.__proto__ = function(){};

View File

@ -909,8 +909,6 @@ pref("dom.webapps.useCurrentProfile", false);
pref("dom.cycle_collector.incremental", true); pref("dom.cycle_collector.incremental", true);
pref("dom.window_experimental_bindings", true);
// Parsing perf prefs. For now just mimic what the old code did. // Parsing perf prefs. For now just mimic what the old code did.
#ifndef XP_WIN #ifndef XP_WIN
pref("content.sink.pending_event_mode", 0); pref("content.sink.pending_event_mode", 0);