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

Unified Diff: CHANGELOG.md

Issue 1154423009: Make it easier and more efficient to use trusted HTML text (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Formatting Created 5 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | sdk/lib/html/dart2js/html_dart2js.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: CHANGELOG.md
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 9c361509efbef35a1d10b4b2bb95e68038ba2527..9923d1655ec41f0ebc85c4fcf0b695d49aee97ee 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,10 @@
### Core library changes
+* In `dart:html`, adds `NodeTreeSanitizer.trusted`. This can be used
+ instead of defining a `NullTreeSanitizer` class when calling
+ `setInnerHtml` or other methods that create DOM from text. It is
+ also more efficient, skipping the creation of a DocumentFragment.
* In `dart:html`, `appendHtml` and `insertAdjacentHtml` now take `nodeValidator`
and `treeSanitizer` parameters, and the inputs are consistently
sanitized. See [45818 announcement]
« no previous file with comments | « no previous file | sdk/lib/html/dart2js/html_dart2js.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698