gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] [patch #8723] Patches to improve the unimplemented `TextF


From: Nutchanon Wetchasit
Subject: [Gnash-commit] [patch #8723] Patches to improve the unimplemented `TextField.getFontList()` stub
Date: Tue, 25 Aug 2015 17:05:03 +0000
User-agent: Mozilla/5.0 (X11; Linux i686; rv:25.5) Gecko/20150606 Firefox/31.9 PaleMoon/25.5.0

Follow-up Comment #3, patch #8723 (project gnash):

Patch 3 (extra).
See the attached `0003_add-textfield-getfontlist-tests.patch`.

This patch adds five automated tests on how `TextField.getFontList()`
behaves when it was called in various configuration:
* Called as a static member of TextField class (typical configuration).
* Called as a function variable.
* Called as a non-static member of an generic Object.
* Called with no `this` context, using `Function.call(undefined)`.
* Called with no `this` context, using `Function.call(null)`.

In all case, `TextField.getFontList()` must return Array to pass.

Not sure if the last test is redundant though; I included it because Gnash
has some issue of `this=null` V.S. `this=undefined` in some place.

Gnash: 0.8.11dev (patched against git e04f9e2 24-Aug-2015 on top of patch
#8721)
System: Debian GNU/Linux 7.0 Wheezy i386

(file #34725)
    _______________________________________________________

Additional Item Attachment:

File name: 0003_add-textfield-getfontlist-tests.patch Size:1 KB


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/patch/?8723>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]