mozilla / positron

a experimental, Electron-compatible runtime on top of Gecko
Other
562 stars 64 forks source link

WebContents.canGoBack/canGoForward spin the event loop #73

Closed mykmelez closed 8 years ago

mykmelez commented 8 years ago

WebContents.canGoBack/canGoForward are synchronous methods, but the mozbrowser equivalents getCanGoBack and getCanGoForward are async, so our implementations of those methods spin the event loop while waiting for the mozbrowser calls to return. We should figure out a better way to implement those methods.

mykmelez commented 8 years ago

84 is a dupe, but it has more info, so I'll close this one in favor of that one.