Oct 06 2023 12:30 PM
Hello everyone,
On May 31 2023, Google Chrome announced that mutation events are deprecated and will be removed from the browser starting on its 127 version which goes to stable release on July 30 2024 (https://developer.chrome.com/blog/mutation-events-deprecation/).
In the meantime, I've noticed in 3 different SharePoint 2016 Server environments that the javascript library mquery.js contains some of these deprecated events such as "DOMSubtreeModified" and "DOMNodeRemoved":
Since I want to avoid touching on this library by trying to replace these events by the MutationObserver alternative, is there any known solution (eg: official patch) or workaround for this?
Thank you all in advance.
Best regards,
Duarte
Oct 06 2023 10:08 PM
Oct 09 2023 04:07 AM
Oct 18 2023 12:29 AM
Same happens on SharePoint 2019, so description and tags should be extended. :upside_down_face:
Apr 01 2024 02:17 PM
@Stefan Goßner just checking in on this. Do you know if mquery.js has been updated to not use mutation events? (I'm running the deprecation/removal of mutation events, and the removal date is fast approaching.)
Apr 03 2024 02:44 AM
I received this communication below when I submitted support ticket to Microsoft concerning these depricated mutation events:
"I would like to inform you that the fix for this issue will be implemented on September 2024 CU for SharePoint SE. At the moment, there is no plan to implement it for SharePoint 2016\2019."
I didn't get any more info of the matter - like what are the business impacts etc. This much is certain, though: it does not look good :(
Apr 03 2024 03:33 AM
If this won't get fixed on SharePoint 2016 / 2019, then a lot customers would no longer be able to work with it.
Apr 04 2024 09:32 PM
@Dave66_75 It's unfortunate they haven't given you what could be impacted. I think the patching model is now SaaS --> On-Premises. You could try doing some assessments on your own by installing an early release of Chrome and see if it breaks anything.
Mutation events will be removed from Chrome | Blog | Chrome for Developers
As an additional option:
Apr 09 2024 07:07 PM
You can also test by manually turning off mutation events. In Chrome, go to:
chrome://flags/#mutation-events
(you need to manually copy/paste that) and select "Disabled". That will require a restart.
It is too bad the older versions do not appear to be supported. Often, breakage from missing mutation events is quite subtle or not even noticeable. So it's possible the effect will be small when Chrome v127 is released.
Apr 23 2024 06:41 AM
@Duarte_Sousa11You have brought to my attention an important issue regarding the mquery.js library used in SharePoint 2016 and 2019 on-premises servers. This library contains deprecated mutation events that will be removed from Google Chrome starting with version 127, scheduled for release on July 30, 2024.
While the SharePoint Product Group had initially planned to address this issue with a patch or update, recent communications from Microsoft Support indicate that a fix will only be implemented in the September 2024 Cumulative Update for SharePoint Server Subscription Edition, leaving SharePoint 2016 and 2019 versions potentially vulnerable.
This news is concerning, as it could potentially break functionality for customers still running these older SharePoint versions after the Chrome update. To mitigate this risk, I'll take a proactive approach. First, I'll thoroughly test the impact of disabling mutation events in Chrome by leveraging early release versions or manually disabling the feature.
This will help identify any potential breakages in our SharePoint environment. Simultaneously, I'll escalate this issue with Microsoft Support, demanding a clear understanding of the business impact and exploring potential workarounds if a fix is not provided for SharePoint 2016 and 2019. I'll also investigate alternative solutions or third-party tools that may be able to replace or work around the functionality provided by the mquery.js library. If the impact is deemed significant and no satisfactory workaround is available, I'll initiate discussions with stakeholders regarding the possibility of upgrading to a newer version of SharePoint Server that will receive the necessary updates to address this issue.
Throughout this process, I'll maintain open lines of communication with Microsoft Support, ensuring they understand the criticality of this issue for our organization. Additionally, I'll provide regular updates to keep you informed of our progress and any new developments or recommendations from Microsoft. Rest assured, I am committed to mitigating any potential risks or disruptions caused by the removal of mutation events in Chrome version 127.
My aim is to implement a comprehensive solution that safeguards the functionality of our SharePoint environment while minimizing any impact on our users and business operations.
Apr 23 2024 07:59 AM
@BarryGoblon He's not brought it to YOUR attention as though you are a Microsoft Support person, he has posted it on the forum where all of us contribute answers & solutions!
Rob
Los Gallardos
Microsoft Power Automate Community Super User.
Principal Consultant, SharePoint and Power Platform WSP Global (and classic 1967 Morris Traveller driver)
Apr 23 2024 08:09 AM