Go Back   WowAce Forums > General > Lua Code Discussion
Lua Code Discussion You scared? Terrified. Mortified. Petrified. Stupefied... by [coding].

Thread Tools
Old 04-12-2013   #1
Senior Member
Lombra's Avatar
Join Date: Jan 2006
Location: Sweden
Posts: 431
Default dropdown.displayMode = "MENU" tainting JoinBattlefield

just something I discovered now. Don't know if it's a known issue.

- ToggleDropDownMenu any non secure menu frame which uses .displayMode = "MENU".
- Load the PvP UI.
- JoinBattlefield() is now tainted.

Further investigation shows that JoinBattlefield gets tainted as long as UIDropDownMenu_GetCurrentDropDown().displayMode == "MENU" the moment the PvP UI loads. Setting UIDropDownMenu_GetCurrentDropDown().displayMode = nil before loading the PvP UI will prevent taint.

Edit: Rewrite.
Grab your sword and fight the Horde!

Last edited by Lombra; 04-14-2013 at 12:28 AM.
Lombra is offline   Reply With Quote

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT. The time now is 12:15 AM.