Test for httpEquiv before using it in JavaScript

There is evidence that httpEquiv is not always defined, so test its
existence before calling toLowerCase

Bug: 392508409
Change-Id: I9c95ebd08bf5d1c249da0c9aa7f4a76431ec7651
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6240135
Commit-Queue: Olivier Robin <olivierrobin@chromium.org>
Reviewed-by: Sylvain Defresne <sdefresne@chromium.org>
Reviewed-by: Mike Dougherty <michaeldo@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1417419}
NOKEYCHECK=True
GitOrigin-RevId: 3b3d405f7ca94d9a2fd8e71b4131490753a97d97
2 files changed
tree: be3a3f40b9062cb39567cd3a25060e7b87b333bd
  1. build/
  2. chrome/
  3. components/
  4. google_internal/
  5. intents/
  6. net/
  7. public/
  8. testing/
  9. third_party/
  10. tools/
  11. web/
  12. web_view/
  13. .swift-format
  14. BUILD.gn
  15. COMMON_METADATA
  16. DEPS
  17. DIR_METADATA
  18. features.gni
  19. OWNERS
  20. PRESUBMIT.py
  21. PRESUBMIT_test.py
  22. README.md
README.md

This directory holds code related to Chrome for iOS. See this document for a description of the structure underneath this directory.