diff options
Diffstat (limited to 'chromium/docs/webui_explainer.md')
-rw-r--r-- | chromium/docs/webui_explainer.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chromium/docs/webui_explainer.md b/chromium/docs/webui_explainer.md index 75d46bf45a5..e3dc1a0a521 100644 --- a/chromium/docs/webui_explainer.md +++ b/chromium/docs/webui_explainer.md @@ -583,7 +583,7 @@ WebUI listeners are a convenient way for C++ to inform JavaScript of events. Older WebUI code exposed public methods for event notification, similar to how responses to [chrome.send()](#chrome_send) used to work. They both -resulted in global namespace polution, but it was additionally hard to stop +resulted in global namespace pollution, but it was additionally hard to stop listening for events in some cases. **cr.addWebUIListener** is preferred in new code. |