mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1017424 part 1. Remove support for the dom.window_experimental_bindings preference. r=peterv
This commit is contained in:
parent
a06c8df5c2
commit
da5c4acac8
@ -1125,10 +1125,7 @@ nsGlobalWindow::nsGlobalWindow(nsGlobalWindow *aOuterWindow)
|
||||
// Initialize the PRCList (this).
|
||||
PR_INIT_CLIST(this);
|
||||
|
||||
if (Preferences::GetBool("dom.window_experimental_bindings") ||
|
||||
!aOuterWindow) {
|
||||
SetIsDOMBinding();
|
||||
}
|
||||
SetIsDOMBinding();
|
||||
|
||||
if (aOuterWindow) {
|
||||
// |this| is an inner window, add this inner window to the outer
|
||||
|
@ -2,11 +2,6 @@
|
||||
<html>
|
||||
<head>
|
||||
<script>
|
||||
|
||||
/*
|
||||
user_pref("dom.window_experimental_bindings", true);
|
||||
*/
|
||||
|
||||
function boom()
|
||||
{
|
||||
window.__proto__ = null;
|
||||
|
@ -2,11 +2,6 @@
|
||||
<html>
|
||||
<head>
|
||||
<script>
|
||||
|
||||
/*
|
||||
user_pref("dom.window_experimental_bindings", true);
|
||||
*/
|
||||
|
||||
function boom()
|
||||
{
|
||||
window.__proto__ = function(){};
|
||||
|
@ -909,8 +909,6 @@ pref("dom.webapps.useCurrentProfile", false);
|
||||
|
||||
pref("dom.cycle_collector.incremental", true);
|
||||
|
||||
pref("dom.window_experimental_bindings", true);
|
||||
|
||||
// Parsing perf prefs. For now just mimic what the old code did.
|
||||
#ifndef XP_WIN
|
||||
pref("content.sink.pending_event_mode", 0);
|
||||
|
Loading…
Reference in New Issue
Block a user