Refine bounds checking to prevent putting the internal frame in a position where it could not be dragged back to visible area.

Also, prevent a NPE occurring on Macs since the browser extension have been re-enabled.
Simple implementation of OAuth 2 browser interactions with JavaScript
SOAP-1416 Added script editor to OAuth2 profile inspector
Removed hardcoded scripts
SOAP-1416 Automated OAuth2 browser interactions feature file
SOAP-1416 Changed feature file after peer review
SOAP-1416 OAuth interaction scripts saved to config
SOAP-1416 JavaScript validation in OAuth 2 script editor
SOAP-1416 Improved feature file and template JavaScripts to be used when testing
When UI is Mac, introduce a desktop manager using a most-recent-use order
for its panels and disable iconify/deiconify to prevent problems
occurring because Aqua desktop manager is not used.
SOAP-1416 Added button to test automation JavaScripts
Refactor name
SOAP-1416 Improved synchronization in JavaScript automation GUI
Add test for http header on SOAP mocking response
Refactor move the setResopnseHeaders to base
removes unnecessary casts
adds http header test to rest mock action test
adds documentation
Make tests better
adds tests for http header property expansion and makes it work for rest also