@@ -92,8 +92,6 @@ QUnit.test( "aria-modal", function( assert ) {
9292 assert . equal ( wrapper . attr ( "aria-modal" ) , "true" , "modal option set to true, aria-modal attribute added" ) ;
9393 element . dialog ( "option" , "modal" , false ) ;
9494 assert . equal ( wrapper . attr ( "aria-modal" ) , undefined , "modal option set to false, aria-modal attribute not added" ) ;
95- element . dialog ( "option" , "modal" , null ) ;
96- assert . equal ( wrapper . attr ( "aria-modal" ) , undefined , "modal option not set, aria-modal attribute not added" ) ;
9795 element . dialog ( "option" , "modal" , true ) ;
9896 assert . equal ( wrapper . attr ( "aria-modal" ) , "true" , "modal option set to true, aria-modal attribute added" ) ;
9997 element . remove ( ) ;
@@ -103,8 +101,6 @@ QUnit.test( "aria-modal", function( assert ) {
103101 assert . equal ( wrapper . attr ( "aria-modal" ) , undefined , "modal option set to false, aria-modal attribute not added" ) ;
104102 element . dialog ( "option" , "modal" , true ) ;
105103 assert . equal ( wrapper . attr ( "aria-modal" ) , "true" , "modal option set to true, aria-modal attribute added" ) ;
106- element . dialog ( "option" , "modal" , null ) ;
107- assert . equal ( wrapper . attr ( "aria-modal" ) , undefined , "modal option not set, aria-modal attribute not added" ) ;
108104 element . dialog ( "option" , "modal" , false ) ;
109105 assert . equal ( wrapper . attr ( "aria-modal" ) , undefined , "modal option set to false, aria-modal attribute not added" ) ;
110106 element . remove ( ) ;
@@ -116,8 +112,6 @@ QUnit.test( "aria-modal", function( assert ) {
116112 assert . equal ( wrapper . attr ( "aria-modal" ) , "true" , "modal option set to true, aria-modal attribute added" ) ;
117113 element . dialog ( "option" , "modal" , false ) ;
118114 assert . equal ( wrapper . attr ( "aria-modal" ) , undefined , "modal option set to false, aria-modal attribute not added" ) ;
119- element . dialog ( "option" , "modal" , null ) ;
120- assert . equal ( wrapper . attr ( "aria-modal" ) , null , "modal option not set, aria-modal attribute not added" ) ;
121115 element . remove ( ) ;
122116} ) ;
123117
0 commit comments