mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 19:04:45 +00:00
Bug 1447210 - Upper-case log levels for Console.createInstance(), r=bgrins
This commit is contained in:
parent
de9297b4bf
commit
a90cff1ced
@ -19,8 +19,8 @@ var ConsoleTest = {
|
||||
c.log("Hello world!");
|
||||
c.trace("Hello world!");
|
||||
|
||||
console.createInstance({ innerID: "LEVEL", maxLogLevel: "off" }).log("Invisible!");
|
||||
console.createInstance({ innerID: "LEVEL", maxLogLevel: "all" }).log("Hello world!");
|
||||
console.createInstance({ innerID: "LEVEL", maxLogLevel: "Off" }).log("Invisible!");
|
||||
console.createInstance({ innerID: "LEVEL", maxLogLevel: "All" }).log("Hello world!");
|
||||
console.createInstance({ innerID: "LEVEL", maxLogLevelPref: "foo.pref" }).log("Invisible!");
|
||||
console.createInstance({ innerID: "LEVEL", maxLogLevelPref: "pref.test.console" }).log("Hello world!");
|
||||
}
|
||||
|
@ -179,8 +179,8 @@ interface ConsoleInstance {
|
||||
callback ConsoleInstanceDumpCallback = void (DOMString message);
|
||||
|
||||
enum ConsoleLogLevel {
|
||||
"all", "debug", "log", "info", "clear", "trace", "timeEnd", "time", "group",
|
||||
"groupEnd", "profile", "profileEnd", "dir", "dirxml", "warn", "error", "off"
|
||||
"All", "Debug", "Log", "Info", "Clear", "Trace", "TimeEnd", "Time", "Group",
|
||||
"GroupEnd", "Profile", "ProfileEnd", "Dir", "Dirxml", "Warn", "Error", "Off"
|
||||
};
|
||||
|
||||
dictionary ConsoleInstanceOptions {
|
||||
|
@ -5233,7 +5233,7 @@ pref("dom.streams.enabled", false);
|
||||
pref("dom.push.enabled", false);
|
||||
pref("dom.push.alwaysConnect", false);
|
||||
|
||||
pref("dom.push.loglevel", "error");
|
||||
pref("dom.push.loglevel", "Error");
|
||||
|
||||
pref("dom.push.serverURL", "wss://push.services.mozilla.com/");
|
||||
pref("dom.push.userAgentID", "");
|
||||
|
Loading…
Reference in New Issue
Block a user