Gohy Leandre
590be75fa9
add ValidatedUrl to did-fail-load event
2015-09-09 15:56:16 +02:00
Cheng Zhao
e365cb6b1c
No longer needs to define node_includes.h at last
2015-09-07 16:41:49 +08:00
Cheng Zhao
46b2b91a27
Don't use Node's internal APIs
2015-09-07 16:41:49 +08:00
Cheng Zhao
0a4fb2ec4f
Support externalized ArrayBuffer for node::Buffer
2015-09-07 11:12:42 +08:00
Cheng Zhao
c1d7ad9631
Devtools no longer uses iframes
2015-09-03 17:50:24 +09:00
Cheng Zhao
45491ca7ab
Fix API changes
2015-09-03 17:50:23 +09:00
Cheng Zhao
50bfe9e335
Set source and origin correctly for window.opener.postMessage
2015-09-01 11:51:10 +08:00
Cheng Zhao
ebedb60684
Insert node integration for all main frames
2015-08-31 21:59:13 +08:00
Cheng Zhao
9ecc4bcb7d
Fork renderer process for webview
...
Previously it was disabled because Chrome doesn't support swapping
renderer process before, it seeems to work fine now, so we enable it to
see how it goes.
2015-08-31 21:38:18 +08:00
Robo
8757da6c47
renderer: send referrer for all naviagtions
2015-08-29 19:20:09 +05:30
Cheng Zhao
8a09cf5369
Add webFrame.setZoomLevelLimits API
2015-08-27 22:08:25 +08:00
Cheng Zhao
64e8ce0c07
Don't rely on IDWeakMap for bookkeeping remote objects
...
It frees us from using C++ to track JS objects, thus improves the
performance of collecting memory.
2015-08-27 19:01:34 +08:00
Eran Tiktin
b1406fbad9
Fix no close button in message box on Windows
...
This resolves #2293 .
2015-08-22 04:20:52 +03:00
Cheng Zhao
86eb0a5eaa
Create both Uint8Array and ArrayBuffer from blink
2015-08-14 12:40:03 +08:00
Cheng Zhao
0f990d40cc
Use blink's allocator in Node's Buffer
2015-08-11 12:31:41 +08:00
Haojian Wu
0e8a585157
Fix content::BrowserPluginDelegate::DidResizeElement API changes.
...
Chromium has removed old_size in DidResizeElement interface as the 'old_size'
is internal.
2015-08-11 09:48:55 +08:00
Cheng Zhao
0a49dcc623
Delay the call of element resize callback to next tick
2015-08-10 11:56:42 +08:00
Cheng Zhao
1bb0dde360
Use WebScopedRunV8Script in converted C++ functions
2015-08-07 19:37:17 +08:00
Cheng Zhao
2ff104d012
Move callback converter from native mate to electron
2015-08-07 19:35:35 +08:00
Cheng Zhao
5d3445cebb
Style fix
2015-08-07 19:35:35 +08:00
Robo
0a7a4c0d0a
webview: adding load-commit event
2015-08-05 19:22:30 +05:30
Robo
6b8d4a43a3
override: intialise BrowserWindowProxy.closed
2015-08-05 19:22:30 +05:30
Cheng Zhao
2a30520799
Only set window.opener for windows opened by window.open
2015-08-04 15:47:12 +08:00
Cheng Zhao
4ac59e2674
Merge pull request #2391 from seanchas116/support-remote-promise
...
Support Promise over remote objects
2015-08-03 15:22:36 +08:00
Cheng Zhao
7c5d443284
Merge pull request #2394 from DerNivel/fix-typos
...
Fix typos
2015-08-03 15:04:13 +08:00
Cheng Zhao
7c75329b18
Merge pull request #2375 from deepak1556/web_frame_api_patch
...
webFrame: api to make scheme bypass CSP
2015-08-03 14:46:40 +08:00
Ryohei Ikegami
c8a794ac34
Use constructor name to check if Promise
2015-08-01 12:20:16 +09:00
Jonathan
c0ce8723d4
Fix typo
2015-07-31 20:16:26 +02:00
Ryohei Ikegami
92af275f98
Support remote Promise in browser
2015-07-31 14:52:48 +09:00
Ryohei Ikegami
ddf2cfd48d
Support remote Promise in renderer
2015-07-31 14:52:37 +09:00
Robo
92ea533aee
webFrame: api to make scheme bypass CSP
2015-07-30 22:36:02 +05:30
Robo
239d535cac
render: executejavascript with option to simulate usergesture
2015-07-30 15:38:46 +05:30
Taichiro Yoshida
fc92ceb0b6
do not overwrite node-integration
option
...
If `node-integration` option pass to window.open, do not overwrite by current window's one
2015-07-29 13:41:11 +09:00
Haojian Wu
462e6e0a82
Implement getUserAgent API.
2015-07-22 12:25:10 +08:00
Cheng Zhao
096439dce7
Don't expose "global" when node integration is off
2015-07-14 09:15:03 -07:00
Cheng Zhao
14388feb23
Merge pull request #2187 from jprichardson/patch-1
...
emit error object on process.on('uncaughtException') in renderer
2015-07-13 21:46:06 -07:00
Cheng Zhao
9e8a118d10
Cleanup code
2015-07-14 03:23:19 +08:00
Cheng Zhao
0c7c6ddcc9
Merge pull request #2175 from atom/propagate-app-model-id
...
Propagate App Model User ID on Windows
2015-07-13 12:16:10 -07:00
JP Richardson
d6ae874038
emit error object on process.on('uncaughtException') in renderer
...
Chromium added the actual `error` object to the 5th parameter in `window.onerror`. This should be emitted as opposed to the `errorMsg` string. Worse yet, since `errorMsg` wasn't an instance of `Error`, any code that assumes this in any `process.on('uncaughtException')` handler would fail. Also, correctly emitting the error provides the stack trace.
This is now an HTML5 standard.
Sources:
- https://html.spec.whatwg.org/multipage/webappapis.html#errorevent
- https://mikewest.org/2013/08/debugging-runtime-errors-with-window-onerror
- https://code.google.com/p/chromium/issues/detail?id=147127
2015-07-10 14:38:03 -05:00
Cheng Zhao
967c273ddb
Always use top window's context for resolving url
...
Refs #2166 .
2015-07-10 13:57:09 +08:00
Cheng Zhao
260ec96edd
Resolve relative urls in window.open, fix #2166
2015-07-10 11:36:41 +08:00
Paul Betts
39c6e2d2e5
Linter fixes
2015-07-09 17:00:19 -07:00
Paul Betts
35aaad68d7
Set the AppUserModelId on the renderer side
2015-07-09 16:48:02 -07:00
Cheng Zhao
ae3b47aa75
Inherit current window's node-integration in window.open by default
...
Fix #2100 .
2015-07-06 16:21:08 +08:00
John Haley
565a500320
Fix window.open
with wrong name
...
When calling `window.open` the newly created window would have the name of the last option in the `features` argument as the title. I think it's supposed to be pointed to `frameName`.
2015-06-29 10:32:27 -07:00
Cheng Zhao
42e21d15bf
Remove all calls to node::MakeCallback
...
node::MakeCallback is doing too much for us, avoid calling it.
2015-06-23 20:14:03 +08:00
deepak1556
cb1d9f60ec
override: set window.opener to null for webview
2015-06-18 21:14:45 +05:30
Haojian Wu
47eac062f6
Expose Print API to webContents and webView.
...
Also move the print implementation from window to webContents.
2015-06-16 20:08:30 +08:00
Haojian Wu
c0a6cb69bf
Move printToPDF API to WebContents.
...
Also expose in webview.
2015-06-16 20:06:52 +08:00
Cheng Zhao
bd704dd8aa
Merge pull request #1979 from deepak1556/remote_args_patch
...
remote: handle circular reference in wrapArgs
2015-06-16 16:40:06 +08:00