|
@@ -213,30 +213,6 @@ messageSends: ["<<", "new", "testedClass", "newStream", "assertBodyEndsWith:", "
|
|
|
}),
|
|
|
$globals.DOMiteTest);
|
|
|
|
|
|
-$core.addMethod(
|
|
|
-$core.method({
|
|
|
-selector: "testEntityConversion",
|
|
|
-protocol: 'testing',
|
|
|
-fn: function (){
|
|
|
-var self=this;
|
|
|
-//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
|
-return $core.withContext(function($ctx1) {
|
|
|
-//>>excludeEnd("ctx");
|
|
|
-self._assert_equals_("©"._htmlTextContent(),"©");
|
|
|
-return self;
|
|
|
-//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
|
-}, function($ctx1) {$ctx1.fill(self,"testEntityConversion",{},$globals.DOMiteTest)});
|
|
|
-//>>excludeEnd("ctx");
|
|
|
-},
|
|
|
-//>>excludeStart("ide", pragmas.excludeIdeData);
|
|
|
-args: [],
|
|
|
-source: "testEntityConversion\x0a\x09self assert: '©' htmlTextContent equals: '©'",
|
|
|
-referencedClasses: [],
|
|
|
-//>>excludeEnd("ide");
|
|
|
-messageSends: ["assert:equals:", "htmlTextContent"]
|
|
|
-}),
|
|
|
-$globals.DOMiteTest);
|
|
|
-
|
|
|
$core.addMethod(
|
|
|
$core.method({
|
|
|
selector: "testFromBadSelectorIsInvalid",
|
|
@@ -1043,38 +1019,6 @@ messageSends: ["fromElement:", "testedClass", "newElement:", "<<", "resetContent
|
|
|
}),
|
|
|
$globals.DOMiteTest);
|
|
|
|
|
|
-$core.addMethod(
|
|
|
-$core.method({
|
|
|
-selector: "testTextContentDoesNotRunScript",
|
|
|
-protocol: 'testing',
|
|
|
-fn: function (){
|
|
|
-var self=this;
|
|
|
-//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
|
-return $core.withContext(function($ctx1) {
|
|
|
-//>>excludeEnd("ctx");
|
|
|
-self._shouldnt_raise_((function(){
|
|
|
-//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
|
-return $core.withContext(function($ctx2) {
|
|
|
-//>>excludeEnd("ctx");
|
|
|
-return "<script>throw new Error(\x22Intentional\x22)</script>"._htmlTextContent();
|
|
|
-//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
|
-}, function($ctx2) {$ctx2.fillBlock({},$ctx1,1)});
|
|
|
-//>>excludeEnd("ctx");
|
|
|
-}),$globals.Error);
|
|
|
-return self;
|
|
|
-//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
|
-}, function($ctx1) {$ctx1.fill(self,"testTextContentDoesNotRunScript",{},$globals.DOMiteTest)});
|
|
|
-//>>excludeEnd("ctx");
|
|
|
-},
|
|
|
-//>>excludeStart("ide", pragmas.excludeIdeData);
|
|
|
-args: [],
|
|
|
-source: "testTextContentDoesNotRunScript\x0a\x09self shouldnt: [ '<script>throw new Error(\x22Intentional\x22)</script>' htmlTextContent ] raise: Error",
|
|
|
-referencedClasses: ["Error"],
|
|
|
-//>>excludeEnd("ide");
|
|
|
-messageSends: ["shouldnt:raise:", "htmlTextContent"]
|
|
|
-}),
|
|
|
-$globals.DOMiteTest);
|
|
|
-
|
|
|
$core.addMethod(
|
|
|
$core.method({
|
|
|
selector: "testedClass",
|