Bug 815363 - Make the autocomplete inPrivateContext getter call a real method. r=mak
authorJosh Matthews <josh@joshmatthews.net>
Mon, 26 Nov 2012 17:20:56 -0500
changeset 114375 b21026bf9d448ddceb2aa57b7a854c4b85d69f58
parent 114374 2b6cc93b25fffac393468062f32eeed6933f2e82
child 114376 123b02c5b57911c36fcfc720100f310a53a31ee9
push id18731
push userjosh@joshmatthews.net
push dateWed, 28 Nov 2012 17:57:34 +0000
treeherdermozilla-inbound@b21026bf9d44 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmak
bugs815363
milestone20.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 815363 - Make the autocomplete inPrivateContext getter call a real method. r=mak
toolkit/content/widgets/autocomplete.xml
--- a/toolkit/content/widgets/autocomplete.xml
+++ b/toolkit/content/widgets/autocomplete.xml
@@ -165,17 +165,17 @@
 
       <field name="PrivateBrowsingUtils" readonly="true">
         let utils = {};
         Components.utils.import("resource://gre/modules/PrivateBrowsingUtils.jsm", utils);
         utils.PrivateBrowsingUtils
       </field>
 
       <property name="inPrivateContext" readonly="true"
-                onget="this.PrivateBrowsingUtils.isPrivateWindow(window)"/>
+                onget="return this.PrivateBrowsingUtils.isWindowPrivate(window);"/>
 
       <!-- This is the maximum number of drop-down rows we get when we
             hit the drop marker beside fields that have it (like the URLbar).-->
       <field name="maxDropMarkerRows" readonly="true">14</field>
 
       <method name="getSearchAt">
         <parameter name="aIndex"/>
         <body><![CDATA[