3 Commits

Author SHA1 Message Date
Adam Barth
fcaf863c07 AbstractModule should accept a PassRefPtr
The AbstractModule is taking a reference to the Document. It should take a
PassRefPtr so that it can accept a floating reference.

R=esprehn@chromium.org, eseidel@chromium.org

Review URL: https://codereview.chromium.org/715833002
2014-11-11 16:04:02 -08:00
Adam Barth
b71fee9e48 Move exports from Document to Module
This CL moves the |exports| from Document to the new |Module| interface,
matching the spec. Also, the |module| object available to scripts is now really
an instance of |Module|.

R=eseidel@chromium.org

Review URL: https://codereview.chromium.org/703593003
2014-11-10 15:34:25 -08:00
Adam Barth
bdf6f5c3e6 Add Module and Application interfaces
These interfaces are currently unused by the engine, but they are
constructable.  See apis.md for details.

R=eseidel@chromium.org

Review URL: https://codereview.chromium.org/697873007
2014-11-10 14:16:56 -08:00