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

Issue 14839006: Adding tests for experimental Safe DOM creation technique. (Closed)

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

Description

Adding tests for experimental Safe DOM creation technique. This is just the underlying DOM creation code which should be able to parse HTML with no script execution. I'd like to get this in so we can make sure it works across all supported platforms. This does not do any sanitization or validation. BUG= R=jmesserly@google.com Committed: https://code.google.com/p/dart/source/detail?r=22473

Patch Set 1 : #

Total comments: 15

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+161 lines, -0 lines) Patch
M sdk/lib/html/dart2js/html_dart2js.dart View 1 chunk +10 lines, -0 lines 0 comments Download
M sdk/lib/html/dartium/html_dartium.dart View 1 chunk +9 lines, -0 lines 0 comments Download
M tests/html/html.status View 1 chunk +1 line, -0 lines 0 comments Download
A tests/html/range_test.dart View 1 chunk +29 lines, -0 lines 0 comments Download
A tests/html/safe_dom_test.dart View 1 1 chunk +98 lines, -0 lines 0 comments Download
M tools/dom/templates/html/impl/impl_Range.darttemplate View 1 chunk +14 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
blois
7 years, 7 months ago (2013-05-06 22:41:59 UTC) #1
Jennifer Messerly
lgtm https://codereview.chromium.org/14839006/diff/2001/sdk/lib/html/dart2js/html_dart2js.dart File sdk/lib/html/dart2js/html_dart2js.dart (right): https://codereview.chromium.org/14839006/diff/2001/sdk/lib/html/dart2js/html_dart2js.dart#newcode17559 sdk/lib/html/dart2js/html_dart2js.dart:17559: JS('bool', '("createContextualFragment" in window.Range.prototype)'); just curious, any reason ...
7 years, 7 months ago (2013-05-06 23:28:52 UTC) #2
blois
https://codereview.chromium.org/14839006/diff/2001/sdk/lib/html/dart2js/html_dart2js.dart File sdk/lib/html/dart2js/html_dart2js.dart (right): https://codereview.chromium.org/14839006/diff/2001/sdk/lib/html/dart2js/html_dart2js.dart#newcode17559 sdk/lib/html/dart2js/html_dart2js.dart:17559: JS('bool', '("createContextualFragment" in window.Range.prototype)'); On 2013/05/06 23:28:52, John Messerly ...
7 years, 7 months ago (2013-05-07 00:43:08 UTC) #3
Jennifer Messerly
https://codereview.chromium.org/14839006/diff/2001/tests/html/range_test.dart File tests/html/range_test.dart (right): https://codereview.chromium.org/14839006/diff/2001/tests/html/range_test.dart#newcode21 tests/html/range_test.dart:21: var expectation = Range.supportsCreateContextualFragment ? On 2013/05/07 00:43:08, blois ...
7 years, 7 months ago (2013-05-07 00:56:27 UTC) #4
blois
7 years, 7 months ago (2013-05-07 18:32:54 UTC) #5
Message was sent while issue was closed.
Committed patchset #2 manually as r22473 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698