mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
+ Applied Ehsan's sessionstore patch
+ Various related fixes + Added Utils.log2, which logs directly to the window
This commit is contained in:
parent
5cc48c0893
commit
ac6aa9b303
@ -471,6 +471,16 @@ var Utils = {
|
||||
consoleService.logStringMessage(text);
|
||||
},
|
||||
|
||||
log2: function() { // pass as many arguments as you want, it'll print them all
|
||||
var text = this.expandArgumentsForLog(arguments);
|
||||
var html =
|
||||
'<div style="position: relative; z-index: -9999">'
|
||||
+ text
|
||||
+ '</div>';
|
||||
|
||||
$(html).prependTo('body');
|
||||
},
|
||||
|
||||
error: function() { // pass as many arguments as you want, it'll print them all
|
||||
var text = this.expandArgumentsForLog(arguments);
|
||||
Cu.reportError('tabcandy error: ' + text);
|
||||
|
Loading…
Reference in New Issue
Block a user