anchor.diff:        String expected = 'a<div>b</div>c';
         expect(sanitizeHtmlInternal(inputHtml), expected);
       });
  -    test('supports namespaced attributes', () {
  -      String testInput = '<a xlink:href="something">t</a>';
  -      String expected = '<a>t</a>';
  -      expect(sanitizeHtmlInternal(testInput), expected);
  +    group('supports namespaced attributes', () {
  +      var inputs = [
  +        '<a xlink:href="something">t</a>',
  +        '<a xlink:evil="something">t</a>',
  +        '<a xlink:href="javascript:foo()">t</a>'
  +      ];
   
  -      testInput = '<a xlink:evil="something">t</a>';
  -      expected = '<a>t</a>';
  -      expect(sanitizeHtmlInternal(testInput), expected);
  -
  -      testInput = '<a xlink:href="javascript:foo()">t</a>';
  -      expected = '<a>t</a>';
  -      expect(sanitizeHtmlInternal(testInput), expected);
  +      for (var input in inputs) {
  +        test(input, () {
  +          _testSanitize(input, '<a>t</a>', false);
  +        });
  +      }
       });
       test('supports sanitizing plain text', () {
         String testInput = 'Hello, World';
  
positive.code:     show BrowserDomAdapter;
  import 'package:angular2/src/security/html_sanitizer.dart';
  import 'package:test/test.dart';
  
  main() {
    BrowserDomAdapter.makeCurrent();
  
negative.code:           'basefont'
          ];
          for (String tag in dangerousTags) {
            test(tag, () {
              String testInput = '<$tag>evil!</$tag>';
              _testSanitize(testInput, 'evil!', tag == 'embed');
            });
          }
        });
        group('Swallows tag & content', () {
          var dangerousTags = <String>[
            'object',
            'script',
            'style',
          ];
  
          for (String tag in dangerousTags) {
            test(tag, () {
              String testInput = '<$tag>evil!</$tag>';
              _testSanitize(testInput, '', tag == 'object');
            });
          }
        });
        test('swallows frame entirely', () {
  