javascript - What happens if I change meta tags after the DOM has materialized? -


looking through a-frame source, spot library sets several meta tags javascript.

this should safe in a-frame's case: mozilla recommend library imported blocking, synchronously loaded script in <head>, work happen before exit <head> parsing.

still, got me thinking: happens if 1 changes meta tags javascript in async script, or after domcontentloaded?

some specific questions:

  • is there guarantee browsers respect meta tag mutations?
  • are there known issues getting browser recognise meta tag changes after <head> parsing / dom materialisation? still 'do things' page?
  • are there other reasons shouldn't if meta tags critical job javascript does?

is there guarantee in specs browsers should respect meta tag mutations?

they dom elements, other.

the specs won't mention specific because aren't special cases.

are there known issues getting browser recognise meta tag changes after <head> parsing / dom materialisation?

not pov of examining them in dom afterwards.


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

thorough guide for profiling racket code -