mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 896756 - Fix strict warnings in xpcshell's head.js. r=jmaher
This commit is contained in:
parent
5d5c8bf66f
commit
d2d508df28
@ -113,8 +113,8 @@ function _Timer(func, delay) {
|
||||
}
|
||||
_Timer.prototype = {
|
||||
QueryInterface: function(iid) {
|
||||
if (iid.Equals(Components.interfaces.nsITimerCallback) ||
|
||||
iid.Equals(Components.interfaces.nsISupports))
|
||||
if (iid.equals(Components.interfaces.nsITimerCallback) ||
|
||||
iid.equals(Components.interfaces.nsISupports))
|
||||
return this;
|
||||
|
||||
throw Components.results.NS_ERROR_NO_INTERFACE;
|
||||
@ -191,7 +191,7 @@ function _dump_exception_stack(stack) {
|
||||
* @note Idle service is overridden by default. If a test requires it, it will
|
||||
* have to call do_get_idle() function at least once before use.
|
||||
*/
|
||||
_fakeIdleService = {
|
||||
var _fakeIdleService = {
|
||||
get registrar() {
|
||||
delete this.registrar;
|
||||
return this.registrar =
|
||||
|
@ -122,8 +122,8 @@ function _Timer(func, delay) {
|
||||
}
|
||||
_Timer.prototype = {
|
||||
QueryInterface: function(iid) {
|
||||
if (iid.Equals(Components.interfaces.nsITimerCallback) ||
|
||||
iid.Equals(Components.interfaces.nsISupports))
|
||||
if (iid.equals(Components.interfaces.nsITimerCallback) ||
|
||||
iid.equals(Components.interfaces.nsISupports))
|
||||
return this;
|
||||
|
||||
throw Components.results.NS_ERROR_NO_INTERFACE;
|
||||
@ -200,7 +200,7 @@ function _dump_exception_stack(stack) {
|
||||
* @note Idle service is overridden by default. If a test requires it, it will
|
||||
* have to call do_get_idle() function at least once before use.
|
||||
*/
|
||||
_fakeIdleService = {
|
||||
var _fakeIdleService = {
|
||||
get registrar() {
|
||||
delete this.registrar;
|
||||
return this.registrar =
|
||||
|
Loading…
Reference in New Issue
Block a user