Преглед изворни кода

Merge branch 'master' into t/ckeditor5/1477

Krzysztof Krztoń пре 7 година
родитељ
комит
7de5b50f25
91 измењених фајлова са 131 додато и 124 уклоњено
  1. 1 1
      packages/ckeditor5-core/.eslintrc.js
  2. 1 1
      packages/ckeditor5-core/LICENSE.md
  3. 1 1
      packages/ckeditor5-core/lang/translations/ar.po
  4. 1 1
      packages/ckeditor5-core/lang/translations/ast.po
  5. 1 1
      packages/ckeditor5-core/lang/translations/az.po
  6. 1 1
      packages/ckeditor5-core/lang/translations/bg.po
  7. 1 1
      packages/ckeditor5-core/lang/translations/ca.po
  8. 1 1
      packages/ckeditor5-core/lang/translations/cs.po
  9. 1 1
      packages/ckeditor5-core/lang/translations/da.po
  10. 1 1
      packages/ckeditor5-core/lang/translations/de.po
  11. 1 1
      packages/ckeditor5-core/lang/translations/el.po
  12. 1 1
      packages/ckeditor5-core/lang/translations/en-au.po
  13. 1 1
      packages/ckeditor5-core/lang/translations/en.po
  14. 1 1
      packages/ckeditor5-core/lang/translations/eo.po
  15. 1 1
      packages/ckeditor5-core/lang/translations/es.po
  16. 1 1
      packages/ckeditor5-core/lang/translations/et.po
  17. 1 1
      packages/ckeditor5-core/lang/translations/eu.po
  18. 1 1
      packages/ckeditor5-core/lang/translations/fa.po
  19. 1 1
      packages/ckeditor5-core/lang/translations/fi.po
  20. 1 1
      packages/ckeditor5-core/lang/translations/fr.po
  21. 1 1
      packages/ckeditor5-core/lang/translations/gl.po
  22. 1 1
      packages/ckeditor5-core/lang/translations/he.po
  23. 1 1
      packages/ckeditor5-core/lang/translations/hr.po
  24. 1 1
      packages/ckeditor5-core/lang/translations/hu.po
  25. 1 1
      packages/ckeditor5-core/lang/translations/id.po
  26. 1 1
      packages/ckeditor5-core/lang/translations/it.po
  27. 1 1
      packages/ckeditor5-core/lang/translations/ja.po
  28. 1 1
      packages/ckeditor5-core/lang/translations/km.po
  29. 1 1
      packages/ckeditor5-core/lang/translations/kn.po
  30. 1 1
      packages/ckeditor5-core/lang/translations/ko.po
  31. 1 1
      packages/ckeditor5-core/lang/translations/ku.po
  32. 1 1
      packages/ckeditor5-core/lang/translations/nb.po
  33. 1 1
      packages/ckeditor5-core/lang/translations/ne.po
  34. 1 1
      packages/ckeditor5-core/lang/translations/nl.po
  35. 1 1
      packages/ckeditor5-core/lang/translations/no.po
  36. 1 1
      packages/ckeditor5-core/lang/translations/oc.po
  37. 1 1
      packages/ckeditor5-core/lang/translations/pl.po
  38. 1 1
      packages/ckeditor5-core/lang/translations/pt-br.po
  39. 1 1
      packages/ckeditor5-core/lang/translations/pt.po
  40. 1 1
      packages/ckeditor5-core/lang/translations/ro.po
  41. 1 1
      packages/ckeditor5-core/lang/translations/ru.po
  42. 1 1
      packages/ckeditor5-core/lang/translations/sk.po
  43. 1 1
      packages/ckeditor5-core/lang/translations/sq.po
  44. 1 1
      packages/ckeditor5-core/lang/translations/sv.po
  45. 1 1
      packages/ckeditor5-core/lang/translations/tr.po
  46. 1 1
      packages/ckeditor5-core/lang/translations/tt.po
  47. 1 1
      packages/ckeditor5-core/lang/translations/ug.po
  48. 1 1
      packages/ckeditor5-core/lang/translations/uk.po
  49. 1 1
      packages/ckeditor5-core/lang/translations/zh-cn.po
  50. 1 1
      packages/ckeditor5-core/lang/translations/zh.po
  51. 1 1
      packages/ckeditor5-core/src/command.js
  52. 1 1
      packages/ckeditor5-core/src/commandcollection.js
  53. 1 1
      packages/ckeditor5-core/src/editingkeystrokehandler.js
  54. 1 1
      packages/ckeditor5-core/src/editor/editor.js
  55. 1 1
      packages/ckeditor5-core/src/editor/editorconfig.jsdoc
  56. 1 1
      packages/ckeditor5-core/src/editor/editorui.js
  57. 1 1
      packages/ckeditor5-core/src/editor/editorwithui.jsdoc
  58. 1 1
      packages/ckeditor5-core/src/editor/utils/attachtoform.js
  59. 1 1
      packages/ckeditor5-core/src/editor/utils/dataapimixin.js
  60. 1 1
      packages/ckeditor5-core/src/editor/utils/elementapimixin.js
  61. 1 1
      packages/ckeditor5-core/src/pendingactions.js
  62. 1 1
      packages/ckeditor5-core/src/plugin.js
  63. 1 1
      packages/ckeditor5-core/src/plugincollection.js
  64. 1 1
      packages/ckeditor5-core/tests/_utils-tests/articlepluginset.js
  65. 1 1
      packages/ckeditor5-core/tests/_utils-tests/classictesteditor.js
  66. 1 1
      packages/ckeditor5-core/tests/_utils-tests/createsinonsandbox.js
  67. 1 1
      packages/ckeditor5-core/tests/_utils-tests/modeltesteditor.js
  68. 1 1
      packages/ckeditor5-core/tests/_utils-tests/utils.js
  69. 1 1
      packages/ckeditor5-core/tests/_utils-tests/virtualtesteditor.js
  70. 1 1
      packages/ckeditor5-core/tests/_utils/articlepluginset.js
  71. 1 1
      packages/ckeditor5-core/tests/_utils/classictesteditor.js
  72. 41 34
      packages/ckeditor5-core/tests/_utils/memory.js
  73. 1 1
      packages/ckeditor5-core/tests/_utils/modeltesteditor.js
  74. 1 1
      packages/ckeditor5-core/tests/_utils/utils.js
  75. 1 1
      packages/ckeditor5-core/tests/_utils/virtualtesteditor.js
  76. 1 1
      packages/ckeditor5-core/tests/command.js
  77. 1 1
      packages/ckeditor5-core/tests/commandcollection.js
  78. 1 1
      packages/ckeditor5-core/tests/editingkeystrokehandler.js
  79. 1 1
      packages/ckeditor5-core/tests/editor/editor.js
  80. 1 1
      packages/ckeditor5-core/tests/editor/editorui.js
  81. 1 1
      packages/ckeditor5-core/tests/editor/utils/attachtoform.js
  82. 1 1
      packages/ckeditor5-core/tests/editor/utils/dataapimixin.js
  83. 1 1
      packages/ckeditor5-core/tests/editor/utils/elementapimixin.js
  84. 1 1
      packages/ckeditor5-core/tests/manual/article.js
  85. 1 1
      packages/ckeditor5-core/tests/manual/formsubmit.js
  86. 1 1
      packages/ckeditor5-core/tests/manual/pendingactions.js
  87. 1 1
      packages/ckeditor5-core/tests/manual/readonly.js
  88. 1 1
      packages/ckeditor5-core/tests/manual/version-collision.js
  89. 1 1
      packages/ckeditor5-core/tests/pendingactions.js
  90. 1 1
      packages/ckeditor5-core/tests/plugin.js
  91. 1 1
      packages/ckeditor5-core/tests/plugincollection.js

+ 1 - 1
packages/ckeditor5-core/.eslintrc.js

@@ -1,5 +1,5 @@
 /**
 /**
- * @license Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+ * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
  * For licensing, see LICENSE.md.
  * For licensing, see LICENSE.md.
  */
  */
 
 

+ 1 - 1
packages/ckeditor5-core/LICENSE.md

@@ -2,7 +2,7 @@ Software License Agreement
 ==========================
 ==========================
 
 
 **CKEditor 5 Core Editor Architecture** – https://github.com/ckeditor/ckeditor5-core <br>
 **CKEditor 5 Core Editor Architecture** – https://github.com/ckeditor/ckeditor5-core <br>
-Copyright (c) 2003-2018, [CKSource](http://cksource.com) Frederico Knabben. All rights reserved.
+Copyright (c) 2003-2019, [CKSource](http://cksource.com) Frederico Knabben. All rights reserved.
 
 
 Licensed under the terms of [GNU General Public License Version 2 or later](http://www.gnu.org/licenses/gpl.html).
 Licensed under the terms of [GNU General Public License Version 2 or later](http://www.gnu.org/licenses/gpl.html).
 
 

+ 1 - 1
packages/ckeditor5-core/lang/translations/ar.po

@@ -1,4 +1,4 @@
-# Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+# Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 msgid ""
 msgid ""
 msgstr ""
 msgstr ""
 "Language-Team: Arabic (https://www.transifex.com/ckeditor/teams/11143/ar/)\n"
 "Language-Team: Arabic (https://www.transifex.com/ckeditor/teams/11143/ar/)\n"

+ 1 - 1
packages/ckeditor5-core/lang/translations/ast.po

@@ -1,4 +1,4 @@
-# Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+# Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 msgid ""
 msgid ""
 msgstr ""
 msgstr ""
 "Language-Team: Asturian (https://www.transifex.com/ckeditor/teams/11143/ast/)\n"
 "Language-Team: Asturian (https://www.transifex.com/ckeditor/teams/11143/ast/)\n"

+ 1 - 1
packages/ckeditor5-core/lang/translations/az.po

@@ -1,4 +1,4 @@
-# Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+# Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 msgid ""
 msgid ""
 msgstr ""
 msgstr ""
 "Language-Team: Azerbaijani (https://www.transifex.com/ckeditor/teams/11143/az/)\n"
 "Language-Team: Azerbaijani (https://www.transifex.com/ckeditor/teams/11143/az/)\n"

+ 1 - 1
packages/ckeditor5-core/lang/translations/bg.po

@@ -1,4 +1,4 @@
-# Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+# Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 msgid ""
 msgid ""
 msgstr ""
 msgstr ""
 "Language-Team: Bulgarian (https://www.transifex.com/ckeditor/teams/11143/bg/)\n"
 "Language-Team: Bulgarian (https://www.transifex.com/ckeditor/teams/11143/bg/)\n"

+ 1 - 1
packages/ckeditor5-core/lang/translations/ca.po

@@ -1,4 +1,4 @@
-# Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+# Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 msgid ""
 msgid ""
 msgstr ""
 msgstr ""
 "Language-Team: Catalan (https://www.transifex.com/ckeditor/teams/11143/ca/)\n"
 "Language-Team: Catalan (https://www.transifex.com/ckeditor/teams/11143/ca/)\n"

+ 1 - 1
packages/ckeditor5-core/lang/translations/cs.po

@@ -1,4 +1,4 @@
-# Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+# Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 msgid ""
 msgid ""
 msgstr ""
 msgstr ""
 "Language-Team: Czech (https://www.transifex.com/ckeditor/teams/11143/cs/)\n"
 "Language-Team: Czech (https://www.transifex.com/ckeditor/teams/11143/cs/)\n"

+ 1 - 1
packages/ckeditor5-core/lang/translations/da.po

@@ -1,4 +1,4 @@
-# Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+# Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 msgid ""
 msgid ""
 msgstr ""
 msgstr ""
 "Language-Team: Danish (https://www.transifex.com/ckeditor/teams/11143/da/)\n"
 "Language-Team: Danish (https://www.transifex.com/ckeditor/teams/11143/da/)\n"

+ 1 - 1
packages/ckeditor5-core/lang/translations/de.po

@@ -1,4 +1,4 @@
-# Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+# Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 msgid ""
 msgid ""
 msgstr ""
 msgstr ""
 "Language-Team: German (https://www.transifex.com/ckeditor/teams/11143/de/)\n"
 "Language-Team: German (https://www.transifex.com/ckeditor/teams/11143/de/)\n"

+ 1 - 1
packages/ckeditor5-core/lang/translations/el.po

@@ -1,4 +1,4 @@
-# Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+# Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 msgid ""
 msgid ""
 msgstr ""
 msgstr ""
 "Language-Team: Greek (https://www.transifex.com/ckeditor/teams/11143/el/)\n"
 "Language-Team: Greek (https://www.transifex.com/ckeditor/teams/11143/el/)\n"

+ 1 - 1
packages/ckeditor5-core/lang/translations/en-au.po

@@ -1,4 +1,4 @@
-# Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+# Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 msgid ""
 msgid ""
 msgstr ""
 msgstr ""
 "Language-Team: English (Australia) (https://www.transifex.com/ckeditor/teams/11143/en_AU/)\n"
 "Language-Team: English (Australia) (https://www.transifex.com/ckeditor/teams/11143/en_AU/)\n"

+ 1 - 1
packages/ckeditor5-core/lang/translations/en.po

@@ -1,4 +1,4 @@
-# Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+# Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 msgid ""
 msgid ""
 msgstr ""
 msgstr ""
 "Language: \n"
 "Language: \n"

+ 1 - 1
packages/ckeditor5-core/lang/translations/eo.po

@@ -1,4 +1,4 @@
-# Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+# Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 msgid ""
 msgid ""
 msgstr ""
 msgstr ""
 "Language-Team: Esperanto (https://www.transifex.com/ckeditor/teams/11143/eo/)\n"
 "Language-Team: Esperanto (https://www.transifex.com/ckeditor/teams/11143/eo/)\n"

+ 1 - 1
packages/ckeditor5-core/lang/translations/es.po

@@ -1,4 +1,4 @@
-# Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+# Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 msgid ""
 msgid ""
 msgstr ""
 msgstr ""
 "Language-Team: Spanish (https://www.transifex.com/ckeditor/teams/11143/es/)\n"
 "Language-Team: Spanish (https://www.transifex.com/ckeditor/teams/11143/es/)\n"

+ 1 - 1
packages/ckeditor5-core/lang/translations/et.po

@@ -1,4 +1,4 @@
-# Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+# Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 msgid ""
 msgid ""
 msgstr ""
 msgstr ""
 "Language-Team: Estonian (https://www.transifex.com/ckeditor/teams/11143/et/)\n"
 "Language-Team: Estonian (https://www.transifex.com/ckeditor/teams/11143/et/)\n"

+ 1 - 1
packages/ckeditor5-core/lang/translations/eu.po

@@ -1,4 +1,4 @@
-# Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+# Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 msgid ""
 msgid ""
 msgstr ""
 msgstr ""
 "Language-Team: Basque (https://www.transifex.com/ckeditor/teams/11143/eu/)\n"
 "Language-Team: Basque (https://www.transifex.com/ckeditor/teams/11143/eu/)\n"

+ 1 - 1
packages/ckeditor5-core/lang/translations/fa.po

@@ -1,4 +1,4 @@
-# Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+# Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 msgid ""
 msgid ""
 msgstr ""
 msgstr ""
 "Language-Team: Persian (https://www.transifex.com/ckeditor/teams/11143/fa/)\n"
 "Language-Team: Persian (https://www.transifex.com/ckeditor/teams/11143/fa/)\n"

+ 1 - 1
packages/ckeditor5-core/lang/translations/fi.po

@@ -1,4 +1,4 @@
-# Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+# Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 msgid ""
 msgid ""
 msgstr ""
 msgstr ""
 "Language-Team: Finnish (https://www.transifex.com/ckeditor/teams/11143/fi/)\n"
 "Language-Team: Finnish (https://www.transifex.com/ckeditor/teams/11143/fi/)\n"

+ 1 - 1
packages/ckeditor5-core/lang/translations/fr.po

@@ -1,4 +1,4 @@
-# Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+# Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 msgid ""
 msgid ""
 msgstr ""
 msgstr ""
 "Language-Team: French (https://www.transifex.com/ckeditor/teams/11143/fr/)\n"
 "Language-Team: French (https://www.transifex.com/ckeditor/teams/11143/fr/)\n"

+ 1 - 1
packages/ckeditor5-core/lang/translations/gl.po

@@ -1,4 +1,4 @@
-# Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+# Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 msgid ""
 msgid ""
 msgstr ""
 msgstr ""
 "Language-Team: Galician (https://www.transifex.com/ckeditor/teams/11143/gl/)\n"
 "Language-Team: Galician (https://www.transifex.com/ckeditor/teams/11143/gl/)\n"

+ 1 - 1
packages/ckeditor5-core/lang/translations/he.po

@@ -1,4 +1,4 @@
-# Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+# Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 msgid ""
 msgid ""
 msgstr ""
 msgstr ""
 "Language-Team: Hebrew (https://www.transifex.com/ckeditor/teams/11143/he/)\n"
 "Language-Team: Hebrew (https://www.transifex.com/ckeditor/teams/11143/he/)\n"

+ 1 - 1
packages/ckeditor5-core/lang/translations/hr.po

@@ -1,4 +1,4 @@
-# Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+# Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 msgid ""
 msgid ""
 msgstr ""
 msgstr ""
 "Language-Team: Croatian (https://www.transifex.com/ckeditor/teams/11143/hr/)\n"
 "Language-Team: Croatian (https://www.transifex.com/ckeditor/teams/11143/hr/)\n"

+ 1 - 1
packages/ckeditor5-core/lang/translations/hu.po

@@ -1,4 +1,4 @@
-# Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+# Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 msgid ""
 msgid ""
 msgstr ""
 msgstr ""
 "Language-Team: Hungarian (https://www.transifex.com/ckeditor/teams/11143/hu/)\n"
 "Language-Team: Hungarian (https://www.transifex.com/ckeditor/teams/11143/hu/)\n"

+ 1 - 1
packages/ckeditor5-core/lang/translations/id.po

@@ -1,4 +1,4 @@
-# Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+# Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 msgid ""
 msgid ""
 msgstr ""
 msgstr ""
 "Language-Team: Indonesian (https://www.transifex.com/ckeditor/teams/11143/id/)\n"
 "Language-Team: Indonesian (https://www.transifex.com/ckeditor/teams/11143/id/)\n"

+ 1 - 1
packages/ckeditor5-core/lang/translations/it.po

@@ -1,4 +1,4 @@
-# Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+# Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 msgid ""
 msgid ""
 msgstr ""
 msgstr ""
 "Language-Team: Italian (https://www.transifex.com/ckeditor/teams/11143/it/)\n"
 "Language-Team: Italian (https://www.transifex.com/ckeditor/teams/11143/it/)\n"

+ 1 - 1
packages/ckeditor5-core/lang/translations/ja.po

@@ -1,4 +1,4 @@
-# Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+# Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 msgid ""
 msgid ""
 msgstr ""
 msgstr ""
 "Language-Team: Japanese (https://www.transifex.com/ckeditor/teams/11143/ja/)\n"
 "Language-Team: Japanese (https://www.transifex.com/ckeditor/teams/11143/ja/)\n"

+ 1 - 1
packages/ckeditor5-core/lang/translations/km.po

@@ -1,4 +1,4 @@
-# Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+# Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 msgid ""
 msgid ""
 msgstr ""
 msgstr ""
 "Language-Team: Khmer (https://www.transifex.com/ckeditor/teams/11143/km/)\n"
 "Language-Team: Khmer (https://www.transifex.com/ckeditor/teams/11143/km/)\n"

+ 1 - 1
packages/ckeditor5-core/lang/translations/kn.po

@@ -1,4 +1,4 @@
-# Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+# Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 msgid ""
 msgid ""
 msgstr ""
 msgstr ""
 "Language-Team: Kannada (https://www.transifex.com/ckeditor/teams/11143/kn/)\n"
 "Language-Team: Kannada (https://www.transifex.com/ckeditor/teams/11143/kn/)\n"

+ 1 - 1
packages/ckeditor5-core/lang/translations/ko.po

@@ -1,4 +1,4 @@
-# Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+# Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 msgid ""
 msgid ""
 msgstr ""
 msgstr ""
 "Language-Team: Korean (https://www.transifex.com/ckeditor/teams/11143/ko/)\n"
 "Language-Team: Korean (https://www.transifex.com/ckeditor/teams/11143/ko/)\n"

+ 1 - 1
packages/ckeditor5-core/lang/translations/ku.po

@@ -1,4 +1,4 @@
-# Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+# Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 msgid ""
 msgid ""
 msgstr ""
 msgstr ""
 "Language-Team: Kurdish (https://www.transifex.com/ckeditor/teams/11143/ku/)\n"
 "Language-Team: Kurdish (https://www.transifex.com/ckeditor/teams/11143/ku/)\n"

+ 1 - 1
packages/ckeditor5-core/lang/translations/nb.po

@@ -1,4 +1,4 @@
-# Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+# Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 msgid ""
 msgid ""
 msgstr ""
 msgstr ""
 "Language-Team: Norwegian Bokmål (https://www.transifex.com/ckeditor/teams/11143/nb/)\n"
 "Language-Team: Norwegian Bokmål (https://www.transifex.com/ckeditor/teams/11143/nb/)\n"

+ 1 - 1
packages/ckeditor5-core/lang/translations/ne.po

@@ -1,4 +1,4 @@
-# Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+# Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 msgid ""
 msgid ""
 msgstr ""
 msgstr ""
 "Language-Team: Nepali (Nepal) (https://www.transifex.com/ckeditor/teams/11143/ne_NP/)\n"
 "Language-Team: Nepali (Nepal) (https://www.transifex.com/ckeditor/teams/11143/ne_NP/)\n"

+ 1 - 1
packages/ckeditor5-core/lang/translations/nl.po

@@ -1,4 +1,4 @@
-# Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+# Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 msgid ""
 msgid ""
 msgstr ""
 msgstr ""
 "Language-Team: Dutch (https://www.transifex.com/ckeditor/teams/11143/nl/)\n"
 "Language-Team: Dutch (https://www.transifex.com/ckeditor/teams/11143/nl/)\n"

+ 1 - 1
packages/ckeditor5-core/lang/translations/no.po

@@ -1,4 +1,4 @@
-# Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+# Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 msgid ""
 msgid ""
 msgstr ""
 msgstr ""
 "Language-Team: Norwegian (https://www.transifex.com/ckeditor/teams/11143/no/)\n"
 "Language-Team: Norwegian (https://www.transifex.com/ckeditor/teams/11143/no/)\n"

+ 1 - 1
packages/ckeditor5-core/lang/translations/oc.po

@@ -1,4 +1,4 @@
-# Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+# Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 msgid ""
 msgid ""
 msgstr ""
 msgstr ""
 "Language-Team: Occitan (post 1500) (https://www.transifex.com/ckeditor/teams/11143/oc/)\n"
 "Language-Team: Occitan (post 1500) (https://www.transifex.com/ckeditor/teams/11143/oc/)\n"

+ 1 - 1
packages/ckeditor5-core/lang/translations/pl.po

@@ -1,4 +1,4 @@
-# Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+# Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 msgid ""
 msgid ""
 msgstr ""
 msgstr ""
 "Language-Team: Polish (https://www.transifex.com/ckeditor/teams/11143/pl/)\n"
 "Language-Team: Polish (https://www.transifex.com/ckeditor/teams/11143/pl/)\n"

+ 1 - 1
packages/ckeditor5-core/lang/translations/pt-br.po

@@ -1,4 +1,4 @@
-# Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+# Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 msgid ""
 msgid ""
 msgstr ""
 msgstr ""
 "Language-Team: Portuguese (Brazil) (https://www.transifex.com/ckeditor/teams/11143/pt_BR/)\n"
 "Language-Team: Portuguese (Brazil) (https://www.transifex.com/ckeditor/teams/11143/pt_BR/)\n"

+ 1 - 1
packages/ckeditor5-core/lang/translations/pt.po

@@ -1,4 +1,4 @@
-# Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+# Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 msgid ""
 msgid ""
 msgstr ""
 msgstr ""
 "Language-Team: Portuguese (https://www.transifex.com/ckeditor/teams/11143/pt/)\n"
 "Language-Team: Portuguese (https://www.transifex.com/ckeditor/teams/11143/pt/)\n"

+ 1 - 1
packages/ckeditor5-core/lang/translations/ro.po

@@ -1,4 +1,4 @@
-# Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+# Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 msgid ""
 msgid ""
 msgstr ""
 msgstr ""
 "Language-Team: Romanian (https://www.transifex.com/ckeditor/teams/11143/ro/)\n"
 "Language-Team: Romanian (https://www.transifex.com/ckeditor/teams/11143/ro/)\n"

+ 1 - 1
packages/ckeditor5-core/lang/translations/ru.po

@@ -1,4 +1,4 @@
-# Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+# Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 msgid ""
 msgid ""
 msgstr ""
 msgstr ""
 "Language-Team: Russian (https://www.transifex.com/ckeditor/teams/11143/ru/)\n"
 "Language-Team: Russian (https://www.transifex.com/ckeditor/teams/11143/ru/)\n"

+ 1 - 1
packages/ckeditor5-core/lang/translations/sk.po

@@ -1,4 +1,4 @@
-# Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+# Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 msgid ""
 msgid ""
 msgstr ""
 msgstr ""
 "Language-Team: Slovak (https://www.transifex.com/ckeditor/teams/11143/sk/)\n"
 "Language-Team: Slovak (https://www.transifex.com/ckeditor/teams/11143/sk/)\n"

+ 1 - 1
packages/ckeditor5-core/lang/translations/sq.po

@@ -1,4 +1,4 @@
-# Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+# Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 msgid ""
 msgid ""
 msgstr ""
 msgstr ""
 "Language-Team: Albanian (https://www.transifex.com/ckeditor/teams/11143/sq/)\n"
 "Language-Team: Albanian (https://www.transifex.com/ckeditor/teams/11143/sq/)\n"

+ 1 - 1
packages/ckeditor5-core/lang/translations/sv.po

@@ -1,4 +1,4 @@
-# Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+# Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 msgid ""
 msgid ""
 msgstr ""
 msgstr ""
 "Language-Team: Swedish (https://www.transifex.com/ckeditor/teams/11143/sv/)\n"
 "Language-Team: Swedish (https://www.transifex.com/ckeditor/teams/11143/sv/)\n"

+ 1 - 1
packages/ckeditor5-core/lang/translations/tr.po

@@ -1,4 +1,4 @@
-# Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+# Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 msgid ""
 msgid ""
 msgstr ""
 msgstr ""
 "Language-Team: Turkish (https://www.transifex.com/ckeditor/teams/11143/tr/)\n"
 "Language-Team: Turkish (https://www.transifex.com/ckeditor/teams/11143/tr/)\n"

+ 1 - 1
packages/ckeditor5-core/lang/translations/tt.po

@@ -1,4 +1,4 @@
-# Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+# Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 msgid ""
 msgid ""
 msgstr ""
 msgstr ""
 "Language-Team: Tatar (https://www.transifex.com/ckeditor/teams/11143/tt/)\n"
 "Language-Team: Tatar (https://www.transifex.com/ckeditor/teams/11143/tt/)\n"

+ 1 - 1
packages/ckeditor5-core/lang/translations/ug.po

@@ -1,4 +1,4 @@
-# Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+# Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 msgid ""
 msgid ""
 msgstr ""
 msgstr ""
 "Language-Team: Uighur (https://www.transifex.com/ckeditor/teams/11143/ug/)\n"
 "Language-Team: Uighur (https://www.transifex.com/ckeditor/teams/11143/ug/)\n"

+ 1 - 1
packages/ckeditor5-core/lang/translations/uk.po

@@ -1,4 +1,4 @@
-# Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+# Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 msgid ""
 msgid ""
 msgstr ""
 msgstr ""
 "Language-Team: Ukrainian (https://www.transifex.com/ckeditor/teams/11143/uk/)\n"
 "Language-Team: Ukrainian (https://www.transifex.com/ckeditor/teams/11143/uk/)\n"

+ 1 - 1
packages/ckeditor5-core/lang/translations/zh-cn.po

@@ -1,4 +1,4 @@
-# Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+# Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 msgid ""
 msgid ""
 msgstr ""
 msgstr ""
 "Language-Team: Chinese (China) (https://www.transifex.com/ckeditor/teams/11143/zh_CN/)\n"
 "Language-Team: Chinese (China) (https://www.transifex.com/ckeditor/teams/11143/zh_CN/)\n"

+ 1 - 1
packages/ckeditor5-core/lang/translations/zh.po

@@ -1,4 +1,4 @@
-# Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+# Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 msgid ""
 msgid ""
 msgstr ""
 msgstr ""
 "Language-Team: Chinese (Taiwan) (https://www.transifex.com/ckeditor/teams/11143/zh_TW/)\n"
 "Language-Team: Chinese (Taiwan) (https://www.transifex.com/ckeditor/teams/11143/zh_TW/)\n"

+ 1 - 1
packages/ckeditor5-core/src/command.js

@@ -1,5 +1,5 @@
 /**
 /**
- * @license Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+ * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
  * For licensing, see LICENSE.md.
  * For licensing, see LICENSE.md.
  */
  */
 
 

+ 1 - 1
packages/ckeditor5-core/src/commandcollection.js

@@ -1,5 +1,5 @@
 /**
 /**
- * @license Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+ * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
  * For licensing, see LICENSE.md.
  * For licensing, see LICENSE.md.
  */
  */
 
 

+ 1 - 1
packages/ckeditor5-core/src/editingkeystrokehandler.js

@@ -1,5 +1,5 @@
 /**
 /**
- * @license Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+ * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
  * For licensing, see LICENSE.md.
  * For licensing, see LICENSE.md.
  */
  */
 
 

+ 1 - 1
packages/ckeditor5-core/src/editor/editor.js

@@ -1,5 +1,5 @@
 /**
 /**
- * @license Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+ * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
  * For licensing, see LICENSE.md.
  * For licensing, see LICENSE.md.
  */
  */
 
 

+ 1 - 1
packages/ckeditor5-core/src/editor/editorconfig.jsdoc

@@ -1,5 +1,5 @@
 /**
 /**
- * @license Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+ * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
  * For licensing, see LICENSE.md.
  * For licensing, see LICENSE.md.
  */
  */
 
 

+ 1 - 1
packages/ckeditor5-core/src/editor/editorui.js

@@ -1,5 +1,5 @@
 /**
 /**
- * @license Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+ * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
  * For licensing, see LICENSE.md.
  * For licensing, see LICENSE.md.
  */
  */
 
 

+ 1 - 1
packages/ckeditor5-core/src/editor/editorwithui.jsdoc

@@ -1,5 +1,5 @@
 /**
 /**
- * @license Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+ * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
  * For licensing, see LICENSE.md.
  * For licensing, see LICENSE.md.
  */
  */
 
 

+ 1 - 1
packages/ckeditor5-core/src/editor/utils/attachtoform.js

@@ -1,5 +1,5 @@
 /**
 /**
- * @license Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+ * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
  * For licensing, see LICENSE.md.
  * For licensing, see LICENSE.md.
  */
  */
 
 

+ 1 - 1
packages/ckeditor5-core/src/editor/utils/dataapimixin.js

@@ -1,5 +1,5 @@
 /**
 /**
- * @license Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+ * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
  * For licensing, see LICENSE.md.
  * For licensing, see LICENSE.md.
  */
  */
 
 

+ 1 - 1
packages/ckeditor5-core/src/editor/utils/elementapimixin.js

@@ -1,5 +1,5 @@
 /**
 /**
- * @license Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+ * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
  * For licensing, see LICENSE.md.
  * For licensing, see LICENSE.md.
  */
  */
 
 

+ 1 - 1
packages/ckeditor5-core/src/pendingactions.js

@@ -1,5 +1,5 @@
 /**
 /**
- * @license Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+ * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
  * For licensing, see LICENSE.md.
  * For licensing, see LICENSE.md.
  */
  */
 
 

+ 1 - 1
packages/ckeditor5-core/src/plugin.js

@@ -1,5 +1,5 @@
 /**
 /**
- * @license Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+ * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
  * For licensing, see LICENSE.md.
  * For licensing, see LICENSE.md.
  */
  */
 
 

+ 1 - 1
packages/ckeditor5-core/src/plugincollection.js

@@ -1,5 +1,5 @@
 /**
 /**
- * @license Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+ * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
  * For licensing, see LICENSE.md.
  * For licensing, see LICENSE.md.
  */
  */
 
 

+ 1 - 1
packages/ckeditor5-core/tests/_utils-tests/articlepluginset.js

@@ -1,5 +1,5 @@
 /**
 /**
- * @license Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+ * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
  * For licensing, see LICENSE.md.
  * For licensing, see LICENSE.md.
  */
  */
 
 

+ 1 - 1
packages/ckeditor5-core/tests/_utils-tests/classictesteditor.js

@@ -1,5 +1,5 @@
 /**
 /**
- * @license Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+ * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
  * For licensing, see LICENSE.md.
  * For licensing, see LICENSE.md.
  */
  */
 
 

+ 1 - 1
packages/ckeditor5-core/tests/_utils-tests/createsinonsandbox.js

@@ -1,5 +1,5 @@
 /**
 /**
- * @license Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+ * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
  * For licensing, see LICENSE.md.
  * For licensing, see LICENSE.md.
  */
  */
 
 

+ 1 - 1
packages/ckeditor5-core/tests/_utils-tests/modeltesteditor.js

@@ -1,5 +1,5 @@
 /**
 /**
- * @license Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+ * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
  * For licensing, see LICENSE.md.
  * For licensing, see LICENSE.md.
  */
  */
 
 

+ 1 - 1
packages/ckeditor5-core/tests/_utils-tests/utils.js

@@ -1,5 +1,5 @@
 /**
 /**
- * @license Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+ * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
  * For licensing, see LICENSE.md.
  * For licensing, see LICENSE.md.
  */
  */
 
 

+ 1 - 1
packages/ckeditor5-core/tests/_utils-tests/virtualtesteditor.js

@@ -1,5 +1,5 @@
 /**
 /**
- * @license Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+ * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
  * For licensing, see LICENSE.md.
  * For licensing, see LICENSE.md.
  */
  */
 
 

+ 1 - 1
packages/ckeditor5-core/tests/_utils/articlepluginset.js

@@ -1,5 +1,5 @@
 /**
 /**
- * @license Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+ * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
  * For licensing, see LICENSE.md.
  * For licensing, see LICENSE.md.
  */
  */
 
 

+ 1 - 1
packages/ckeditor5-core/tests/_utils/classictesteditor.js

@@ -1,5 +1,5 @@
 /**
 /**
- * @license Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+ * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
  * For licensing, see LICENSE.md.
  * For licensing, see LICENSE.md.
  */
  */
 
 

+ 41 - 34
packages/ckeditor5-core/tests/_utils/memory.js

@@ -1,17 +1,19 @@
 /**
 /**
- * @license Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+ * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
  * For licensing, see LICENSE.md.
  * For licensing, see LICENSE.md.
  */
  */
 
 
 /* global window, document, setTimeout */
 /* global window, document, setTimeout */
 
 
+const TEST_RETRIES = 2;
 const TEST_TIMEOUT = 5000;
 const TEST_TIMEOUT = 5000;
 const GARBAGE_COLLECTOR_TIMEOUT = 500;
 const GARBAGE_COLLECTOR_TIMEOUT = 500;
 
 
 /**
 /**
  * Memory tests suite definition that:
  * Memory tests suite definition that:
- * - skips tests when garbage collector is not available.
- * - creates/destroys editor element (id = 'mem-editor').
+ *
+ * * skips tests when garbage collector is not available,
+ * * creates/destroys editor element (id = 'mem-editor').
  *
  *
  * This method should be used with dedicated memory usage test case functions:
  * This method should be used with dedicated memory usage test case functions:
  *
  *
@@ -19,7 +21,7 @@ const GARBAGE_COLLECTOR_TIMEOUT = 500;
  *			// Other tests.
  *			// Other tests.
  *
  *
  *			describeMemoryUsage( () => {
  *			describeMemoryUsage( () => {
- *				testMemoryUsage( 'and editor', () => {
+ *				testMemoryUsage( 'should not grow on multiple create/destroy', () => {
  *					return ClassicEditor.create( document.querySelector( '#mem-editor' ) );
  *					return ClassicEditor.create( document.querySelector( '#mem-editor' ) );
  *				} );
  *				} );
  *			} );
  *			} );
@@ -33,67 +35,72 @@ export function describeMemoryUsage( callback ) {
 
 
 		beforeEach( createEditorElement );
 		beforeEach( createEditorElement );
 
 
-		afterEach( destroyEditorElement );
+		afterEach( removeEditorElement );
 
 
 		callback();
 		callback();
 	} );
 	} );
 }
 }
 
 
 /**
 /**
- * Single test case for memory usage test. This method will handle memory usage test procedure:
- * - creating editor instance
- * - recording its memory usage (after garbage collector)
- * - create and destroy editor 10 times
- * - record memory usage after final editor destroy (after garbage collector)
- * - tests if memory grew
+ * Single test case for memory usage test. Handles the memory leak test procedure.
+ *
+ * 1. Create and destroy the editor instance to pre-fill the memory with some cacheable data.
+ * 2. Record the heap size.
+ * 3. Create and destroy the editor 5 times.
+ * 4. Record the heap size and compare with the previous result.
+ * 5. Fail when exceeded a 1MB treshold (see code comments for why 1MB).
  *
  *
  * See {@link describeMemoryUsage} function for usage details.
  * See {@link describeMemoryUsage} function for usage details.
  *
  *
  * @param {String} testName Name of a test case.
  * @param {String} testName Name of a test case.
- * @param {Function} editorCreator Callback which creates editor and returns it's `.create()` promise.
+ * @param {Function} createEditor Callback which creates editor and returns its `.create()` promise.
  */
  */
-export function testMemoryUsage( testName, editorCreator ) {
+export function testMemoryUsage( testName, createEditor ) {
 	it( testName, function() {
 	it( testName, function() {
 		this.timeout( TEST_TIMEOUT );
 		this.timeout( TEST_TIMEOUT );
 
 
-		return runTest( editorCreator );
+		// Unfortunately the tests fails from time to time so retry a failed tests.
+		this.retries( TEST_RETRIES );
+
+		return runTest( createEditor );
 	} );
 	} );
 }
 }
 
 
-// Runs a single test case. This method will properly setup memory-leak test:
-// - create editor
-// - run garbage collector
-// - record memory allocations
-// - destroy the editor
-// - create & destroy editor multiple times (9) - after each editor creation the test runner will be paused for ~200ms
-function runTest( editorCreator ) {
+// Runs a single test case.
+function runTest( createEditor ) {
 	let memoryAfterFirstStart;
 	let memoryAfterFirstStart;
 
 
-	return Promise.resolve() // Promise.resolve just to align below code.
-	// First editor creation needed to load all editor code,css into the memory (it is reported as used heap memory)
-		.then( editorCreator )
-		.then( editor => {
+	return Promise
+		.resolve()
+		// Initialize the first editor before mesuring the heap size.
+		// A cold start may allocate a bit of memory on the module-level.
+		.then( createAndDestroy )
+		.then( () => {
 			return collectMemoryStats().then( mem => {
 			return collectMemoryStats().then( mem => {
 				memoryAfterFirstStart = mem;
 				memoryAfterFirstStart = mem;
-
-				return editor;
 			} );
 			} );
 		} )
 		} )
-		.then( destroy )
-		// Run create-wait-destroy multiple times. Multiple runs to grow memory significantly even on smaller leaks.
+		// Run create&destroy multiple times. Helps scaling up the issue.
+		.then( createAndDestroy ) // #1
 		.then( createAndDestroy ) // #2
 		.then( createAndDestroy ) // #2
 		.then( createAndDestroy ) // #3
 		.then( createAndDestroy ) // #3
+		.then( createAndDestroy ) // #4
+		.then( createAndDestroy ) // #5
 		.then( collectMemoryStats )
 		.then( collectMemoryStats )
 		.then( memory => {
 		.then( memory => {
 			const memoryDifference = memory.usedJSHeapSize - memoryAfterFirstStart.usedJSHeapSize;
 			const memoryDifference = memory.usedJSHeapSize - memoryAfterFirstStart.usedJSHeapSize;
 
 
-			expect( memoryDifference, 'used heap size should not grow' ).to.be.at.most( 0 );
+			// While theoretically we should get 0KB when there's no memory leak, in reality,
+			// the results we get (when there are no leaks) vary from -500KB to 500KB (depending on which tests are executed).
+			// However, when we had memory leaks, memoryDifference was reaching 20MB,
+			// so, in order to detect significant memory leaks we can expect that the heap won't grow more than 1MB.
+			expect( memoryDifference, 'used heap size should not grow' ).to.be.at.most( 1e6 );
 		} );
 		} );
 
 
 	function createAndDestroy() {
 	function createAndDestroy() {
 		return Promise.resolve()
 		return Promise.resolve()
-			.then( editorCreator )
-			.then( destroy );
+			.then( createEditor )
+			.then( destroyEditor );
 	}
 	}
 }
 }
 
 
@@ -108,11 +115,11 @@ function createEditorElement() {
 	document.body.appendChild( editorElement );
 	document.body.appendChild( editorElement );
 }
 }
 
 
-function destroyEditorElement() {
+function removeEditorElement() {
 	document.getElementById( 'mem-editor' ).remove();
 	document.getElementById( 'mem-editor' ).remove();
 }
 }
 
 
-function destroy( editor ) {
+function destroyEditor( editor ) {
 	return editor.destroy();
 	return editor.destroy();
 }
 }
 
 

+ 1 - 1
packages/ckeditor5-core/tests/_utils/modeltesteditor.js

@@ -1,5 +1,5 @@
 /**
 /**
- * @license Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+ * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
  * For licensing, see LICENSE.md.
  * For licensing, see LICENSE.md.
  */
  */
 
 

+ 1 - 1
packages/ckeditor5-core/tests/_utils/utils.js

@@ -1,5 +1,5 @@
 /**
 /**
- * @license Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+ * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
  * For licensing, see LICENSE.md.
  * For licensing, see LICENSE.md.
  */
  */
 
 

+ 1 - 1
packages/ckeditor5-core/tests/_utils/virtualtesteditor.js

@@ -1,5 +1,5 @@
 /**
 /**
- * @license Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+ * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
  * For licensing, see LICENSE.md.
  * For licensing, see LICENSE.md.
  */
  */
 
 

+ 1 - 1
packages/ckeditor5-core/tests/command.js

@@ -1,5 +1,5 @@
 /**
 /**
- * @license Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+ * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
  * For licensing, see LICENSE.md.
  * For licensing, see LICENSE.md.
  */
  */
 
 

+ 1 - 1
packages/ckeditor5-core/tests/commandcollection.js

@@ -1,5 +1,5 @@
 /**
 /**
- * @license Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+ * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
  * For licensing, see LICENSE.md.
  * For licensing, see LICENSE.md.
  */
  */
 
 

+ 1 - 1
packages/ckeditor5-core/tests/editingkeystrokehandler.js

@@ -1,5 +1,5 @@
 /**
 /**
- * @license Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+ * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
  * For licensing, see LICENSE.md.
  * For licensing, see LICENSE.md.
  */
  */
 
 

+ 1 - 1
packages/ckeditor5-core/tests/editor/editor.js

@@ -1,5 +1,5 @@
 /**
 /**
- * @license Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+ * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
  * For licensing, see LICENSE.md.
  * For licensing, see LICENSE.md.
  */
  */
 
 

+ 1 - 1
packages/ckeditor5-core/tests/editor/editorui.js

@@ -1,5 +1,5 @@
 /**
 /**
- * @license Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+ * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
  * For licensing, see LICENSE.md.
  * For licensing, see LICENSE.md.
  */
  */
 
 

+ 1 - 1
packages/ckeditor5-core/tests/editor/utils/attachtoform.js

@@ -1,5 +1,5 @@
 /**
 /**
- * @license Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+ * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
  * For licensing, see LICENSE.md.
  * For licensing, see LICENSE.md.
  */
  */
 
 

+ 1 - 1
packages/ckeditor5-core/tests/editor/utils/dataapimixin.js

@@ -1,5 +1,5 @@
 /**
 /**
- * @license Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+ * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
  * For licensing, see LICENSE.md.
  * For licensing, see LICENSE.md.
  */
  */
 
 

+ 1 - 1
packages/ckeditor5-core/tests/editor/utils/elementapimixin.js

@@ -1,5 +1,5 @@
 /**
 /**
- * @license Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+ * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
  * For licensing, see LICENSE.md.
  * For licensing, see LICENSE.md.
  */
  */
 
 

+ 1 - 1
packages/ckeditor5-core/tests/manual/article.js

@@ -1,5 +1,5 @@
 /**
 /**
- * @license Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+ * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
  * For licensing, see LICENSE.md.
  * For licensing, see LICENSE.md.
  */
  */
 
 

+ 1 - 1
packages/ckeditor5-core/tests/manual/formsubmit.js

@@ -1,5 +1,5 @@
 /**
 /**
- * @license Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+ * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
  * For licensing, see LICENSE.md.
  * For licensing, see LICENSE.md.
  */
  */
 
 

+ 1 - 1
packages/ckeditor5-core/tests/manual/pendingactions.js

@@ -1,5 +1,5 @@
 /**
 /**
- * @license Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+ * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
  * For licensing, see LICENSE.md.
  * For licensing, see LICENSE.md.
  */
  */
 
 

+ 1 - 1
packages/ckeditor5-core/tests/manual/readonly.js

@@ -1,5 +1,5 @@
 /**
 /**
- * @license Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+ * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
  * For licensing, see LICENSE.md.
  * For licensing, see LICENSE.md.
  */
  */
 
 

+ 1 - 1
packages/ckeditor5-core/tests/manual/version-collision.js

@@ -1,5 +1,5 @@
 /**
 /**
- * @license Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+ * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
  * For licensing, see LICENSE.md.
  * For licensing, see LICENSE.md.
  */
  */
 
 

+ 1 - 1
packages/ckeditor5-core/tests/pendingactions.js

@@ -1,5 +1,5 @@
 /**
 /**
- * @license Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+ * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
  * For licensing, see LICENSE.md.
  * For licensing, see LICENSE.md.
  */
  */
 
 

+ 1 - 1
packages/ckeditor5-core/tests/plugin.js

@@ -1,5 +1,5 @@
 /**
 /**
- * @license Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+ * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
  * For licensing, see LICENSE.md.
  * For licensing, see LICENSE.md.
  */
  */
 
 

+ 1 - 1
packages/ckeditor5-core/tests/plugincollection.js

@@ -1,5 +1,5 @@
 /**
 /**
- * @license Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+ * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
  * For licensing, see LICENSE.md.
  * For licensing, see LICENSE.md.
  */
  */