nwjs / nw.js

Call all Node.js modules directly from DOM/WebWorker and enable a new way of writing applications with all Web technologies.
https://nwjs.io
MIT License
40.35k stars 3.88k forks source link

webview local file issue #4668

Closed hkaya closed 8 years ago

hkaya commented 8 years ago

Creating a new issue as I couldn't reopen the existing issue, see #4425 for details.

Loading a local file with webview tag is still not working. I tested with 0.13.0, 0.13.0-sdk, 0.13.0-sdk-1, 0.13.0-rc2sdk, 0.13.0-rc4sdk and 0.14.0-rc2sdk on Linux x64. I tested with the following app:

index.html:

<!DOCTYPE html>                                                                                                                                                                                              
<html>
<head>
<body>
  <webview id="wv" partition="trusted" src="file:///path/to/webview.html"></webview>
  <script type="text/javascript">
    // var wv = document.getElementById('wv');
    // wv.src = 'file:///path/to/webview.html';
  </script>
</body>
</html>

package.json:

{
    "name": "app",
    "version": "1.0.0",
    "main": "index.html",
    "webview": {
        "partitions": [
            {
                "name": "trusted",                                                                                                                                                                           
                "accessible_resources": ["<all_urls>"]
            }
        ]
    }
}

When I load this app, I sometimes get the ERR_DISALLOWED_URL_SCHEME error and sometimes I see the contents of the webview.html. I don't have a consistent way of reproducing this. You can try to open / close nw window multiple times to verify.

The second test I did was to delete the src attribute completely and try to set the value with javascript. When I do that, again I only sometimes see the content. But I never get the error even when I don't see the content. This happens with wv.src = 'file:///xxx'; as well as with wv.setAttribute('src', 'file:///xxx');.

Finally, if I open the dev tools and set the src attribute of the webview manually, it works.

rogerwang commented 8 years ago

I ran your case many times and it never fail on Linux x64. What's your OS?

hkaya commented 8 years ago

I'm on linux x64 as well. Is it possible that I'm hitting a timing issue? e.g. When the dom is updated the file protocol hasn't been whitelisted yet. Anything I can do to further debug this issue?

hkaya commented 8 years ago

@rogerwang I enabled logging, not much info in it, perhaps it'll make more sense to you.

The first log set is when the webview is working as expected. The second log set is when it's not working. I didn't change anything in between these runs. On one run it was working, on the other it wasn't.

Here's the webview tag I used:

<webview id="wv" partition="trusted" src="file:///home/hkaya/test.html"></webview>

Logs when load succeeded:

[10573:10584:0402/130921:VERBOSE1:chrome_browser_main_posix.cc(220)] Handling shutdown for signal 2.
[10573:10573:0402/130922:VERBOSE1:account_reconcilor.cc(100)] AccountReconcilor::Shutdown
[10573:10573:0402/130922:VERBOSE1:account_reconcilor.cc(169)] AccountReconcilor::UnregisterWithCookieManagerService
[10573:10573:0402/130922:VERBOSE1:account_reconcilor.cc(149)] AccountReconcilor::UnregisterWithTokenService
[10573:10573:0402/130922:VERBOSE1:account_reconcilor.cc(128)] AccountReconcilor::UnregisterWithContentSettings
[10573:10594:0402/130922:WARNING:ipc_message_attachment_set.cc(57)] MessageAttachmentSet destroyed with unconsumed descriptors: 0/1
[10573:10573:0402/130922:VERBOSE1:mutable_profile_oauth2_token_service_delegate.cc(518)] MutablePO2TS::Shutdown
[10573:10573:0402/130922:VERBOSE1:account_reconcilor.cc(74)] AccountReconcilor::~AccountReconcilor
[10573:10573:0402/130922:VERBOSE1:gaia_cookie_manager_service.cc(441)] GaiaCookieManagerService::CancelAll
[10573:10573:0402/130922:VERBOSE1:mutable_profile_oauth2_token_service_delegate.cc(153)] MutablePO2TS::~MutablePO2TS
[10573:10573:0402/130922:WARNING:pref_notifier_impl.cc(27)] pref observer found at shutdown plugins.always_authorize
[10573:10573:0402/130922:WARNING:pref_notifier_impl.cc(27)] pref observer found at shutdown plugins.allow_outdated
[10573:10573:0402/130922:WARNING:pref_notifier_impl.cc(27)] pref observer found at shutdown printing.enabled
[10609:10609:0402/130922:VERBOSE1:dispatcher.cc(491)] Num tracked contexts: 1
[10609:10609:0402/130922:VERBOSE1:script_context.cc(119)] Destroyed context for extension
  extension id: kbhcmonmkoehehelgbfmfenfbakfniek
  effective extension id: kbhcmonmkoehehelgbfmfenfbakfniek
[10609:10609:0402/130922:VERBOSE1:script_context.cc(119)] Destroyed context for extension
  extension id: 
  effective extension id: 
[10609:10609:0402/130922:VERBOSE1:dispatcher.cc(491)] Num tracked contexts: 0
[10609:10609:0402/130922:VERBOSE1:script_context.cc(119)] Destroyed context for extension
  extension id: kbhcmonmkoehehelgbfmfenfbakfniek
  effective extension id: kbhcmonmkoehehelgbfmfenfbakfniek
[10609:10609:0402/130922:VERBOSE1:script_context.cc(119)] Destroyed context for extension
  extension id: 
  effective extension id: 
[10573:10573:0402/130922:VERBOSE1:bluez_dbus_manager.cc(244)] BluezDBusManager Shutdown completed
[10573:10583:0402/130922:VERBOSE1:bus.cc(720)] Requested to remove an unknown filter function: 1 with associated data: 0x3787b3c361e0
[10573:10573:0402/130922:VERBOSE1:dbus_thread_manager_linux.cc(62)] LinuxDBusManager Shutdown completed
[10573:10574:0402/130922:VERBOSE1:sandbox_ipc_linux.cc(123)] SandboxIPCHandler stopping.
tail: ‘chrome_debug.log’ has been replaced;  following end of new file
[10653:10653:0402/130923:VERBOSE1:zygote_main_linux.cc(565)] ZygoteMain: initializing 2 fork delegates
[10653:10653:0402/130923:VERBOSE1:nacl_fork_delegate_linux.cc(145)] NaClForkDelegate::Init()
[10653:10653:0402/130923:VERBOSE1:nacl_fork_delegate_linux.cc(145)] NaClForkDelegate::Init()
[10653:10653:0402/130923:INFO:systeminfo.cc(82)] Available number of cores: 6
[10651:10651:0402/130923:VERBOSE1:pref_proxy_config_tracker_impl.cc(218)] 0x315e5cf838c0: set chrome proxy config service to 0x315e5ce2b420
[10651:10651:0402/130923:VERBOSE1:pref_proxy_config_tracker_impl.cc(355)] 0x315e5cf838c0: Done pushing proxy to UpdateProxyConfig
[10651:10651:0402/130923:VERBOSE1:app_list_syncable_service_factory.cc(57)] AppListSyncableServiceFactory()
[10651:10651:0402/130923:VERBOSE1:mutable_profile_oauth2_token_service_delegate.cc(137)] MutablePO2TS::MutablePO2TS
[10651:10651:0402/130923:VERBOSE1:bluetooth_low_energy_event_router.cc(194)] Initializing BluetoothLowEnergyEventRouter.
[10651:10651:0402/130923:VERBOSE1:app_list_syncable_service_factory.cc(47)] BuildInstanceFor: Default (0x315e5cdf4240)
[10651:10651:0402/130923:VERBOSE2:content_settings_policy_provider.cc(206)] Skipping unset preference: profile.managed_cookies_allowed_for_urls
[10651:10651:0402/130923:VERBOSE2:content_settings_policy_provider.cc(206)] Skipping unset preference: profile.managed_cookies_blocked_for_urls
[10651:10651:0402/130923:VERBOSE2:content_settings_policy_provider.cc(206)] Skipping unset preference: profile.managed_cookies_sessiononly_for_urls
[10651:10651:0402/130923:VERBOSE2:content_settings_policy_provider.cc(206)] Skipping unset preference: profile.managed_images_allowed_for_urls
[10651:10651:0402/130923:VERBOSE2:content_settings_policy_provider.cc(206)] Skipping unset preference: profile.managed_images_blocked_for_urls
[10651:10651:0402/130923:VERBOSE2:content_settings_policy_provider.cc(206)] Skipping unset preference: profile.managed_javascript_allowed_for_urls
[10651:10651:0402/130923:VERBOSE2:content_settings_policy_provider.cc(206)] Skipping unset preference: profile.managed_javascript_blocked_for_urls
[10651:10651:0402/130923:VERBOSE2:content_settings_policy_provider.cc(206)] Skipping unset preference: profile.managed_notifications_allowed_for_urls
[10651:10651:0402/130923:VERBOSE2:content_settings_policy_provider.cc(206)] Skipping unset preference: profile.managed_notifications_blocked_for_urls
[10651:10651:0402/130923:VERBOSE2:content_settings_policy_provider.cc(206)] Skipping unset preference: profile.managed_plugins_allowed_for_urls
[10651:10651:0402/130923:VERBOSE2:content_settings_policy_provider.cc(206)] Skipping unset preference: profile.managed_plugins_blocked_for_urls
[10651:10651:0402/130923:VERBOSE2:content_settings_policy_provider.cc(206)] Skipping unset preference: profile.managed_popups_allowed_for_urls
[10651:10651:0402/130923:VERBOSE2:content_settings_policy_provider.cc(206)] Skipping unset preference: profile.managed_popups_blocked_for_urls
[10651:10651:0402/130923:VERBOSE2:content_settings_policy_provider.cc(206)] Skipping unset preference: profile.managed_keygen_allowed_for_urls
[10651:10651:0402/130923:VERBOSE2:content_settings_policy_provider.cc(206)] Skipping unset preference: profile.managed_keygen_blocked_for_urls
[10651:10651:0402/130923:VERBOSE2:content_settings_policy_provider.cc(255)] Skipping unset preference: profile.managed_auto_select_certificate_for_urls
[10651:10651:0402/130923:VERBOSE1:pref_proxy_config_tracker_impl.cc(218)] 0x315e5d0ee8c0: set chrome proxy config service to 0x315e5d163160
[10651:10651:0402/130923:VERBOSE1:pref_proxy_config_tracker_impl.cc(355)] 0x315e5d0ee8c0: Done pushing proxy to UpdateProxyConfig
[10651:10651:0402/130923:VERBOSE1:extension_service.cc(1536)] AddComponentExtension Chromium PDF Viewer
[10651:10651:0402/130923:VERBOSE1:password_store_factory.cc(203)] Password storage detected desktop environment: XFCE
[10651:10651:0402/130923:VERBOSE1:password_store_factory.cc(226)] Trying libsecret for password storage.
[10651:10651:0402/130923:VERBOSE1:password_store_factory.cc(229)] Using libsecret keyring for password storage.
[10651:10651:0402/130923:VERBOSE1:account_reconcilor.cc(70)] AccountReconcilor::AccountReconcilor
[10651:10651:0402/130923:VERBOSE1:account_reconcilor.cc(81)] AccountReconcilor::Initialize
[10651:10651:0402/130923:VERBOSE1:bluez_dbus_manager.cc(170)] Bluetooth not supported.
[10651:10672:0402/130923:VERBOSE1:multi_log_ct_verifier.cc(67)] Adding CT log: Google 'Pilot' log
[10651:10672:0402/130923:VERBOSE1:multi_log_ct_verifier.cc(67)] Adding CT log: Google 'Aviator' log
[10651:10672:0402/130923:VERBOSE1:multi_log_ct_verifier.cc(67)] Adding CT log: DigiCert Log Server
[10651:10672:0402/130923:VERBOSE1:multi_log_ct_verifier.cc(67)] Adding CT log: Google 'Rocketeer' log
[10651:10672:0402/130923:VERBOSE1:multi_log_ct_verifier.cc(67)] Adding CT log: Certly.IO log
[10651:10672:0402/130923:VERBOSE1:multi_log_ct_verifier.cc(67)] Adding CT log: Izenpe log
[10651:10672:0402/130923:VERBOSE1:multi_log_ct_verifier.cc(67)] Adding CT log: Symantec log
[10651:10672:0402/130923:VERBOSE1:multi_log_ct_verifier.cc(67)] Adding CT log: Venafi log
[10651:10672:0402/130923:VERBOSE1:multi_log_ct_verifier.cc(67)] Adding CT log: Symantec 'Vega' log
[10651:10672:0402/130923:VERBOSE1:multi_log_ct_verifier.cc(67)] Adding CT log: Google 'Pilot' log
[10651:10672:0402/130923:VERBOSE1:multi_log_ct_verifier.cc(67)] Adding CT log: Google 'Aviator' log
[10651:10672:0402/130923:VERBOSE1:multi_log_ct_verifier.cc(67)] Adding CT log: DigiCert Log Server
[10651:10672:0402/130923:VERBOSE1:multi_log_ct_verifier.cc(67)] Adding CT log: Google 'Rocketeer' log
[10651:10672:0402/130923:VERBOSE1:multi_log_ct_verifier.cc(67)] Adding CT log: Certly.IO log
[10651:10672:0402/130923:VERBOSE1:multi_log_ct_verifier.cc(67)] Adding CT log: Izenpe log
[10651:10672:0402/130923:VERBOSE1:multi_log_ct_verifier.cc(67)] Adding CT log: Symantec log
[10651:10672:0402/130923:VERBOSE1:multi_log_ct_verifier.cc(67)] Adding CT log: Venafi log
[10651:10672:0402/130923:VERBOSE1:multi_log_ct_verifier.cc(67)] Adding CT log: Symantec 'Vega' log
[10687:10687:0402/130923:VERBOSE1:breakpad_linux.cc(1862)] Non Browser crash dumping enabled for: renderer
[10687:10687:0402/130923:VERBOSE1:child_thread_impl.cc(352)] Mojo is disabled on child
[10687:10687:0402/130923:VERBOSE1:dispatcher.cc(1182)] NW: change working dir: /home/hkaya/source/nw13-webview-test/app
[10687:10687:0402/130923:VERBOSE2:password_generation_agent.cc(132)] Password Generation is Enabled
[10685:10685:0402/130923:VERBOSE1:breakpad_linux.cc(1862)] Non Browser crash dumping enabled for: gpu-process
[10687:10687:0402/130923:VERBOSE1:script_context.cc(112)] Created context:
  extension id:           kbhcmonmkoehehelgbfmfenfbakfniek
  frame:                  0x1e08e461d10
  URL:                    chrome-extension://kbhcmonmkoehehelgbfmfenfbakfniek/_generated_background_page.html
  context_type:           BLESSED_EXTENSION
  effective extension id: kbhcmonmkoehehelgbfmfenfbakfniek
  effective context type: BLESSED_EXTENSION
[10687:10687:0402/130923:VERBOSE1:script_context.cc(112)] Created context:
  extension id:           (none)
  frame:                  (nil)
  URL:                    
  context_type:           UNSPECIFIED
  effective extension id: (none)
  effective context type: UNSPECIFIED
[10685:10685:0402/130923:VERBOSE1:child_thread_impl.cc(352)] Mojo is disabled on child
[10687:10687:0402/130923:VERBOSE1:dispatcher.cc(374)] Num tracked contexts: 1
[10687:10687:0402/130923:VERBOSE2:password_generation_agent.cc(132)] Password Generation is Enabled
[10685:10685:0402/130923:VERBOSE1:gles2_cmd_decoder.cc(2818)] GL_EXT_packed_depth_stencil supported.
[10685:10685:0402/130923:VERBOSE1:gles2_cmd_decoder.cc(2818)] GL_EXT_packed_depth_stencil supported.
[10687:10687:0402/130923:VERBOSE1:script_context.cc(112)] Created context:
  extension id:           kbhcmonmkoehehelgbfmfenfbakfniek
  frame:                  0x1e08e46df98
  URL:                    chrome-extension://kbhcmonmkoehehelgbfmfenfbakfniek/index.html
  context_type:           BLESSED_EXTENSION
  effective extension id: kbhcmonmkoehehelgbfmfenfbakfniek
  effective context type: BLESSED_EXTENSION
[10687:10687:0402/130923:VERBOSE1:script_context.cc(112)] Created context:
  extension id:           (none)
  frame:                  (nil)
  URL:                    
  context_type:           UNSPECIFIED
  effective extension id: (none)
  effective context type: UNSPECIFIED
[10685:10685:0402/130923:VERBOSE1:gles2_cmd_decoder.cc(2818)] GL_EXT_packed_depth_stencil supported.
[10651:10651:0402/130923:WARNING:launcher.cc(263)] Extension does not provide a valid file handler.
[10685:10704:0402/130923:WARNING:x11_util.cc(1407)] X error received: serial 25, error_code 9 (BadDrawable (invalid Pixmap or Window parameter)), request_code 154, minor_code 3 (DRI2CreateDrawable)
[10685:10704:0402/130923:WARNING:x11_util.cc(1407)] X error received: serial 26, error_code 9 (BadDrawable (invalid Pixmap or Window parameter)), request_code 154, minor_code 7 (DRI2GetBuffersWithFormat  )
[10687:10687:0402/130923:VERBOSE1:dispatcher.cc(374)] Num tracked contexts: 2
[10651:10651:0402/130923:INFO:CONSOLE(34)] "[object HTMLElement]", source: chrome-extension://kbhcmonmkoehehelgbfmfenfbakfniek/index.html (34)
[10651:10651:0402/130923:INFO:CONSOLE(38)] "[object HTMLElement]", source: chrome-extension://kbhcmonmkoehehelgbfmfenfbakfniek/index.html (38)
[10707:10707:0402/130923:VERBOSE1:breakpad_linux.cc(1862)] Non Browser crash dumping enabled for: renderer
[10707:10707:0402/130923:VERBOSE1:child_thread_impl.cc(352)] Mojo is disabled on child
[10707:10707:0402/130923:VERBOSE1:dispatcher.cc(1182)] NW: change working dir: /home/hkaya/source/nw13-webview-test/app
[10707:10707:0402/130923:VERBOSE2:password_generation_agent.cc(132)] Password Generation is Enabled
[10685:10685:0402/130923:VERBOSE1:gles2_cmd_decoder.cc(2818)] GL_EXT_packed_depth_stencil supported.
[10685:10685:0402/130923:VERBOSE1:gles2_cmd_decoder.cc(2818)] GL_EXT_packed_depth_stencil supported.
[10707:10707:0402/130923:VERBOSE1:script_context.cc(112)] Created context:
  extension id:           (none)
  frame:                  0x2dc9f261d10
  URL:                    file:///home/hkaya/test.html
  context_type:           WEB_PAGE
  effective extension id: (none)
  effective context type: WEB_PAGE
[10707:10707:0402/130923:VERBOSE1:script_context.cc(112)] Created context:
  extension id:           (none)
  frame:                  (nil)
  URL:                    
  context_type:           UNSPECIFIED
  effective extension id: (none)
  effective context type: UNSPECIFIED
[10707:10707:0402/130923:VERBOSE1:dispatcher.cc(374)] Num tracked contexts: 1

Logs when load failed:

[10651:10662:0402/130927:VERBOSE1:chrome_browser_main_posix.cc(220)] Handling shutdown for signal 2.
[10651:10651:0402/130927:VERBOSE1:account_reconcilor.cc(100)] AccountReconcilor::Shutdown
[10651:10651:0402/130927:VERBOSE1:account_reconcilor.cc(169)] AccountReconcilor::UnregisterWithCookieManagerService
[10651:10651:0402/130927:VERBOSE1:account_reconcilor.cc(149)] AccountReconcilor::UnregisterWithTokenService
[10651:10651:0402/130927:VERBOSE1:account_reconcilor.cc(128)] AccountReconcilor::UnregisterWithContentSettings
[10651:10651:0402/130927:VERBOSE1:mutable_profile_oauth2_token_service_delegate.cc(518)] MutablePO2TS::Shutdown
[10651:10651:0402/130927:VERBOSE1:account_reconcilor.cc(74)] AccountReconcilor::~AccountReconcilor
[10651:10651:0402/130927:VERBOSE1:gaia_cookie_manager_service.cc(441)] GaiaCookieManagerService::CancelAll
[10651:10651:0402/130927:VERBOSE1:mutable_profile_oauth2_token_service_delegate.cc(153)] MutablePO2TS::~MutablePO2TS
[10651:10651:0402/130927:WARNING:pref_notifier_impl.cc(27)] pref observer found at shutdown plugins.always_authorize
[10651:10651:0402/130927:WARNING:pref_notifier_impl.cc(27)] pref observer found at shutdown plugins.allow_outdated
[10651:10651:0402/130927:WARNING:pref_notifier_impl.cc(27)] pref observer found at shutdown printing.enabled
[10687:10687:0402/130927:VERBOSE1:dispatcher.cc(491)] Num tracked contexts: 1
[10687:10687:0402/130927:VERBOSE1:script_context.cc(119)] Destroyed context for extension
  extension id: kbhcmonmkoehehelgbfmfenfbakfniek
  effective extension id: kbhcmonmkoehehelgbfmfenfbakfniek
[10687:10687:0402/130927:VERBOSE1:script_context.cc(119)] Destroyed context for extension
  extension id: 
  effective extension id: 
[10687:10687:0402/130927:VERBOSE1:dispatcher.cc(491)] Num tracked contexts: 0
[10687:10687:0402/130927:VERBOSE1:script_context.cc(119)] Destroyed context for extension
  extension id: kbhcmonmkoehehelgbfmfenfbakfniek
  effective extension id: kbhcmonmkoehehelgbfmfenfbakfniek
[10687:10687:0402/130927:VERBOSE1:script_context.cc(119)] Destroyed context for extension
  extension id: 
  effective extension id: 
[10651:10651:0402/130927:VERBOSE1:bluez_dbus_manager.cc(244)] BluezDBusManager Shutdown completed
[10651:10661:0402/130927:VERBOSE1:bus.cc(720)] Requested to remove an unknown filter function: 1 with associated data: 0x315e5ce261e0
[10651:10651:0402/130927:VERBOSE1:dbus_thread_manager_linux.cc(62)] LinuxDBusManager Shutdown completed
[10651:10652:0402/130927:VERBOSE1:sandbox_ipc_linux.cc(123)] SandboxIPCHandler stopping.
tail: ‘chrome_debug.log’ has been replaced;  following end of new file
[10732:10732:0402/130931:VERBOSE1:zygote_main_linux.cc(565)] ZygoteMain: initializing 2 fork delegates
[10732:10732:0402/130931:VERBOSE1:nacl_fork_delegate_linux.cc(145)] NaClForkDelegate::Init()
[10732:10732:0402/130931:VERBOSE1:nacl_fork_delegate_linux.cc(145)] NaClForkDelegate::Init()
[10732:10732:0402/130931:INFO:systeminfo.cc(82)] Available number of cores: 6
[10730:10730:0402/130931:VERBOSE1:pref_proxy_config_tracker_impl.cc(218)] 0x2a1ee849c8c0: set chrome proxy config service to 0x2a1ee8344420
[10730:10730:0402/130931:VERBOSE1:pref_proxy_config_tracker_impl.cc(355)] 0x2a1ee849c8c0: Done pushing proxy to UpdateProxyConfig
[10730:10730:0402/130931:VERBOSE1:app_list_syncable_service_factory.cc(57)] AppListSyncableServiceFactory()
[10730:10730:0402/130931:VERBOSE1:mutable_profile_oauth2_token_service_delegate.cc(137)] MutablePO2TS::MutablePO2TS
[10730:10730:0402/130931:VERBOSE1:bluetooth_low_energy_event_router.cc(194)] Initializing BluetoothLowEnergyEventRouter.
[10730:10730:0402/130931:VERBOSE1:app_list_syncable_service_factory.cc(47)] BuildInstanceFor: Default (0x2a1ee830d240)
[10730:10730:0402/130931:VERBOSE2:content_settings_policy_provider.cc(206)] Skipping unset preference: profile.managed_cookies_allowed_for_urls
[10730:10730:0402/130931:VERBOSE2:content_settings_policy_provider.cc(206)] Skipping unset preference: profile.managed_cookies_blocked_for_urls
[10730:10730:0402/130931:VERBOSE2:content_settings_policy_provider.cc(206)] Skipping unset preference: profile.managed_cookies_sessiononly_for_urls
[10730:10730:0402/130931:VERBOSE2:content_settings_policy_provider.cc(206)] Skipping unset preference: profile.managed_images_allowed_for_urls
[10730:10730:0402/130931:VERBOSE2:content_settings_policy_provider.cc(206)] Skipping unset preference: profile.managed_images_blocked_for_urls
[10730:10730:0402/130931:VERBOSE2:content_settings_policy_provider.cc(206)] Skipping unset preference: profile.managed_javascript_allowed_for_urls
[10730:10730:0402/130931:VERBOSE2:content_settings_policy_provider.cc(206)] Skipping unset preference: profile.managed_javascript_blocked_for_urls
[10730:10730:0402/130931:VERBOSE2:content_settings_policy_provider.cc(206)] Skipping unset preference: profile.managed_notifications_allowed_for_urls
[10730:10730:0402/130931:VERBOSE2:content_settings_policy_provider.cc(206)] Skipping unset preference: profile.managed_notifications_blocked_for_urls
[10730:10730:0402/130931:VERBOSE2:content_settings_policy_provider.cc(206)] Skipping unset preference: profile.managed_plugins_allowed_for_urls
[10730:10730:0402/130931:VERBOSE2:content_settings_policy_provider.cc(206)] Skipping unset preference: profile.managed_plugins_blocked_for_urls
[10730:10730:0402/130931:VERBOSE2:content_settings_policy_provider.cc(206)] Skipping unset preference: profile.managed_popups_allowed_for_urls
[10730:10730:0402/130931:VERBOSE2:content_settings_policy_provider.cc(206)] Skipping unset preference: profile.managed_popups_blocked_for_urls
[10730:10730:0402/130931:VERBOSE2:content_settings_policy_provider.cc(206)] Skipping unset preference: profile.managed_keygen_allowed_for_urls
[10730:10730:0402/130931:VERBOSE2:content_settings_policy_provider.cc(206)] Skipping unset preference: profile.managed_keygen_blocked_for_urls
[10730:10730:0402/130931:VERBOSE2:content_settings_policy_provider.cc(255)] Skipping unset preference: profile.managed_auto_select_certificate_for_urls
[10730:10730:0402/130931:VERBOSE1:pref_proxy_config_tracker_impl.cc(218)] 0x2a1ee866b000: set chrome proxy config service to 0x2a1ee8672160
[10730:10730:0402/130931:VERBOSE1:pref_proxy_config_tracker_impl.cc(355)] 0x2a1ee866b000: Done pushing proxy to UpdateProxyConfig
[10730:10730:0402/130931:VERBOSE1:extension_service.cc(1536)] AddComponentExtension Chromium PDF Viewer
[10730:10730:0402/130931:VERBOSE1:password_store_factory.cc(203)] Password storage detected desktop environment: XFCE
[10730:10730:0402/130931:VERBOSE1:password_store_factory.cc(226)] Trying libsecret for password storage.
[10730:10730:0402/130931:VERBOSE1:password_store_factory.cc(229)] Using libsecret keyring for password storage.
[10730:10730:0402/130931:VERBOSE1:account_reconcilor.cc(70)] AccountReconcilor::AccountReconcilor
[10730:10730:0402/130931:VERBOSE1:account_reconcilor.cc(81)] AccountReconcilor::Initialize
[10730:10730:0402/130931:VERBOSE1:bluez_dbus_manager.cc(170)] Bluetooth not supported.
[10730:10751:0402/130931:VERBOSE1:multi_log_ct_verifier.cc(67)] Adding CT log: Google 'Pilot' log
[10730:10751:0402/130931:VERBOSE1:multi_log_ct_verifier.cc(67)] Adding CT log: Google 'Aviator' log
[10730:10751:0402/130931:VERBOSE1:multi_log_ct_verifier.cc(67)] Adding CT log: DigiCert Log Server
[10730:10751:0402/130931:VERBOSE1:multi_log_ct_verifier.cc(67)] Adding CT log: Google 'Rocketeer' log
[10730:10751:0402/130931:VERBOSE1:multi_log_ct_verifier.cc(67)] Adding CT log: Certly.IO log
[10730:10751:0402/130931:VERBOSE1:multi_log_ct_verifier.cc(67)] Adding CT log: Izenpe log
[10730:10751:0402/130931:VERBOSE1:multi_log_ct_verifier.cc(67)] Adding CT log: Symantec log
[10730:10751:0402/130931:VERBOSE1:multi_log_ct_verifier.cc(67)] Adding CT log: Venafi log
[10730:10751:0402/130931:VERBOSE1:multi_log_ct_verifier.cc(67)] Adding CT log: Symantec 'Vega' log
[10730:10751:0402/130931:VERBOSE1:multi_log_ct_verifier.cc(67)] Adding CT log: Google 'Pilot' log
[10730:10751:0402/130931:VERBOSE1:multi_log_ct_verifier.cc(67)] Adding CT log: Google 'Aviator' log
[10730:10751:0402/130931:VERBOSE1:multi_log_ct_verifier.cc(67)] Adding CT log: DigiCert Log Server
[10730:10751:0402/130931:VERBOSE1:multi_log_ct_verifier.cc(67)] Adding CT log: Google 'Rocketeer' log
[10730:10751:0402/130931:VERBOSE1:multi_log_ct_verifier.cc(67)] Adding CT log: Certly.IO log
[10730:10751:0402/130931:VERBOSE1:multi_log_ct_verifier.cc(67)] Adding CT log: Izenpe log
[10730:10751:0402/130931:VERBOSE1:multi_log_ct_verifier.cc(67)] Adding CT log: Symantec log
[10730:10751:0402/130931:VERBOSE1:multi_log_ct_verifier.cc(67)] Adding CT log: Venafi log
[10730:10751:0402/130931:VERBOSE1:multi_log_ct_verifier.cc(67)] Adding CT log: Symantec 'Vega' log
[10766:10766:0402/130931:VERBOSE1:breakpad_linux.cc(1862)] Non Browser crash dumping enabled for: renderer
[10766:10766:0402/130931:VERBOSE1:child_thread_impl.cc(352)] Mojo is disabled on child
[10766:10766:0402/130931:VERBOSE1:dispatcher.cc(1182)] NW: change working dir: /home/hkaya/source/nw13-webview-test/app
[10766:10766:0402/130931:VERBOSE2:password_generation_agent.cc(132)] Password Generation is Enabled
[10764:10764:0402/130931:VERBOSE1:breakpad_linux.cc(1862)] Non Browser crash dumping enabled for: gpu-process
[10766:10766:0402/130931:VERBOSE1:script_context.cc(112)] Created context:
  extension id:           kbhcmonmkoehehelgbfmfenfbakfniek
  frame:                  0xf2695861d10
  URL:                    chrome-extension://kbhcmonmkoehehelgbfmfenfbakfniek/_generated_background_page.html
  context_type:           BLESSED_EXTENSION
  effective extension id: kbhcmonmkoehehelgbfmfenfbakfniek
  effective context type: BLESSED_EXTENSION
[10766:10766:0402/130931:VERBOSE1:script_context.cc(112)] Created context:
  extension id:           (none)
  frame:                  (nil)
  URL:                    
  context_type:           UNSPECIFIED
  effective extension id: (none)
  effective context type: UNSPECIFIED
[10764:10764:0402/130931:VERBOSE1:child_thread_impl.cc(352)] Mojo is disabled on child
[10766:10766:0402/130931:VERBOSE1:dispatcher.cc(374)] Num tracked contexts: 1
[10766:10766:0402/130932:VERBOSE2:password_generation_agent.cc(132)] Password Generation is Enabled
[10766:10766:0402/130932:VERBOSE1:script_context.cc(112)] Created context:
  extension id:           kbhcmonmkoehehelgbfmfenfbakfniek
  frame:                  0xf269586df98
  URL:                    chrome-extension://kbhcmonmkoehehelgbfmfenfbakfniek/index.html
  context_type:           BLESSED_EXTENSION
  effective extension id: kbhcmonmkoehehelgbfmfenfbakfniek
  effective context type: BLESSED_EXTENSION
[10766:10766:0402/130932:VERBOSE1:script_context.cc(112)] Created context:
  extension id:           (none)
  frame:                  (nil)
  URL:                    
  context_type:           UNSPECIFIED
  effective extension id: (none)
  effective context type: UNSPECIFIED
[10766:10766:0402/130932:VERBOSE1:dispatcher.cc(374)] Num tracked contexts: 2
[10764:10764:0402/130932:VERBOSE1:gles2_cmd_decoder.cc(2818)] GL_EXT_packed_depth_stencil supported.
[10764:10764:0402/130932:VERBOSE1:gles2_cmd_decoder.cc(2818)] GL_EXT_packed_depth_stencil supported.
[10730:10730:0402/130932:WARNING:launcher.cc(263)] Extension does not provide a valid file handler.
[10764:10764:0402/130932:VERBOSE1:gles2_cmd_decoder.cc(2818)] GL_EXT_packed_depth_stencil supported.
[10730:10730:0402/130932:INFO:CONSOLE(34)] "[object HTMLElement]", source: chrome-extension://kbhcmonmkoehehelgbfmfenfbakfniek/index.html (34)
[10730:10730:0402/130932:INFO:CONSOLE(38)] "[object HTMLElement]", source: chrome-extension://kbhcmonmkoehehelgbfmfenfbakfniek/index.html (38)
[10764:10783:0402/130932:WARNING:x11_util.cc(1407)] X error received: serial 25, error_code 9 (BadDrawable (invalid Pixmap or Window parameter)), request_code 154, minor_code 3 (DRI2CreateDrawable)
[10764:10783:0402/130932:WARNING:x11_util.cc(1407)] X error received: serial 26, error_code 9 (BadDrawable (invalid Pixmap or Window parameter)), request_code 154, minor_code 7 (DRI2GetBuffersWithFormat  )
[10730:10730:0402/130932:VERBOSE1:render_process_host_impl.cc(2177)] Blocked URL about:blank
[10730:10730:0402/130932:INFO:CONSOLE(237)] "<webview>: The load has aborted with error -301: ERR_DISALLOWED_URL_SCHEME.", source: extensions::webViewEvents (237)
[10786:10786:0402/130932:VERBOSE1:breakpad_linux.cc(1862)] Non Browser crash dumping enabled for: renderer
[10786:10786:0402/130932:VERBOSE1:child_thread_impl.cc(352)] Mojo is disabled on child
[10786:10786:0402/130932:VERBOSE1:dispatcher.cc(1182)] NW: change working dir: /home/hkaya/source/nw13-webview-test/app
[10786:10786:0402/130932:VERBOSE2:password_generation_agent.cc(132)] Password Generation is Enabled
[10786:10786:0402/130932:VERBOSE1:script_context.cc(112)] Created context:
  extension id:           (none)
  frame:                  0x329f42241d10
  URL:                    about:blank
  context_type:           WEB_PAGE
  effective extension id: (none)
  effective context type: WEB_PAGE
[10786:10786:0402/130932:VERBOSE1:script_context.cc(112)] Created context:
  extension id:           (none)
  frame:                  (nil)
  URL:                    
  context_type:           UNSPECIFIED
  effective extension id: (none)
  effective context type: UNSPECIFIED
[10786:10786:0402/130932:VERBOSE1:dispatcher.cc(374)] Num tracked contexts: 1
[10786:10786:0402/130932:VERBOSE1:password_generation_agent.cc(244)] No PasswordManager access
[10764:10764:0402/130932:VERBOSE1:gles2_cmd_decoder.cc(2818)] GL_EXT_packed_depth_stencil supported.
[10764:10764:0402/130932:VERBOSE1:gles2_cmd_decoder.cc(2818)] GL_EXT_packed_depth_stencil supported.
rogerwang commented 8 years ago

The log is helpful. I'll send you another version to print more logs at specific location.

hkaya commented 8 years ago

@rogerwang sounds good. thanks!

rogerwang commented 8 years ago

please try this build and post the logs for both positive and negative case:

http://dl.nwjs.io/live-build/04-04-2016/94dddcd-abe64ac-f039027-f1993fc/v0.13.3/nwjs-sdk-v0.13.3-linux-x64.tar.gz

hkaya commented 8 years ago

Here you go:

fail:

[13484:13484:0404/121115:VERBOSE1:zygote_main_linux.cc(565)] ZygoteMain: initializing 2 fork delegates
[13484:13484:0404/121115:VERBOSE1:nacl_fork_delegate_linux.cc(145)] NaClForkDelegate::Init()
[13484:13484:0404/121115:VERBOSE1:nacl_fork_delegate_linux.cc(145)] NaClForkDelegate::Init()
[13484:13484:0404/121115:INFO:systeminfo.cc(82)] Available number of cores: 6
[13482:13493:0404/121115:VERBOSE1:bus.cc(871)] Method call: message_type: MESSAGE_METHOD_CALL
interface: org.freedesktop.DBus
member: GetNameOwner
signature: s

string "org.bluez"

[13482:13482:0404/121115:VERBOSE1:pref_proxy_config_tracker_impl.cc(218)] 0x2ac8cc9718c0: set chrome proxy config service to 0x2ac8cc9929a0
[13482:13482:0404/121115:VERBOSE1:pref_proxy_config_tracker_impl.cc(355)] 0x2ac8cc9718c0: Done pushing proxy to UpdateProxyConfig
[13482:13482:0404/121115:VERBOSE1:app_list_syncable_service_factory.cc(57)] AppListSyncableServiceFactory()
[13482:13482:0404/121115:VERBOSE1:mutable_profile_oauth2_token_service_delegate.cc(137)] MutablePO2TS::MutablePO2TS
[13482:13482:0404/121115:VERBOSE1:bluetooth_low_energy_event_router.cc(194)] Initializing BluetoothLowEnergyEventRouter.
[13482:13482:0404/121115:VERBOSE1:bluetooth_low_energy_event_router.cc(197)] Bluetooth not supported on the current platform.
[13482:13482:0404/121115:VERBOSE1:app_list_syncable_service_factory.cc(47)] BuildInstanceFor: Default (0x2ac8cc7da240)
[13482:13482:0404/121115:VERBOSE1:pref_proxy_config_tracker_impl.cc(218)] 0x2ac8cca66a80: set chrome proxy config service to 0x2ac8ccb69580
[13482:13482:0404/121115:VERBOSE1:pref_proxy_config_tracker_impl.cc(355)] 0x2ac8cca66a80: Done pushing proxy to UpdateProxyConfig
[13482:13482:0404/121115:VERBOSE1:extension_service.cc(1535)] AddComponentExtension Chromium PDF Viewer
[13482:13482:0404/121115:VERBOSE1:extension_service.cc(1537)] Component extension Chromium PDF Viewer (mhjfbmdgcfjbbpaeojofohoefgiehjai) installing/upgrading from '' to 1
[13482:13482:0404/121115:VERBOSE1:password_store_factory.cc(203)] Password storage detected desktop environment: XFCE
[13482:13482:0404/121115:VERBOSE1:password_store_factory.cc(226)] Trying libsecret for password storage.
[13482:13482:0404/121115:VERBOSE1:password_store_factory.cc(229)] Using libsecret keyring for password storage.
[13482:13482:0404/121115:VERBOSE1:account_reconcilor.cc(70)] AccountReconcilor::AccountReconcilor
[13482:13482:0404/121115:VERBOSE1:account_reconcilor.cc(81)] AccountReconcilor::Initialize
[13482:13482:0404/121115:ERROR:logging.h(813)] Failed to call method: org.freedesktop.DBus.ObjectManager.GetManagedObjects: object_path= /: org.freedesktop.DBus.Error.UnknownMethod: Method "GetManagedObjects" with signature "" on interface "org.freedesktop.DBus.ObjectManager" doesn't exist

[13482:13482:0404/121115:WARNING:object_manager.cc(370)] org.bluez /: Failed to get managed objects
[13482:13493:0404/121115:VERBOSE1:bus.cc(871)] Method call: message_type: MESSAGE_METHOD_CALL
interface: org.freedesktop.DBus
member: GetNameOwner
signature: s

string "org.bluez"

[13482:13493:0404/121115:VERBOSE1:bus.cc(700)] Filter function already exists: 1 with associated data: 0x2ac8cc817780
[13482:13493:0404/121115:VERBOSE1:bus.cc(871)] Method call: message_type: MESSAGE_METHOD_CALL
interface: org.freedesktop.DBus
member: GetNameOwner
signature: s

string "org.bluez"

[13482:13482:0404/121115:ERROR:logging.h(813)] Failed to call method: org.freedesktop.DBus.ObjectManager.GetManagedObjects: object_path= /: org.freedesktop.DBus.Error.UnknownMethod: Method "GetManagedObjects" with signature "" on interface "org.freedesktop.DBus.ObjectManager" doesn't exist

[13482:13482:0404/121115:WARNING:object_manager.cc(370)] org.bluez /: Failed to get managed objects
[13482:13504:0404/121115:VERBOSE1:multi_log_ct_verifier.cc(67)] Adding CT log: Google 'Pilot' log
[13482:13504:0404/121115:VERBOSE1:multi_log_ct_verifier.cc(67)] Adding CT log: Google 'Aviator' log
[13482:13504:0404/121115:VERBOSE1:multi_log_ct_verifier.cc(67)] Adding CT log: DigiCert Log Server
[13482:13504:0404/121115:VERBOSE1:multi_log_ct_verifier.cc(67)] Adding CT log: Google 'Rocketeer' log
[13482:13504:0404/121115:VERBOSE1:multi_log_ct_verifier.cc(67)] Adding CT log: Certly.IO log
[13482:13504:0404/121115:VERBOSE1:multi_log_ct_verifier.cc(67)] Adding CT log: Izenpe log
[13482:13504:0404/121115:VERBOSE1:multi_log_ct_verifier.cc(67)] Adding CT log: Symantec log
[13482:13504:0404/121115:VERBOSE1:multi_log_ct_verifier.cc(67)] Adding CT log: Venafi log
[13482:13504:0404/121115:VERBOSE1:multi_log_ct_verifier.cc(67)] Adding CT log: Google 'Pilot' log
[13482:13504:0404/121115:VERBOSE1:multi_log_ct_verifier.cc(67)] Adding CT log: Google 'Aviator' log
[13482:13504:0404/121115:VERBOSE1:multi_log_ct_verifier.cc(67)] Adding CT log: DigiCert Log Server
[13482:13504:0404/121115:VERBOSE1:multi_log_ct_verifier.cc(67)] Adding CT log: Google 'Rocketeer' log
[13482:13504:0404/121115:VERBOSE1:multi_log_ct_verifier.cc(67)] Adding CT log: Certly.IO log
[13482:13504:0404/121115:VERBOSE1:multi_log_ct_verifier.cc(67)] Adding CT log: Izenpe log
[13482:13504:0404/121115:VERBOSE1:multi_log_ct_verifier.cc(67)] Adding CT log: Symantec log
[13482:13504:0404/121115:VERBOSE1:multi_log_ct_verifier.cc(67)] Adding CT log: Venafi log
[13520:13520:0404/121115:VERBOSE1:breakpad_linux.cc(1833)] Non Browser crash dumping enabled for: gpu-process
[13521:13521:0404/121115:VERBOSE1:child_thread_impl.cc(357)] Mojo is disabled on child
[13527:13527:0404/121115:VERBOSE1:breakpad_linux.cc(1833)] Non Browser crash dumping enabled for: renderer
[13527:13527:0404/121115:VERBOSE1:child_thread_impl.cc(357)] Mojo is disabled on child
[13527:13527:0404/121115:VERBOSE1:dispatcher.cc(1159)] NW: change working dir: /home/hkaya/source/nw13-webview-test/app
[13482:13482:0404/121115:VERBOSE1:render_process_host_impl.cc(2110)] non_web_url_in_guest: 0
[13520:13520:0404/121115:VERBOSE1:child_thread_impl.cc(357)] Mojo is disabled on child
[13482:13482:0404/121115:VERBOSE1:render_process_host_impl.cc(2110)] non_web_url_in_guest: 0
[13482:13482:0404/121115:VERBOSE1:render_process_host_impl.cc(2110)] non_web_url_in_guest: 0
[13527:13527:0404/121115:VERBOSE1:script_context.cc(112)] Created context:
  extension id:           kbhcmonmkoehehelgbfmfenfbakfniek
  frame:                  0x3421550c0010
  URL:                    chrome-extension://kbhcmonmkoehehelgbfmfenfbakfniek/_generated_background_page.html
  context_type:           BLESSED_EXTENSION
  effective extension id: kbhcmonmkoehehelgbfmfenfbakfniek
  effective context type: BLESSED_EXTENSION
[13527:13527:0404/121115:VERBOSE1:script_context.cc(112)] Created context:
  extension id:           (none)
  frame:                  (nil)
  URL:                    
  context_type:           UNSPECIFIED
  effective extension id: (none)
  effective context type: UNSPECIFIED
[13527:13527:0404/121115:VERBOSE1:dispatcher.cc(374)] Num tracked contexts: 1
[13527:13527:0404/121115:VERBOSE1:script_context.cc(112)] Created context:
  extension id:           kbhcmonmkoehehelgbfmfenfbakfniek
  frame:                  0x3421550c06a0
  URL:                    chrome-extension://kbhcmonmkoehehelgbfmfenfbakfniek/index.html
  context_type:           BLESSED_EXTENSION
  effective extension id: kbhcmonmkoehehelgbfmfenfbakfniek
  effective context type: BLESSED_EXTENSION
[13527:13527:0404/121115:VERBOSE1:script_context.cc(112)] Created context:
  extension id:           (none)
  frame:                  (nil)
  URL:                    
  context_type:           UNSPECIFIED
  effective extension id: (none)
  effective context type: UNSPECIFIED
[13527:13527:0404/121115:VERBOSE1:dispatcher.cc(374)] Num tracked contexts: 2
[13520:13520:0404/121115:VERBOSE1:gles2_cmd_decoder.cc(2796)] GL_EXT_packed_depth_stencil supported.
[13520:13520:0404/121115:VERBOSE1:gles2_cmd_decoder.cc(2796)] GL_EXT_packed_depth_stencil supported.
[13482:13482:0404/121115:VERBOSE1:render_process_host_impl.cc(2110)] non_web_url_in_guest: 0
[13482:13482:0404/121115:VERBOSE1:render_process_host_impl.cc(2110)] non_web_url_in_guest: 0
[13482:13482:0404/121115:WARNING:launcher.cc(248)] Extension does not provide a valid file handler.
[13520:13520:0404/121115:VERBOSE1:gles2_cmd_decoder.cc(2796)] GL_EXT_packed_depth_stencil supported.
[13482:13482:0404/121115:VERBOSE1:render_process_host_impl.cc(2110)] non_web_url_in_guest: 0
[13482:13482:0404/121115:VERBOSE1:render_process_host_impl.cc(2110)] non_web_url_in_guest: 0
[13482:13482:0404/121115:INFO:CONSOLE(34)] "[object HTMLElement]", source: chrome-extension://kbhcmonmkoehehelgbfmfenfbakfniek/index.html (34)
[13482:13482:0404/121115:INFO:CONSOLE(38)] "[object HTMLElement]", source: chrome-extension://kbhcmonmkoehehelgbfmfenfbakfniek/index.html (38)
[13482:13482:0404/121115:VERBOSE1:render_process_host_impl.cc(2110)] non_web_url_in_guest: 1
[13482:13482:0404/121115:VERBOSE1:render_process_host_impl.cc(2117)] Blocked URL about:blank
[13545:13545:0404/121115:VERBOSE1:breakpad_linux.cc(1833)] Non Browser crash dumping enabled for: renderer
[13482:13482:0404/121115:VERBOSE1:render_process_host_impl.cc(2110)] non_web_url_in_guest: 0
[13520:13542:0404/121115:WARNING:x11_util.cc(1407)] X error received: serial 25, error_code 9 (BadDrawable (invalid Pixmap or Window parameter)), request_code 154, minor_code 3 (DRI2CreateDrawable)
[13520:13542:0404/121115:WARNING:x11_util.cc(1407)] X error received: serial 26, error_code 9 (BadDrawable (invalid Pixmap or Window parameter)), request_code 154, minor_code 7 (DRI2GetBuffersWithFormat  )
[13482:13482:0404/121115:INFO:CONSOLE(237)] "<webview>: The load has aborted with error -301: ERR_DISALLOWED_URL_SCHEME.", source: extensions::webViewEvents (237)
[13545:13545:0404/121115:VERBOSE1:child_thread_impl.cc(357)] Mojo is disabled on child
[13545:13545:0404/121115:VERBOSE1:dispatcher.cc(1159)] NW: change working dir: /home/hkaya/source/nw13-webview-test/app
[13482:13482:0404/121115:VERBOSE1:render_process_host_impl.cc(2110)] non_web_url_in_guest: 1
[13482:13482:0404/121115:VERBOSE1:nw_content.cc(1127)] RphGuestFilterURLHook: got owner_extension: kbhcmonmkoehehelgbfmfenfbakfniek
[13482:13482:0404/121115:VERBOSE1:nw_content.cc(1132)] RphGuestFilterURLHook: got extension.
[13482:13482:0404/121115:VERBOSE1:nw_content.cc(1137)] RphGuestFilterURLHook: IsURLWebviewAccessible: 1
[13482:13482:0404/121115:VERBOSE1:render_process_host_impl.cc(2110)] non_web_url_in_guest: 1
[13482:13482:0404/121115:VERBOSE1:nw_content.cc(1127)] RphGuestFilterURLHook: got owner_extension: kbhcmonmkoehehelgbfmfenfbakfniek
[13482:13482:0404/121115:VERBOSE1:nw_content.cc(1132)] RphGuestFilterURLHook: got extension.
[13482:13482:0404/121115:VERBOSE1:nw_content.cc(1137)] RphGuestFilterURLHook: IsURLWebviewAccessible: 1
[13482:13482:0404/121115:VERBOSE1:render_process_host_impl.cc(2110)] non_web_url_in_guest: 1
[13482:13482:0404/121115:VERBOSE1:nw_content.cc(1127)] RphGuestFilterURLHook: got owner_extension: kbhcmonmkoehehelgbfmfenfbakfniek
[13482:13482:0404/121115:VERBOSE1:nw_content.cc(1132)] RphGuestFilterURLHook: got extension.
[13482:13482:0404/121115:VERBOSE1:nw_content.cc(1137)] RphGuestFilterURLHook: IsURLWebviewAccessible: 1
[13545:13545:0404/121115:VERBOSE1:script_context.cc(112)] Created context:
  extension id:           (none)
  frame:                  0x1ee7b5ec0010
  URL:                    about:blank
  context_type:           WEB_PAGE
  effective extension id: (none)
  effective context type: WEB_PAGE
[13545:13545:0404/121115:VERBOSE1:script_context.cc(112)] Created context:
  extension id:           (none)
  frame:                  (nil)
  URL:                    
  context_type:           UNSPECIFIED
  effective extension id: (none)
  effective context type: UNSPECIFIED
[13545:13545:0404/121115:VERBOSE1:dispatcher.cc(374)] Num tracked contexts: 1
[13545:13545:0404/121115:VERBOSE1:password_generation_agent.cc(240)] No PasswordManager access
[13482:13482:0404/121115:VERBOSE1:render_process_host_impl.cc(2110)] non_web_url_in_guest: 1
[13482:13482:0404/121115:VERBOSE1:nw_content.cc(1127)] RphGuestFilterURLHook: got owner_extension: kbhcmonmkoehehelgbfmfenfbakfniek
[13482:13482:0404/121115:VERBOSE1:nw_content.cc(1132)] RphGuestFilterURLHook: got extension.
[13482:13482:0404/121115:VERBOSE1:nw_content.cc(1137)] RphGuestFilterURLHook: IsURLWebviewAccessible: 1
[13520:13520:0404/121116:VERBOSE1:gles2_cmd_decoder.cc(2796)] GL_EXT_packed_depth_stencil supported.
[13520:13520:0404/121116:VERBOSE1:gles2_cmd_decoder.cc(2796)] GL_EXT_packed_depth_stencil supported.
[13482:13504:0404/121120:VERBOSE1:spdy_header_block.cc(122)] Inserting: (:method, GET)
[13482:13504:0404/121120:VERBOSE1:spdy_header_block.cc(122)] Inserting: (:authority, www.google.com)
[13482:13504:0404/121120:VERBOSE1:spdy_header_block.cc(122)] Inserting: (:scheme, https)
[13482:13504:0404/121120:VERBOSE1:spdy_header_block.cc(122)] Inserting: (:path, /searchdomaincheck?format=domain&type=chrome)
[13482:13504:0404/121120:VERBOSE1:spdy_header_block.cc(122)] Inserting: (user-agent, Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.110 Safari/537.36)
[13482:13504:0404/121120:VERBOSE1:spdy_header_block.cc(122)] Inserting: (accept-encoding, gzip, deflate, sdch)
[13482:13504:0404/121120:VERBOSE1:spdy_header_block.cc(122)] Inserting: (accept-language, en-US,en;q=0.8)
[13482:13504:0404/121120:VERBOSE1:spdy_header_block.cc(122)] Inserting: (:status, 200)
[13482:13504:0404/121120:VERBOSE1:spdy_header_block.cc(122)] Inserting: (date, Mon, 04 Apr 2016 16:11:20 GMT)
[13482:13504:0404/121120:VERBOSE1:spdy_header_block.cc(122)] Inserting: (expires, Mon, 04 Apr 2016 16:11:20 GMT)
[13482:13504:0404/121120:VERBOSE1:spdy_header_block.cc(122)] Inserting: (cache-control, private, max-age=5184000)
[13482:13504:0404/121120:VERBOSE1:spdy_header_block.cc(122)] Inserting: (vary, Cookie)
[13482:13504:0404/121120:VERBOSE1:spdy_header_block.cc(122)] Inserting: (content-type, text/plain; charset=UTF-8)
[13482:13504:0404/121120:VERBOSE1:spdy_header_block.cc(122)] Inserting: (p3p, CP="This is not a P3P policy! See https://www.google.com/support/accounts/answer/151657?hl=en for more info.")
[13482:13504:0404/121120:VERBOSE1:spdy_header_block.cc(122)] Inserting: (content-encoding, gzip)
[13482:13504:0404/121120:VERBOSE1:spdy_header_block.cc(122)] Inserting: (server, gws)
[13482:13504:0404/121120:VERBOSE1:spdy_header_block.cc(122)] Inserting: (x-xss-protection, 1; mode=block)
[13482:13504:0404/121120:VERBOSE1:spdy_header_block.cc(122)] Inserting: (x-frame-options, SAMEORIGIN)
[13482:13504:0404/121120:VERBOSE1:spdy_header_block.cc(122)] Inserting: (set-cookie, NID=78=SbaofY8KT-RIkzEvpBb99xfh2hl8AjgXfnfwpytOrc9ceWz07c1qHX8-Aao0_byBMZSjhFfc9aVprZq0wuYHYS36ib-6nrOb_X74vHxN1yJ7sJaoA_GKC6nEDYJJN7pP; expires=Tue, 04-Oct-2016 16:11:20 GMT; path=/; domain=.google.com; HttpOnly)
[13482:13504:0404/121120:VERBOSE1:spdy_header_block.cc(122)] Inserting: (alternate-protocol, 443:quic)
[13482:13504:0404/121120:VERBOSE1:spdy_header_block.cc(122)] Inserting: (alt-svc, quic=":443"; ma=2592000; v="32,31,30,29,28,27,26,25")
[13482:13504:0404/121120:VERBOSE1:spdy_header_block.cc(122)] Inserting: (:status, 200)
[13482:13504:0404/121120:VERBOSE1:spdy_header_block.cc(122)] Inserting: (date, Mon, 04 Apr 2016 16:11:20 GMT)
[13482:13504:0404/121120:VERBOSE1:spdy_header_block.cc(122)] Inserting: (expires, Mon, 04 Apr 2016 16:11:20 GMT)
[13482:13504:0404/121120:VERBOSE1:spdy_header_block.cc(122)] Inserting: (cache-control, private, max-age=5184000)
[13482:13504:0404/121120:VERBOSE1:spdy_header_block.cc(122)] Inserting: (vary, Cookie)
[13482:13504:0404/121120:VERBOSE1:spdy_header_block.cc(122)] Inserting: (content-type, text/plain; charset=UTF-8)
[13482:13504:0404/121120:VERBOSE1:spdy_header_block.cc(122)] Inserting: (p3p, CP="This is not a P3P policy! See https://www.google.com/support/accounts/answer/151657?hl=en for more info.")
[13482:13504:0404/121120:VERBOSE1:spdy_header_block.cc(122)] Inserting: (content-encoding, gzip)
[13482:13504:0404/121120:VERBOSE1:spdy_header_block.cc(122)] Inserting: (server, gws)
[13482:13504:0404/121120:VERBOSE1:spdy_header_block.cc(122)] Inserting: (x-xss-protection, 1; mode=block)
[13482:13504:0404/121120:VERBOSE1:spdy_header_block.cc(122)] Inserting: (x-frame-options, SAMEORIGIN)
[13482:13504:0404/121120:VERBOSE1:spdy_header_block.cc(122)] Inserting: (set-cookie, NID=78=SbaofY8KT-RIkzEvpBb99xfh2hl8AjgXfnfwpytOrc9ceWz07c1qHX8-Aao0_byBMZSjhFfc9aVprZq0wuYHYS36ib-6nrOb_X74vHxN1yJ7sJaoA_GKC6nEDYJJN7pP; expires=Tue, 04-Oct-2016 16:11:20 GMT; path=/; domain=.google.com; HttpOnly)
[13482:13504:0404/121120:VERBOSE1:spdy_header_block.cc(122)] Inserting: (alternate-protocol, 443:quic)
[13482:13504:0404/121120:VERBOSE1:spdy_header_block.cc(122)] Inserting: (alt-svc, quic=":443"; ma=2592000; v="32,31,30,29,28,27,26,25")
[13482:13504:0404/121120:VERBOSE1:spdy_header_block.cc(215)] Inserting: (:status, 200)
[13482:13504:0404/121120:VERBOSE1:spdy_header_block.cc(215)] Inserting: (date, Mon, 04 Apr 2016 16:11:20 GMT)
[13482:13504:0404/121120:VERBOSE1:spdy_header_block.cc(215)] Inserting: (expires, Mon, 04 Apr 2016 16:11:20 GMT)
[13482:13504:0404/121120:VERBOSE1:spdy_header_block.cc(215)] Inserting: (cache-control, private, max-age=5184000)
[13482:13504:0404/121120:VERBOSE1:spdy_header_block.cc(215)] Inserting: (vary, Cookie)
[13482:13504:0404/121120:VERBOSE1:spdy_header_block.cc(215)] Inserting: (content-type, text/plain; charset=UTF-8)
[13482:13504:0404/121120:VERBOSE1:spdy_header_block.cc(215)] Inserting: (p3p, CP="This is not a P3P policy! See https://www.google.com/support/accounts/answer/151657?hl=en for more info.")
[13482:13504:0404/121120:VERBOSE1:spdy_header_block.cc(215)] Inserting: (content-encoding, gzip)
[13482:13504:0404/121120:VERBOSE1:spdy_header_block.cc(215)] Inserting: (server, gws)
[13482:13504:0404/121120:VERBOSE1:spdy_header_block.cc(215)] Inserting: (x-xss-protection, 1; mode=block)
[13482:13504:0404/121120:VERBOSE1:spdy_header_block.cc(215)] Inserting: (x-frame-options, SAMEORIGIN)
[13482:13504:0404/121120:VERBOSE1:spdy_header_block.cc(215)] Inserting: (set-cookie, NID=78=SbaofY8KT-RIkzEvpBb99xfh2hl8AjgXfnfwpytOrc9ceWz07c1qHX8-Aao0_byBMZSjhFfc9aVprZq0wuYHYS36ib-6nrOb_X74vHxN1yJ7sJaoA_GKC6nEDYJJN7pP; expires=Tue, 04-Oct-2016 16:11:20 GMT; path=/; domain=.google.com; HttpOnly)
[13482:13504:0404/121120:VERBOSE1:spdy_header_block.cc(215)] Inserting: (alternate-protocol, 443:quic)
[13482:13504:0404/121120:VERBOSE1:spdy_header_block.cc(215)] Inserting: (alt-svc, quic=":443"; ma=2592000; v="32,31,30,29,28,27,26,25")

success:

[14001:14001:0404/121324:VERBOSE1:zygote_main_linux.cc(565)] ZygoteMain: initializing 2 fork delegates
[14001:14001:0404/121324:VERBOSE1:nacl_fork_delegate_linux.cc(145)] NaClForkDelegate::Init()
[14001:14001:0404/121324:VERBOSE1:nacl_fork_delegate_linux.cc(145)] NaClForkDelegate::Init()
[14001:14001:0404/121324:INFO:systeminfo.cc(82)] Available number of cores: 6
[13999:14009:0404/121324:VERBOSE1:bus.cc(871)] Method call: message_type: MESSAGE_METHOD_CALL
interface: org.freedesktop.DBus
member: GetNameOwner
signature: s

string "org.bluez"

[13999:13999:0404/121324:VERBOSE1:pref_proxy_config_tracker_impl.cc(218)] 0x4f1603c08c0: set chrome proxy config service to 0x4f1603ec9a0
[13999:13999:0404/121324:VERBOSE1:pref_proxy_config_tracker_impl.cc(355)] 0x4f1603c08c0: Done pushing proxy to UpdateProxyConfig
[13999:13999:0404/121324:VERBOSE1:app_list_syncable_service_factory.cc(57)] AppListSyncableServiceFactory()
[13999:13999:0404/121324:VERBOSE1:mutable_profile_oauth2_token_service_delegate.cc(137)] MutablePO2TS::MutablePO2TS
[13999:13999:0404/121324:VERBOSE1:bluetooth_low_energy_event_router.cc(194)] Initializing BluetoothLowEnergyEventRouter.
[13999:13999:0404/121324:VERBOSE1:bluetooth_low_energy_event_router.cc(197)] Bluetooth not supported on the current platform.
[13999:13999:0404/121324:VERBOSE1:app_list_syncable_service_factory.cc(47)] BuildInstanceFor: Default (0x4f16022e240)
[13999:13999:0404/121324:VERBOSE1:pref_proxy_config_tracker_impl.cc(218)] 0x4f16055c1c0: set chrome proxy config service to 0x4f16057a580
[13999:13999:0404/121324:VERBOSE1:pref_proxy_config_tracker_impl.cc(355)] 0x4f16055c1c0: Done pushing proxy to UpdateProxyConfig
[13999:13999:0404/121324:VERBOSE1:extension_service.cc(1535)] AddComponentExtension Chromium PDF Viewer
[13999:13999:0404/121324:VERBOSE1:extension_service.cc(1537)] Component extension Chromium PDF Viewer (mhjfbmdgcfjbbpaeojofohoefgiehjai) installing/upgrading from '' to 1
[13999:13999:0404/121324:VERBOSE1:password_store_factory.cc(203)] Password storage detected desktop environment: XFCE
[13999:13999:0404/121324:VERBOSE1:password_store_factory.cc(226)] Trying libsecret for password storage.
[13999:13999:0404/121324:VERBOSE1:password_store_factory.cc(229)] Using libsecret keyring for password storage.
[13999:13999:0404/121324:VERBOSE1:account_reconcilor.cc(70)] AccountReconcilor::AccountReconcilor
[13999:13999:0404/121324:VERBOSE1:account_reconcilor.cc(81)] AccountReconcilor::Initialize
[13999:13999:0404/121324:ERROR:logging.h(813)] Failed to call method: org.freedesktop.DBus.ObjectManager.GetManagedObjects: object_path= /: org.freedesktop.DBus.Error.UnknownMethod: Method "GetManagedObjects" with signature "" on interface "org.freedesktop.DBus.ObjectManager" doesn't exist

[13999:13999:0404/121324:WARNING:object_manager.cc(370)] org.bluez /: Failed to get managed objects
[13999:14009:0404/121324:VERBOSE1:bus.cc(871)] Method call: message_type: MESSAGE_METHOD_CALL
interface: org.freedesktop.DBus
member: GetNameOwner
signature: s

string "org.bluez"

[13999:14009:0404/121324:VERBOSE1:bus.cc(700)] Filter function already exists: 1 with associated data: 0x4f16026b780
[13999:14009:0404/121324:VERBOSE1:bus.cc(871)] Method call: message_type: MESSAGE_METHOD_CALL
interface: org.freedesktop.DBus
member: GetNameOwner
signature: s

string "org.bluez"

[13999:13999:0404/121324:ERROR:logging.h(813)] Failed to call method: org.freedesktop.DBus.ObjectManager.GetManagedObjects: object_path= /: org.freedesktop.DBus.Error.UnknownMethod: Method "GetManagedObjects" with signature "" on interface "org.freedesktop.DBus.ObjectManager" doesn't exist

[13999:13999:0404/121324:WARNING:object_manager.cc(370)] org.bluez /: Failed to get managed objects
[13999:14020:0404/121324:VERBOSE1:multi_log_ct_verifier.cc(67)] Adding CT log: Google 'Pilot' log
[13999:14020:0404/121324:VERBOSE1:multi_log_ct_verifier.cc(67)] Adding CT log: Google 'Aviator' log
[13999:14020:0404/121324:VERBOSE1:multi_log_ct_verifier.cc(67)] Adding CT log: DigiCert Log Server
[13999:14020:0404/121324:VERBOSE1:multi_log_ct_verifier.cc(67)] Adding CT log: Google 'Rocketeer' log
[13999:14020:0404/121324:VERBOSE1:multi_log_ct_verifier.cc(67)] Adding CT log: Certly.IO log
[13999:14020:0404/121324:VERBOSE1:multi_log_ct_verifier.cc(67)] Adding CT log: Izenpe log
[13999:14020:0404/121324:VERBOSE1:multi_log_ct_verifier.cc(67)] Adding CT log: Symantec log
[13999:14020:0404/121324:VERBOSE1:multi_log_ct_verifier.cc(67)] Adding CT log: Venafi log
[13999:14020:0404/121324:VERBOSE1:multi_log_ct_verifier.cc(67)] Adding CT log: Google 'Pilot' log
[13999:14020:0404/121324:VERBOSE1:multi_log_ct_verifier.cc(67)] Adding CT log: Google 'Aviator' log
[13999:14020:0404/121324:VERBOSE1:multi_log_ct_verifier.cc(67)] Adding CT log: DigiCert Log Server
[13999:14020:0404/121324:VERBOSE1:multi_log_ct_verifier.cc(67)] Adding CT log: Google 'Rocketeer' log
[13999:14020:0404/121324:VERBOSE1:multi_log_ct_verifier.cc(67)] Adding CT log: Certly.IO log
[13999:14020:0404/121324:VERBOSE1:multi_log_ct_verifier.cc(67)] Adding CT log: Izenpe log
[13999:14020:0404/121324:VERBOSE1:multi_log_ct_verifier.cc(67)] Adding CT log: Symantec log
[13999:14020:0404/121324:VERBOSE1:multi_log_ct_verifier.cc(67)] Adding CT log: Venafi log
[14035:14035:0404/121324:VERBOSE1:breakpad_linux.cc(1833)] Non Browser crash dumping enabled for: gpu-process
[14036:14036:0404/121324:VERBOSE1:child_thread_impl.cc(357)] Mojo is disabled on child
[14042:14042:0404/121324:VERBOSE1:breakpad_linux.cc(1833)] Non Browser crash dumping enabled for: renderer
[14042:14042:0404/121324:VERBOSE1:child_thread_impl.cc(357)] Mojo is disabled on child
[14035:14035:0404/121324:VERBOSE1:child_thread_impl.cc(357)] Mojo is disabled on child
[14042:14042:0404/121324:VERBOSE1:dispatcher.cc(1159)] NW: change working dir: /home/hkaya/source/nw13-webview-test/app
[13999:13999:0404/121324:VERBOSE1:render_process_host_impl.cc(2110)] non_web_url_in_guest: 0
[13999:13999:0404/121324:VERBOSE1:render_process_host_impl.cc(2110)] non_web_url_in_guest: 0
[13999:13999:0404/121324:VERBOSE1:render_process_host_impl.cc(2110)] non_web_url_in_guest: 0
[14042:14042:0404/121324:VERBOSE1:script_context.cc(112)] Created context:
  extension id:           kbhcmonmkoehehelgbfmfenfbakfniek
  frame:                  0x22bcda8c0010
  URL:                    chrome-extension://kbhcmonmkoehehelgbfmfenfbakfniek/_generated_background_page.html
  context_type:           BLESSED_EXTENSION
  effective extension id: kbhcmonmkoehehelgbfmfenfbakfniek
  effective context type: BLESSED_EXTENSION
[14042:14042:0404/121324:VERBOSE1:script_context.cc(112)] Created context:
  extension id:           (none)
  frame:                  (nil)
  URL:                    
  context_type:           UNSPECIFIED
  effective extension id: (none)
  effective context type: UNSPECIFIED
[14042:14042:0404/121324:VERBOSE1:dispatcher.cc(374)] Num tracked contexts: 1
[14035:14035:0404/121324:VERBOSE1:gles2_cmd_decoder.cc(2796)] GL_EXT_packed_depth_stencil supported.
[14035:14035:0404/121324:VERBOSE1:gles2_cmd_decoder.cc(2796)] GL_EXT_packed_depth_stencil supported.
[14042:14042:0404/121324:VERBOSE1:script_context.cc(112)] Created context:
  extension id:           kbhcmonmkoehehelgbfmfenfbakfniek
  frame:                  0x22bcda8c06a0
  URL:                    chrome-extension://kbhcmonmkoehehelgbfmfenfbakfniek/index.html
  context_type:           BLESSED_EXTENSION
  effective extension id: kbhcmonmkoehehelgbfmfenfbakfniek
  effective context type: BLESSED_EXTENSION
[14042:14042:0404/121324:VERBOSE1:script_context.cc(112)] Created context:
  extension id:           (none)
  frame:                  (nil)
  URL:                    
  context_type:           UNSPECIFIED
  effective extension id: (none)
  effective context type: UNSPECIFIED
[14035:14035:0404/121324:VERBOSE1:gles2_cmd_decoder.cc(2796)] GL_EXT_packed_depth_stencil supported.
[13999:13999:0404/121324:VERBOSE1:render_process_host_impl.cc(2110)] non_web_url_in_guest: 0
[13999:13999:0404/121324:VERBOSE1:render_process_host_impl.cc(2110)] non_web_url_in_guest: 0
[13999:13999:0404/121324:WARNING:launcher.cc(248)] Extension does not provide a valid file handler.
[14042:14042:0404/121324:VERBOSE1:dispatcher.cc(374)] Num tracked contexts: 2
[13999:13999:0404/121324:VERBOSE1:render_process_host_impl.cc(2110)] non_web_url_in_guest: 0
[13999:13999:0404/121324:VERBOSE1:render_process_host_impl.cc(2110)] non_web_url_in_guest: 0
[13999:13999:0404/121324:INFO:CONSOLE(34)] "[object HTMLElement]", source: chrome-extension://kbhcmonmkoehehelgbfmfenfbakfniek/index.html (34)
[13999:13999:0404/121324:INFO:CONSOLE(38)] "[object HTMLElement]", source: chrome-extension://kbhcmonmkoehehelgbfmfenfbakfniek/index.html (38)
[14035:14057:0404/121324:WARNING:x11_util.cc(1407)] X error received: serial 25, error_code 9 (BadDrawable (invalid Pixmap or Window parameter)), request_code 154, minor_code 3 (DRI2CreateDrawable)
[14035:14057:0404/121324:WARNING:x11_util.cc(1407)] X error received: serial 26, error_code 9 (BadDrawable (invalid Pixmap or Window parameter)), request_code 154, minor_code 7 (DRI2GetBuffersWithFormat  )
[13999:13999:0404/121324:VERBOSE1:render_process_host_impl.cc(2110)] non_web_url_in_guest: 1
[13999:13999:0404/121324:VERBOSE1:nw_content.cc(1127)] RphGuestFilterURLHook: got owner_extension: kbhcmonmkoehehelgbfmfenfbakfniek
[13999:13999:0404/121324:VERBOSE1:nw_content.cc(1132)] RphGuestFilterURLHook: got extension.
[13999:13999:0404/121324:VERBOSE1:nw_content.cc(1137)] RphGuestFilterURLHook: IsURLWebviewAccessible: 1
[13999:13999:0404/121324:VERBOSE1:render_process_host_impl.cc(2110)] non_web_url_in_guest: 0
[14060:14060:0404/121324:VERBOSE1:breakpad_linux.cc(1833)] Non Browser crash dumping enabled for: renderer
[14060:14060:0404/121324:VERBOSE1:child_thread_impl.cc(357)] Mojo is disabled on child
[14060:14060:0404/121324:VERBOSE1:dispatcher.cc(1159)] NW: change working dir: /home/hkaya/source/nw13-webview-test/app
[13999:13999:0404/121324:VERBOSE1:render_process_host_impl.cc(2110)] non_web_url_in_guest: 1
[13999:13999:0404/121324:VERBOSE1:nw_content.cc(1127)] RphGuestFilterURLHook: got owner_extension: kbhcmonmkoehehelgbfmfenfbakfniek
[13999:13999:0404/121324:VERBOSE1:nw_content.cc(1132)] RphGuestFilterURLHook: got extension.
[13999:13999:0404/121324:VERBOSE1:nw_content.cc(1137)] RphGuestFilterURLHook: IsURLWebviewAccessible: 1
[14035:14035:0404/121324:VERBOSE1:gles2_cmd_decoder.cc(2796)] GL_EXT_packed_depth_stencil supported.
[13999:13999:0404/121324:VERBOSE1:render_process_host_impl.cc(2110)] non_web_url_in_guest: 1
[13999:13999:0404/121324:VERBOSE1:nw_content.cc(1127)] RphGuestFilterURLHook: got owner_extension: kbhcmonmkoehehelgbfmfenfbakfniek
[13999:13999:0404/121324:VERBOSE1:nw_content.cc(1132)] RphGuestFilterURLHook: got extension.
[13999:13999:0404/121324:VERBOSE1:nw_content.cc(1137)] RphGuestFilterURLHook: IsURLWebviewAccessible: 1
[13999:13999:0404/121324:VERBOSE1:render_process_host_impl.cc(2110)] non_web_url_in_guest: 1
[13999:13999:0404/121324:VERBOSE1:nw_content.cc(1127)] RphGuestFilterURLHook: got owner_extension: kbhcmonmkoehehelgbfmfenfbakfniek
[13999:13999:0404/121324:VERBOSE1:nw_content.cc(1132)] RphGuestFilterURLHook: got extension.
[13999:13999:0404/121324:VERBOSE1:nw_content.cc(1137)] RphGuestFilterURLHook: IsURLWebviewAccessible: 1
[14035:14035:0404/121324:VERBOSE1:gles2_cmd_decoder.cc(2796)] GL_EXT_packed_depth_stencil supported.
[14060:14060:0404/121324:VERBOSE1:script_context.cc(112)] Created context:
  extension id:           (none)
  frame:                  0x151af94c0010
  URL:                    file:///home/hkaya/test.html
  context_type:           WEB_PAGE
  effective extension id: (none)
  effective context type: WEB_PAGE
[14060:14060:0404/121324:VERBOSE1:script_context.cc(112)] Created context:
  extension id:           (none)
  frame:                  (nil)
  URL:                    
  context_type:           UNSPECIFIED
  effective extension id: (none)
  effective context type: UNSPECIFIED
[14060:14060:0404/121324:VERBOSE1:dispatcher.cc(374)] Num tracked contexts: 1
[13999:13999:0404/121324:VERBOSE1:render_process_host_impl.cc(2110)] non_web_url_in_guest: 1
[13999:13999:0404/121324:VERBOSE1:nw_content.cc(1127)] RphGuestFilterURLHook: got owner_extension: kbhcmonmkoehehelgbfmfenfbakfniek
[13999:13999:0404/121324:VERBOSE1:nw_content.cc(1132)] RphGuestFilterURLHook: got extension.
[13999:13999:0404/121324:VERBOSE1:nw_content.cc(1137)] RphGuestFilterURLHook: IsURLWebviewAccessible: 1
[13999:14020:0404/121329:VERBOSE1:spdy_header_block.cc(122)] Inserting: (:method, GET)
[13999:14020:0404/121329:VERBOSE1:spdy_header_block.cc(122)] Inserting: (:authority, www.google.com)
[13999:14020:0404/121329:VERBOSE1:spdy_header_block.cc(122)] Inserting: (:scheme, https)
[13999:14020:0404/121329:VERBOSE1:spdy_header_block.cc(122)] Inserting: (:path, /searchdomaincheck?format=domain&type=chrome)
[13999:14020:0404/121329:VERBOSE1:spdy_header_block.cc(122)] Inserting: (user-agent, Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.110 Safari/537.36)
[13999:14020:0404/121329:VERBOSE1:spdy_header_block.cc(122)] Inserting: (accept-encoding, gzip, deflate, sdch)
[13999:14020:0404/121329:VERBOSE1:spdy_header_block.cc(122)] Inserting: (accept-language, en-US,en;q=0.8)
[13999:14020:0404/121329:VERBOSE1:spdy_header_block.cc(122)] Inserting: (:status, 200)
[13999:14020:0404/121329:VERBOSE1:spdy_header_block.cc(122)] Inserting: (date, Mon, 04 Apr 2016 16:13:29 GMT)
[13999:14020:0404/121329:VERBOSE1:spdy_header_block.cc(122)] Inserting: (expires, Mon, 04 Apr 2016 16:13:29 GMT)
[13999:14020:0404/121329:VERBOSE1:spdy_header_block.cc(122)] Inserting: (cache-control, private, max-age=5184000)
[13999:14020:0404/121329:VERBOSE1:spdy_header_block.cc(122)] Inserting: (vary, Cookie)
[13999:14020:0404/121329:VERBOSE1:spdy_header_block.cc(122)] Inserting: (content-type, text/plain; charset=UTF-8)
[13999:14020:0404/121329:VERBOSE1:spdy_header_block.cc(122)] Inserting: (p3p, CP="This is not a P3P policy! See https://www.google.com/support/accounts/answer/151657?hl=en for more info.")
[13999:14020:0404/121329:VERBOSE1:spdy_header_block.cc(122)] Inserting: (content-encoding, gzip)
[13999:14020:0404/121329:VERBOSE1:spdy_header_block.cc(122)] Inserting: (server, gws)
[13999:14020:0404/121329:VERBOSE1:spdy_header_block.cc(122)] Inserting: (x-xss-protection, 1; mode=block)
[13999:14020:0404/121329:VERBOSE1:spdy_header_block.cc(122)] Inserting: (x-frame-options, SAMEORIGIN)
[13999:14020:0404/121329:VERBOSE1:spdy_header_block.cc(122)] Inserting: (set-cookie, NID=78=Nc5brUJsExlWXf7m3HaI0Me6ArIBc9baqz8Pj3S-3ggCAxYAR2e1sE9H5SlBPO43jGBPsJH_2Ia7-t3O_cOTVkWo1D-7OsTnoI1CeBnOiyQlXxGj0j7nUILlY-c7AhJH; expires=Tue, 04-Oct-2016 16:13:29 GMT; path=/; domain=.google.com; HttpOnly)
[13999:14020:0404/121329:VERBOSE1:spdy_header_block.cc(122)] Inserting: (alternate-protocol, 443:quic)
[13999:14020:0404/121329:VERBOSE1:spdy_header_block.cc(122)] Inserting: (alt-svc, quic=":443"; ma=2592000; v="32,31,30,29,28,27,26,25")
[13999:14020:0404/121329:VERBOSE1:spdy_header_block.cc(122)] Inserting: (:status, 200)
[13999:14020:0404/121329:VERBOSE1:spdy_header_block.cc(122)] Inserting: (date, Mon, 04 Apr 2016 16:13:29 GMT)
[13999:14020:0404/121329:VERBOSE1:spdy_header_block.cc(122)] Inserting: (expires, Mon, 04 Apr 2016 16:13:29 GMT)
[13999:14020:0404/121329:VERBOSE1:spdy_header_block.cc(122)] Inserting: (cache-control, private, max-age=5184000)
[13999:14020:0404/121329:VERBOSE1:spdy_header_block.cc(122)] Inserting: (vary, Cookie)
[13999:14020:0404/121329:VERBOSE1:spdy_header_block.cc(122)] Inserting: (content-type, text/plain; charset=UTF-8)
[13999:14020:0404/121329:VERBOSE1:spdy_header_block.cc(122)] Inserting: (p3p, CP="This is not a P3P policy! See https://www.google.com/support/accounts/answer/151657?hl=en for more info.")
[13999:14020:0404/121329:VERBOSE1:spdy_header_block.cc(122)] Inserting: (content-encoding, gzip)
[13999:14020:0404/121329:VERBOSE1:spdy_header_block.cc(122)] Inserting: (server, gws)
[13999:14020:0404/121329:VERBOSE1:spdy_header_block.cc(122)] Inserting: (x-xss-protection, 1; mode=block)
[13999:14020:0404/121329:VERBOSE1:spdy_header_block.cc(122)] Inserting: (x-frame-options, SAMEORIGIN)
[13999:14020:0404/121329:VERBOSE1:spdy_header_block.cc(122)] Inserting: (set-cookie, NID=78=Nc5brUJsExlWXf7m3HaI0Me6ArIBc9baqz8Pj3S-3ggCAxYAR2e1sE9H5SlBPO43jGBPsJH_2Ia7-t3O_cOTVkWo1D-7OsTnoI1CeBnOiyQlXxGj0j7nUILlY-c7AhJH; expires=Tue, 04-Oct-2016 16:13:29 GMT; path=/; domain=.google.com; HttpOnly)
[13999:14020:0404/121329:VERBOSE1:spdy_header_block.cc(122)] Inserting: (alternate-protocol, 443:quic)
[13999:14020:0404/121329:VERBOSE1:spdy_header_block.cc(122)] Inserting: (alt-svc, quic=":443"; ma=2592000; v="32,31,30,29,28,27,26,25")
[13999:14020:0404/121329:VERBOSE1:spdy_header_block.cc(215)] Inserting: (:status, 200)
[13999:14020:0404/121329:VERBOSE1:spdy_header_block.cc(215)] Inserting: (date, Mon, 04 Apr 2016 16:13:29 GMT)
[13999:14020:0404/121329:VERBOSE1:spdy_header_block.cc(215)] Inserting: (expires, Mon, 04 Apr 2016 16:13:29 GMT)
[13999:14020:0404/121329:VERBOSE1:spdy_header_block.cc(215)] Inserting: (cache-control, private, max-age=5184000)
[13999:14020:0404/121329:VERBOSE1:spdy_header_block.cc(215)] Inserting: (vary, Cookie)
[13999:14020:0404/121329:VERBOSE1:spdy_header_block.cc(215)] Inserting: (content-type, text/plain; charset=UTF-8)
[13999:14020:0404/121329:VERBOSE1:spdy_header_block.cc(215)] Inserting: (p3p, CP="This is not a P3P policy! See https://www.google.com/support/accounts/answer/151657?hl=en for more info.")
[13999:14020:0404/121329:VERBOSE1:spdy_header_block.cc(215)] Inserting: (content-encoding, gzip)
[13999:14020:0404/121329:VERBOSE1:spdy_header_block.cc(215)] Inserting: (server, gws)
[13999:14020:0404/121329:VERBOSE1:spdy_header_block.cc(215)] Inserting: (x-xss-protection, 1; mode=block)
[13999:14020:0404/121329:VERBOSE1:spdy_header_block.cc(215)] Inserting: (x-frame-options, SAMEORIGIN)
[13999:14020:0404/121329:VERBOSE1:spdy_header_block.cc(215)] Inserting: (set-cookie, NID=78=Nc5brUJsExlWXf7m3HaI0Me6ArIBc9baqz8Pj3S-3ggCAxYAR2e1sE9H5SlBPO43jGBPsJH_2Ia7-t3O_cOTVkWo1D-7OsTnoI1CeBnOiyQlXxGj0j7nUILlY-c7AhJH; expires=Tue, 04-Oct-2016 16:13:29 GMT; path=/; domain=.google.com; HttpOnly)
[13999:14020:0404/121329:VERBOSE1:spdy_header_block.cc(215)] Inserting: (alternate-protocol, 443:quic)
[13999:14020:0404/121329:VERBOSE1:spdy_header_block.cc(215)] Inserting: (alt-svc, quic=":443"; ma=2592000; v="32,31,30,29,28,27,26,25")
rogerwang commented 8 years ago

Is the case posted in this issue exactly the one you were running? I see additional console log here:

[13482:13482:0404/121115:INFO:CONSOLE(34)] "[object HTMLElement]", source: chrome-extension://kbhcmonmkoehehelgbfmfenfbakfniek/index.html (34)

Please attach your original case if not?

hkaya commented 8 years ago

Hey, sorry about that. I was using a slightly modified version. Below you can find the exact version I used to generate the logs. Note that the javascript lines setting webview.src were commented out during the test runs. So the only difference is the extra styling, getElementById call and two log lines.

<!DOCTYPE html>                                                                                                                                                                                              
<html>
<head>
  <style>
    html, body {
      width: 100%;
      height: 100%;
      background-color:#000;
    }
    body {
      margin: 0;
      padding: 0;
      overflow: hidden;
      position: relative;
    }
    webview {
      height: 50%;
      width: 50%;
      position: absolute;
      top: 0;
      left: 0;
      bottom: 0;
      right: 0;
      margin: auto
    }
  </style>
</head>
<body>
  <webview id="wv" partition="trusted" src="file:///home/hkaya/test.html"></webview>
  <script type="text/javascript">
    var wv = document.getElementById('wv');
    console.log(wv);
    // wv.src = 'file:///home/hkaya/test.html';
    // wv.setAttribute('src', 'file:///home/hkaya/test.html');
    console.log(wv);
  </script>
</body>
</html>
rogerwang commented 8 years ago

nevermind. The good news is that @ghostoy is now able to reproduce it randomly in some other system. It should be very helpful to fix this.

hkaya commented 8 years ago

awesome! let me know if you need anything else on my end.

rogerwang commented 8 years ago

please try this build for the fix:

http://dl.nwjs.io/live-build/04-05-2016/ce914c0-85c8bc4-f039027-f1993fc/v0.13.3/nwjs-sdk-v0.13.3-linux-x64.tar.gz

rogerwang commented 8 years ago

This is fixed in git and will be available in the next nightly build.

hkaya commented 8 years ago

@rogerwang the latest package you sent is working for me. Thank you!

razzbee commented 8 years ago

Hello I am also facing the same problem on my windows 10 dev machine , no matter what I do , I get : The load has aborted with error -301: ERR_DISALLOWED_URL_SCHEME when I try to load a local file, any help??