@@ -92,8 +92,6 @@ QUnit.test( "aria-modal", function( assert ) {
92
92
assert . equal ( wrapper . attr ( "aria-modal" ) , "true" , "modal option set to true, aria-modal attribute added" ) ;
93
93
element . dialog ( "option" , "modal" , false ) ;
94
94
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" ) ;
97
95
element . dialog ( "option" , "modal" , true ) ;
98
96
assert . equal ( wrapper . attr ( "aria-modal" ) , "true" , "modal option set to true, aria-modal attribute added" ) ;
99
97
element . remove ( ) ;
@@ -103,8 +101,6 @@ QUnit.test( "aria-modal", function( assert ) {
103
101
assert . equal ( wrapper . attr ( "aria-modal" ) , undefined , "modal option set to false, aria-modal attribute not added" ) ;
104
102
element . dialog ( "option" , "modal" , true ) ;
105
103
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" ) ;
108
104
element . dialog ( "option" , "modal" , false ) ;
109
105
assert . equal ( wrapper . attr ( "aria-modal" ) , undefined , "modal option set to false, aria-modal attribute not added" ) ;
110
106
element . remove ( ) ;
@@ -116,8 +112,6 @@ QUnit.test( "aria-modal", function( assert ) {
116
112
assert . equal ( wrapper . attr ( "aria-modal" ) , "true" , "modal option set to true, aria-modal attribute added" ) ;
117
113
element . dialog ( "option" , "modal" , false ) ;
118
114
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" ) ;
121
115
element . remove ( ) ;
122
116
} ) ;
123
117
0 commit comments