DescriptionUpdate NavigationHandleImpl#GetResponseHeaders method.
Now GetResponseHeaders won't check the navigation state, instead it will just return a nullptr if there are no response headers available.
In some cases the response headers are not available, but in the previous code there's no safe way to know that.
This removes the CHECK for the navigation state that was causing this problem.
BUG=526291
CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_site_isolation
Committed: https://crrev.com/7bf92606f08d7fb9731b369da80108acdfb3ab7f
Cr-Commit-Position: refs/heads/master@{#374747}
Patch Set 1 #
Total comments: 4
Patch Set 2 : Rework to revert new method, just remove check from Get method. #
Total comments: 2
Patch Set 3 : Updated a comment. #
Depends on Patchset: Messages
Total messages: 17 (8 generated)
|