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
Support OOP iframe #172
Support OOP iframe #172
Conversation
spec/integration/oopif_spec.rb
Outdated
|
||
it 'should track navigations within OOP iframes' do | ||
page.goto(server_empty_page) | ||
frame = page.wait_for_frame(predicate: -> (frame) { page.frames.index { |_frame| _frame == frame } == 1 }) do |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lint/ShadowingOuterLocalVariable: Shadowing outer local variable - frame.
spec/integration/oopif_spec.rb
Outdated
|
||
it 'should support OOP iframes becoming normal iframes again' do | ||
page.goto(server_empty_page) | ||
frame = page.wait_for_frame(predicate: -> (frame) { page.frames.index { |_frame| _frame == frame } == 1 }) do |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lint/ShadowingOuterLocalVariable: Shadowing outer local variable - frame.
spec/integration/oopif_spec.rb
Outdated
|
||
it 'should support OOP iframes getting detached' do | ||
page.goto(server_empty_page) | ||
frame = page.wait_for_frame(predicate: -> (frame) { page.frames.index { |_frame| _frame == frame } == 1 }) do |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lint/ShadowingOuterLocalVariable: Shadowing outer local variable - frame.
spec/integration/oopif_spec.rb
Outdated
|
||
it 'should keep track of a frames OOP state' do | ||
page.goto(server_empty_page) | ||
frame = page.wait_for_frame(predicate: -> (frame) { page.frames.index { |_frame| _frame == frame } == 1 }) do |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lint/ShadowingOuterLocalVariable: Shadowing outer local variable - frame.
spec/integration/oopif_spec.rb
Outdated
|
||
it 'should support evaluating in oop iframes' do | ||
page.goto(server_empty_page) | ||
frame = page.wait_for_frame(predicate: -> (frame) { page.frames.index { |_frame| _frame == frame } == 1 }) do |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lint/ShadowingOuterLocalVariable: Shadowing outer local variable - frame.
spec/integration/oopif_spec.rb
Outdated
|
||
it 'should provide access to elements' do | ||
page.goto(server_empty_page) | ||
frame = page.wait_for_frame(predicate: -> (frame) { page.frames.index { |_frame| _frame == frame } == 1 }) do |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lint/ShadowingOuterLocalVariable: Shadowing outer local variable - frame.
spec/integration/oopif_spec.rb
Outdated
end | ||
|
||
it 'should report oopif frames' do | ||
frame = page.wait_for_frame(predicate: -> (frame) { frame.url&.end_with?('/oopif.html') }) do |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lint/ShadowingOuterLocalVariable: Shadowing outer local variable - frame.
a219c6c
to
d894f63
Compare
da7e999
to
33deb65
Compare
a999d9c
to
6320878
Compare
ref: puppeteer/puppeteer#7556
refs #170