Commit 795ff25e authored by Noel Gordon's avatar Noel Gordon Committed by Commit Bot

[filesapp] Remove lazy-load from SWA gen_main_html.py comment

Change to just say "load" since the "lazy-" part is imprecise. The SWA
needs to "load" scripts. How that is done might not be "lazy". Comment
only change.

No-try: true
Tbr: Bo
Bug: 1113981
Change-Id: I27c8c7f823d27d4f5a82050f0f18e8d0e04303d4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2547747Reviewed-by: default avatarNoel Gordon <noel@chromium.org>
Reviewed-by: default avatarAlex Danilo <adanilo@chromium.org>
Commit-Queue: Noel Gordon <noel@chromium.org>
Cr-Commit-Position: refs/heads/master@{#828984}
parent 5620e165
...@@ -35,7 +35,7 @@ def GenerateSwaMainHtml(source, target, root): ...@@ -35,7 +35,7 @@ def GenerateSwaMainHtml(source, target, root):
sys.stdout.write(line.replace('href="', href)) sys.stdout.write(line.replace('href="', href))
else: else:
sys.stdout.write(line) sys.stdout.write(line)
# Remove files app foreground/js <script> tags: SWA app must lazy-load # Remove files app foreground/js <script> tags: SWA app must load
# them after the SWA app has initialized needed resources. # them after the SWA app has initialized needed resources.
elif line.find('<script src="foreground/js/') == -1: elif line.find('<script src="foreground/js/') == -1:
sys.stdout.write(line) sys.stdout.write(line)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment