mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1181747 followup. Also need to adjust the assert in the test.
This commit is contained in:
parent
7d8173071e
commit
3bc95b7aa6
@ -714,8 +714,9 @@ exports["test requestAnimationFrame"] = createProxyTest("", function (helper) {
|
||||
|
||||
helper.createWorker(
|
||||
'new ' + function ContentScriptScope() {
|
||||
var self = (function() { return this; })();
|
||||
window.requestAnimationFrame(function callback() {
|
||||
assert(callback == this, "callback is equal to `this`");
|
||||
assert(self == this, "self is equal to `this`");
|
||||
done();
|
||||
});
|
||||
}
|
||||
|
@ -714,8 +714,9 @@ exports["test requestAnimationFrame"] = createProxyTest("", function (helper) {
|
||||
|
||||
helper.createWorker(
|
||||
'new ' + function ContentScriptScope() {
|
||||
var self = (function() { return this; })();
|
||||
window.requestAnimationFrame(function callback() {
|
||||
assert(callback == this, "callback is equal to `this`");
|
||||
assert(self == this, "self is equal to `this`");
|
||||
done();
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user