Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(17)

Issue 115054: Refactor domita_test to use module system where possible. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
16 years, 9 months ago by ihab.awad
Modified:
14 years, 9 months ago
Reviewers:
MikeSamuel, metaweta
CC:
google-caja-discuss_googlegroups.com
Base URL:
http://google-caja.googlecode.com/svn/trunk/
Visibility:
Public.

Description

Refactor domita_test to use module system where possible. Moved the JavaScript in domita_test into a separate file to make it easier to edit (e.g., in editor modes) and also to help clarify what remains in domita_test.html -- which includes stuff that is actually part of the embedded test cases.

Patch Set 1 #

Total comments: 6

Patch Set 2 : Refactor domita_test to use module system where possible. #

Total comments: 21

Patch Set 3 : Refactor domita_test to use module system where possible. #

Patch Set 4 : Refactor domita_test to use module system where possible. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+400 lines, -855 lines) Patch
M src/com/google/caja/cajita-module.js View 1 2 3 2 chunks +18 lines, -1 line 0 comments Download
M src/com/google/caja/commonjs-sandbox.js View 3 1 chunk +11 lines, -0 lines 0 comments Download
M src/com/google/caja/valija-cajita.js View 1 2 3 1 chunk +8 lines, -0 lines 0 comments Download
M tests/com/google/caja/plugin/domita_test.html View 1 2 2 chunks +25 lines, -395 lines 0 comments Download
A + tests/com/google/caja/plugin/domita_test.js View 1 2 3 1 chunk +329 lines, -450 lines 0 comments Download
M tests/com/google/caja/plugin/domita_test_untrusted.html View 8 chunks +9 lines, -9 lines 0 comments Download

Messages

Total messages: 15
ihab.awad
16 years, 9 months ago (2009-09-03 23:01:43 UTC) #1
ihab.awad
Adding mikesamuel to the reviewer list -- Mike, does this rearrangement of domita_test look reasonable?
16 years, 9 months ago (2009-09-04 20:58:54 UTC) #2
MikeSamuel
http://codereview.appspot.com/115054/diff/1/3 File tests/com/google/caja/plugin/domita_test.js (right): http://codereview.appspot.com/115054/diff/1/3#newcode1 Line 1: function makeXhr() { This file needs a copyright. ...
16 years, 9 months ago (2009-09-04 23:26:01 UTC) #3
ihab.awad
http://codereview.appspot.com/115054/diff/1/3 File tests/com/google/caja/plugin/domita_test.js (right): http://codereview.appspot.com/115054/diff/1/3#newcode1 Line 1: function makeXhr() { On 2009/09/04 23:26:01, MikeSamuel wrote: ...
16 years, 9 months ago (2009-09-04 23:28:57 UTC) #4
MikeSamuel
http://codereview.appspot.com/115054/diff/1/2 File tests/com/google/caja/plugin/domita_test.html (left): http://codereview.appspot.com/115054/diff/1/2#oldcode86 Line 86: </script> Where did this stuff above here go? ...
16 years, 9 months ago (2009-09-05 00:04:04 UTC) #5
ihab.awad
http://codereview.appspot.com/115054/diff/1/2 File tests/com/google/caja/plugin/domita_test.html (left): http://codereview.appspot.com/115054/diff/1/2#oldcode86 Line 86: </script> On 2009/09/05 00:04:05, MikeSamuel wrote: > Where ...
16 years, 9 months ago (2009-09-05 00:14:07 UTC) #6
ihab.awad
Snapshotted with copyright in domita_test.js. Ping.
16 years, 9 months ago (2009-09-10 22:44:24 UTC) #7
MikeSamuel
Ok. I see the bits that moved around now. http://codereview.appspot.com/115054/diff/12/15 File src/com/google/caja/cajita-module.js (right): http://codereview.appspot.com/115054/diff/12/15#newcode45 Line ...
16 years, 9 months ago (2009-09-11 17:59:03 UTC) #8
MikeSamuel
http://codereview.appspot.com/115054/diff/12/15 File src/com/google/caja/cajita-module.js (right): http://codereview.appspot.com/115054/diff/12/15#newcode45 Line 45: } On 2009/09/11 17:59:04, MikeSamuel wrote: > Can ...
16 years, 9 months ago (2009-09-11 18:03:19 UTC) #9
metaweta
http://codereview.appspot.com/115054/diff/12/14 File tests/com/google/caja/plugin/domita_test.js (right): http://codereview.appspot.com/115054/diff/12/14#newcode39 Line 39: xhr.open('GET', href, false); Synchronous xhr!? http://codereview.appspot.com/115054/diff/12/14#newcode95 Line 95: ...
16 years, 9 months ago (2009-09-11 22:56:52 UTC) #10
ihab.awad
16 years, 8 months ago (2009-09-17 04:57:04 UTC) #11
ihab.awad
16 years, 8 months ago (2009-09-17 05:25:37 UTC) #12
ihab.awad
http://codereview.appspot.com/115054/diff/12/15 File src/com/google/caja/cajita-module.js (right): http://codereview.appspot.com/115054/diff/12/15#newcode45 Line 45: } Added a TODO for myself to consolidate. ...
16 years, 8 months ago (2009-09-17 05:25:48 UTC) #13
metaweta
LGTM
16 years, 8 months ago (2009-09-17 22:05:23 UTC) #14
metaweta
14 years, 9 months ago (2011-08-22 16:40:36 UTC) #15
On 2009/09/17 22:05:23, metaweta wrote:
> LGTM

If this wasn't committed, it's surely obsolete now.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b