* Change name of ext_desktop_size to the proper ExtendedDesktopSize

* Added better error handling in ExtendedDesktopSize
* Added helper function to share code with DesktopSize
* Update test.rfb.js to only check for error handling if we were the
  ones requesting the resize
This commit is contained in:
samhed
2015-03-05 14:56:47 +01:00
parent 3b8ec46fd2
commit 798340b98d
2 changed files with 62 additions and 39 deletions

View File

@@ -1584,7 +1584,7 @@ describe('Remote Frame Buffer Protocol Client', function() {
});
it('should not handle a failed request', function () {
var reason_for_change = 0; // non-incremental
var reason_for_change = 1; // requested by this client
var status_code = 1; // Resize is administratively prohibited
send_fbu_msg([{ x: reason_for_change, y: status_code,