Reviewers: felix8a,

Description:
* <canvas>.getContext() returns null (per spec) rather than undefined
  (per obsolete browser behavior observations) on failure.
* TameCustomEvents did not get confided as TameEvent (so operations on
  them were mostly broken) unless the browser supported proxies.
* TameWindow did not get inertCtor'd, allowing guests to create new
  Window objects (this does not include interesting excess authority).
* Export interfaces Document, Window, Event. In order to export Window
  we had to reorder the full definition of TameWindow to before freezing
  of exported classes, which should be harmless but is a notable change.
* Comment interface was incorrectly named CommentNode.
* toString is implemented better and includes nodeName for the sake of
  debugging since WebKit console provides it over toString, but of
  course not for our tame nodes.
* Enable disabled test-domado-dom-guest testToString.

Please review this at http://codereview.appspot.com/6845051/

Affected files:
  M     src/com/google/caja/plugin/domado.js
  M     tests/com/google/caja/plugin/es53-test-domado-canvas-guest.html
  M     tests/com/google/caja/plugin/es53-test-domado-dom-guest.html
  M     tests/com/google/caja/plugin/es53-test-domado-foreign-guest.html


Reply via email to