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

Issue 2541063002: Revert of Remove about:srcdoc url conversion. (Closed)

Created:
4 years ago by battre
Modified:
4 years ago
CC:
agrieve+watch_chromium.org, alexmos, anandc+watch-blimp_chromium.org, bgoldman+watch-blimp_chromium.org, cbentzel+watch_chromium.org, chromium-apps-reviews_chromium.org, chromium-reviews, clamy, creis+watch_chromium.org, darin-cc_chromium.org, dbeam+watch-options_chromium.org, dbeam+watch-settings_chromium.org, David Black, dhollowa+watch_chromium.org, donnd+watch_chromium.org, dougw+watch_chromium.org, dtrainor+watch-blimp_chromium.org, extensions-reviews_chromium.org, gavinp+prer_chromium.org, gcasto+watch-blimp_chromium.org, jam, Jered, jfweitz+watch_chromium.org, khushalsagar+watch-blimp_chromium.org, kmadhusu+watch_chromium.org, kmarshall+watch-blimp_chromium.org, lethalantidote+watch-blimp_chromium.org, maniscalco+watch-blimp_chromium.org, marcinjb+watch-blimp_chromium.org, mdjones+watch_chromium.org, melevin+watch_chromium.org, michaelpg+watch-options_chromium.org, michaelpg+watch-md-settings_chromium.org, mlamouri+watch-content_chromium.org, nasko+codewatch_chromium.org, ncarter (slow), nyquist+watch-blimp_chromium.org, perumaal+watch-blimp_chromium.org, samarth+watch_chromium.org, scf+watch-blimp_chromium.org, shaktisahu+watch-blimp_chromium.org, skanuj+watch_chromium.org, sriramsr+watch-blimp_chromium.org, steimel+watch-blimp_chromium.org, stevenjb+watch-md-settings_chromium.org, tburkard+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Revert of Remove about:srcdoc url conversion. (patchset #13 id:560001 of https://codereview.chromium.org/2494633004/ ) Reason for revert: Speculative revert for http://crbug.com/660061#c2 Original issue's description: > Remove about:srcdoc url conversion. > > Before this CL, there was an asymmetry between the renderer and the > browser. Iframe that has navigated to its srcdoc attribute got the > about:srcdoc URL in the renderer and the about:blank in the browser. > The about::srcdoc URLs were converted to about::blank in the RendererFrameHost. > A boolean |is_srcdoc| was created and transmitted across classes in > the browser to keep track of the "real" URL, such as it could be > converted back (browser->renderer). > > This led to a lot unnecessary works to keep track of this boolean and > not to forget to convert the URL back. > > This CL removes the conversion and the boolean from the browser. > > CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation > > BUG=660061 > > Committed: https://crrev.com/041956a261766b15f09b7b7a37026bda1ef809f3 > Cr-Commit-Position: refs/heads/master@{#435256} TBR=jochen@chromium.org,creis@chromium.org,dbeam@chromium.org,nasko@chromium.org,paulmeyer@chromium.org,lfg@chromium.org,arthursonzogni@chromium.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=660061 Committed: https://crrev.com/540e74c6588be2edeb6d9f075d534d13f0bb9ac0 Cr-Commit-Position: refs/heads/master@{#435267}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+241 lines, -122 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/compositor/bottombar/OverlayPanelContent.java View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/dom_distiller/ReaderModeManager.java View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/tab/TabWebContentsObserver.java View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/extensions/api/web_navigation/frame_navigation_state.h View 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/extensions/api/web_navigation/frame_navigation_state.cc View 3 chunks +7 lines, -1 line 0 comments Download
M chrome/browser/extensions/api/web_navigation/frame_navigation_state_unittest.cc View 10 chunks +28 lines, -15 lines 0 comments Download
M chrome/browser/extensions/api/web_navigation/web_navigation_api.cc View 3 chunks +11 lines, -4 lines 0 comments Download
M chrome/browser/extensions/api/web_navigation/web_navigation_api_helpers.cc View 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/extensions/api/web_navigation/web_navigation_apitest.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/history/history_utils.cc View 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/prerender/prerender_contents.h View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/prerender/prerender_contents.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/prerender/prerender_tab_helper.h View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/prerender/prerender_tab_helper.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/tracing/navigation_tracing.h View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/tracing/navigation_tracing.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/search/search_tab_helper_unittest.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/extensions/extensions_ui.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/options/options_ui.h View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/options/options_ui.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/settings/md_settings_ui.h View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/settings/md_settings_ui.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/test/data/extensions/api_test/executescript/frame_id/test.js View 2 chunks +6 lines, -2 lines 0 comments Download
M components/dom_distiller/content/browser/distillability_driver.h View 1 chunk +2 lines, -1 line 0 comments Download
M components/dom_distiller/content/browser/distillability_driver.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/android/web_contents_observer_proxy.h View 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/android/web_contents_observer_proxy.cc View 2 chunks +4 lines, -2 lines 0 comments Download
M content/browser/child_process_security_policy_impl.cc View 3 chunks +4 lines, -9 lines 0 comments Download
M content/browser/child_process_security_policy_unittest.cc View 1 chunk +6 lines, -13 lines 0 comments Download
M content/browser/frame_host/frame_tree_browsertest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/frame_host/interstitial_page_navigator_impl.cc View 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/frame_host/navigation_controller_impl_browsertest.cc View 5 chunks +7 lines, -5 lines 0 comments Download
M content/browser/frame_host/navigation_entry_impl.cc View 1 chunk +16 lines, -2 lines 0 comments Download
M content/browser/frame_host/navigation_handle_impl.h View 4 chunks +4 lines, -0 lines 0 comments Download
M content/browser/frame_host/navigation_handle_impl.cc View 4 chunks +8 lines, -1 line 0 comments Download
M content/browser/frame_host/navigation_handle_impl_browsertest.cc View 6 chunks +8 lines, -4 lines 0 comments Download
M content/browser/frame_host/navigation_handle_impl_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/frame_host/navigation_request.cc View 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/frame_host/navigator_delegate.h View 1 chunk +5 lines, -3 lines 0 comments Download
M content/browser/frame_host/navigator_impl.cc View 4 chunks +5 lines, -1 line 0 comments Download
M content/browser/frame_host/render_frame_host_impl.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M content/browser/frame_host/render_frame_host_manager.cc View 1 chunk +5 lines, -6 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 chunk +6 lines, -0 lines 0 comments Download
M content/browser/site_per_process_browsertest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.h View 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/web_contents/web_contents_impl.cc View 2 chunks +6 lines, -4 lines 0 comments Download
M content/browser/web_contents/web_contents_impl_browsertest.cc View 1 chunk +5 lines, -3 lines 0 comments Download
M content/common/frame_messages.h View 1 chunk +3 lines, -0 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/webcontents/WebContentsObserverProxy.java View 1 chunk +2 lines, -2 lines 0 comments Download
M content/public/android/java/src/org/chromium/content_public/browser/WebContentsObserver.java View 1 chunk +2 lines, -1 line 0 comments Download
M content/public/browser/navigation_handle.h View 1 chunk +3 lines, -0 lines 0 comments Download
M content/public/browser/navigation_handle.cc View 1 chunk +1 line, -0 lines 0 comments Download
M content/public/browser/web_contents_observer.h View 2 chunks +5 lines, -3 lines 0 comments Download
M content/public/test/test_frame_navigation_observer.h View 1 chunk +2 lines, -1 line 0 comments Download
M content/public/test/test_frame_navigation_observer.cc View 1 chunk +2 lines, -1 line 0 comments Download
M content/public/test/test_navigation_observer.h View 1 chunk +2 lines, -1 line 0 comments Download
M content/public/test/test_navigation_observer.cc View 2 chunks +5 lines, -3 lines 0 comments Download
M content/renderer/render_frame_impl.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M content/test/web_contents_observer_sanity_checker.h View 1 chunk +2 lines, -1 line 0 comments Download
M content/test/web_contents_observer_sanity_checker.cc View 1 chunk +2 lines, -1 line 0 comments Download
M extensions/browser/guest_view/mime_handler_view/mime_handler_stream_manager.cc View 2 chunks +4 lines, -2 lines 0 comments Download
M testing/buildbot/filters/browser-side-navigation.linux.content_browsertests.filter View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (3 generated)
battre
Created Revert of Remove about:srcdoc url conversion.
4 years ago (2016-11-30 15:37:48 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2541063002/1
4 years ago (2016-11-30 15:38:12 UTC) #3
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years ago (2016-11-30 15:40:09 UTC) #5
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/540e74c6588be2edeb6d9f075d534d13f0bb9ac0 Cr-Commit-Position: refs/heads/master@{#435267}
4 years ago (2016-11-30 15:42:28 UTC) #7
chromium-reviews
4 years ago (2016-11-30 15:50:58 UTC) #8
Message was sent while issue was closed.
I confirm the problem with my patch.

On Wed, Nov 30, 2016 at 4:42 PM, commit-bot@chromium.org via
codereview.chromium.org <reply@chromiumcodereview-hr.appspotmail.com> wrote:

> Patchset 1 (id:??) landed as
> https://crrev.com/540e74c6588be2edeb6d9f075d534d13f0bb9ac0
> Cr-Commit-Position: refs/heads/master@{#435267}
>
> https://codereview.chromium.org/2541063002/
>

-- 
You received this message because you are subscribed to the Google Groups
"Chromium-reviews" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to chromium-reviews+unsubscribe@chromium.org.

Powered by Google App Engine
This is Rietveld 408576698