Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(638)

Side by Side Diff: packages/dart_style/test/regression/0300/0388.unit

Issue 1400473008: Roll Observatory packages and add a roll script (Closed) Base URL: git@github.com:dart-lang/observatory_pub_packages.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 >>>
2 class _SimpleNodeValidator {
3 factory _SimpleNodeValidator.allowImages(UriPolicy uriPolicy) {
4 return new _SimpleNodeValidator(uriPolicy,
5 allowedElements: const ['IMG'],
6 allowedAttributes: const [
7 'IMG::align',
8 'IMG::alt',
9 'IMG::border',
10 'IMG::height',
11 'IMG::hspace',
12 'IMG::ismap',
13 'IMG::name',
14 'IMG::usemap',
15 'IMG::vspace',
16 'IMG::width',
17 ],
18 allowedUriAttributes: const ['IMG::src',]);
19 }
20 }
21 <<<
22 class _SimpleNodeValidator {
23 factory _SimpleNodeValidator.allowImages(UriPolicy uriPolicy) {
24 return new _SimpleNodeValidator(uriPolicy, allowedElements: const [
25 'IMG'
26 ], allowedAttributes: const [
27 'IMG::align',
28 'IMG::alt',
29 'IMG::border',
30 'IMG::height',
31 'IMG::hspace',
32 'IMG::ismap',
33 'IMG::name',
34 'IMG::usemap',
35 'IMG::vspace',
36 'IMG::width',
37 ], allowedUriAttributes: const [
38 'IMG::src',
39 ]);
40 }
41 }
OLDNEW
« no previous file with comments | « packages/dart_style/test/regression/0300/0384.stmt ('k') | packages/dart_style/test/regression/0300/0389.unit » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698