mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-25 06:46:26 +00:00
9938186cab
Apparently it's possible for a stylesheet's .cssRules to be accessible, but for the individual items' .cssText not to be, in which case Firefox throws a nice security exception that kills the entire editor. Wrap all inspector of cssRules in a try-catch, and fall back to cloning the ownerNode if anything weird happens. Change-Id: I0187ad308e395e92aea587c00fd8d8eb0280822e |
||
---|---|---|
.. | ||
actions | ||
dialogs | ||
elements | ||
inspectors | ||
layouts | ||
styles | ||
tools | ||
widgets | ||
ve.ui.Action.js | ||
ve.ui.ActionFactory.js | ||
ve.ui.CommandRegistry.js | ||
ve.ui.Context.js | ||
ve.ui.Dialog.js | ||
ve.ui.DialogFactory.js | ||
ve.ui.Frame.js | ||
ve.ui.Inspector.js | ||
ve.ui.InspectorFactory.js | ||
ve.ui.js | ||
ve.ui.Layout.js | ||
ve.ui.Surface.js | ||
ve.ui.Tool.js | ||
ve.ui.Toolbar.js | ||
ve.ui.ToolFactory.js | ||
ve.ui.Trigger.js | ||
ve.ui.TriggerRegistry.js | ||
ve.ui.Widget.js | ||
ve.ui.Window.js | ||
ve.ui.WindowSet.js |