commit | 0074bc43e28c672cdf9750e15ee70395c9cd5540 | [log] [tgz] |
---|---|---|
author | Noel Gordon <noel@chromium.org> | Tue Oct 02 11:12:29 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Oct 02 11:12:29 2018 |
tree | f4c5c26ec042a2ab857110aa3d5371fc0ed8e95e | |
parent | e21369e1f9d9aa69e36270a28f60778bf9012bbc [diff] |
Add a Quick View html scrolling test Teach the <file-safe-media> element more about the loaded state of its child <webview>: make the <webview> send webview-loaded/cleared events to its parent <file-safe-media>, and have the parent set that state in the 'loaded' attribute of the child <webview>. Add an html scroll test: wait for the <webview> to load its content by waiting for the 'loaded' attribute. Then call window.scrollBy() on the <webview> and verify that the <webview> was scrolled. Minor: files_safe_media_webview_content.js: use document.querySelector to get the #content element to silence a presubmit warning. Test: browser_tests --gtest_filter="QuickView*openQuickViewScrollHtml" Bug: 891150 Change-Id: I7bc10a47ff4e50a16ece910174959596615e6fd7 Reviewed-on: https://chromium-review.googlesource.com/1256399 Commit-Queue: Noel Gordon <noel@chromium.org> Reviewed-by: Joel Hockey <joelhockey@chromium.org> Cr-Commit-Position: refs/heads/master@{#595791}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .