Page MenuHomePhabricator

Merge not working in Wikidata with Firefox
Closed, DuplicatePublic

Description

When clicking on "Merge with" to use the merge tool on Wikidata with Firefox, nothing happens and we get this error in the web console:

Uncaught DOMException: Permission denied to access property "ownerDocument" on cross-origin object load.php:179

With debug=true:

Uncaught DOMException: Permission denied to access property "ownerDocument" on cross-origin object Element.js:301
    getDocument Element.js:301
    getDimensions Element.js:462
    getSize Window.js:216
    getSizeProperties Window.js:236
    fitLabel ProcessDialog.js:263
    emit jQuery
    setLabel LabelElement.js:171
    getSetupProcess Dialog.js:233
    proceed Process.js:62
    execute Process.js:97
    setup Window.js:621
    openWindow WindowManager.js:436


Uncaught DOMException: Permission denied to access property "ownerDocument" on cross-origin object Element.js:301
    getDocument Element.js:301
    getDimensions Element.js:462
    getSize Window.js:216
    updateWindowSize WindowManager.js:707
    updateSize Window.js:454
    setup Window.js:622
    jQuery 2

It may be linked to T254693.

Event Timeline

It's caused by the extension Google Translator https://addons.mozilla.org/fr/firefox/addon/google-translator-webextension/ though it was last updated on July 17, 2019 (not 2020).
Firefox (78.0.2) was last updated on July 9, 2020

I also note same problem while using Chrome 83.0, so it seems that it isn't a bug connected only to Firefox.

In console it returns:

Uncaught DOMException: Blocked a frame with origin "https://www.wikidata.org" from accessing a cross-origin frame.
    at Object.OO.ui.Element.static.getDocument (https://www.wikidata.org/w/load.php?lang=cs&modules=ext.citoid.wikibase.init%7Cjquery%2Coojs-ui-core%2Coojs-ui-widgets%7Cjquery.ui%7Cmw.config.values.wbSiteDetails%7CpropertySuggester.suggestions%7Cwikibase.entityPage.entityLoaded%7Cwikibase.quality.constraints.gadget%2Cicon%2Csuggestions%2Cui%7Cwikibase.tainted-ref%7Cwikibase.view.ControllerViewFactory&skin=vector&version=19323:164:64)
    at Object.OO.ui.Element.static.getDimensions (https://www.wikidata.org/w/load.php?lang=cs&modules=ext.citoid.wikibase.init%7Cjquery%2Coojs-ui-core%2Coojs-ui-widgets%7Cjquery.ui%7Cmw.config.values.wbSiteDetails%7CpropertySuggester.suggestions%7Cwikibase.entityPage.entityLoaded%7Cwikibase.quality.constraints.gadget%2Cicon%2Csuggestions%2Cui%7Cwikibase.tainted-ref%7Cwikibase.view.ControllerViewFactory&skin=vector&version=19323:166:174)
    at MergeDialog.OO.ui.Window.getSize (<anonymous>:568:519)
    at MergeDialog.OO.ui.Window.getSizeProperties (<anonymous>:568:889)
    at MergeDialog.OO.ui.ProcessDialog.fitLabel (<anonymous>:585:489)
    at OoUiLabelWidget.OO.EventEmitter.emit (<anonymous>:866:483)
    at OoUiLabelWidget.OO.ui.mixin.LabelElement.setLabel (https://www.wikidata.org/w/load.php?lang=cs&modules=ext.citoid.wikibase.init%7Cjquery%2Coojs-ui-core%2Coojs-ui-widgets%7Cjquery.ui%7Cmw.config.values.wbSiteDetails%7CpropertySuggester.suggestions%7Cwikibase.entityPage.entityLoaded%7Cwikibase.quality.constraints.gadget%2Cicon%2Csuggestions%2Cui%7Cwikibase.tainted-ref%7Cwikibase.view.ControllerViewFactory&skin=vector&version=19323:189:141)
    at MergeDialog.<anonymous> (<anonymous>:575:558)
    at <anonymous>:553:96
    at OO.ui.Process.execute (<anonymous>:553:754)