tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

test_legacyTreatNonObjectAsNull.py (301B)


      1 def WebIDLTest(parser, harness):
      2    parser.parse(
      3        """
      4        [LegacyTreatNonObjectAsNull] callback Function = any(any... arguments);
      5        """
      6    )
      7 
      8    results = parser.finish()
      9 
     10    callback = results[0]
     11    harness.check(callback._treatNonObjectAsNull, True, "Got the expected value")