I’ve a page that is transmittex by XHR and displays well. On that content, there is a button with an onclick event that loads a page to a hidden iframe named ‘backlink’:
<img style=“border: none;” src=“images/hq_on.gif” alt=“HQ” onclick=“backlink.location.href=‘backlink.php?job=hq’”>
Clicking the button never requests the page on the server but just outputs the error:
crbug/1173575, non-JS module files deprecated.
(anonymous) @ VM2695:7288
and looking at the code that seems to be part of brave shows a file beginning with:
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
- @fileoverview This file defines a singleton which provides access to all data
- that is available as soon as the page’s resources are loaded (before DOM
- content has finished loading). This data includes both localized strings and
- any data that is important to have ready from a very early stage (e.g. things
- that must be displayed right away).
- Note that loadTimeData is not guaranteed to be consistent between page
- refreshes (https://crbug.com/740629) and should not contain values that might
- change if the page is re-opened later.
… then some two hundred lines of code with the final line:
console.warn(‘crbug/1173575, non-JS module files deprecated.’);
The HTML is absolute standard and has been untouched for ten years. Brave never had any problem with it until the current ‘Version 1.30.87 Chromium: 94.0.4606.71 (Offizieller Build) (64-Bit)’. No other browser (Egde Version 94.0.992.38 (Offizielles Build) (64-Bit), Chrome Version 94.0.4606.71 (Offizieller Build) (64-Bit), Firefox 92.0.1) shows issues.
I have no explanation and no idea what I could do to fix it. There are thousands of industrial devices that share that code, and there is no reason why this code should need modification. It couldn’t be more straight-forward.
Does someone have any idea?