Exception should not be ignored on appendChild in DOMImplementation::createHTMLDocument

Review URL: https://codereview.chromium.org/363383004

git-svn-id: svn://svn.chromium.org/blink/trunk@177504 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Mixed content: treat 'javascript:' form actions as secure.

We currently warn for insecure form actions on secure pages. A variety
of libraries use 'javascript:void(0)' as a form action when handling
the submission via JavaScript/XHR. We shouldn't treat that as a mixed
content violation.

This CL also exempts those folks who have enabled lax mixed content
checking from this newly-introduced check.

BUG=253249

Review URL: https://codereview.chromium.org/369793002

git-svn-id: svn://svn.chromium.org/blink/trunk@177505 bbb929c8-8fbe-4397-9dbb-9b2b20218538
XPath: Refactor WebCore::XPath::EvaluationContext.

Fix a hacky usage of EvaluationContext. This class is necessary only
in XPathExpression::evaluate, and should not be kept by a static
variable.  This CL makes it stack-allocated class.

EvaluationContext is created in XPathExpression::evaluate, and we pass
EvaluationContext to all of functions related to XPath evaluation.

XPathResult::snapshotItem, snapshotLength, and singleNodeValue call
XPathValue::toNodeSet. They are never called in XPathExpression::evaluate, and
we have no EvaluationContext in them. We pass 0 to Value::toNodeSet().

Oilpan: This CL removes one instance of Persistent<Node>.

BUG=

Review URL: https://codereview.chromium.org/360243002

git-svn-id: svn://svn.chromium.org/blink/trunk@177506 bbb929c8-8fbe-4397-9dbb-9b2b20218538