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:
d5f4a32
)
Changed session to app to reflect rest of document
author
Brad Metcalf
<brad@localabstract.com>
Thu, 18 Feb 2016 19:41:22 +0000
(13:41 -0600)
committer
Brad Metcalf
<brad@localabstract.com>
Thu, 18 Feb 2016 19:41:22 +0000
(13:41 -0600)
docs/api/app.md
patch
|
blob
|
history
diff --git
a/docs/api/app.md
b/docs/api/app.md
index
b5f8e91
..
bdf0a8a
100644
(file)
--- a/
docs/api/app.md
+++ b/
docs/api/app.md
@@
-156,7
+156,7
@@
certificate you should prevent the default behavior with
`event.preventDefault()` and call `callback(true)`.
```javascript
-
session
.on('certificate-error', function(event, webContents, url, error, certificate, callback) {
+
app
.on('certificate-error', function(event, webContents, url, error, certificate, callback) {
if (url == "https://github.com") {
// Verification logic.
event.preventDefault();