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

Unified Diff: javatests/org/chromium/distiller/ContentExtractorTest.java

Issue 2288143003: Ignore exceptions in embed extractors (Closed) Base URL: git@github.com:chromium/dom-distiller.git@noiframe
Patch Set: line wrapping Created 4 years, 4 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 | « java/org/chromium/distiller/webdocument/DomConverter.java ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: javatests/org/chromium/distiller/ContentExtractorTest.java
diff --git a/javatests/org/chromium/distiller/ContentExtractorTest.java b/javatests/org/chromium/distiller/ContentExtractorTest.java
index c26b7db480bf44ac3b016ac6e31a00a4dfdb19cc..83a0a12e152a5ec4885688f8c2583a23792ea261 100644
--- a/javatests/org/chromium/distiller/ContentExtractorTest.java
+++ b/javatests/org/chromium/distiller/ContentExtractorTest.java
@@ -622,6 +622,12 @@ public class ContentExtractorTest extends DomDistillerJsTestCase {
assertExtractor(expected, htmlArticle);
}
+ public void testSandboxedIFrame() {
+ final String html ="<iframe sandbox></iframe>";
+
+ assertExtractor("", html);
+ }
+
public void testSpanArticle() {
final String htmlArticle =
"<span>" + CONTENT_TEXT + "</span>" +
« no previous file with comments | « java/org/chromium/distiller/webdocument/DomConverter.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698