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

Issue 11801011: Also filter the URLs from incoming non-provisional navigation IPCs. (Closed)

Created:
7 years, 11 months ago by jochen (gone - plz use gerrit)
Modified:
7 years, 11 months ago
Reviewers:
Charlie Reis
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam
Visibility:
Public.

Description

Also filter the URLs from incoming non-provisional navigation IPCs. Without this, e.g. a navigation to about:srcdoc looks like a navigation to about:blank during the provisional phase, and suddendly the internal about:srcdoc URL is leaked to the embedder. BUG=168611 TEST=WebContentsImplTest.FilterURLs R=creis@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=175501

Patch Set 1 #

Total comments: 1

Patch Set 2 : test #

Total comments: 4

Patch Set 3 : comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+99 lines, -4 lines) Patch
M content/browser/web_contents/test_web_contents.h View 1 1 chunk +7 lines, -0 lines 0 comments Download
M content/browser/web_contents/test_web_contents.cc View 1 1 chunk +18 lines, -0 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.h View 1 1 chunk +2 lines, -2 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.cc View 2 chunks +8 lines, -2 lines 0 comments Download
M content/browser/web_contents/web_contents_impl_unittest.cc View 1 2 3 chunks +64 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
jochen (gone - plz use gerrit)
7 years, 11 months ago (2013-01-07 12:51:41 UTC) #1
Charlie Reis
Yep, looks right. This will translate about:srcdoc to about:blank in the DidFinishLoad / DidFailLoad cases. ...
7 years, 11 months ago (2013-01-07 18:49:03 UTC) #2
jochen (gone - plz use gerrit)
On 2013/01/07 18:49:03, creis wrote: > Yep, looks right. This will translate about:srcdoc to about:blank ...
7 years, 11 months ago (2013-01-07 19:17:03 UTC) #3
jochen (gone - plz use gerrit)
added a test
7 years, 11 months ago (2013-01-07 20:41:32 UTC) #4
Charlie Reis
Thanks. LGTM with some minor comments. https://codereview.chromium.org/11801011/diff/6001/content/browser/web_contents/test_web_contents.h File content/browser/web_contents/test_web_contents.h (right): https://codereview.chromium.org/11801011/diff/6001/content/browser/web_contents/test_web_contents.h#newcode93 content/browser/web_contents/test_web_contents.h:93: void TestDidFinishLoad(int64 frame_id, ...
7 years, 11 months ago (2013-01-07 20:58:45 UTC) #5
jochen (gone - plz use gerrit)
https://codereview.chromium.org/11801011/diff/6001/content/browser/web_contents/test_web_contents.h File content/browser/web_contents/test_web_contents.h (right): https://codereview.chromium.org/11801011/diff/6001/content/browser/web_contents/test_web_contents.h#newcode93 content/browser/web_contents/test_web_contents.h:93: void TestDidFinishLoad(int64 frame_id, const GURL& url, bool is_main_frame); On ...
7 years, 11 months ago (2013-01-07 21:11:59 UTC) #6
Charlie Reis
LGTM
7 years, 11 months ago (2013-01-07 21:14:33 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jochen@chromium.org/11801011/11001
7 years, 11 months ago (2013-01-07 21:15:11 UTC) #8
commit-bot: I haz the power
Retried try job too often on win_aura for step(s) interactive_ui_tests
7 years, 11 months ago (2013-01-07 23:59:57 UTC) #9
commit-bot: I haz the power
7 years, 11 months ago (2013-01-08 08:17:05 UTC) #10

Powered by Google App Engine
This is Rietveld 408576698