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

Issue 16374007: First rev of Safe DOM (Closed)

Created:
7 years, 6 months ago by blois
Modified:
7 years, 3 months ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Patch Set 1 : #

Total comments: 39

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

Patch Set 4 : Fixing up recent test additions. #

Total comments: 21

Patch Set 5 : #

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6631 lines, -2684 lines) Patch
M pkg/mdv/test/custom_element_bindings_test.dart View 1 2 3 2 chunks +8 lines, -1 line 0 comments Download
M pkg/mdv/test/template_element_test.dart View 1 2 3 2 chunks +8 lines, -1 line 0 comments Download
M pkg/unittest/lib/html_enhanced_config.dart View 1 2 3 4 5 1 chunk +4 lines, -4 lines 0 comments Download
M sdk/lib/html/dart2js/html_dart2js.dart View 12 chunks +2193 lines, -1061 lines 0 comments Download
M sdk/lib/html/dartium/html_dartium.dart View 13 chunks +2438 lines, -1301 lines 0 comments Download
M sdk/lib/svg/dart2js/svg_dart2js.dart View 1 2 3 4 5 4 chunks +54 lines, -38 lines 0 comments Download
M sdk/lib/svg/dartium/svg_dartium.dart View 1 2 3 4 5 4 chunks +54 lines, -38 lines 0 comments Download
M tests/html/cssstyledeclaration_test.dart View 1 2 3 3 chunks +3 lines, -2 lines 0 comments Download
M tests/html/custom/document_register_basic_test.dart View 1 2 3 4 5 3 chunks +5 lines, -2 lines 0 comments Download
M tests/html/custom/document_register_type_extensions_test.dart View 1 2 3 4 5 2 chunks +4 lines, -2 lines 0 comments Download
M tests/html/custom_elements_test.dart View 1 2 3 4 5 4 chunks +9 lines, -3 lines 0 comments Download
M tests/html/custom_tags_test.dart View 1 2 3 3 chunks +5 lines, -2 lines 0 comments Download
M tests/html/element_test.dart View 1 2 3 4 5 11 chunks +25 lines, -19 lines 0 comments Download
A tests/html/node_validator_test.dart View 1 2 1 chunk +424 lines, -0 lines 0 comments Download
M tests/html/safe_dom_test.dart View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M tests/html/svg_test.dart View 3 chunks +6 lines, -7 lines 0 comments Download
M tests/html/svgelement_test.dart View 1 2 3 chunks +8 lines, -6 lines 0 comments Download
M tests/html/utils.dart View 1 2 3 4 2 chunks +37 lines, -1 line 0 comments Download
M tools/dom/scripts/htmlrenamer.py View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M tools/dom/scripts/systemhtml.py View 1 2 3 4 5 1 chunk +0 lines, -1 line 0 comments Download
A tools/dom/src/Html5NodeValidator.dart View 1 2 3 4 5 1 chunk +450 lines, -0 lines 0 comments Download
A tools/dom/src/NodeValidatorBuilder.dart View 1 2 3 4 1 chunk +453 lines, -0 lines 0 comments Download
A tools/dom/src/Validators.dart View 1 2 3 4 1 chunk +200 lines, -0 lines 0 comments Download
M tools/dom/src/shared_SVGFactoryProviders.dart View 2 chunks +1 line, -29 lines 0 comments Download
M tools/dom/templates/html/dart2js/html_dart2js.darttemplate View 1 2 3 4 1 chunk +8 lines, -5 lines 0 comments Download
M tools/dom/templates/html/dartium/html_dartium.darttemplate View 1 2 3 1 chunk +8 lines, -5 lines 0 comments Download
M tools/dom/templates/html/impl/impl_DocumentFragment.darttemplate View 1 2 3 4 5 2 chunks +16 lines, -20 lines 0 comments Download
M tools/dom/templates/html/impl/impl_Element.darttemplate View 1 2 3 4 5 2 chunks +137 lines, -124 lines 0 comments Download
M tools/dom/templates/html/impl/impl_HTMLTemplateElement.darttemplate View 1 2 3 4 5 1 chunk +16 lines, -0 lines 0 comments Download
M tools/dom/templates/html/impl/impl_SVGElement.darttemplate View 1 2 3 4 5 2 chunks +48 lines, -9 lines 0 comments Download
M tools/dom/templates/html/impl/impl_SVGSVGElement.darttemplate View 1 2 1 chunk +6 lines, -1 line 0 comments Download

Messages

Total messages: 14 (0 generated)
blois
This is still a ways away from getting in (primarily need the MDV sanitization plan ...
7 years, 6 months ago (2013-06-05 00:58:24 UTC) #1
Jacob
https://codereview.chromium.org/16374007/diff/13001/sdk/lib/html/dartium/html_dartium.dart File sdk/lib/html/dartium/html_dartium.dart (right): https://codereview.chromium.org/16374007/diff/13001/sdk/lib/html/dartium/html_dartium.dart#newcode7312 sdk/lib/html/dartium/html_dartium.dart:7312: + {NodeValidator validator, NodeTreeSanitizer treeSanitizer}) { it would be ...
7 years, 6 months ago (2013-06-05 23:42:50 UTC) #2
Jennifer Messerly
This is nice! I like the API design of the validators. My main concern is ...
7 years, 6 months ago (2013-06-06 05:55:53 UTC) #3
Jennifer Messerly
On 2013/06/06 05:55:53, John Messerly wrote: > This is nice! I like the API design ...
7 years, 6 months ago (2013-06-06 06:50:34 UTC) #4
blois
https://codereview.chromium.org/16374007/diff/13001/sdk/lib/html/dart2js/html_dart2js.dart File sdk/lib/html/dart2js/html_dart2js.dart (right): https://codereview.chromium.org/16374007/diff/13001/sdk/lib/html/dart2js/html_dart2js.dart#newcode7459 sdk/lib/html/dart2js/html_dart2js.dart:7459: * Creates an HTML element from a valid fragment ...
7 years, 6 months ago (2013-06-06 16:59:42 UTC) #5
Jacob
lgtm
7 years, 6 months ago (2013-06-06 17:04:06 UTC) #6
Jennifer Messerly
https://codereview.chromium.org/16374007/diff/23001/tests/html/safe_dom_test.dart File tests/html/safe_dom_test.dart (right): https://codereview.chromium.org/16374007/diff/23001/tests/html/safe_dom_test.dart#newcode77 tests/html/safe_dom_test.dart:77: contextElement.deprecatedInnerHtml = html; $dom?
7 years, 6 months ago (2013-06-06 17:42:45 UTC) #7
Jennifer Messerly
lgtm -- just a few minor things :) https://codereview.chromium.org/16374007/diff/13001/sdk/lib/html/dart2js/html_dart2js.dart File sdk/lib/html/dart2js/html_dart2js.dart (right): https://codereview.chromium.org/16374007/diff/13001/sdk/lib/html/dart2js/html_dart2js.dart#newcode7477 sdk/lib/html/dart2js/html_dart2js.dart:7477: return ...
7 years, 6 months ago (2013-06-06 19:31:32 UTC) #8
blois
I had this on the back burner while we figured out our versioning story (it's ...
7 years, 4 months ago (2013-08-09 21:31:46 UTC) #9
Jennifer Messerly
this is going to be awesome! https://chromiumcodereview.appspot.com/16374007/diff/36001/tools/dom/src/Html5NodeValidator.dart File tools/dom/src/Html5NodeValidator.dart (right): https://chromiumcodereview.appspot.com/16374007/diff/36001/tools/dom/src/Html5NodeValidator.dart#newcode16 tools/dom/src/Html5NodeValidator.dart:16: * * https://code.google.com/p/google-caja/wiki/CajaWhitelists ...
7 years, 4 months ago (2013-08-17 06:07:07 UTC) #10
blois
Updated, but need to figure out a conflict with custom elements where elements aren't getting ...
7 years, 4 months ago (2013-08-19 22:02:08 UTC) #11
Jennifer Messerly
btw, this LGTM still https://codereview.chromium.org/16374007/diff/36001/tools/dom/templates/html/impl/impl_Element.darttemplate File tools/dom/templates/html/impl/impl_Element.darttemplate (right): https://codereview.chromium.org/16374007/diff/36001/tools/dom/templates/html/impl/impl_Element.darttemplate#newcode1215 tools/dom/templates/html/impl/impl_Element.darttemplate:1215: return _ElementFactoryProvider._parseHtml(this, html, treeSanitizer); On ...
7 years, 3 months ago (2013-08-26 22:00:30 UTC) #12
Jennifer Messerly
btw, this LGTM still
7 years, 3 months ago (2013-08-26 22:00:32 UTC) #13
blois
7 years, 3 months ago (2013-08-27 01:48:28 UTC) #14
Message was sent while issue was closed.
Committed patchset #6 manually as r26681 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698