Make WordPress Core

Changeset 49556


Ignore:
Timestamp:
11/10/2020 09:16:53 AM (6 years ago)
Author:
azaozz
Message:

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

Props @desrosj.
Fixes #42009.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/qunit/wp-includes/js/tinymce/plugins/wptextpattern/plugin.js

    r47122 r49556  
    22        var editor,
    33                count = 0;
    4 
    5         // Temporarily disadle these tests in PhantomJS.
    6         // Seems editor.selection.getRng() in mceType() fails there, but works properly in the browsers.
    7         if ( /PhantomJS/.test( navigator.userAgent ) ) {
    8                 return;
    9         }
    104
    115        if ( tinymce.Env.ie && tinymce.Env.ie < 11 ) {
Note: See TracChangeset for help on using the changeset viewer.