fune/docshell/base
Tom Ritter c816dcfce3 Bug 1882422: Use a local testing page to return complex data and make use of it in C++-land r=peterv
- Create a local page we will access via an about: URL
- In that page, demonstrate how to do some stuff, then fire a custom event
  indicating its stuff is done _and_ return complex data in that event.
  console.log() didn't seem to be visible in the HiddenWindow, so I also
  piped out debug strings for development purposes, so they can be
  console.logged in the Service, where we can see them.
- Instead of listening for DOMContentLoaded/pageshow, instead listen for
  the new CustomEvent.
- In UserCharacteristicsPageService, receive the data from the page and
  populate the appropriate Glean metrics
- Refactor the calling of nsUserCharacteristics::PopulateData() and
  SubmitPing().  Now we call PopulateDataAndEventuallySubmit() which will
  eventually call SubmitPing after our promise is resolved.
- To make it a little cleaner (so ContentPageStuff() isn't calling
  SubmitPing()) we return the promise out of ContentPageStuff() that
  PopulateDataAndEventuallySubmit() will await and then call SubmitPing()
  when that promise resolves

Differential Revision: https://phabricator.services.mozilla.com/D203055
2024-04-03 23:43:17 +00:00
..
crashtests
BaseHistory.cpp Bug 130327: Use exposable URL when updating history r=mak 2024-03-07 05:11:51 +00:00
BaseHistory.h
BrowsingContext.cpp Bug 1831092 - Use the new pull-based API for all crash annotations and remove the global annotations table r=jgilbert,necko-reviewers,media-playback-reviewers,profiler-reviewers,win-reviewers,padenot,handyman,afranchuk,valentin,alwu,sotaro 2024-03-04 10:24:43 +00:00
BrowsingContext.h Bug 1875100 - Propagate top level activeness automatically to top descendants. r=nika,tabbrowser-reviewers,mconley,extension-reviewers,robwu,geckoview-reviewers,owlish,kaya 2024-02-07 10:58:15 +00:00
BrowsingContextGroup.cpp
BrowsingContextGroup.h
BrowsingContextWebProgress.cpp
BrowsingContextWebProgress.h
CanonicalBrowsingContext.cpp Bug 1875028 - With Fission enabled "onbeforeunload" prompts are automatically accepted for cross-origin navigations. r=farre 2024-03-26 07:42:58 +00:00
CanonicalBrowsingContext.h Bug 1875100 - Propagate top level activeness automatically to top descendants. r=nika,tabbrowser-reviewers,mconley,extension-reviewers,robwu,geckoview-reviewers,owlish,kaya 2024-02-07 10:58:15 +00:00
ChildProcessChannelListener.cpp
ChildProcessChannelListener.h
IHistory.h
LoadContext.cpp
LoadContext.h
metrics.yaml Bug 1877842 - Migrate performance GVST probes r=perry.mcmanis,denispal 2024-02-09 21:11:05 +00:00
moz.build
nsAboutRedirector.cpp Bug 1882422: Use a local testing page to return complex data and make use of it in C++-land r=peterv 2024-04-03 23:43:17 +00:00
nsAboutRedirector.h
nsCTooltipTextProvider.h
nsDocShell.cpp Bug 1888242 - Simplify viewport handling in RDM. r=bradwerth,devtools-reviewers,ochameau 2024-04-02 15:21:04 +00:00
nsDocShell.h Bug 1888242 - Simplify viewport handling in RDM. r=bradwerth,devtools-reviewers,ochameau 2024-04-02 15:21:04 +00:00
nsDocShellEditorData.cpp
nsDocShellEditorData.h
nsDocShellEnumerator.cpp
nsDocShellEnumerator.h
nsDocShellLoadState.cpp Bug 1885598: Assert on a passed remoteTypeOverride to avoid footguns r=nika 2024-03-25 18:57:07 +00:00
nsDocShellLoadState.h Bug 1885598: Assert on a passed remoteTypeOverride to avoid footguns r=nika 2024-03-25 18:57:07 +00:00
nsDocShellLoadTypes.h
nsDocShellTelemetryUtils.cpp
nsDocShellTelemetryUtils.h
nsDocShellTreeOwner.cpp Bug 1873833 - Make tooltips work on anonymous content / UA widgets. r=smaug,Gijs 2024-03-13 11:30:57 +00:00
nsDocShellTreeOwner.h
nsDSURIContentListener.cpp
nsDSURIContentListener.h
nsIDocShell.idl Bug 1888242 - Simplify viewport handling in RDM. r=bradwerth,devtools-reviewers,ochameau 2024-04-02 15:21:04 +00:00
nsIDocShellTreeItem.idl
nsIDocShellTreeOwner.idl
nsIDocumentLoaderFactory.idl
nsIDocumentViewer.idl
nsIDocumentViewerEdit.idl
nsILoadContext.idl
nsILoadURIDelegate.idl
nsIPrivacyTransitionObserver.idl
nsIReflowObserver.idl
nsIRefreshURI.idl
nsIScrollObserver.h
nsITooltipListener.idl
nsITooltipTextProvider.idl
nsIURIFixup.idl
nsIWebNavigation.idl
nsIWebNavigationInfo.idl
nsIWebPageDescriptor.idl
nsPingListener.cpp
nsPingListener.h
nsRefreshTimer.cpp
nsRefreshTimer.h
nsWebNavigationInfo.cpp
nsWebNavigationInfo.h
SerializedLoadContext.cpp
SerializedLoadContext.h
SyncedContext.h
SyncedContextInlines.h
URIFixup.sys.mjs Bug 1841869 - entering "abc @xyz.[TLD]" in address bar opens a prompt regarding loading "xyz.[TLD]" instead of searching for "abc @xyz.[TLD]" on the default search engine.r=adw 2024-01-31 19:07:57 +00:00
WindowContext.cpp
WindowContext.h