When unsure of what gets passed through functions or script handlers, do something like this:
Lua Code:
control:SetHandler("OnUpdate", function(...) d(...) end)
Or...
Lua Code:
d(GetUnitBuffInfo("player", 1))
The d() function in ESO will dump everything to your chat frame.