Tests QUnit: Remove restriction on running the TinyMCE Textpattern WP plugin tests in PhantomJS.

Props @desrosj.
Fixes #42009.

git-svn-id: https://develop.svn.wordpress.org/trunk@49556 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz
2020-11-10 09:16:53 +00:00
parent 3d583b8c67
commit 60516115ed

View File

@@ -2,12 +2,6 @@
var editor,
count = 0;
// Temporarily disadle these tests in PhantomJS.
// Seems editor.selection.getRng() in mceType() fails there, but works properly in the browsers.
if ( /PhantomJS/.test( navigator.userAgent ) ) {
return;
}
if ( tinymce.Env.ie && tinymce.Env.ie < 11 ) {
return;
}