function Tester(allowFullscreen,
                expectedChangeType,
                expectedDidEmbedderGoFullscreen) {
  this.registerEventHandlers_();

  this.allowFullscreen_ = allowFullscreen;

  this.currentState_ = new TestState();
  this.expectedState_ = new TestState(expectedChangeType,
                                      expectedDidEmbedderGoFullscreen);
}
/**
 * @constructor
 * @param {boolean} allowFullscreen Whether to allow fullscreen permission.
 * @param {string} expectedChangeType Expected type of fullscreen change,
 *     can be one of "enter" or "exit".
 * @param {boolean} expectEmbedderToGoFullscreen Whether or not we expect
 *     to see fullscreen change event on the embedder/app.
 */
@constructor
@param {boolean} allowFullscreen Whether to allow fullscreen permission.
@param {string} expectedChangeType Expected type of fullscreen change,
can be one of "enter" or "exit".
@param {boolean} expectEmbedderToGoFullscreen Whether or not we expect
to see fullscreen change event on the embedder/app.
@constructor @param { boolean } allowFullscreen Whether to allow fullscreen permission . @param { string } expectedChangeType Expected type of fullscreen change can be one of " enter " or " exit " . @param { boolean } expectEmbedderToGoFullscreen Whether or not we expect to see fullscreen change event on the embedder / app .
function Tester(allowFullscreen,
                expectedChangeType,
                expectedDidEmbedderGoFullscreen) {
  this.registerEventHandlers_();
  this.allowFullscreen_ = allowFullscreen;
  this.currentState_ = new TestState();
  this.expectedState_ = new TestState(expectedChangeType,
                                      expectedDidEmbedderGoFullscreen);
}
function Tester ( allowFullscreen , expectedChangeType , expectedDidEmbedderGoFullscreen ) { this . registerEventHandlers_ ( ) ; this . allowFullscreen_ = allowFullscreen ; this . currentState_ = new TestState ( ) ; this . expectedState_ = new TestState ( expectedChangeType , expectedDidEmbedderGoFullscreen ) ; }
@constructor
 @param {boolean} allowFullscreen Whether to allow fullscreen permission.
@constructor @param { boolean } allowFullscreen Whether to allow fullscreen permission .