[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 278618] Obviously the canvas 2D rendering context method
From:       Gérard Talbot <browserbugs () gtalbot ! org>
Date:       2011-08-31 1:47:06
Message-ID: E1QyZtS-0001lb-Jo () bugs ! kde ! org
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=278618





--- Comment #12 from Gérard Talbot <browserbugs gtalbot org>  2011-08-31 01:47:06 ---
One extra nice thing about such 2 lines
var ctxt = document.createElement("canvas").getContext("2d"); typeof
ctxt.fillText == "function";
is that one can still examine properties, methods, local variable values change
with the Konqueror Javascript Debugger enabled and loaded and with its StepInto
debugging feature. fillRect(), fillStyle are declared, defined and supported
but not fillText() ... which is exactly what we got from the original with
error message:

"TypeError: Attempt to use a non-function object or a value as a function".

Gérard

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic