Open Bug 1744242 Opened 4 years ago Updated 2 years ago

3rd party iframe with _blank links do not open in current tab (browser.link.open_newwindow is set to 1)

Categories

(Core :: DOM: Navigation, defect, P3)

Firefox 94
defect

Tracking

()

Tracking Status
firefox-esr91 --- disabled
firefox95 --- fix-optional
firefox96 --- fix-optional
firefox97 --- affected

People

(Reporter: tjlahton, Unassigned)

Details

(Whiteboard: [fission][domcore-bugbash-triaged])

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:94.0) Gecko/20100101 Firefox/94.0

Steps to reproduce:

  1. Install firefox portable
  2. start with a fresh profile
  3. change setting browser.link.open_newwindow to 1
  4. Open page https://hazor.iki.fi/temp/iframe-bug/
  5. try "Watch on Youtube" -link on embedded youtube-video
  6. youtube video opens in the same tab
  7. restart Firefox
  8. try again the same link on the previous page. Youtube video tries to open the link inside the frame and not in the same tab
  9. Same happens to other links on a 3rd party iframe. 1st party iframe (testlink) with links works fine

If I start firefox in troubleshooting mode everything works fine.

I have experienced this bug now for a few weeks. First I thought it was a problem with my addons, but now I managed to reproduce it without installing any addons.

I already thought that I had fixed this problem with a clean profile which worked for a few days, but then it suddenly broke again. I happened to install web developer toolbar just before this bug reappeared. Disabling all addons does not help.

Application Basics

Name: Firefox
Version: 94.0.2
Build ID: 20211119140621
Distribution ID:
Update Channel: release
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:94.0) Gecko/20100101 Firefox/94.0
OS: Windows_NT 10.0 18363
Launcher Process: Enabled
Multiprocess Windows: 1/1
Fission Windows: 1/1 Enabled by phased rollout
Remote Processes: 0
Enterprise Policies: Inactive
Google Location Service Key: Found
Google Safebrowsing Key: Found
Mozilla Location Service Key: Found
Safe Mode: false

Crash Reports for the Last 3 Days

Firefox Features

Name: DoH Roll-Out
Version: 2.0.0
ID: doh-rollout@mozilla.org

Name: Firefox Screenshots
Version: 39.0.1
ID: screenshots@mozilla.org

Name: Form Autofill
Version: 1.0.1
ID: formautofill@mozilla.org

Name: Picture-In-Picture
Version: 1.0.0
ID: pictureinpicture@mozilla.org

Name: Proxy Failover
Version: 1.0.2
ID: proxy-failover@mozilla.com

Name: Web Compatibility Interventions
Version: 27.1.0
ID: webcompat@mozilla.org

Name: WebCompat Reporter
Version: 1.4.2
ID: webcompat-reporter@mozilla.org

Remote Features

bug-1690367-rollout-moving-webrtc-networking-functionality-into-i-release-87-100: active
bug-1712189-rollout-keep-firefox-up-to-date-even-when-it-is-not-ru-release-90-94: active
bug-1732206-rollout-fission-release-rollout-release-94-95: active

Remote Processes

Add-ons

Name: Amazon.com
Type: extension
Version: 1.3
Enabled: true
ID: amazondotcom@search.mozilla.org

Name: Bing
Type: extension
Version: 1.3
Enabled: true
ID: bing@search.mozilla.org

Name: DuckDuckGo
Type: extension
Version: 1.1
Enabled: true
ID: ddg@search.mozilla.org

Name: Google
Type: extension
Version: 1.1
Enabled: true
ID: google@search.mozilla.org

Name: Wikipedia (en)
Type: extension
Version: 1.1
Enabled: true
ID: wikipedia@search.mozilla.org

Security Software

Type: Windows Defender Antivirus

Type:

Type: Windows Firewall

Graphics

Features
Compositing: WebRender (Software)
Asynchronous Pan/Zoom: wheel input enabled; scrollbar drag enabled; keyboard enabled; autoscroll enabled; smooth pinch-zoom enabled
WebGL 1 Driver WSI Info: EGL_VENDOR: Google Inc. (Unknown) EGL_VERSION: 1.5 (ANGLE 2.1.15727 git hash: 23851a53779d) EGL_EXTENSIONS: EGL_EXT_create_context_robustness EGL_ANGLE_d3d_share_handle_client_buffer EGL_ANGLE_d3d_texture_client_buffer EGL_ANGLE_surface_d3d_texture_2d_share_handle EGL_ANGLE_query_surface_pointer EGL_ANGLE_window_fixed_size EGL_ANGLE_keyed_mutex EGL_ANGLE_surface_orientation EGL_ANGLE_direct_composition EGL_NV_post_sub_buffer EGL_KHR_create_context EGL_KHR_image EGL_KHR_image_base EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_KHR_get_all_proc_addresses EGL_KHR_stream EGL_KHR_stream_consumer_gltexture EGL_NV_stream_consumer_gltexture_yuv EGL_ANGLE_flexible_surface_compatibility EGL_ANGLE_stream_producer_d3d_texture EGL_ANGLE_create_context_webgl_compatibility EGL_CHROMIUM_create_context_bind_generates_resource EGL_CHROMIUM_sync_control EGL_EXT_pixel_format_float EGL_KHR_surfaceless_context EGL_ANGLE_display_texture_share_group EGL_ANGLE_display_semaphore_share_group EGL_ANGLE_create_context_client_arrays EGL_ANGLE_program_cache_control EGL_ANGLE_robust_resource_initialization EGL_ANGLE_create_context_extensions_enabled EGL_ANDROID_blob_cache EGL_ANDROID_recordable EGL_ANGLE_image_d3d11_texture EGL_ANGLE_create_context_backwards_compatible EGL_KHR_create_context_no_error EGL_KHR_reusable_sync EGL_EXTENSIONS(nullptr): EGL_EXT_client_extensions EGL_EXT_device_query EGL_EXT_platform_base EGL_EXT_platform_device EGL_ANGLE_platform_angle EGL_ANGLE_platform_angle_d3d EGL_ANGLE_platform_angle_d3d11on12 EGL_ANGLE_device_creation EGL_ANGLE_device_creation_d3d11 EGL_ANGLE_experimental_present_path EGL_KHR_client_get_all_proc_addresses EGL_KHR_debug EGL_ANGLE_explicit_context EGL_ANGLE_feature_control IsWebglOutOfProcessEnabled: 0
WebGL 1 Driver Renderer: Google Inc. (Unknown) -- ANGLE (Unknown, Microsoft Basic Render Driver Direct3D11 vs_5_0 ps_5_0, D3D11-10.0.18362.1049)
WebGL 1 Driver Version: OpenGL ES 2.0.0 (ANGLE 2.1.15727 git hash: 23851a53779d)
WebGL 1 Driver Extensions: GL_ANGLE_base_vertex_base_instance GL_ANGLE_client_arrays GL_ANGLE_depth_texture GL_ANGLE_explicit_context GL_ANGLE_explicit_context_gles1 GL_ANGLE_framebuffer_blit GL_ANGLE_framebuffer_multisample GL_ANGLE_get_serialized_context_string GL_ANGLE_get_tex_level_parameter GL_ANGLE_instanced_arrays GL_ANGLE_lossy_etc_decode GL_ANGLE_memory_size GL_ANGLE_multi_draw GL_ANGLE_multiview_multisample GL_ANGLE_pack_reverse_row_order GL_ANGLE_program_cache_control GL_ANGLE_provoking_vertex GL_ANGLE_request_extension GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_ANGLE_texture_usage GL_ANGLE_translated_shader_source GL_CHROMIUM_bind_generates_resource GL_CHROMIUM_bind_uniform_location GL_CHROMIUM_color_buffer_float_rgb GL_CHROMIUM_color_buffer_float_rgba GL_CHROMIUM_copy_compressed_texture GL_CHROMIUM_copy_texture GL_CHROMIUM_lose_context GL_CHROMIUM_sync_query GL_EXT_EGL_image_external_wrap_modes GL_EXT_blend_func_extended GL_EXT_blend_minmax GL_EXT_color_buffer_half_float GL_EXT_debug_label GL_EXT_debug_marker GL_EXT_discard_framebuffer GL_EXT_disjoint_timer_query GL_EXT_draw_buffers GL_EXT_draw_elements_base_vertex GL_EXT_float_blend GL_EXT_frag_depth GL_EXT_instanced_arrays GL_EXT_map_buffer_range GL_EXT_multisampled_render_to_texture GL_EXT_occlusion_query_boolean GL_EXT_read_format_bgra GL_EXT_robustness GL_EXT_sRGB GL_EXT_shader_texture_lod GL_EXT_texture_compression_bptc GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_rgtc GL_EXT_texture_compression_s3tc_srgb GL_EXT_texture_filter_anisotropic GL_EXT_texture_format_BGRA8888 GL_EXT_texture_rg GL_EXT_texture_storage GL_EXT_unpack_subimage GL_KHR_debug GL_KHR_no_error GL_KHR_parallel_shader_compile GL_KHR_robust_buffer_access_behavior GL_NV_EGL_stream_consumer_external GL_NV_fence GL_NV_pack_subimage GL_NV_pixel_buffer_object GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_compressed_EAC_R11_signed_texture GL_OES_compressed_EAC_R11_unsigned_texture GL_OES_compressed_EAC_RG11_signed_texture GL_OES_compressed_EAC_RG11_unsigned_texture GL_OES_compressed_ETC2_RGB8_texture GL_OES_compressed_ETC2_RGBA8_texture GL_OES_compressed_ETC2_punchthroughA_RGBA8_texture GL_OES_compressed_ETC2_punchthroughA_sRGB8_alpha_texture GL_OES_compressed_ETC2_sRGB8_alpha8_texture GL_OES_compressed_ETC2_sRGB8_texture GL_OES_depth24 GL_OES_depth32 GL_OES_draw_elements_base_vertex GL_OES_element_index_uint GL_OES_fbo_render_mipmap GL_OES_get_program_binary GL_OES_mapbuffer GL_OES_packed_depth_stencil GL_OES_rgb8_rgba8 GL_OES_standard_derivatives GL_OES_surfaceless_context GL_OES_texture_border_clamp GL_OES_texture_float GL_OES_texture_float_linear GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_texture_npot GL_OES_texture_stencil8 GL_OES_vertex_array_object GL_WEBGL_video_texture
WebGL 1 Extensions: ANGLE_instanced_arrays EXT_blend_minmax EXT_color_buffer_half_float EXT_float_blend EXT_frag_depth EXT_shader_texture_lod EXT_sRGB EXT_texture_compression_bptc EXT_texture_compression_rgtc EXT_texture_filter_anisotropic MOZ_debug OES_element_index_uint OES_fbo_render_mipmap OES_standard_derivatives OES_texture_float OES_texture_float_linear OES_texture_half_float OES_texture_half_float_linear OES_vertex_array_object WEBGL_color_buffer_float WEBGL_compressed_texture_s3tc WEBGL_compressed_texture_s3tc_srgb WEBGL_debug_renderer_info WEBGL_debug_shaders WEBGL_depth_texture WEBGL_draw_buffers WEBGL_lose_context
WebGL 2 Driver WSI Info: -
WebGL 2 Driver Renderer: WebGL creation failed: * AllowWebgl2:false restricts context creation on this system. ()
WebGL 2 Driver Version: -
WebGL 2 Driver Extensions: -
WebGL 2 Extensions: -
Direct2D: Blocked for your graphics card because of unresolved driver issues.
Target Frame Rate: 32
DirectWrite: true (10.0.18362.1854)
GPU #1
Active: Yes
Description: Microsoft Remote Display Adapter
Vendor ID: 0x000d
Device ID: 0x000d
Drivers: Unknown
Subsys ID: 0000000d
RAM: 0
GPU #2
Active: No
Description: AMD Radeon RX 550
Vendor ID: 0x1002
Device ID: 0x699f
Driver Version: 26.20.11002.12
Driver Date: 4-9-2019
Drivers: aticfx64 aticfx64 aticfx64 amdxc64 aticfx32 aticfx32 aticfx32 amdxc32 atiumd64 atidxx64 atidxx64 atiumdag atidxx32 atidxx32 atiumdva atiumd6a
Subsys ID: 17121028
RAM: 4096
Diagnostics
AzureCanvasBackend: skia
AzureContentBackend: skia
AzureFallbackCanvasBackend: skia
CMSOutputProfile: AAAMSExpbm8CEAAAbW50clJHQiBYWVogB84AAgAJAAYAMQAAYWNzcE1TRlQAAAAASUVDIHNSR0IAAAAAAAAAAAAAAAAAAPbWAAEAAAAA0y1IUCAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAARY3BydAAAAVAAAAAzZGVzYwAAAYQAAABsd3RwdAAAAfAAAAAUYmtwdAAAAgQAAAAUclhZWgAAAhgAAAAUZ1hZWgAAAiwAAAAUYlhZWgAAAkAAAAAUZG1uZAAAAlQAAABwZG1kZAAAAsQAAACIdnVlZAAAA0wAAACGdmlldwAAA9QAAAAkbHVtaQAAA/gAAAAUbWVhcwAABAwAAAAkdGVjaAAABDAAAAAMclRSQwAABDwAAAgMZ1RSQwAABDwAAAgMYlRSQwAABDwAAAgMdGV4dAAAAABDb3B5cmlnaHQgKGMpIDE5OTggSGV3bGV0dC1QYWNrYXJkIENvbXBhbnkAAGRlc2MAAAAAAAAAEnNSR0IgSUVDNjE5NjYtMi4xAAAAAAAAAAAAAAASc1JHQiBJRUM2MTk2Ni0yLjEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFhZWiAAAAAAAADzUQABAAAAARbMWFlaIAAAAAAAAAAAAAAAAAAAAABYWVogAAAAAAAAb6IAADj1AAADkFhZWiAAAAAAAABimQAAt4UAABjaWFlaIAAAAAAAACSgAAAPhAAAts9kZXNjAAAAAAAAABZJRUMgaHR0cDovL3d3dy5pZWMuY2gAAAAAAAAAAAAAABZJRUMgaHR0cDovL3d3dy5pZWMuY2gAAAAAAAAAAA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nzp/Q09ML1UPXe9m32+/eK+Bn4qPk4+cf6V/rn+3f8B/yY/Sn9uv5L/tz/bf//
Display0: 3840x2160@32Hz : Microsoft Remote Display Adapter
DisplayCount: 1
HardwareStretching: both=0 window-only=0 full-screen-only=0 none=1 error=0
ClearType Parameters: Gamma: 1.8 Pixel Structure: RGB ClearType Level: 100 Enhanced Contrast: 50
Decision Log
HW_COMPOSITING:
available by default
D3D11_COMPOSITING:
available by default
Blocklisted; failure code BLOCKLIST_FEATURE_FAILURE_UNKNOWN_DEVICE_VENDOR
DIRECT2D:
unavailable by default: Direct2D requires Direct3D 11 compositing
D3D11_HW_ANGLE:
unavailable by default: D3D11 compositing is disabled
disabled by env: D3D11 compositing is disabled
GPU_PROCESS:
available by default
Blocklisted; failure code BLOCKLIST_FEATURE_FAILURE_PARSE_DRIVER
WEBRENDER:
available by default
disabled by env: Not qualified
WEBRENDER_QUALIFIED:
available by default
blocklisted by env: No qualified hardware
WEBRENDER_COMPOSITOR:
available by default
blocklisted by env: Blocklisted by gfxInfo
unavailable by runtime: No DirectComposition usage
WEBRENDER_PARTIAL:
available by default
WEBRENDER_SHADER_CACHE:
available by default
blocklisted by env: Blocklisted by gfxInfo
unavailable by runtime: WebRender disabled
WEBRENDER_OPTIMIZED_SHADERS:
available by default
blocklisted by env: Blocklisted by gfxInfo
unavailable by runtime: WebRender disabled
WEBRENDER_ANGLE:
available by default
unavailable-no-angle by runtime: ANGLE is disabled
WEBRENDER_DCOMP_PRESENT:
available by default
unavailable by runtime: Requires ANGLE
WEBRENDER_SOFTWARE:
available by default
WEBGPU:
disabled by default: Disabled by default
blocked by runtime: WebGPU can only be enabled in nightly

Media

Audio Backend: wasapi
Max Channels: 2
Preferred Sample Rate: 44100
Roundtrip latency (standard deviation): 163.77ms (11.99)
Output Devices
Name: Group
Remote Audio:
Input Devices
Name: Group
Remote Audio:

Enumerate database

Environment Variables

MOZ_APP_RESTART: 1
MOZ_CRASHREPORTER_DATA_DIRECTORY: C:\Users\tjlahton\AppData\Roaming\Mozilla\Firefox\Crash Reports
MOZ_CRASHREPORTER_EVENTS_DIRECTORY: C:\MyTemp\testiportable\FirefoxPortable\Data\profile\crashes\events
MOZ_CRASHREPORTER_PING_DIRECTORY: C:\Users\tjlahton\AppData\Roaming\Mozilla\Firefox\Pending Pings
MOZ_CRASHREPORTER_RESTART_ARG_0: C:\MyTemp\testiportable\FirefoxPortable\App\Firefox64\firefox.exe
MOZ_CRASHREPORTER_RESTART_ARG_2: C:\MyTemp\testiportable\FirefoxPortable\Data\profile
MOZ_CRASHREPORTER_STRINGS_OVERRIDE: C:\MyTemp\testiportable\FirefoxPortable\App\Firefox64\browser\crashreporter-override.ini
MOZ_PLUGIN_PATH: C:\MyTemp\testiportable\FirefoxPortable\Data\plugins
MOZ_SKELETON_UI_RESTARTING: 1

Experimental Features

about:home startup cache (browser.startup.homepage.abouthome_cache.enabled): false
Cookies: SameSite=Lax by default (network.cookie.sameSite.laxByDefault): false
Cookies: SameSite=None requires secure attribute (network.cookie.sameSite.noneRequiresSecure): false
Cookies: Schemeful SameSite (network.cookie.sameSite.schemeful): false
CSS: Cascade Layers (layout.css.cascade-layers.enabled): false
CSS: Constructable Stylesheets (layout.css.constructable-stylesheets.enabled): false
CSS: Masonry Layout (layout.css.grid-template-masonry-value.enabled): false
Developer Tools: Compatibility Panel (devtools.inspector.compatibility.enabled): false
Developer Tools: Execution Context Selector (devtools.webconsole.input.context): false
Developer Tools: Service Worker debugging (devtools.debugger.features.windowless-service-workers): false
Fission (Site Isolation) (fission.autostart): true
Media: JPEG XL (image.jxl.enabled): false
Multiple Picture-in-Picture Support (media.videocontrols.picture-in-picture.allow-multiple): true
Address Bar: show results during IME composition (browser.urlbar.keepPanelOpenDuringImeComposition): false
Web API: inputmode (dom.forms.inputmode): false
Web API: WebGPU (dom.webgpu.enabled): false
WebRTC Global Mute Toggles (privacy.webrtc.globalMuteToggles): false
Win32k Lockdown (security.sandbox.content.win32k-disable): false

Remote Experiments

Impact study for Total Cookie Protection (TCP): noop

Important Modified Preferences

browser.cache.disk.enable: false
browser.contentblocking.category: standard
browser.download.useDownloadDir: false
browser.link.open_newwindow: 1
browser.places.importBookmarksHTML: false
browser.search.region: FI
browser.sessionstore.upgradeBackup.latestBuildID: 20211119140621
browser.startup.homepage_override.buildID: 20211119140621
browser.startup.homepage_override.mstone: 94.0.2
browser.urlbar.placeholderName: Google
browser.urlbar.placeholderName.private: Google
browser.urlbar.quicksuggest.migrationVersion: 1
browser.urlbar.quicksuggest.scenario: history
doh-rollout.balrog-migration-done: true
doh-rollout.doneFirstRun: true
doh-rollout.home-region: FI
dom.push.userAgentID: 45f2bc88be0d44be9470f899e51951db
extensions.lastAppVersion: 94.0.2
gfx.crash-guard.d3d11layers.appVersion: 94.0.2
gfx.crash-guard.d3d11layers.deviceID: 0x000d
gfx.crash-guard.d3d11layers.feature-d2d: false
gfx.crash-guard.d3d11layers.feature-d3d11: false
gfx.crash-guard.status.d3d11layers: 2
media.gmp-gmpopenh264.abi: x86_64-msvc-x64
media.gmp-gmpopenh264.lastUpdate: 1638535940
media.gmp-gmpopenh264.version: 1.8.1.1
media.gmp-manager.buildID: 20211119140621
media.gmp-manager.lastCheck: 1638535939
media.gmp-widevinecdm.abi: x86_64-msvc-x64
media.gmp-widevinecdm.lastUpdate: 1638535940
media.gmp-widevinecdm.version: 4.10.2391.0
media.gmp.storage.version.observed: 1
media.hardware-video-decoding.failed: false
network.cookie.prefsMigrated: true
network.trr.blocklist_cleanup_done: true
privacy.sanitize.pending: [{"id":"newtab-container","itemsToClear":[],"options":{}}]
security.remote_settings.crlite_filters.checked: 1638535939
security.remote_settings.intermediates.checked: 1638535939
security.sandbox.content.tempDirSuffix: {778569fc-0c16-4f41-9b3a-24bd7a6dd1ba}
ui.osk.debug.keyboardDisplayReason: IKPOS: Touch screen not found.

Important Locked Preferences

fission.autostart.session: true

Places Database

Accessibility

Activated: false
Prevent Accessibility: 0
Accessible Handler Used: false
Accessibility Instantiator:

Library Versions

NSPR
Expected minimum version: 4.32
Version in use: 4.32

NSS
Expected minimum version: 3.71
Version in use: 3.71

NSSSMIME
Expected minimum version: 3.71
Version in use: 3.71

NSSSSL
Expected minimum version: 3.71
Version in use: 3.71

NSSUTIL
Expected minimum version: 3.71
Version in use: 3.71

Sandbox

Content Process Sandbox Level: 6
Effective Content Process Sandbox Level: 6
Win32k Lockdown State for Content Process: Win32k Lockdown disabled -- Preference not set

Startup Cache

Disk Cache Path: C:\MyTemp\testiportable\FirefoxPortable\Data\profile\startupCache\startupCache.8.little
Ignore Disk Cache: false
Found Disk Cache on Init: false
Wrote to Disk Cache: false

Internationalization & Localization

Application Settings
Requested Locales: ["en-US"]
Available Locales: ["en-US"]
App Locales: ["en-US"]
Regional Preferences: ["en-US"]
Default Locale: "en-US"
Operating System
System Locales: ["fi-FI"]
Regional Preferences: ["fi-FI"]

Remote Debugging (Chromium Protocol)

Accepting Connections: false
URL:

Printing

Modified print settings

Actual results:

browser tries to open a link inside iframe even when the link has target="_blank" and you have browser.link.open_newwindow set to 1

Expected results:

link should have opened in the current tab

The Bugbug bot thinks this bug should belong to the 'WebExtensions::Untriaged' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.

Product: Firefox → WebExtensions

Hello,

As the issue does not appear to occur due to any installed add-ons (as you mentioned), it seems the issue is with the browser itself. I’ll change the product and component to reflect this. Thank you !

Component: Untriaged → General
Product: WebExtensions → Firefox
Component: General → DOM: Navigation
Product: Firefox → Core

This appears to be caused by the Fission rollout. I believe that it is caused due to an oversight with this particular pref configuration.

It appears that we incorrectly redirect the load to the current BrowserChild's docshell when loading with OPEN_CURRENTWINDOW in https://searchfox.org/mozilla-central/rev/6a7c3a1eda4ebb8f9c13779dbbf5eff15bacf8ed/dom/ipc/BrowserChild.cpp#833-846, even when this BrowserChild corresponds to a remote subframe.

Fortunately, the fix for this should be fairly simple. We can change the code here (https://searchfox.org/mozilla-central/rev/6a7c3a1eda4ebb8f9c13779dbbf5eff15bacf8ed/dom/ipc/BrowserChild.cpp#843) to call GetBrowsingContext()->Top() to always return the toplevel document rather than returning the current frame.

Severity: -- → S3
Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P3
Whiteboard: [fission]

Looks like the links in iframes now work as they should in Firefox 96.0.2. However one bug remains: using CTRL+click does not open links in a new background tab but in the current tab.

(In reply to Tommi Lahtonen from comment #4)

Looks like the links in iframes now work as they should in Firefox 96.0.2.

Odd, I can still reproduce the bug as described in comment 0, and the code referenced in comment #3 hasn't changed in a material way, AFAICT.

However one bug remains: using CTRL+click does not open links in a new background tab but in the current tab.

But I cannot reproduce this (admittedly with cmd-click on macOS). Are you seeing this with the same steps as in comment 0? It may be worth filing a separate bug.

Flags: needinfo?(tjlahton)

Quite odd. My test page works flawlessly for me on firefox 96.0.2. Also ctrl+left click works on this page:

https://hazor.iki.fi/temp/iframe-bug/

However, when I try to do the same here:

https://www.hs.fi/

scroll down until you see text Iltasanomat on the right column of the page. After that there are several links embedded in iframe. Normal left click
works on those links fine, but ctrl+left click does not.

Flags: needinfo?(tjlahton)

(In reply to Tommi Lahtonen from comment #6)

https://www.hs.fi/

scroll down until you see text Iltasanomat on the right column of the page. After that there are several links embedded in iframe. Normal left click
works on those links fine, but ctrl+left click does not.

Thanks for the added detail. This is because the website has some javascript that calls event.preventDefault() (stopping us opening the link) and then "manually" calls window.open, passing _blank to open a new tab. This is an old bug and tracked in bug 1081542. It's not trivial to fix because the window.open call has no reference to the event that triggered it, and the associated middle-click or keyboard modifiers.

I'm still not sure why the situation from comment 0 works for you now though - if you open about:support, in the top table, what text is shown next to "Fission windows"?

Flags: needinfo?(tjlahton)

(In reply to :Gijs (he/him) from comment #7)

I'm still not sure why the situation from comment 0 works for you now though - if you open about:support, in the top table, what text is shown next to "Fission windows"?

it says: 0/1 Disabled by default

I haven't touched any fission related preferences. Now I tried to turn fission.autostart to true. After that my test page stops working :-\

Seems like I have to keep fission disabled, because this bug is very very annoying.

Flags: needinfo?(tjlahton)
Whiteboard: [fission] → [fission][domcore-bugbash-triaged]

Comment 3 is still valid.

You need to log in before you can comment on or make changes to this bug.