Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

need to access iframe.contentDocument when they are from same domain #19123

Closed
DartBot opened this issue Jun 1, 2014 · 9 comments
Closed

need to access iframe.contentDocument when they are from same domain #19123

DartBot opened this issue Jun 1, 2014 · 9 comments
Assignees
Labels
area-core-library SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries. closed-duplicate Closed in favor of an existing report library-html type-enhancement A request for a change that isn't a bug

Comments

@DartBot
Copy link

DartBot commented Jun 1, 2014

This issue was originally filed by @rinick


now it's impossible to get iframe.contentDocument even they are from same domain.

why not just give developer that property and throw rte when it has cross-domain error?

@sethladd
Copy link
Contributor

sethladd commented Jun 2, 2014

Added Library-Html, Area-Library, Triaged labels.

@efortuna
Copy link
Contributor

efortuna commented Jun 2, 2014

What about ownerDocument?


Set owner to @efortuna.
Added NeedsInfo label.

@efortuna
Copy link
Contributor

no info for over a month. closing as assumed stale.


Added AssumedStale label.

@DartBot
Copy link
Author

DartBot commented Jul 17, 2014

This comment was originally written by @rinick


I don't need ownerDocument in my usecase.
But I think dart should be able to access any dom node that is accessible in js.

@efortuna
Copy link
Contributor

reopening to examine....


Added Triaged label.

@efortuna
Copy link
Contributor

What is your use case? Can you please be more specific?
There are two options to access any dom node: using js-interop, and using the dart:blink library (which is currently a bit unstable but should be easier to work with soon)


Added NeedsInfo label.

@DartBot
Copy link
Author

DartBot commented Aug 1, 2014

This comment was originally written by @zoechi


What is dart:blink?
DartEditor doesn't show it under the Dart SDK node.
Dart VM version: 1.6.0-edge.38801 (Thu Jul 31 14:43:47 2014) on "linux_x64"

@vsmenon
Copy link
Member

vsmenon commented Aug 1, 2014

Added Duplicate label.
Marked as being merged into #20146.

@DartBot
Copy link
Author

DartBot commented Apr 25, 2015

This comment was originally written by robe...@hahn.email


The blink library is private and thus it cannot even be imported. I think it would work when blink would be accessible.

@DartBot DartBot added Type-Enhancement library-html area-core-library SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries. closed-duplicate Closed in favor of an existing report labels Apr 25, 2015
@kevmoo kevmoo added type-enhancement A request for a change that isn't a bug and removed priority-unassigned labels Mar 1, 2016
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-core-library SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries. closed-duplicate Closed in favor of an existing report library-html type-enhancement A request for a change that isn't a bug
Projects
None yet
Development

No branches or pull requests

5 participants