This test overrides the setting shouldRestrictBaseURLSchemes to false and then sets the base URL to a data URL. This is allowed and hence script is executed.
shouldRestrictBaseURLSchemes
false
Note that there will be a JavaScript ReferenceError on success.