Strange error and blank windows when following xhr call stacks in browser console

Users and developers helping users with generic and technical Pale Moon issues on all operating systems.

Moderator: trava90

Forum rules
This board is for technical/general usage questions and troubleshooting for the Pale Moon browser only.
Technical issues and questions not related to the Pale Moon browser should be posted in other boards!
Please keep off-topic and general discussion out of this board, thank you!
thosrtanner
Lunatic
Lunatic
Posts: 429
Joined: 2014-05-10, 18:19
Location: UK

Strange error and blank windows when following xhr call stacks in browser console

Unread post by thosrtanner » 2024-09-11, 20:13

I've been debugging a problem in an extension recently, and I've found a problem with something I think used to work.

If you go to the browser window, when you do console.log, you get the file and line number at the right hand of the window, and you can click on it and it pops up a window showing the code with the line that wrote the log message highlighted.

So far so good.

If you look at an XHR request, it has 3 tabs you can click - Headers, Response and Call Stack. Under call stack it gives function names and the file and line number. If you click on one of those, you get a blank window, and down at the bottom of the log, you get this:

Code: Select all

Error: Must supply a URL when opening view source.  
ViewSourceBrowser.jsm:185:13
	loadViewSource resource://gre/modules/ViewSourceBrowser.jsm:185:13
	onXULLoaded chrome://global/content/viewSource.js:316:12
	handleEvent chrome://global/content/viewSource.js:173:14
You can click on the lines in that call stack and see the code in question!

I think this used to work but it's been a while since I poked around looking at xhr call stacks.

Operating system: Windows 11
Browser version: 33.3.0
32-bit or 64-bit browser?: 64
Problem URL: (browser console)
Browser theme (if not default):
Installed add-ons:
Classic Password Editor
infoRSS reloaded
Restart Browser
Installed plugins: (about:plugins):
Adobe PDF: C:\Program Files\Adobe\Acrobat DC\Acrobat\Air\nppdf32.dll 24.2.20965.0
Microsoft office: C:\Program Files\Microsoft Office\root\Office16\NPSPWRAP.DLL 16.0.17425.20008
If possible, please include the output of help->troubleshooting information (as text):
Application Basics
------------------

Name: Pale Moon
Version: 33.3.0 (64-bit)
Build ID: 20240809180612
Update Channel: release
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Goanna/6.7 Firefox/102.0 PaleMoon/33.3.0
OS: Windows_NT 10.0
CPU Capabilities: SSE2 AVX AVX2
Safe Mode: false

Extensions
----------

Name: Classic Password Editor
Version: 1.1.2
Enabled: true
ID: classicpasswordeditor@daniel.dawson

Name: infoRSS Reloaded
Version: 2.3.3.0
Enabled: true
ID: inforss-reloaded@addons.palemoon.org

Name: Restart Browser
Version: 1.3.0
Enabled: true
ID: {9c03eb94-a057-42f0-84a6-679103d738bb}

Name: Cache Status
Version: 0.9.3
Enabled: false
ID: cache@status.org

Name: Classic Add-ons Archive
Version: 2.0.3
Enabled: false
ID: ca-archive@Off.JustOff

Graphics
--------

Features
Compositing: Direct3D 11
GPU Accelerated Windows: 2/2 Direct3D 11 (OMTC)
Asynchronous Pan/Zoom: none
WebGL 1 Driver WSI Info: EGL_VENDOR: Google Inc. (adapter LUID: 0000000000010ac9) EGL_VERSION: 1.4 (ANGLE 2.1.0.) EGL_EXTENSIONS: EGL_EXT_create_context_robustness EGL_ANGLE_d3d_share_handle_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_EXT_device_query 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_nv12 EGL_EXTENSIONS(nullptr): EGL_EXT_client_extensions EGL_EXT_platform_base EGL_EXT_platform_device EGL_ANGLE_platform_angle EGL_ANGLE_platform_angle_d3d EGL_ANGLE_device_creation EGL_ANGLE_device_creation_d3d11 EGL_ANGLE_experimental_present_path EGL_KHR_client_get_all_proc_addresses
WebGL 1 Driver Renderer: Google Inc. -- ANGLE (NVIDIA GeForce RTX 3080 Direct3D11 vs_5_0 ps_5_0)
WebGL 1 Driver Version: OpenGL ES 2.0 (ANGLE 2.1.0.)
WebGL 1 Driver Extensions: GL_OES_element_index_uint GL_OES_packed_depth_stencil GL_OES_get_program_binary GL_OES_rgb8_rgba8 GL_EXT_texture_format_BGRA8888 GL_EXT_read_format_bgra GL_NV_pixel_buffer_object GL_OES_mapbuffer GL_EXT_map_buffer_range GL_EXT_color_buffer_half_float GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_texture_float GL_OES_texture_float_linear GL_EXT_texture_rg GL_EXT_texture_compression_dxt1 GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_OES_compressed_ETC1_RGB8_texture GL_EXT_sRGB GL_ANGLE_depth_texture GL_OES_depth32 GL_EXT_texture_storage GL_OES_texture_npot GL_EXT_draw_buffers GL_EXT_texture_filter_anisotropic GL_EXT_occlusion_query_boolean GL_NV_fence GL_EXT_disjoint_timer_query GL_EXT_robustness GL_EXT_blend_minmax GL_ANGLE_framebuffer_blit GL_ANGLE_framebuffer_multisample GL_ANGLE_instanced_arrays GL_ANGLE_pack_reverse_row_order GL_OES_standard_derivatives GL_EXT_shader_texture_lod GL_EXT_frag_depth GL_ANGLE_texture_usage GL_ANGLE_translated_shader_source GL_EXT_discard_framebuffer GL_EXT_debug_marker GL_OES_EGL_image GL_OES_EGL_image_external GL_NV_EGL_stream_consumer_external GL_EXT_unpack_subimage GL_NV_pack_subimage GL_OES_vertex_array_object GL_KHR_debug GL_ANGLE_lossy_etc_decode GL_CHROMIUM_bind_uniform_location GL_CHROMIUM_sync_query GL_CHROMIUM_copy_texture
WebGL 1 Extensions: ANGLE_instanced_arrays EXT_blend_minmax EXT_color_buffer_half_float EXT_frag_depth EXT_shader_texture_lod EXT_texture_filter_anisotropic EXT_disjoint_timer_query MOZ_debug_get OES_element_index_uint 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_etc1 WEBGL_compressed_texture_s3tc WEBGL_debug_renderer_info WEBGL_debug_shaders WEBGL_depth_texture WEBGL_draw_buffers WEBGL_lose_context MOZ_WEBGL_lose_context MOZ_WEBGL_compressed_texture_s3tc MOZ_WEBGL_depth_texture
WebGL 2 Driver WSI Info: EGL_VENDOR: Google Inc. (adapter LUID: 0000000000010ac9) EGL_VERSION: 1.4 (ANGLE 2.1.0.) EGL_EXTENSIONS: EGL_EXT_create_context_robustness EGL_ANGLE_d3d_share_handle_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_EXT_device_query 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_nv12 EGL_EXTENSIONS(nullptr): EGL_EXT_client_extensions EGL_EXT_platform_base EGL_EXT_platform_device EGL_ANGLE_platform_angle EGL_ANGLE_platform_angle_d3d EGL_ANGLE_device_creation EGL_ANGLE_device_creation_d3d11 EGL_ANGLE_experimental_present_path EGL_KHR_client_get_all_proc_addresses
WebGL 2 Driver Renderer: Google Inc. -- ANGLE (NVIDIA GeForce RTX 3080 Direct3D11 vs_5_0 ps_5_0)
WebGL 2 Driver Version: OpenGL ES 3.0 (ANGLE 2.1.0.)
WebGL 2 Driver Extensions: GL_OES_element_index_uint GL_OES_packed_depth_stencil GL_OES_get_program_binary GL_OES_rgb8_rgba8 GL_EXT_texture_format_BGRA8888 GL_EXT_read_format_bgra GL_NV_pixel_buffer_object GL_OES_mapbuffer GL_EXT_map_buffer_range GL_EXT_color_buffer_half_float GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_texture_float GL_OES_texture_float_linear GL_EXT_texture_rg GL_EXT_texture_compression_dxt1 GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_OES_compressed_ETC1_RGB8_texture GL_EXT_sRGB GL_ANGLE_depth_texture GL_OES_depth32 GL_EXT_texture_storage GL_OES_texture_npot GL_EXT_draw_buffers GL_EXT_texture_filter_anisotropic GL_EXT_occlusion_query_boolean GL_NV_fence GL_EXT_disjoint_timer_query GL_EXT_robustness GL_EXT_blend_minmax GL_ANGLE_framebuffer_blit GL_ANGLE_framebuffer_multisample GL_ANGLE_instanced_arrays GL_ANGLE_pack_reverse_row_order GL_OES_standard_derivatives GL_EXT_shader_texture_lod GL_EXT_frag_depth GL_ANGLE_texture_usage GL_ANGLE_translated_shader_source GL_EXT_discard_framebuffer GL_EXT_debug_marker GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_EGL_image_external_essl3 GL_NV_EGL_stream_consumer_external GL_EXT_unpack_subimage GL_NV_pack_subimage GL_EXT_color_buffer_float GL_OES_vertex_array_object GL_KHR_debug GL_ANGLE_lossy_etc_decode GL_CHROMIUM_bind_uniform_location GL_CHROMIUM_sync_query GL_CHROMIUM_copy_texture GL_EXT_texture_norm16
WebGL 2 Extensions: EXT_color_buffer_float EXT_texture_filter_anisotropic EXT_disjoint_timer_query MOZ_debug_get OES_texture_float_linear WEBGL_compressed_texture_etc WEBGL_compressed_texture_etc1 WEBGL_compressed_texture_s3tc WEBGL_debug_renderer_info WEBGL_debug_shaders WEBGL_lose_context MOZ_WEBGL_lose_context MOZ_WEBGL_compressed_texture_s3tc
Hardware H264 Decoding: Yes; Using D3D11 API
Audio Backend: wasapi
Direct2D: true
DirectWrite: true (10.0.22621.4036)
GPU #1
Active: Yes
Description: NVIDIA GeForce RTX 3080
Vendor ID: 0x10de
Device ID: 0x2216
Driver Version: 31.0.15.5176
Driver Date: 3-1-2024
Drivers: C:\Windows\System32\DriverStore\FileRepository\nvaki.inf_amd64_dff7a56ea5c10e78\nvldumdx.dll,C:\Windows\System32\DriverStore\FileRepository\nvaki.inf_amd64_dff7a56ea5c10e78\nvldumdx.dll,C:\Windows\System32\DriverStore\FileRepository\nvaki.inf_amd64_dff7a56ea5c10e78\nvldumdx.dll,C:\Windows\System32\DriverStore\FileRepository\nvaki.inf_amd64_dff7a56ea5c10e78\nvldumdx.dll C:\Windows\System32\DriverStore\FileRepository\nvaki.inf_amd64_dff7a56ea5c10e78\nvldumd.dll,C:\Windows\System32\DriverStore\FileRepository\nvaki.inf_amd64_dff7a56ea5c10e78\nvldumd.dll,C:\Windows\System32\DriverStore\FileRepository\nvaki.inf_amd64_dff7a56ea5c10e78\nvldumd.dll,C:\Windows\System32\DriverStore\FileRepository\nvaki.inf_amd64_dff7a56ea5c10e78\nvldumd.dll
Subsys ID: 00000000
RAM: 10240

Diagnostics
AzureCanvasAccelerated: 0
AzureCanvasBackend: direct2d 1.1
AzureContentBackend: direct2d 1.1
AzureFallbackCanvasBackend: cairo





Important Modified Preferences
------------------------------

accessibility.typeaheadfind.flashBar: 0
browser.cache.disk.capacity: 358400
browser.cache.disk.smart_size.first_run: false
browser.cache.disk.smart_size.use_old_max: false
browser.download.importedFromSqlite: true
browser.places.smartBookmarksVersion: 4
browser.startup.homepage: about:blank
browser.startup.homepage_override.buildID: 20240809180612
browser.startup.homepage_override.mstone: 6.7.0
extensions.lastAppVersion: 33.3.0
font.internaluseonly.changed: false
general.useragent.updates.lastupdated: 1726080337304
gfx.crash-guard.d3d11layers.appVersion: 33.3.0
gfx.crash-guard.d3d11layers.deviceID: 0x2216
gfx.crash-guard.d3d11layers.driverVersion: 31.0.15.5176
gfx.crash-guard.d3d11layers.feature-d2d: true
gfx.crash-guard.d3d11layers.feature-d3d11: true
gfx.crash-guard.status.d3d11layers: 2
gfx.crash-guard.status.d3d11video: 2
media.gmp.storage.version.observed: 1
media.hardware-video-decoding.failed: false
network.cookie.prefsMigrated: true
places.database.lastMaintenance: 1725898810
places.history.expiration.transient_current_max_pages: 122334
privacy.cpd.cache: false
privacy.cpd.cookies: false
privacy.cpd.formdata: false
privacy.cpd.offlineApps: true
privacy.cpd.sessions: false
privacy.sanitize.migrateFx3Prefs: true
privacy.sanitize.timeSpan: 0
services.sync.declinedEngines:
services.sync.engine.inforss: true
storage.vacuum.last.index: 1
storage.vacuum.last.places.sqlite: 1724965565
ui.osk.debug.keyboardDisplayReason: IKPOS: Touch screen not found.

Important Locked Preferences
----------------------------

Places Database
---------------

JavaScript
----------

Incremental GC: true

Accessibility
-------------

Activated: false
Prevent Accessibility: 1

Library Versions
----------------

NSPR
Expected minimum version: 4.35
Version in use: 4.35

NSS
Expected minimum version: 3.90.4
Version in use: 3.90.4

NSSSMIME
Expected minimum version: 3.90.4
Version in use: 3.90.4

NSSSSL
Expected minimum version: 3.90.4
Version in use: 3.90.4

NSSUTIL
Expected minimum version: 3.90.4
Version in use: 3.90.4