Open Bug 1420923 Opened 7 years ago Updated 2 years ago

window globals not exposed to injected script

Categories

(Remote Protocol :: Marionette, enhancement, P2)

enhancement

Tracking

(Not tracked)

People

(Reporter: ato, Unassigned)

References

(Blocks 1 open bug, )

Details

When a document exposes something in the global scope as part of the document, this variable should also be accessible to the scope of the function we wrap the injected script in: > var foo = "bar"; > // now accessible as window.foo > > function executedScript() { > return foo; > // should return window.foo > } See https://github.com/mozilla/geckodriver/issues/1067 for more details and examples.
[Mass Change 2018-01-15] Moving bugs to backlog
Priority: -- → P3
Priority: P3 → P2
Version: Version 3 → Trunk
Severity: normal → S3
Product: Testing → Remote Protocol
You need to log in before you can comment on or make changes to this bug.