Revert "Bug 1111124 using the new way (which will not log a warning) to anchor a panel in test-panel.js"

This reverts commit 71794483d5405cd8a9d18194436f5a7e12d13654.
Bug 1111124 using panel.once("show").. instead of onShow, in "test Anchor And Arrow" test-panel.js