commit | 2cc82d4b6b3aa11e45c2422eafa3a45f2d5f75a1 | [log] [tgz] |
---|---|---|
author | Leszek Swirski <leszeks@chromium.org> | Tue Nov 27 19:40:50 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Nov 27 19:40:50 2018 |
tree | 10432a5636a8fc90f251d0e7e70a03c95776b336 | |
parent | 86487ee6afdef9d8ccde985d525dcc6cd6fb924a [diff] |
[blink] Harden inspector ScriptResource content access Check for an edge case where a ScriptResource may have a null resource buffer without having been loaded. As part of this, extract the inspector's logic for accessing a ScriptResource's text into the ScriptResource, as it relies on ScriptResource internal state. Bug: 865098 Bug: 899217 Change-Id: I5ceb6f105e21e4eeb7ce5f9bc82c7d7c7f7f6aad Reviewed-on: https://chromium-review.googlesource.com/c/1352183 Commit-Queue: Leszek Swirski <leszeks@chromium.org> Reviewed-by: Hiroshige Hayashizaki <hiroshige@chromium.org> Cr-Commit-Position: refs/heads/master@{#611255}
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 .