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

Issue 1685003002: Plumb the correct owner document through DocumentInit::m_owner. (Closed)

Created:
4 years, 10 months ago by dcheng
Modified:
4 years, 9 months ago
CC:
blink-reviews, blink-reviews-dom_chromium.org, chromium-reviews, dglazkov+blink, eae+blinkwatch, estark, gavinp+loader_chromium.org, Nate Chapin, loading-reviews_chromium.org, rwlbuis, sof, site-isolation-reviews_chromium.org, tyoshino+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Plumb the correct owner document through DocumentInit::m_owner. The current code tries to determine the security origin to inherit (if any) too late in document initialization. This results in strange and hard to understand behavior. For example, opener is not set until /after/ the document's security context is already initialized. To make this work, initSecurityContext() has a heuristic: if it should have inherited a security origin (e.g. the URL is about:blank) but there's nothing to inherit from, it initializes the security origin as unique, but then marks initialization as failed. When the opener is /actually/ set, it then calls initSecurityContext() again. Since the security context hasn't been marked as initialized yet, the reinitialization is allowed to proceed, and now the frame inherits its opener's security origin. Rather than going through this elaborate dance, this CL gets rid of it and proactively plumbs through the correct owner document to use. With these changes: - A security context can never be reinitialized. This requires passing the opener around when creating new windows, so that DocumentLoader can initialize the owner document correctly. - javascript: URLs have different inheritance rules: the loading machinery can now just directly pass in the correct owner document. - The exception for reusing a Window object when navigating from the initial empty Document has been removed: now it strictly follows the spec and reuses it iff it is same-origin to the new Document. BUG=583445 CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_site_isolation Committed: https://crrev.com/9e24bd35f58fff1562b0784be8ab2e612ece6408 Cr-Commit-Position: refs/heads/master@{#378508}

Patch Set 1 #

Patch Set 2 : meh #

Patch Set 3 : . #

Patch Set 4 : . #

Patch Set 5 : minor fix #

Patch Set 6 : Latest patchset #

Patch Set 7 : . #

Patch Set 8 : rebase #

Patch Set 9 : Trim thingie #

Total comments: 3

Patch Set 10 : Change page popup plumbing, remove vestigal bits related to failing security context init #

Total comments: 1

Patch Set 11 : Trying (but failing) to fix app windows #

Patch Set 12 : App window shares creator's site instance #

Patch Set 13 : Make initSecurityContext private. #

Total comments: 1

Patch Set 14 : rebased #

Total comments: 14

Patch Set 15 : Fix CrOS build and better fixes for app window tests. #

Patch Set 16 : Rebase and hopefully fix WebUI tests. #

Patch Set 17 : Disable closure deps.js to fix chromevox tests. #

Patch Set 18 : Mac build fix #

Patch Set 19 : Try to fix weird layout test results differing. #

Patch Set 20 : Rebase #

Patch Set 21 : Non working patch to fix IME test. #

Patch Set 22 : Fix ALL THE TESTS. Hopefully. #

Total comments: 4

Patch Set 23 : Address alexmos@ comments. #

Patch Set 24 : Rebase #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+380 lines, -511 lines) Patch
M chrome/browser/apps/app_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/apps/app_browsertest_util.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +5 lines, -2 lines 0 comments Download
M chrome/browser/apps/app_browsertest_util.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +11 lines, -3 lines 0 comments Download
M chrome/browser/apps/guest_view/web_view_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/api/tabs/ash_panel_contents.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/extensions/api/tabs/ash_panel_contents.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +8 lines, -3 lines 0 comments Download
M chrome/browser/extensions/api/tabs/tabs_api.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/ash/accelerator_commands_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/ash/keyboard_controller_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 3 chunks +12 lines, -4 lines 0 comments Download
M chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 21 chunks +30 lines, -22 lines 0 comments Download
M chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 3 chunks +13 lines, -2 lines 0 comments Download
M chrome/browser/ui/cocoa/apps/app_shim_menu_controller_mac_interactive_uitest.mm View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +1 line, -1 line 0 comments Download
M chrome/renderer/chrome_render_view_observer.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +2 lines, -1 line 0 comments Download
M chrome/renderer/chrome_render_view_observer.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +5 lines, -5 lines 0 comments Download
M chrome/third_party/chromevox/third_party/closure-library/closure/goog/base.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/render_frame_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +2 lines, -1 line 0 comments Download
M content/renderer/render_frame_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 3 chunks +6 lines, -7 lines 0 comments Download
M content/renderer/render_frame_proxy.cc View 1 2 3 4 5 6 7 3 chunks +6 lines, -7 lines 0 comments Download
M content/renderer/render_view_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 3 chunks +11 lines, -18 lines 0 comments Download
M content/shell/renderer/layout_test/blink_test_runner.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +6 lines, -1 line 0 comments Download
M content/shell/renderer/layout_test/blink_test_runner.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 3 chunks +7 lines, -5 lines 0 comments Download
M content/shell/renderer/layout_test/layout_test_content_renderer_client.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M extensions/browser/api/app_window/app_window_api.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -1 line 0 comments Download
M extensions/browser/app_window/app_window.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 3 chunks +3 lines, -0 lines 0 comments Download
M extensions/browser/app_window/app_window.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 1 chunk +2 lines, -1 line 0 comments Download
M extensions/browser/app_window/app_window_contents.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +3 lines, -1 line 0 comments Download
M extensions/browser/app_window/app_window_contents.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +6 lines, -3 lines 0 comments Download
M extensions/browser/app_window/test_app_window_contents.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +3 lines, -1 line 0 comments Download
M extensions/browser/app_window/test_app_window_contents.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -2 lines 0 comments Download
M extensions/renderer/app_window_custom_bindings.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -13 lines 0 comments Download
A + third_party/WebKit/LayoutTests/http/tests/security/synchronous-frame-load-in-javascript-url-inherits-correct-origin.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 2 chunks +3 lines, -5 lines 0 comments Download
A third_party/WebKit/LayoutTests/http/tests/security/synchronous-frame-load-in-javascript-url-inherits-correct-origin-expected.txt View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +4 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/security/xss-DENIED-synchronous-frame-load-in-javascript-url.html View 1 2 3 4 5 6 1 chunk +0 lines, -42 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/security/xss-DENIED-synchronous-frame-load-in-javascript-url-expected.txt View 1 2 3 4 5 6 1 chunk +0 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/V8PagePopupControllerBinding.cpp View 1 2 3 4 5 6 7 8 9 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/core.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 2 chunks +2 lines, -2 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 18 19 2 chunks +3 lines, -2 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 18 19 20 21 22 23 6 chunks +28 lines, -39 lines 2 comments Download
M third_party/WebKit/Source/core/dom/DocumentInit.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/dom/DocumentInit.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +4 lines, -13 lines 0 comments Download
M third_party/WebKit/Source/core/dom/RemoteSecurityContext.cpp View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/dom/SecurityContext.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +0 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/dom/SecurityContext.cpp View 1 2 3 4 5 6 7 8 9 3 chunks +1 line, -15 lines 0 comments Download
M third_party/WebKit/Source/core/frame/LocalFrame.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 1 chunk +6 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/loader/DocumentLoader.h View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/loader/DocumentLoader.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 6 chunks +28 lines, -9 lines 2 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 18 19 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/page/CreateWindow.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 5 chunks +41 lines, -27 lines 0 comments Download
D third_party/WebKit/Source/core/page/DOMWindowPagePopup.h View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -64 lines 0 comments Download
D third_party/WebKit/Source/core/page/DOMWindowPagePopup.cpp View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -76 lines 0 comments Download
A + third_party/WebKit/Source/core/page/PagePopupSupplement.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +12 lines, -11 lines 0 comments Download
A + third_party/WebKit/Source/core/page/PagePopupSupplement.cpp View 1 2 3 4 5 6 7 8 9 1 chunk +14 lines, -15 lines 0 comments Download
M third_party/WebKit/Source/web/WebLocalFrameImpl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +1 line, -2 lines 0 comments Download
M third_party/WebKit/Source/web/WebLocalFrameImpl.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 3 chunks +4 lines, -13 lines 0 comments Download
M third_party/WebKit/Source/web/WebPagePopupImpl.cpp View 1 2 3 4 5 6 7 8 9 3 chunks +3 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/web/WebRemoteFrameImpl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/web/WebRemoteFrameImpl.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +8 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/web/tests/FrameTestHelpers.h View 1 2 3 4 5 6 7 2 chunks +7 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/web/tests/FrameTestHelpers.cpp View 1 2 3 4 5 6 7 6 chunks +26 lines, -11 lines 0 comments Download
M third_party/WebKit/Source/web/tests/WebFrameTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 6 chunks +6 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/web/tests/WebViewTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 2 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/public/web/WebFrame.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/public/web/WebLocalFrame.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/public/web/WebRemoteFrame.h View 1 2 3 4 5 6 7 1 chunk +3 lines, -3 lines 0 comments Download

Messages

Total messages: 59 (23 generated)
dcheng
There are a few layout test crashes still, mostly around page popups. I thought I ...
4 years, 10 months ago (2016-02-23 00:11:32 UTC) #5
dcheng
OK, I think this is ready for another look. I've tested that some of the ...
4 years, 10 months ago (2016-02-24 21:59:02 UTC) #7
dcheng
+benwells for chrome/browser/apps changes as well
4 years, 10 months ago (2016-02-24 22:23:30 UTC) #9
Devlin
extensions lgtm
4 years, 10 months ago (2016-02-25 00:12:43 UTC) #10
Charlie Reis
[+alexmos for question about forceSandboxFlags] I looked at content/ and it seems mostly good. One ...
4 years, 10 months ago (2016-02-25 01:08:08 UTC) #11
dcheng
https://codereview.chromium.org/1685003002/diff/250001/content/renderer/render_frame_impl.cc File content/renderer/render_frame_impl.cc (right): https://codereview.chromium.org/1685003002/diff/250001/content/renderer/render_frame_impl.cc#newcode892 content/renderer/render_frame_impl.cc:892: web_frame = blink::WebLocalFrame::createProvisional( On 2016/02/25 at 01:08:08, Charlie Reis ...
4 years, 10 months ago (2016-02-25 01:13:28 UTC) #12
dcheng
OK, I need to fix the Mac build and several extension unit tests, but this ...
4 years, 10 months ago (2016-02-25 20:38:50 UTC) #14
Charlie Reis
content/ LGTM. https://codereview.chromium.org/1685003002/diff/250001/content/renderer/render_frame_impl.cc File content/renderer/render_frame_impl.cc (right): https://codereview.chromium.org/1685003002/diff/250001/content/renderer/render_frame_impl.cc#newcode892 content/renderer/render_frame_impl.cc:892: web_frame = blink::WebLocalFrame::createProvisional( On 2016/02/25 01:13:28, dcheng ...
4 years, 10 months ago (2016-02-25 21:21:25 UTC) #15
asargent_no_longer_on_chrome
On 2016/02/25 21:21:25, Charlie Reis (slow til Mar 7) wrote: > content/ LGTM. > > ...
4 years, 10 months ago (2016-02-26 18:19:45 UTC) #17
alexmos
https://codereview.chromium.org/1685003002/diff/250001/content/renderer/render_view_impl.cc File content/renderer/render_view_impl.cc (right): https://codereview.chromium.org/1685003002/diff/250001/content/renderer/render_view_impl.cc#newcode807 content/renderer/render_view_impl.cc:807: // the browser asking us to set our opener ...
4 years, 10 months ago (2016-02-26 19:55:34 UTC) #19
dcheng
OK, I think all the failing tests /should/ be fixed. None of the already-reviewed code ...
4 years, 10 months ago (2016-02-26 22:52:29 UTC) #22
alexmos
https://codereview.chromium.org/1685003002/diff/250001/content/renderer/render_view_impl.cc File content/renderer/render_view_impl.cc (right): https://codereview.chromium.org/1685003002/diff/250001/content/renderer/render_view_impl.cc#newcode807 content/renderer/render_view_impl.cc:807: // the browser asking us to set our opener ...
4 years, 10 months ago (2016-02-26 23:54:47 UTC) #23
sky
LGTM
4 years, 10 months ago (2016-02-27 00:27:00 UTC) #24
dcheng
https://codereview.chromium.org/1685003002/diff/250001/content/renderer/render_view_impl.cc File content/renderer/render_view_impl.cc (right): https://codereview.chromium.org/1685003002/diff/250001/content/renderer/render_view_impl.cc#newcode807 content/renderer/render_view_impl.cc:807: // the browser asking us to set our opener ...
4 years, 10 months ago (2016-02-27 01:41:21 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/1685003002/430001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1685003002/430001
4 years, 10 months ago (2016-02-27 01:44:08 UTC) #28
dcheng
+haraken@ and jochen@ as well
4 years, 10 months ago (2016-02-27 03:41:46 UTC) #30
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1685003002/450001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1685003002/450001
4 years, 10 months ago (2016-02-27 04:58:24 UTC) #32
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_clobber_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_clobber_rel_ng/builds/136951)
4 years, 10 months ago (2016-02-27 05:57:25 UTC) #34
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1685003002/450001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1685003002/450001
4 years, 10 months ago (2016-02-27 06:05:21 UTC) #36
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 10 months ago (2016-02-27 07:27:41 UTC) #38
haraken
I'm not eligible to review the security aspects of this CL, so I'll delegate the ...
4 years, 9 months ago (2016-02-29 02:17:07 UTC) #39
jochen (gone - plz use gerrit)
https://codereview.chromium.org/1685003002/diff/450001/third_party/WebKit/Source/core/loader/DocumentLoader.cpp File third_party/WebKit/Source/core/loader/DocumentLoader.cpp (right): https://codereview.chromium.org/1685003002/diff/450001/third_party/WebKit/Source/core/loader/DocumentLoader.cpp#newcode768 third_party/WebKit/Source/core/loader/DocumentLoader.cpp:768: RefPtrWillBeRawPtr<Document> document = frame->localDOMWindow()->installNewDocument(mimeType, init); I wonder whether we ...
4 years, 9 months ago (2016-02-29 16:37:23 UTC) #40
dcheng
https://codereview.chromium.org/1685003002/diff/450001/third_party/WebKit/Source/core/loader/DocumentLoader.cpp File third_party/WebKit/Source/core/loader/DocumentLoader.cpp (right): https://codereview.chromium.org/1685003002/diff/450001/third_party/WebKit/Source/core/loader/DocumentLoader.cpp#newcode768 third_party/WebKit/Source/core/loader/DocumentLoader.cpp:768: RefPtrWillBeRawPtr<Document> document = frame->localDOMWindow()->installNewDocument(mimeType, init); On 2016/02/29 at 16:37:23, ...
4 years, 9 months ago (2016-02-29 17:49:24 UTC) #41
jochen (gone - plz use gerrit)
On 2016/02/29 at 17:49:24, dcheng wrote: > https://codereview.chromium.org/1685003002/diff/450001/third_party/WebKit/Source/core/loader/DocumentLoader.cpp > File third_party/WebKit/Source/core/loader/DocumentLoader.cpp (right): > > https://codereview.chromium.org/1685003002/diff/450001/third_party/WebKit/Source/core/loader/DocumentLoader.cpp#newcode768 ...
4 years, 9 months ago (2016-03-01 14:31:15 UTC) #42
jochen (gone - plz use gerrit)
I assume you've also tested this with the spreadsheet thing that broke last time?
4 years, 9 months ago (2016-03-01 14:31:40 UTC) #43
dcheng
On 2016/03/01 at 14:31:15, jochen wrote: > On 2016/02/29 at 17:49:24, dcheng wrote: > > ...
4 years, 9 months ago (2016-03-01 16:42:51 UTC) #44
jochen (gone - plz use gerrit)
to summarize the offline discussion: - lgtm if you manually verify the docs thing - ...
4 years, 9 months ago (2016-03-01 17:19:25 UTC) #45
dcheng
Just manually verified that scrolling (from https://bugs.chromium.org/p/chromium/issues/detail?id=585091) works, even with this patch.
4 years, 9 months ago (2016-03-01 17:28:48 UTC) #46
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1685003002/450001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1685003002/450001
4 years, 9 months ago (2016-03-01 17:32:33 UTC) #49
dcheng
+estark fyi
4 years, 9 months ago (2016-03-01 18:20:32 UTC) #50
commit-bot: I haz the power
Committed patchset #24 (id:450001)
4 years, 9 months ago (2016-03-01 19:16:04 UTC) #51
commit-bot: I haz the power
Patchset 24 (id:??) landed as https://crrev.com/9e24bd35f58fff1562b0784be8ab2e612ece6408 Cr-Commit-Position: refs/heads/master@{#378508}
4 years, 9 months ago (2016-03-01 19:18:04 UTC) #53
sof
https://codereview.chromium.org/1685003002/diff/450001/third_party/WebKit/Source/core/dom/Document.cpp File third_party/WebKit/Source/core/dom/Document.cpp (right): https://codereview.chromium.org/1685003002/diff/450001/third_party/WebKit/Source/core/dom/Document.cpp#newcode4920 third_party/WebKit/Source/core/dom/Document.cpp:4920: ASSERT(!securityOrigin()); Does this merit being a release assert?
4 years, 9 months ago (2016-03-02 07:26:19 UTC) #55
dcheng
https://codereview.chromium.org/1685003002/diff/450001/third_party/WebKit/Source/core/dom/Document.cpp File third_party/WebKit/Source/core/dom/Document.cpp (right): https://codereview.chromium.org/1685003002/diff/450001/third_party/WebKit/Source/core/dom/Document.cpp#newcode4920 third_party/WebKit/Source/core/dom/Document.cpp:4920: ASSERT(!securityOrigin()); On 2016/03/02 at 07:26:19, sof wrote: > Does ...
4 years, 9 months ago (2016-03-02 07:36:05 UTC) #56
Shu Chen
This cl broke the IME window, please see https://code.google.com/p/chromium/codesearch#chromium/src/chrome/renderer/resources/extensions/input.ime_custom_bindings.js&l=52. However, my draft cl https://codereview.chromium.org/1756853002 fails ...
4 years, 9 months ago (2016-03-02 15:06:07 UTC) #58
Shu Chen
4 years, 9 months ago (2016-03-02 15:11:28 UTC) #59
Message was sent while issue was closed.
On 2016/03/02 at 15:06:07, Shu Chen wrote:
> This cl broke the IME window, please see
https://code.google.com/p/chromium/codesearch#chromium/src/chrome/renderer/re....
> 
> However, my draft cl https://codereview.chromium.org/1756853002 fails to fix
the problem.
> The IME window still reports: Error in response to input.ime.createWindow:
SecurityError: Blocked a frame with origin
"chrome-extension://hjmfdplinagacoddgleifabikjmipagg" from accessing a
cross-origin frame.
> 
> dcheng@, can you please help me diagnose the issue? Thanks!

Sorry, I've just figured it out: I forgot to set the correct SiteInstance.

Powered by Google App Engine
This is Rietveld 408576698