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

Issue 1763041: Handle DOMImplementationRegistry returning null. (Closed)

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

Description

DOMImplementationRegistry.getDOMImplementation is documented to return null if no implementation is available; handle that case with an explicit error rather than continuing until NullPointerException. Also standardize formatting of the related nearby code.

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -5 lines) Patch
M src/com/google/caja/parser/html/DomParser.java View 1 chunk +10 lines, -5 lines 0 comments Download

Messages

Total messages: 2
kpreid2
15 years, 11 months ago (2010-07-08 17:17:59 UTC) #1
MikeSamuel
15 years, 11 months ago (2010-07-08 18:11:32 UTC) #2
LGTM
Sign in to reply to this message.

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