bug 464174 followup (comment fix only)
authorShawn Wilsher <me@shawnwilsher.com>
Fri, 28 Nov 2008 18:24:05 -0800
changeset 22122 60ba92ead6d390821b3901c4c048beb957997a89
parent 22121 4cfa752afa85bd81a29a5ef0826661bc81ecee5a
child 22123 58bae41ad72d648515f069ce5401d3c48dd4ce10
push id3807
push usersdwilsh@shawnwilsher.com
push dateSat, 29 Nov 2008 02:25:51 +0000
treeherdermozilla-central@60ba92ead6d3 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs464174
milestone1.9.1b3pre
bug 464174 followup (comment fix only)
content/xbl/src/nsXBLProtoImplField.cpp
--- a/content/xbl/src/nsXBLProtoImplField.cpp
+++ b/content/xbl/src/nsXBLProtoImplField.cpp
@@ -120,18 +120,16 @@ nsXBLProtoImplField::InstallField(nsIScr
   nsCAutoString uriSpec;
   aBindingDocURI->GetSpec(uriSpec);
   
   JSContext* cx = (JSContext*) aContext->GetNativeContext();
   NS_ASSERTION(!::JS_IsExceptionPending(cx),
                "Shouldn't get here when an exception is pending!");
   
   // compile the literal string
-  // XXX Could we produce a better principal here?  Should be able
-  // to, really!
   PRBool undefined;
   nsCOMPtr<nsIScriptContext> context = aContext;
   rv = context->EvaluateStringWithValue(nsDependentString(mFieldText,
                                                           mFieldTextLength), 
                                         aBoundNode,
                                         aPrincipal, uriSpec.get(),
                                         mLineNumber, JSVERSION_LATEST,
                                         (void*) &result, &undefined);