Jonathan Watt
c48344c63e
Bug 1634370. Make docshell/ buildable outside of unified-build environment. r=farre
...
Differential Revision: https://phabricator.services.mozilla.com/D73255
2020-05-04 14:53:34 +00:00
Dan Glastonbury
c8a3b9de92
Bug 1623565 - P4: Make browser.cache.check_doc_frequency a StaticPref. r=nika
...
Due to the refactored code,
browser/base/content/test/performance/browser_preferences_usage.js started
reporting more accesses to browser.cache.check_doc_frequency preference.
Differential Revision: https://phabricator.services.mozilla.com/D68319
2020-04-27 05:38:22 +00:00
Dan Glastonbury
bd3d541441
Bug 1623565 - P2: Refactor document channel load flags computation. r=nika,mattwoodrow
...
Differential Revision: https://phabricator.services.mozilla.com/D67797
2020-04-27 05:38:07 +00:00
Matt Woodrow
2b01997a8a
Bug 1602318 - Add load identifier and copy-ctor to nsDocShellLoadState. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D72110
2020-04-26 00:53:19 +00:00
Cosmin Sabou
2312f42a0c
Backed out 20 changesets (bug 1602318) for causing multiple types of failures. CLOSED TREE
...
Backed out changeset f71e3eff7a8c (bug 1602318)
Backed out changeset 0e0bdebf223b (bug 1602318)
Backed out changeset 44e82f4339a1 (bug 1602318)
Backed out changeset 5f341ebd8591 (bug 1602318)
Backed out changeset 088ea9d20617 (bug 1602318)
Backed out changeset 5de6321939f2 (bug 1602318)
Backed out changeset f5742e84912b (bug 1602318)
Backed out changeset 13bec3079540 (bug 1602318)
Backed out changeset 6c24ba022911 (bug 1602318)
Backed out changeset 5d0fc0102a7f (bug 1602318)
Backed out changeset fc4efd11e643 (bug 1602318)
Backed out changeset 028bd63e710d (bug 1602318)
Backed out changeset 21ad350f9617 (bug 1602318)
Backed out changeset 8f27319f2c34 (bug 1602318)
Backed out changeset db2832973382 (bug 1602318)
Backed out changeset 1756c7584491 (bug 1602318)
Backed out changeset 983e5a9abe02 (bug 1602318)
Backed out changeset a1b9429b3298 (bug 1602318)
Backed out changeset 7d1c0d968a09 (bug 1602318)
Backed out changeset a3b056ec6be3 (bug 1602318)
2020-04-24 11:15:12 +03:00
Matt Woodrow
fae41a255e
Bug 1602318 - Add load identifier and copy-ctor to nsDocShellLoadState. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D72110
2020-04-24 06:59:46 +00:00
Marco Bonardo
a6761dedd6
Bug 1628906 - First search in a tab from location bar could trigger an "Invalid URL" error page. r=Gijs,nika,mattwoodrow
...
Before 1496578, URIFixup::keywordToURI used to do a synchronous IPC call to be
able to access search engines from the content process. Consumers of URIFixup
didn't care. Bug 1496578 moved the IPC messaging to the callers, in particular
nsDocShell, but assumed nsDocShellLoadState wasn't loading from content.
It looks like in some cases it does, so this adds another sync IPC call for
GetFixupURIInfo.
The total numer of sync IPCs should not change from before Bug 1496578, URIFIxup
was just doing it internally, while now it happens at the call point.
Note the long term plan would be for these docshell objects callers to just
handle URIs, while the UI code should do fixup.
Bug 1375244 tracks the removal of these sync IPC messages.
Differential Revision: https://phabricator.services.mozilla.com/D70607
2020-04-15 22:39:38 +00:00
Christoph Kerschbaumer
a923c367b1
Bug 1621987: Implement Sec-Fetch-User. r=baku,edgar,Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D69392
2020-04-16 08:04:26 +00:00
Kris Maglione
d11d49ff5c
Bug 1626404: Part 2b - Serialize source BC with LoadState. r=nika CLOSED TREE
...
Differential Revision: https://phabricator.services.mozilla.com/D69419
2020-04-04 02:42:42 +00:00
Kris Maglione
7e58125538
Bug 1626404: Part 2a - Store source BrowsingContext rather than DocShell in LoadState. r=nika CLOSED TREE
...
Differential Revision: https://phabricator.services.mozilla.com/D69418
2020-04-04 02:42:44 +00:00
Bogdan Tara
9f2284c826
Backed out 6 changesets (bug 1626404) for frequent timeouts on test_postMessage_onOther.html CLOSED TREE
...
Backed out changeset 453b858f4462 (bug 1626404)
Backed out changeset f54ce6a36c75 (bug 1626404)
Backed out changeset ec63b18da4b9 (bug 1626404)
Backed out changeset b0d4b213b819 (bug 1626404)
Backed out changeset af763de00e9d (bug 1626404)
Backed out changeset 45b68d43bdbb (bug 1626404)
2020-04-09 11:07:40 +03:00
Kris Maglione
377ae6f889
Bug 1626404: Part 2b - Serialize source BC with LoadState. r=nika CLOSED TREE
...
Differential Revision: https://phabricator.services.mozilla.com/D69419
2020-04-04 02:42:42 +00:00
Kris Maglione
535b46c73a
Bug 1626404: Part 2a - Store source BrowsingContext rather than DocShell in LoadState. r=nika CLOSED TREE
...
Differential Revision: https://phabricator.services.mozilla.com/D69418
2020-04-04 02:42:44 +00:00
Oana Pop Rus
2e479d6d2e
Backed out 6 changesets (bug 1626404) for mochitest failures in BrowsingContext.cpp on a CLOSED TREE
...
Backed out changeset 4a3b391e08c4 (bug 1626404)
Backed out changeset 1a5a559ec6d5 (bug 1626404)
Backed out changeset 2ffdab0072e7 (bug 1626404)
Backed out changeset 6fb384961b99 (bug 1626404)
Backed out changeset c0c2e85e33da (bug 1626404)
Backed out changeset bf32b30efa49 (bug 1626404)
2020-04-09 00:22:49 +03:00
Kris Maglione
9473cab9e9
Bug 1626404: Part 2b - Serialize source BC with LoadState. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D69419
2020-04-04 02:42:42 +00:00
Kris Maglione
8cf3ee1e11
Bug 1626404: Part 2a - Store source BrowsingContext rather than DocShell in LoadState. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D69418
2020-04-04 02:42:44 +00:00
Marco Bonardo
bee013f896
Bug 1496578 - convert nsDefaultURIFixup to URIFixup.jsm. r=Gijs,farre
...
Differential Revision: https://phabricator.services.mozilla.com/D66579
2020-04-08 11:30:14 +00:00
Razvan Maries
2229957d40
Backed out changeset b86e8f2cc5db (bug 1496578) for build bustages on nsDocShell.cpp. CLOSED TREE
2020-04-08 01:16:33 +03:00
Marco Bonardo
47b3ead8af
Bug 1496578 - convert nsDefaultURIFixup to URIFixup.jsm. r=Gijs,farre
...
Differential Revision: https://phabricator.services.mozilla.com/D66579
2020-04-07 21:55:24 +00:00
Narcis Beleuzu
0668c5ab4c
Backed out 6 changesets (bug 1626404) for assertion failures on BrowsingContext.cpp . CLOSED TREE
...
Backed out changeset aed006ab4c20 (bug 1626404)
Backed out changeset ad87dcb98637 (bug 1626404)
Backed out changeset c065bd4594b4 (bug 1626404)
Backed out changeset a248fc78ab0c (bug 1626404)
Backed out changeset 52892d053ff1 (bug 1626404)
Backed out changeset 440b9193338a (bug 1626404)
2020-04-04 05:29:30 +03:00
Kris Maglione
1b63d41a43
Bug 1626404: Part 2b - Serialize source BC with LoadState. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D69419
2020-04-04 00:12:59 +00:00
Kris Maglione
31f94f56a7
Bug 1626404: Part 2a - Store source BrowsingContext rather than DocShell in LoadState. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D69418
2020-04-04 00:13:01 +00:00
Narcis Beleuzu
518dd9a134
Backed out 6 changesets (bug 1626404) for bustages on LocationBase.cpp . CLOSED TREE
...
Backed out changeset a399dfff2725 (bug 1626404)
Backed out changeset ad3272abd830 (bug 1626404)
Backed out changeset 322c170e8301 (bug 1626404)
Backed out changeset df37f57cfa1d (bug 1626404)
Backed out changeset e255e4c9e665 (bug 1626404)
Backed out changeset 51120d617459 (bug 1626404)
2020-04-04 02:42:18 +03:00
Kris Maglione
01b1bf8f08
Bug 1626404: Part 2b - Serialize source BC with LoadState. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D69419
2020-04-03 22:41:27 +00:00
Kris Maglione
f370ac6fdf
Bug 1626404: Part 2a - Store source BrowsingContext rather than DocShell in LoadState. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D69418
2020-04-03 22:41:29 +00:00
Agi Sferro
38dbe89b06
Bug 1619796 - Don't fire onLoadRequest for embedder-initiated loads. r=smaug,droeh
...
Differential Revision: https://phabricator.services.mozilla.com/D66695
2020-03-13 18:22:16 +00:00
Matt Woodrow
8b1b33cac0
Bug 1598520 - Don't require nsIChildChannel for process switching, as we don't need this for DocumentChannel either. r=mayhemer,kmag
...
Differential Revision: https://phabricator.services.mozilla.com/D57586
2020-01-06 21:58:48 +00:00
Razvan Maries
29d98a3d41
Backed out 5 changesets (bug 1598520) for perma fails on test_enumerateDevices_navigation.html. CLOSED TREE
...
Backed out changeset 583dac2feebc (bug 1598520)
Backed out changeset c769e733f588 (bug 1598520)
Backed out changeset 45287a2ec476 (bug 1598520)
Backed out changeset 59cff6014447 (bug 1598520)
Backed out changeset ddf722557c33 (bug 1598520)
2019-12-20 01:56:55 +02:00
Matt Woodrow
531027b22b
Bug 1598520 - Don't require nsIChildChannel for process switching, as we don't need this for DocumentChannel either. r=mayhemer,kmag
...
Differential Revision: https://phabricator.services.mozilla.com/D57586
2019-12-19 21:47:10 +00:00
Razvan Maries
601e71c3cb
Backed out 5 changesets (bug 1598520) for Linting failure. CLOSED TREE
...
Backed out changeset b4f71abf75fe (bug 1598520)
Backed out changeset 8e3b650d9313 (bug 1598520)
Backed out changeset 73c37ad27d18 (bug 1598520)
Backed out changeset 10ad2e4d27c3 (bug 1598520)
Backed out changeset 4a5d10759bf3 (bug 1598520)
2019-12-20 00:38:32 +02:00
Matt Woodrow
a773e1515d
Bug 1598520 - Don't require nsIChildChannel for process switching, as we don't need this for DocumentChannel either. r=mayhemer,kmag
...
Differential Revision: https://phabricator.services.mozilla.com/D57586
2019-12-19 21:47:10 +00:00
Tetsuharu OHZEKI
d7c1afee1f
Bug 1596820 - part 2: Remove use of nsIDocShellTreeItem in nsDocShellLoadState::SetupInheritingPrincipal. r=kmag
...
Differential Revision: https://phabricator.services.mozilla.com/D57323
2019-12-18 18:49:05 +00:00
Gabriele Svelto
eeb9bfc398
Bug 1600545 - Remove useless inclusions of header files generated from IDL files in accessible/, browser/, caps/, chrome/, devtools/, docshell/, editor/, extensions/, gfx/, hal/, image/, intl/, ipc/, js/, layout/, and media/ r=Ehsan
...
The inclusions were removed with the following very crude script and the
resulting breakage was fixed up by hand. The manual fixups did either
revert the changes done by the script, replace a generic header with a more
specific one or replace a header with a forward declaration.
find . -name "*.idl" | grep -v web-platform | grep -v third_party | while read path; do
interfaces=$(grep "^\(class\|interface\).*:.*" "$path" | cut -d' ' -f2)
if [ -n "$interfaces" ]; then
if [[ "$interfaces" == *$'\n'* ]]; then
regexp="\("
for i in $interfaces; do regexp="$regexp$i\|"; done
regexp="${regexp%%\\\|}\)"
else
regexp="$interfaces"
fi
interface=$(basename "$path")
rg -l "#include.*${interface%%.idl}.h" . | while read path2; do
hits=$(grep -v "#include.*${interface%%.idl}.h" "$path2" | grep -c "$regexp" )
if [ $hits -eq 0 ]; then
echo "Removing ${interface} from ${path2}"
grep -v "#include.*${interface%%.idl}.h" "$path2" > "$path2".tmp
mv -f "$path2".tmp "$path2"
fi
done
fi
done
Differential Revision: https://phabricator.services.mozilla.com/D55443
2019-12-06 09:16:44 +00:00
Boris Zbarsky
2df1df0176
Bug 1517588. Use nsIPrincipal::IsSystemPrincipal instead of nsContentUtils::IsSystemPrincipal r=bzbarsky
...
Differential Revision: https://phabricator.services.mozilla.com/D53067
2019-12-05 04:44:32 +00:00
Anny G
19f7496993
Bug 1596776 - Serialize SHEntry when sending DocShellLoadStateInit over IPC, r=peterv
...
Differential Revision: https://phabricator.services.mozilla.com/D54300
2019-12-02 16:29:22 +00:00
Anny Gakhokidze
0bac5fce79
Bug 1539482 - Reduce the number of IPC calls on nsISHEntry in nsDocShell::LoadHistoryEntry, r=peterv, r=nika for adding sync IPC messages
...
In nsDocShell::LoadHistoryEntry method, when it gets called
from parent process, there are 13 sync IPC calls on nsISHEntry
that retrieve information from the session history entry and
create a doc shell load state object using the retrieved
information. By adding a new method 'CreateLoadInfo'on nsISHEntry,
inside of which the doc shell load state object will be
created (with appropriate data filled out) and returned,
we eliminate 12 sync IPC call, resulting in just 1 IPC call
to nsISHEntry::CreateLoadInfo.
Differential Revision: https://phabricator.services.mozilla.com/D26042
2019-03-29 15:48:59 -04:00
Marco Bonardo
455981924c
Bug 1588298 - Ensure CreateFromLoadURIOptions passes the appropriate PRIVATE flag to URIFixup. r=kmag
...
Differential Revision: https://phabricator.services.mozilla.com/D49154
2019-10-15 08:11:45 +00:00
Matt Woodrow
19bae1ea39
Bug 1578624 - P3: Move conversion from LoadURIOptions processing into a static constructor for nsDocShellLoadState. r=kmag
...
Differential Revision: https://phabricator.services.mozilla.com/D44759
2019-10-11 02:27:03 +00:00
Matt Woodrow
940b3e70ee
Bug 1578624 - P2: Extend nsDocShellLoadState for the extra options needed to describe front end loads. r=kmag,nika
...
Differential Revision: https://phabricator.services.mozilla.com/D44758
2019-10-11 02:27:01 +00:00
Brindusan Cristian
170d6fb93f
Backed out 11 changesets (bug 1578624) for build bustages. CLOSED TREE
...
Backed out changeset b22733eb880f (bug 1578624)
Backed out changeset cb5e15489635 (bug 1578624)
Backed out changeset f1746b2f9dec (bug 1578624)
Backed out changeset d08a099a22ff (bug 1578624)
Backed out changeset 8ebd563c72a8 (bug 1578624)
Backed out changeset d8bfec2dc9b6 (bug 1578624)
Backed out changeset 591664928bce (bug 1578624)
Backed out changeset 63f5a619b9ef (bug 1578624)
Backed out changeset ff67cc13cdf3 (bug 1578624)
Backed out changeset 43556c937a09 (bug 1578624)
Backed out changeset 49065a55694d (bug 1578624)
2019-10-09 11:50:37 +03:00
Matt Woodrow
b1f978110c
Bug 1578624 - P3: Move conversion from LoadURIOptions processing into a static constructor for nsDocShellLoadState. r=kmag
...
Differential Revision: https://phabricator.services.mozilla.com/D44759
2019-10-09 06:37:50 +00:00
Matt Woodrow
3add36d2d0
Bug 1578624 - P2: Extend nsDocShellLoadState for the extra options needed to describe front end loads. r=kmag,nika
...
Differential Revision: https://phabricator.services.mozilla.com/D44758
2019-10-09 06:37:50 +00:00
Narcis Beleuzu
eab5ec4098
Backed out 11 changesets (bug 1578624) for bustages on WindowGlobalChild.h . CLOSED TREE
...
Backed out changeset 478897956ee0 (bug 1578624)
Backed out changeset ab9c09164df0 (bug 1578624)
Backed out changeset f461f10efa46 (bug 1578624)
Backed out changeset 9b958693a003 (bug 1578624)
Backed out changeset 3b8220a15051 (bug 1578624)
Backed out changeset 180407dc57a8 (bug 1578624)
Backed out changeset bb11892e2171 (bug 1578624)
Backed out changeset 4f5c28244290 (bug 1578624)
Backed out changeset 6c02bbe5c1c5 (bug 1578624)
Backed out changeset 1d762fdce921 (bug 1578624)
Backed out changeset 818bc6e20c7d (bug 1578624)
2019-10-09 08:52:25 +03:00
Matt Woodrow
c168ffe7c0
Bug 1578624 - P3: Move conversion from LoadURIOptions processing into a static constructor for nsDocShellLoadState. r=kmag
...
Differential Revision: https://phabricator.services.mozilla.com/D44759
2019-10-09 04:53:39 +00:00
Matt Woodrow
7a1fd26761
Bug 1578624 - P2: Extend nsDocShellLoadState for the extra options needed to describe front end loads. r=kmag,nika
...
Differential Revision: https://phabricator.services.mozilla.com/D44758
2019-10-09 04:53:06 +00:00
Matt Woodrow
712f00c2b1
Bug 1579765 - Copy mResultPrincipalURI across when serializing nsDocShellLoadState. r=kmag
...
Differential Revision: https://phabricator.services.mozilla.com/D45148
2019-09-16 07:24:32 +00:00
Matt Woodrow
5299358392
Bug 1556489 - P10. Pass PostData and Headers at DocShell creation time. r=nika,farre
...
Differential Revision: https://phabricator.services.mozilla.com/D40967
2019-09-03 10:19:27 +10:00
Matt Woodrow
0d73ff97f0
Bug 1556489 - P5. Fix constness. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D40962
2019-09-03 10:19:09 +10:00
Kris Maglione
984813c612
Bug 1532994: Part 2 - Support SetHref() and Replace() in RemoteLocationProxy. r=farre
...
MANUAL PUSH: Can't update phabricator patch.
Differential Revision: https://phabricator.services.mozilla.com/D43328
2019-08-23 16:20:37 -07:00
Benjamin
6c2d74de08
Fix Bug 1569889 by setting mIsFormSubmission in nsDocShellLoadState r=ckerschb
...
Ensure that IsFormSubmission is set in all constructors and can be serialized
Differential Revision: https://phabricator.services.mozilla.com/D39935
2019-07-30 19:45:36 +00:00