projects
/
platform
/
framework
/
web
/
crosswalk-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
33b6ab1
)
Set human readable context name
author
Kevin Sawicki
<kevinsawicki@gmail.com>
Tue, 10 Jan 2017 17:25:10 +0000
(09:25 -0800)
committer
Kevin Sawicki
<kevinsawicki@gmail.com>
Mon, 16 Jan 2017 20:38:16 +0000
(12:38 -0800)
atom/renderer/atom_renderer_client.cc
patch
|
blob
|
history
diff --git
a/atom/renderer/atom_renderer_client.cc
b/atom/renderer/atom_renderer_client.cc
index
7802700
..
e785e26
100644
(file)
--- a/
atom/renderer/atom_renderer_client.cc
+++ b/
atom/renderer/atom_renderer_client.cc
@@
-81,6
+81,10
@@
class AtomRenderFrameObserver : public content::RenderFrameObserver {
}
void CreateIsolatedWorldContext() {
+ render_frame_->GetWebFrame()->setIsolatedWorldHumanReadableName(
+ World::ISOLATED_WORLD,
+ blink::WebString::fromUTF8("Electron Isolated Context"));
+
blink::WebScriptSource source("void 0");
render_frame_->GetWebFrame()->executeScriptInIsolatedWorld(
World::ISOLATED_WORLD, &source, 1, ExtensionGroup::MAIN_GROUP);