commit | 0601ca024b2f130c83e10b634da8b7310095f030 | [log] [tgz] |
---|---|---|
author | Mike Frysinger <vapier@chromium.org> | Sat Dec 23 14:18:56 2017 |
committer | Mike Frysinger <vapier@chromium.org> | Thu Jan 04 06:52:18 2018 |
tree | 6dcd80e741b60fd157b1f16d30c7149563218ce9 | |
parent | 3c266488ef0f466e359ee05b801b598501dab65c [diff] |
nassh: fix resize errors after connect After the connection dialog is closed, resizing the window will trigger errors like: Uncaught TypeError: Cannot read property 'document' of null at hterm.Frame.resize (nassh_command_instance.js:342) This is because the resize handler we registered to move the iframe around was left in place after we killed the iframe. Add a cleanup hook to remove that handler automatically. Change-Id: I991c142a949cf203881791dc11a0cbbe7811a882 Reviewed-on: https://chromium-review.googlesource.com/844014 Reviewed-by: Brandon Gilmore <varz@google.com> Tested-by: Mike Frysinger <vapier@chromium.org>
This repository contains the libdot JavaScript library and some web applications that make use of it.
The official copy of this repository is hosted at https://chromium.googlesource.com/apps/libapps.
There is also a mirror on github at https://github.com/libapps/libapps-mirror. Keep in mind that this mirror may occasionally be behind the official repository.
All changes must go through the Gerrit code review server on https://chromium-review.googlesource.com. Github pull requests cannot be accepted. Please see the HACK.md document in this directory for the details.
libdot/ is a small set of JS libraries initially developed as part of hterm, now available as shared code. It provides a base layer for web applications. The code is intended to work in any modern browser, in either a plain web page or a “privileged” environment such as a Chrome platform application or Firefox extension. In practice, it's only been put to use in Chrome platform applications so far.
hterm/ is a JS library that provides a terminal emulator. It is reasonably fast, reasonably correct, and reasonably portable across browsers.
nassh/ is the Secure Shell Chrome App (currently a “v1.5” app, soon to become a “v2” or platform app) that combines hterm with a NaCl build of OpenSSH to provide a PuTTY-like app for Chrome users.
ssh_client/ is the NaCl port of OpenSSH. It is used by nassh to create the Secure Shell App.
wash/ is a library for cross-origin virtual filesystems, similar to the Plan 9 filesystem. This directory also contains a simple bash-like shell environment for exploring these filesystems. The code in this directory is a work-in-progress.