Custom Query (18300 matches)


Show under each result:

Results (25 - 27 of 18300)

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
Ticket Resolution Summary Owner Reporter
#18978 fixed request/util/deepCopy does not handle Date objects correctly dylans <[email protected]…> Michael Schall

When calling util.deepCopy properties of type Date do not get copied.


#18976 fixed Permission denied to access property "getComputedStyle" dylan GibboK

Bug related to

Bug is thrown on:

  • Firefox 51.0.1 (32-bit)
  • Firefox 53.0a2 (2017-02-16) (32-bit)

On Chrome 56.0.2924.87 no bug is thrown.

Instructions on how to reproduce the bug:

  • Host index.html on a domain example
  • Host app.html on a subdomain example or a completely different domain as
  • In index.html change src to point to app.html.
  • Run index.html using Firefox.
  • Click button wihtin the iframe.
  • At click dojo will use getComputedStyle() which will cause bug to appears.


  • If index.html and app.html are hosted on the same domain example error is not thrown.

Error Stack trace:

`Permission denied to access property "getComputedStyle" Stack trace: dom-style.js:51:1`

File: bower.json

    "name": "bug on fix #18871",
    "description": "Permission denied to access property \"getComputedStyle\"",
    "private": true,
    "dependencies": {
        "dijit": "1.12.1",
        "dojo": "1.12.1"
    "ignore": [

File: index.html

<!DOCTYPE html>
    <meta charset="utf-8" />
    <iframe src=""></iframe>

File: app.html

<!DOCTYPE html>

    <meta charset="UTF-8">
    <link href="dijit/themes/claro/claro.css" rel="stylesheet" />
        var dojoConfig = {
            parseOnLoad: true,
            isDebug: true,
            locale: 'en-us',
            async: true
    <script src="dojo/dojo.js"></script>
        require(['dijit/form/Button', 'dojo/dom', 'dojo/_base/fx', 'dojo/_base/kernel', 'dojo/domReady!'], function (Button, dom, fx, ke
#18973 fixed dom-style regression dylan dylan

Per two reports on the mailing list:

From Jan Misker:

I noticed a bug in dojo/dom-style in combination with Firefox (51.0.1). When I call getComputedStyle execution halts, and I get a warning

Permission denied to access property "getComputedStyle"

Note that this happens only cross-domain, so check this test-case (difficult to create one on JSFiddle): The issues seems to be resolved by not referencing window.parent but just the window (which makes sense from a same-origin perspective). I described it here as well

But I don't know whether the code references .parent for a reason?


From Nick Fenwick:

I upgraded to Dojo 1.12 from 1.10 recently and have found an exception in Internet Explorer (I'm running 11.0.9600). We embed our app in an iframe and the attempt to access the parent window object is throwing Permission Denied. This seems like a legitimate exception and since it's in core Dojo code I'm not sure of the best way forward. In dom-style.js:

getComputedStyle = function(node){

var dv = node.ownerDocument.defaultView,

w = dv.opener ? dv :;

return node.nodeType == 1 /* ELEMENT_NODE*/ ?

w.getComputedStyle(node, null) : {};


When this is executed, w is assigned to the parent window object, then the call to w.getComputedStyle() causes the Permission Denied exception.

I have put together a very simple example - it loads a simple Dojo test page from a different domain ( The attempt to getComputedStyle for the '#thediv' element crashes. If I change the dojo version to 1.11 or 1.10 there is no exception.

I can try replacing or wrapping domStyle.getComputedStyle() to avoid this behaviour but this is a workaround to what feels like a genuine bug. I've yet to dig back in Dojo history to see how/why it used to work.

Is there something I'm missing about IE that can work around this problem, or should I raise a Trac ticket?

Advice greatly appreciated

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
Note: See TracQuery for help on using queries.