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

Issue 5541069: Allow <a> and <area> links to open in the same page rather than a new one (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
14 years, 5 months ago by Jasvir
Modified:
14 years, 5 months ago
Reviewers:
felix8a
CC:
google-caja-discuss_googlegroups.com
Base URL:
http://google-caja.googlecode.com/svn/trunk/
Visibility:
Public.

Description

Removes the requirement for all links to open in a new page and updates corresponding tests. @4769

Patch Set 1 #

Total comments: 2

Patch Set 2 : Allow <a> and <area> links to open in the same page rather than a new one #

Patch Set 3 : Allow <a> and <area> links to open in the same page rather than a new one #

Total comments: 6

Patch Set 4 : Allow <a> and <area> links to open in the same page rather than a new one #

Patch Set 5 : Allow <a> and <area> links to open in the same page rather than a new one #

Unified diffs Side-by-side diffs Delta from patch set Stats (+101 lines, -31 lines) Patch
M src/com/google/caja/lang/html/html4-attributes.json View 1 2 3 4 1 chunk +9 lines, -3 lines 0 comments Download
M src/com/google/caja/parser/html/Dom.java View 1 2 3 4 1 chunk +0 lines, -3 lines 0 comments Download
M src/com/google/caja/plugin/domado.js View 1 2 3 4 2 chunks +2 lines, -5 lines 0 comments Download
M src/com/google/caja/plugin/templates/TemplateCompiler.java View 1 2 3 4 1 chunk +7 lines, -1 line 0 comments Download
M src/com/google/caja/plugin/templates/TemplateSanitizer.java View 1 2 3 4 1 chunk +5 lines, -0 lines 0 comments Download
M tests/com/google/caja/lang/html/HtmlSchemaTest.java View 1 2 3 4 1 chunk +6 lines, -0 lines 0 comments Download
M tests/com/google/caja/plugin/HtmlCompiledPluginTest.java View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M tests/com/google/caja/plugin/es53-test-client-uri-rewriting.js View 1 2 3 4 2 chunks +14 lines, -2 lines 0 comments Download
M tests/com/google/caja/plugin/es53-test-client-uri-rewriting-guest.html View 1 2 3 4 1 chunk +5 lines, -1 line 0 comments Download
M tests/com/google/caja/plugin/es53-test-domado-dom-guest.html View 1 2 3 4 2 chunks +3 lines, -3 lines 0 comments Download
M tests/com/google/caja/plugin/templates/TemplateCompilerTest.java View 1 2 3 4 8 chunks +8 lines, -8 lines 0 comments Download
M tests/com/google/caja/plugin/templates/template-compiler-golden1-dynamic.html View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M tests/com/google/caja/plugin/templates/template-compiler-golden1-nulluripol.html View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M tests/com/google/caja/plugin/templates/template-compiler-golden1-static.html View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M tests/com/google/caja/service/HtmlHandlerTest.java View 1 2 3 4 2 chunks +38 lines, -1 line 0 comments Download

Messages

Total messages: 8
Jasvir
14 years, 5 months ago (2012-01-17 00:51:58 UTC) #1
felix8a
http://codereview.appspot.com/5541069/diff/1/tests/com/google/caja/plugin/templates/TemplateCompilerTest.java File tests/com/google/caja/plugin/templates/TemplateCompilerTest.java (right): http://codereview.appspot.com/5541069/diff/1/tests/com/google/caja/plugin/templates/TemplateCompilerTest.java#newcode157 tests/com/google/caja/plugin/templates/TemplateCompilerTest.java:157: htmlFragment(fromString("<a href='foo' target='_self'>hello</a>")), it seems a bit obnoxious that ...
14 years, 5 months ago (2012-01-17 08:44:32 UTC) #2
Jasvir
http://codereview.appspot.com/5541069/diff/1/tests/com/google/caja/plugin/templates/TemplateCompilerTest.java File tests/com/google/caja/plugin/templates/TemplateCompilerTest.java (right): http://codereview.appspot.com/5541069/diff/1/tests/com/google/caja/plugin/templates/TemplateCompilerTest.java#newcode157 tests/com/google/caja/plugin/templates/TemplateCompilerTest.java:157: htmlFragment(fromString("<a href='foo' target='_self'>hello</a>")), Done. Also modified HtmlSchema to so ...
14 years, 5 months ago (2012-01-19 18:07:16 UTC) #3
felix8a
http://codereview.appspot.com/5541069/diff/5002/src/com/google/caja/lang/html/html4-attributes.json File src/com/google/caja/lang/html/html4-attributes.json (right): http://codereview.appspot.com/5541069/diff/5002/src/com/google/caja/lang/html/html4-attributes.json#newcode30 src/com/google/caja/lang/html/html4-attributes.json:30: "We allow _blank, _self but _parent, _top or arbitary ...
14 years, 5 months ago (2012-01-19 19:18:14 UTC) #4
Jasvir
http://codereview.appspot.com/5541069/diff/5002/src/com/google/caja/lang/html/html4-attributes.json File src/com/google/caja/lang/html/html4-attributes.json (right): http://codereview.appspot.com/5541069/diff/5002/src/com/google/caja/lang/html/html4-attributes.json#newcode30 src/com/google/caja/lang/html/html4-attributes.json:30: "We allow _blank, _self but _parent, _top or arbitary ...
14 years, 5 months ago (2012-01-19 21:58:56 UTC) #5
felix8a
lgtm
14 years, 5 months ago (2012-01-19 22:22:55 UTC) #6
Jasvir
Snapshot. Added missing case in TemplateSanitizer and added an end-to-end test. Removed unneeded cropping in ...
14 years, 5 months ago (2012-01-24 01:47:48 UTC) #7
felix8a
14 years, 5 months ago (2012-01-24 18:47:02 UTC) #8
On 2012/01/24 01:47:48, Jasvir wrote:
> Snapshot.  Added missing case in TemplateSanitizer and added an end-to-end
test.
> Removed unneeded cropping in formatSelf which is only used for debugging.

lgtm
Sign in to reply to this message.

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