[Webkit-unassigned] [Bug 255205] New: InvalidCharacterError: The string contains invalid characters on the webfrontend of a FRITZ!Box router
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Apr 9 12:48:02 PDT 2023
https://bugs.webkit.org/show_bug.cgi?id=255205
Bug ID: 255205
Summary: InvalidCharacterError: The string contains invalid
characters on the webfrontend of a FRITZ!Box router
Product: WebKit
Version: Safari 16
Hardware: Mac (Apple Silicon)
OS: macOS 13
Status: NEW
Severity: Normal
Priority: P2
Component: JavaScriptCore
Assignee: webkit-unassigned at lists.webkit.org
Reporter: white.dog8802 at hjkl-mail.de
Created attachment 465822
--> https://bugs.webkit.org/attachment.cgi?id=465822&action=review
Error message in the web inspector
When opening the network settings of the web frontend a FRITZ!Box router (running FRITZ!OS 7.50) the rendering of the page is interupted by this Error message in web inspector:
InvalidCharacterError: The string contains invalid characters
It refers to the function setAttribute in line 13:102 in the file html2.js, which is in combination with line 12:
function createAttributes(el, attributes={}) {
for (let name in attributes) {
if (attributes.hasOwnProperty(name)) {
let value = attributes[name];
name = name.toLowerCase();
if (!checkAndSetEventHandler(el, name, value)) {
if (value === true) {
value = "";
}
if (value === null || value === false) {
el.removeAttribute(name);
} else if (value !== undefined) {
el.setAttribute(name, value);
}
}
}
}
}
I could reproduce this errror in Safari on iOS 16.4.1 and macOS 13.3.1 and also the Technology Preview 167. Chrome 112.0.5615.49 and Firefox 111.0.1 display the page w/o a problem or error.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230409/87da420d/attachment.htm>
More information about the webkit-unassigned
mailing list