Bug 728628. (Av1) browser_viewsourceprefs.js: Use "about:mozilla", instead of "about:robots", to support non-Firefox applications. f=jwein r=neil.
authorSerge Gautherie <sgautherie.bz@free.fr>
Tue, 21 Feb 2012 03:41:10 +0100
changeset 88719 7df4ef4a3a58e3bbd4b22825acb010bd86b66c54
parent 88718 f7ccbfd0b7c633a10a25623b6d58efbb8b011185
child 88720 57c613f56cf95925be1dda868a1b560546d5aebc
push id975
push userffxbld
push dateTue, 13 Mar 2012 21:39:16 +0000
treeherdermozilla-aurora@99faebf9dc36 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersneil
bugs728628
milestone13.0a1
Bug 728628. (Av1) browser_viewsourceprefs.js: Use "about:mozilla", instead of "about:robots", to support non-Firefox applications. f=jwein r=neil.
toolkit/components/viewsource/test/browser/browser_viewsourceprefs.js
--- a/toolkit/components/viewsource/test/browser/browser_viewsourceprefs.js
+++ b/toolkit/components/viewsource/test/browser/browser_viewsourceprefs.js
@@ -1,13 +1,13 @@
 /* Any copyright is dedicated to the Public Domain.
  * http://creativecommons.org/publicdomain/zero/1.0/
  */
 
-let source = "about:robots";
+const source = "about:mozilla";
 let mWindow, wrapMenuItem, syntaxMenuItem;
 
 // Check the default values are set.
 function test() {
   waitForExplicitFinish();
 
   registerCleanupFunction(function() {
     SpecialPowers.clearUserPref("view_source.tab_size");