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
af0fdfdc6c
commit
a55fbb463f
@ -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
|
||||||
|
@ -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;
|
||||||
|
@ -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(){};
|
||||||
|
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user