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

Issue 1366883002: [Reland] Post loading tasks on the appropriate WebFrameScheduler's queue (Closed)

Created:
5 years, 3 months ago by alex clarke (OOO till 29th)
Modified:
5 years ago
CC:
blink-reviews, darin-cc_chromium.org, jam
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Post loading tasks on the appropriate WebFrameScheduler's queue. Must be submitted after https://codereview.chromium.org/1340343003/ BUG=510398, 538660 Committed: https://crrev.com/bcc4ce71b07ea71a1056c3227c5bc381c52256fd Cr-Commit-Position: refs/heads/master@{#352036} Committed: https://crrev.com/f3080498facd16066076e7d459ba7cfda11e582c Cr-Commit-Position: refs/heads/master@{#352866}

Patch Set 1 #

Patch Set 2 : Rebased #

Total comments: 7

Patch Set 3 : Inherit the TQ for document fragments #

Patch Set 4 : Fixed most issues #

Patch Set 5 : Addresses comments but I'm concerend about lifetime of WebTaskRunner in chromium. #

Patch Set 6 : Added a clone method to WebTaskRunner which lets us solve the lifetime issue. #

Total comments: 34

Patch Set 7 : fix content_unittests build #

Patch Set 8 : Changes for Sami #

Patch Set 9 : Try using insert to make mac compile #

Patch Set 10 : rebased #

Patch Set 11 : Fix various things #

Patch Set 12 : Moar smart pointers #

Patch Set 13 : try ScopedPtrMap #

Patch Set 14 : Fix compile #

Patch Set 15 : fix android compile #

Total comments: 14

Patch Set 16 : Use clone() more, plus addressing Sami's comments #

Patch Set 17 : Fix compile #

Patch Set 18 : Fix UAF in BackgroundHTMLParser #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+356 lines, -92 lines) Patch
M build/common.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +11 lines, -1 line 0 comments Download
M build/config/android/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +2 lines, -1 line 0 comments Download
M components/html_viewer/web_url_loader_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +1 line, -0 lines 0 comments Download
M components/html_viewer/web_url_loader_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +5 lines, -0 lines 0 comments Download
M components/scheduler/child/web_task_runner_impl.h View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M components/scheduler/child/web_task_runner_impl.cc View 1 2 3 4 5 6 7 1 chunk +4 lines, -0 lines 0 comments Download
M content/child/blink_platform_impl.h View 1 2 3 4 5 6 7 1 chunk +0 lines, -2 lines 0 comments Download
M content/child/blink_platform_impl.cc View 1 2 3 4 5 6 7 3 chunks +3 lines, -11 lines 0 comments Download
M content/child/request_info.h View 1 2 3 4 5 6 7 2 chunks +8 lines, -0 lines 0 comments Download
M content/child/request_info.cc View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M content/child/resource_dispatcher.h View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +5 lines, -0 lines 0 comments Download
M content/child/resource_dispatcher.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 4 chunks +16 lines, -0 lines 0 comments Download
M content/child/resource_scheduling_filter.h View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +23 lines, -2 lines 0 comments Download
M content/child/resource_scheduling_filter.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +56 lines, -3 lines 0 comments Download
M content/child/web_url_loader_impl.h View 1 2 3 4 5 6 7 2 chunks +5 lines, -3 lines 0 comments Download
M content/child/web_url_loader_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 13 chunks +45 lines, -10 lines 0 comments Download
M content/child/web_url_loader_impl_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +5 lines, -1 line 0 comments Download
M content/renderer/render_thread_impl.h View 1 2 3 4 5 6 7 8 9 2 chunks +0 lines, -3 lines 0 comments Download
M content/renderer/render_thread_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +4 lines, -3 lines 0 comments Download
M content/renderer/renderer_blink_platform_impl.h View 1 2 3 4 5 6 7 2 chunks +3 lines, -0 lines 0 comments Download
M content/renderer/renderer_blink_platform_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 4 chunks +16 lines, -0 lines 0 comments Download
M content/test/mock_weburlloader.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +2 lines, -0 lines 0 comments Download
M content/test/weburl_loader_mock.h View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
M content/test/weburl_loader_mock.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +4 lines, -0 lines 0 comments Download
M media/blink/mock_weburlloader.h View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/ScriptStreamer.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 5 chunks +8 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/ScriptStreamer.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 11 chunks +14 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/ScriptStreamerTest.cpp View 12 chunks +13 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/core/dom/Document.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/dom/Document.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +7 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/dom/ScriptLoader.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 2 chunks +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/dom/ScriptRunnerTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +7 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/fetch/FetchContext.h View 2 chunks +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/fetch/ResourceFetcher.h View 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/fetch/ResourceFetcher.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +8 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/fetch/ResourceLoader.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/html/parser/BackgroundHTMLParser.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 4 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/html/parser/BackgroundHTMLParser.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 6 chunks +7 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 4 chunks +5 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/html/parser/HTMLParserScheduler.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 3 chunks +5 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/html/parser/HTMLParserScheduler.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/html/parser/HTMLScriptRunner.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 3 chunks +3 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/loader/FrameFetchContext.h View 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/loader/FrameFetchContext.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +6 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/loader/FrameLoader.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +1 line, -0 lines 2 comments Download
M third_party/WebKit/Source/platform/TimerTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +7 lines, -1 line 0 comments Download
M third_party/WebKit/Source/platform/graphics/RecordingImageBufferSurfaceTest.cpp View 1 2 3 4 5 6 7 2 chunks +7 lines, -1 line 0 comments Download
M third_party/WebKit/Source/web/AssociatedURLLoader.h View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/web/AssociatedURLLoader.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +5 lines, -0 lines 0 comments Download
M third_party/WebKit/public/platform/WebTaskRunner.h View 1 2 3 4 5 6 7 1 chunk +5 lines, -2 lines 0 comments Download
M third_party/WebKit/public/platform/WebURLLoader.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +5 lines, -0 lines 0 comments Download

Messages

Total messages: 82 (32 generated)
alex clarke (OOO till 29th)
5 years, 2 months ago (2015-09-25 12:39:54 UTC) #2
Sami
Overall plumbing looks reasonable. As usual I'm a little paranoid about object lifetimes. https://codereview.chromium.org/1366883002/diff/20001/content/child/resource_dispatcher.cc File ...
5 years, 2 months ago (2015-09-25 13:31:27 UTC) #3
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1366883002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1366883002/60001
5 years, 2 months ago (2015-09-28 11:09:00 UTC) #5
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/112982)
5 years, 2 months ago (2015-09-28 12:19:16 UTC) #7
alex clarke (OOO till 29th)
I want to fix the lifetime of WebTaskRunner in chromium, however other than that I ...
5 years, 2 months ago (2015-09-28 17:24:53 UTC) #8
alex clarke (OOO till 29th)
PTAL
5 years, 2 months ago (2015-09-29 10:32:56 UTC) #9
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1366883002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1366883002/100001
5 years, 2 months ago (2015-09-29 10:33:38 UTC) #11
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/119490)
5 years, 2 months ago (2015-09-29 10:49:45 UTC) #13
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1366883002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1366883002/120001
5 years, 2 months ago (2015-09-29 11:08:40 UTC) #15
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_compile_dbg_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_compile_dbg_ng/builds/103643) mac_chromium_rel_ng on ...
5 years, 2 months ago (2015-09-29 11:22:10 UTC) #17
Sami
Great that you found a way around the main thread trampoline. https://codereview.chromium.org/1366883002/diff/100001/components/scheduler/child/web_task_runner_impl.h File components/scheduler/child/web_task_runner_impl.h (left): ...
5 years, 2 months ago (2015-09-29 11:22:47 UTC) #18
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1366883002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1366883002/140001
5 years, 2 months ago (2015-09-29 15:45:25 UTC) #20
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1366883002/170001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1366883002/170001
5 years, 2 months ago (2015-09-29 15:57:56 UTC) #22
alex clarke (OOO till 29th)
https://codereview.chromium.org/1366883002/diff/100001/components/scheduler/child/web_task_runner_impl.h File components/scheduler/child/web_task_runner_impl.h (left): https://codereview.chromium.org/1366883002/diff/100001/components/scheduler/child/web_task_runner_impl.h#oldcode45 components/scheduler/child/web_task_runner_impl.h:45: DISALLOW_COPY_AND_ASSIGN(WebTaskRunnerImpl); On 2015/09/29 11:22:46, Sami wrote: > We can ...
5 years, 2 months ago (2015-09-29 16:10:36 UTC) #23
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_arm64_dbg_recipe on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/android_arm64_dbg_recipe/builds/125423) linux_chromium_rel_ng on ...
5 years, 2 months ago (2015-09-29 16:14:02 UTC) #25
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1366883002/190001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1366883002/190001
5 years, 2 months ago (2015-09-29 16:29:16 UTC) #27
alex clarke (OOO till 29th)
PTAL https://codereview.chromium.org/1366883002/diff/100001/content/child/blink_platform_impl.cc File content/child/blink_platform_impl.cc (right): https://codereview.chromium.org/1366883002/diff/100001/content/child/blink_platform_impl.cc#newcode482 content/child/blink_platform_impl.cc:482: new scheduler::WebTaskRunnerImpl(LoadingTaskRunnerForCurrentThread())); On 2015/09/29 11:22:46, Sami wrote: > ...
5 years, 2 months ago (2015-09-29 16:37:38 UTC) #28
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1366883002/210001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1366883002/210001
5 years, 2 months ago (2015-09-29 16:38:24 UTC) #30
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: cast_shell_android on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/cast_shell_android/builds/59937) mac_chromium_gn_rel on ...
5 years, 2 months ago (2015-09-29 16:52:17 UTC) #32
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1366883002/230001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1366883002/230001
5 years, 2 months ago (2015-09-29 16:56:59 UTC) #34
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_arm64_dbg_recipe on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/android_arm64_dbg_recipe/builds/125456) android_chromium_gn_compile_rel on ...
5 years, 2 months ago (2015-09-29 17:14:41 UTC) #36
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1366883002/250001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1366883002/250001
5 years, 2 months ago (2015-09-30 09:46:24 UTC) #38
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_arm64_dbg_recipe on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/android_arm64_dbg_recipe/builds/125876)
5 years, 2 months ago (2015-09-30 10:10:45 UTC) #40
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1366883002/270001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1366883002/270001
5 years, 2 months ago (2015-09-30 10:16:05 UTC) #42
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 2 months ago (2015-09-30 11:28:44 UTC) #44
Sami
lgtm with some nits. https://codereview.chromium.org/1366883002/diff/270001/components/html_viewer/web_url_loader_impl.cc File components/html_viewer/web_url_loader_impl.cc (right): https://codereview.chromium.org/1366883002/diff/270001/components/html_viewer/web_url_loader_impl.cc#newcode317 components/html_viewer/web_url_loader_impl.cc:317: // There isnt a scheduler ...
5 years, 2 months ago (2015-09-30 13:03:16 UTC) #45
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1366883002/290001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1366883002/290001
5 years, 2 months ago (2015-09-30 13:37:10 UTC) #47
alex clarke (OOO till 29th)
jochen@ please do an OWNERS review :) https://codereview.chromium.org/1366883002/diff/270001/components/html_viewer/web_url_loader_impl.cc File components/html_viewer/web_url_loader_impl.cc (right): https://codereview.chromium.org/1366883002/diff/270001/components/html_viewer/web_url_loader_impl.cc#newcode317 components/html_viewer/web_url_loader_impl.cc:317: // There ...
5 years, 2 months ago (2015-09-30 13:37:17 UTC) #49
alex clarke (OOO till 29th)
+sandersd@ Please review changes in media/blink/mock_weburlloader.h
5 years, 2 months ago (2015-09-30 13:40:23 UTC) #51
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_gn_chromeos_rel on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_chromeos_rel/builds/88114)
5 years, 2 months ago (2015-09-30 13:52:03 UTC) #53
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1366883002/310001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1366883002/310001
5 years, 2 months ago (2015-09-30 14:23:11 UTC) #55
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 2 months ago (2015-09-30 16:05:24 UTC) #57
sandersd (OOO until July 31)
On 2015/09/30 16:05:24, commit-bot: I haz the power wrote: > Dry run: This issue passed ...
5 years, 2 months ago (2015-09-30 17:50:09 UTC) #58
alex clarke (OOO till 29th)
Hi Jochen, Gentle ping. I know this patch is on the large side, it might ...
5 years, 2 months ago (2015-10-02 10:29:22 UTC) #59
jochen (gone - plz use gerrit)
lgtm
5 years, 2 months ago (2015-10-02 13:10:52 UTC) #60
alex clarke (OOO till 29th)
Thanks all!
5 years, 2 months ago (2015-10-02 13:13:23 UTC) #61
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1366883002/310001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1366883002/310001
5 years, 2 months ago (2015-10-02 13:14:06 UTC) #64
commit-bot: I haz the power
Committed patchset #17 (id:310001)
5 years, 2 months ago (2015-10-02 14:58:31 UTC) #65
commit-bot: I haz the power
Patchset 17 (id:??) landed as https://crrev.com/bcc4ce71b07ea71a1056c3227c5bc381c52256fd Cr-Commit-Position: refs/heads/master@{#352036}
5 years, 2 months ago (2015-10-02 14:59:33 UTC) #66
dmurph
On 2015/10/02 at 14:59:33, commit-bot wrote: > Patchset 17 (id:??) landed as https://crrev.com/bcc4ce71b07ea71a1056c3227c5bc381c52256fd > Cr-Commit-Position: ...
5 years, 2 months ago (2015-10-02 17:06:31 UTC) #67
dmurph
A revert of this CL (patchset #17 id:310001) has been created in https://codereview.chromium.org/1379543003/ by dmurph@chromium.org. ...
5 years, 2 months ago (2015-10-02 17:07:37 UTC) #68
alex clarke (OOO till 29th)
I fixed a UAF in BackgroundHtmlPArser caused by an incorrect lifetime assumption about the loading ...
5 years, 2 months ago (2015-10-07 15:44:48 UTC) #70
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1366883002/330001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1366883002/330001
5 years, 2 months ago (2015-10-07 15:45:00 UTC) #71
Sami
lgtm.
5 years, 2 months ago (2015-10-07 15:57:52 UTC) #72
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 2 months ago (2015-10-07 17:00:53 UTC) #74
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1366883002/330001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1366883002/330001
5 years, 2 months ago (2015-10-07 17:05:34 UTC) #77
commit-bot: I haz the power
Committed patchset #18 (id:330001)
5 years, 2 months ago (2015-10-07 17:16:03 UTC) #78
commit-bot: I haz the power
Patchset 18 (id:??) landed as https://crrev.com/f3080498facd16066076e7d459ba7cfda11e582c Cr-Commit-Position: refs/heads/master@{#352866}
5 years, 2 months ago (2015-10-07 17:16:56 UTC) #79
dcheng
https://codereview.chromium.org/1366883002/diff/330001/third_party/WebKit/Source/core/loader/FrameLoader.cpp File third_party/WebKit/Source/core/loader/FrameLoader.cpp (right): https://codereview.chromium.org/1366883002/diff/330001/third_party/WebKit/Source/core/loader/FrameLoader.cpp#newcode1075 third_party/WebKit/Source/core/loader/FrameLoader.cpp:1075: m_frame->updateFrameSecurityOrigin(); Why was this line added? Why isn't Document::updateSecurityOrigin() ...
5 years ago (2015-11-26 19:15:24 UTC) #81
alex clarke (OOO till 29th)
5 years ago (2015-11-27 10:18:01 UTC) #82
Message was sent while issue was closed.
https://codereview.chromium.org/1366883002/diff/330001/third_party/WebKit/Sou...
File third_party/WebKit/Source/core/loader/FrameLoader.cpp (right):

https://codereview.chromium.org/1366883002/diff/330001/third_party/WebKit/Sou...
third_party/WebKit/Source/core/loader/FrameLoader.cpp:1075:
m_frame->updateFrameSecurityOrigin();
On 2015/11/26 19:15:24, dcheng wrote:
> Why was this line added? Why isn't Document::updateSecurityOrigin() good
enough?
> After all, that's where the SecurityOrigin actually gets set.

This line was added before the one in Document::updateSecurityOrigin.  It's
entirely possible it's not actually needed now.  

We noticed there where situations where queues didn't have the right origin in
tracing which was fixed by adding code in Document::updateSecurityOrigin, it
didn't occur to us to try and remove this line.

Powered by Google App Engine
This is Rietveld 408576698