https://bugzilla.wikimedia.org/show_bug.cgi?id=52008

--- Comment #4 from John Mark Vandenberg <[email protected]> ---
When 'Kill Evil' addon exists, there are two failures to load modules, and then
an exception which halts the VE initialisation half way.

Module 'WrappedSelection' failed to load: Module 'WrappedSelection' failed to
load: No means of selecting a Range or TextRange was found
rangy-core-1.3.js:105

Module 'Position' failed to load: required module 'WrappedSelection' not
supported rangy-core-1.3.js:105

Uncaught TypeError: Object #<WrappedSelection> has no method 'refresh'
rangy-core-1.3.js:3035

WrappedSelection rangy-core-1.3.js:3035
getSelection rangy-core-1.3.js:3084
ve.ce.Surface.showSelection ve.ce.Surface.js:1325
ve.ce.Surface.onChange ve.ce.Surface.js:747
oo.EventEmitter.emit oo.js:421
ve.dm.Surface.change ve.dm.Surface.js:402
ve.dm.SurfaceFragment.select ve.dm.SurfaceFragment.js:448
ve.ui.Surface.initialize ve.ui.Surface.js:81
(anonymous function) ve.init.mw.ViewPageTarget.js:1098
proxy
load.php?debug=true&lang=en&modules=jquery%2Cmediawiki%2CSpinner%7Cjquery.t…%7Cmw.MwEmbedSupport&only=scripts&skin=vector&version=20130725T023359Z:775

in ve.ui.Surface method initialize, the following invocation should probably be
skipped if those rangy modules have failed to load.

   // By re-asserting the current selection and forcing a poll we force
selection to be something
   // reasonable - otherwise in Firefox, the initial selection is (0,0),
causing bug 42277
   this.model.getFragment().select();

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to