[prev in list] [next in list] [prev in thread] [next in thread]
List: gnash-commit
Subject: [Gnash-commit] [patch #8935] Patch for providing `_global` as a fallback instance in `Function.call(
From: Nutchanon Wetchasit <INVALID.NOREPLY () gnu ! org>
Date: 2016-03-10 11:03:45
Message-ID: 20160310-180345.sv82809.5151 () savannah ! gnu ! org
[Download RAW message or body]
Follow-up Comment #2, patch #8935 (project gnash):
Patch 2 of 2:
See the attached
`0002_add-function-call-global-fallback-instance-tests.patch`.
This patch adds following automated checks on `Function.call()` and
`Function.apply()` to ActionScript section of Gnash testsuite:
* Function.apply() tests:
** `this` inside function called with `Function.apply()` should be strictly
equal to `_global`.
** Property set to `this` inside function called with `Function.apply()`
should end up in `_global` object.
** `this` inside function called with `Function.apply(undefined)` should be
strictly equal to `_global`.
** Property set to `this` inside function called with
`Function.apply(undefined)` should end up in `_global` object.
** `this` inside function called with `Function.apply(null)` should be
strictly equal to `_global`.
** Property set to `this` inside function called with `Function.apply(null)`
should end up in `_global` object.
* Function.call() tests:
** `this` inside function called with `Function.call()` should be strictly
equal to `_global`.
** Property set to `this` inside function called with `Function.call()` should
end up in `_global` object.
** `this` inside function called with `Function.call(undefined)` should be
strictly equal to `_global`.
** Property set to `this` inside function called with
`Function.call(undefined)` should end up in `_global` object.
** `this` inside function called with `Function.call(null)` should be strictly
equal to `_global`.
** Property set to `this` inside function called with `Function.call(null)`
should end up in `_global` object.
Might need a review, for the same reason as second half
<https://savannah.gnu.org/patch/?8933#comment3> of patch #8933.
Gnash: 0.8.11dev (patched against git a72afa5 9-Mar-2016)
System: Debian GNU/Linux 7.0 Wheezy i386
(file #36594)
_______________________________________________________
Additional Item Attachment:
File name: 0002_add-function-call-global-fallback-instance-tests.patch Size:4
KB
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/patch/?8935>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
_______________________________________________
Gnash-commit mailing list
Gnash-commit@gnu.org
https://lists.gnu.org/mailman/listinfo/gnash-commit
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic