Comment on attachment 9085436 [details] [diff] [review] add loadTab function loadTab function: > + // set gImageElement if present > + if ("arguments" in window && window.arguments.length >= 1 && > + window.arguments.imageElement) > + gImageElement = window.arguments.imageElement; This doesn't seem to work when called from win.resetPageInfo(args) in navigator.js. The page info is reloaded but the image is not selected. Removing the if and using the same assignment as the Fx patch fixes it for me. > // set gImageElement if present > gImageElement = args && args.imageElement; Makes also more sense because args is the actual argument here already. See: https://hg.mozilla.org/mozilla-central/rev/44ff9f905317 https://hg.mozilla.org/mozilla-central/rev/0d83b7b45431 r/a+ with that fixed.
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.