Razvan Maries
3b66f5f729
Backed out changeset b86e8f2cc5db (bug 1496578) for build bustages on nsDocShell.cpp. CLOSED TREE
2020-04-08 01:16:33 +03:00
Marco Bonardo
7457a384f2
Bug 1496578 - convert nsDefaultURIFixup to URIFixup.jsm. r=Gijs,farre
...
Differential Revision: https://phabricator.services.mozilla.com/D66579
--HG--
extra : moz-landing-system : lando
2020-04-07 21:55:24 +00:00
Narcis Beleuzu
00218b8a49
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
9f2a2ae567
Bug 1626404: Part 2b - Serialize source BC with LoadState. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D69419
--HG--
extra : moz-landing-system : lando
2020-04-04 00:12:59 +00:00
Kris Maglione
4024d7dc97
Bug 1626404: Part 2a - Store source BrowsingContext rather than DocShell in LoadState. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D69418
--HG--
extra : moz-landing-system : lando
2020-04-04 00:13:01 +00:00
Narcis Beleuzu
ef38cbbda1
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
b63f3327b7
Bug 1626404: Part 2b - Serialize source BC with LoadState. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D69419
--HG--
extra : moz-landing-system : lando
2020-04-03 22:41:27 +00:00
Kris Maglione
70a8120363
Bug 1626404: Part 2a - Store source BrowsingContext rather than DocShell in LoadState. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D69418
--HG--
extra : moz-landing-system : lando
2020-04-03 22:41:29 +00:00
Agi Sferro
e4e57c8343
Bug 1619796 - Don't fire onLoadRequest for embedder-initiated loads. r=smaug,droeh
...
Differential Revision: https://phabricator.services.mozilla.com/D66695
--HG--
extra : moz-landing-system : lando
2020-03-13 18:22:16 +00:00
Matt Woodrow
97c7791de6
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
--HG--
extra : moz-landing-system : lando
2020-01-06 21:58:48 +00:00
Razvan Maries
188a114962
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
d67e6c24b8
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
--HG--
extra : source : 4a5d10759bf3ad6cb392c7d83cc163e262314eb1
2019-12-19 21:47:10 +00:00
Razvan Maries
bfe0632450
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
eb5ca8b399
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
--HG--
extra : moz-landing-system : lando
2019-12-19 21:47:10 +00:00
Tetsuharu OHZEKI
2b7378a6ea
Bug 1596820 - part 2: Remove use of nsIDocShellTreeItem in nsDocShellLoadState::SetupInheritingPrincipal. r=kmag
...
Differential Revision: https://phabricator.services.mozilla.com/D57323
--HG--
extra : moz-landing-system : lando
2019-12-18 18:49:05 +00:00
Gabriele Svelto
69790bc62e
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
--HG--
extra : moz-landing-system : lando
2019-12-06 09:16:44 +00:00
Boris Zbarsky
75124bdd98
Bug 1517588. Use nsIPrincipal::IsSystemPrincipal instead of nsContentUtils::IsSystemPrincipal r=bzbarsky
...
Differential Revision: https://phabricator.services.mozilla.com/D53067
--HG--
extra : moz-landing-system : lando
2019-12-05 04:44:32 +00:00
Anny G
b023b02754
Bug 1596776 - Serialize SHEntry when sending DocShellLoadStateInit over IPC, r=peterv
...
Differential Revision: https://phabricator.services.mozilla.com/D54300
--HG--
extra : moz-landing-system : lando
2019-12-02 16:29:22 +00:00
Anny Gakhokidze
ac22fc9f39
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
--HG--
extra : rebase_source : a4e1fa52932fd5caabb59bd133e9fbee7f4d0e4a
extra : amend_source : f4d9f01afac0337808ba347eb997ce83e6ae1488
extra : source : 6ad53b35c7b4be933a3db1e1d45fa3da8a57abad
extra : histedit_source : c08d0cebcc11a3a4f64d01566cb62d9a334a12ec
2019-03-29 15:48:59 -04:00
Marco Bonardo
a06a5b8ccb
Bug 1588298 - Ensure CreateFromLoadURIOptions passes the appropriate PRIVATE flag to URIFixup. r=kmag
...
Differential Revision: https://phabricator.services.mozilla.com/D49154
--HG--
extra : moz-landing-system : lando
2019-10-15 08:11:45 +00:00
Matt Woodrow
c5b56e636e
Bug 1578624 - P3: Move conversion from LoadURIOptions processing into a static constructor for nsDocShellLoadState. r=kmag
...
Differential Revision: https://phabricator.services.mozilla.com/D44759
--HG--
extra : moz-landing-system : lando
2019-10-11 02:27:03 +00:00
Matt Woodrow
94578c8761
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
--HG--
extra : moz-landing-system : lando
2019-10-11 02:27:01 +00:00
Brindusan Cristian
ef3c975bc9
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
a0e75a0df9
Bug 1578624 - P3: Move conversion from LoadURIOptions processing into a static constructor for nsDocShellLoadState. r=kmag
...
Differential Revision: https://phabricator.services.mozilla.com/D44759
--HG--
extra : moz-landing-system : lando
2019-10-09 06:37:50 +00:00
Matt Woodrow
2b3ffb9596
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
--HG--
extra : moz-landing-system : lando
2019-10-09 06:37:50 +00:00
Narcis Beleuzu
3429292547
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)
--HG--
extra : histedit_source : ea22e628bf35425402009e9af274602f342a7476
2019-10-09 08:52:25 +03:00
Matt Woodrow
cf962d7a54
Bug 1578624 - P3: Move conversion from LoadURIOptions processing into a static constructor for nsDocShellLoadState. r=kmag
...
Differential Revision: https://phabricator.services.mozilla.com/D44759
--HG--
extra : moz-landing-system : lando
2019-10-09 04:53:39 +00:00
Matt Woodrow
4a351e1a82
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
--HG--
extra : moz-landing-system : lando
2019-10-09 04:53:06 +00:00
Matt Woodrow
9c28cd3c32
Bug 1579765 - Copy mResultPrincipalURI across when serializing nsDocShellLoadState. r=kmag
...
Differential Revision: https://phabricator.services.mozilla.com/D45148
--HG--
extra : moz-landing-system : lando
2019-09-16 07:24:32 +00:00
Matt Woodrow
b1aa62197e
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
50cb731c68
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
06bd2c54e9
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
--HG--
extra : rebase_source : 66fc9a03238921b6f72b0e6a88b1ee7769edc940
extra : histedit_source : 57e8defe42bc9954bab8455bfd1f15aa2f45d01f
2019-08-23 16:20:37 -07:00
Benjamin
21dd2fda4b
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
--HG--
extra : moz-landing-system : lando
2019-07-30 19:45:36 +00:00
Benjamin
6da0bbfd32
Bug 1566453: Added flag to detect if a load was initiated by a form submission r=ckerschb
...
The flag in loadinfo can be used to detect if a load was initiated by a form submission. This is crucial for implmenting the CSP directive navigate-to. https://www.w3.org/TR/CSP3/#navigate-to-pre-navigate
Differential Revision: https://phabricator.services.mozilla.com/D38403
--HG--
extra : moz-landing-system : lando
2019-07-22 13:41:47 +00:00
Jonathan Kingston
31441f82ea
Bug 1560455 - rename CodebasePrincipal to ContentPrincipal. r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D35504
--HG--
extra : moz-landing-system : lando
2019-07-08 16:37:45 +00:00
Thomas Nguyen
33d78105b7
Bug 1528695 - Part 1 : Use referrerInfo in openWindow, cpp file r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D21910
--HG--
extra : moz-landing-system : lando
2019-03-15 05:11:43 +00:00
Christoph Kerschbaumer
7c441f1bcb
Bug 1518454: Part 1, backend changes, add CSP to loadURIOptions dictionary and pass CSP explicitly from frontend to docshell. r=bz
2019-02-21 16:00:32 +01:00
Christoph Kerschbaumer
54df1cb98c
Bug 1528677: Remove nullchecks for loadinfo since we have loadinfo on all channels. r=baku
2019-02-20 13:27:25 +01:00
Thomas Nguyen
92cca5e26c
Bug 1517703 - Part 1 - Implement ReferrerInfo class r=smaug
...
The class contains original full referrer and referrer policy will be
applied to the referrer.
Differential Revision: https://phabricator.services.mozilla.com/D17923
--HG--
extra : moz-landing-system : lando
2019-02-12 19:35:32 +00:00
Nika Layzell
b2ddc107de
Bug 1467223 - Part 4: Add support for piping redirected channels through nsDocShell's loading functions, r=qdot
...
This code largely skips the logic in load methods, and tries to simply get the
channel opened & connected to the correct listener ASAP, without breaking any
loading state.
Depends on D15610
Differential Revision: https://phabricator.services.mozilla.com/D15611
--HG--
extra : moz-landing-system : lando
2019-01-23 21:07:08 +00:00
Sylvestre Ledru
cccdda3c2a
Bug 1516555 - Reformat everything to the Google coding style r=Ehsan
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D15426
--HG--
extra : moz-landing-system : lando
2018-12-28 15:48:06 +00:00
Kyle Machulis
ef297735b5
Bug 1478742 - IPDLize nsDocShellLoadState; r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D13958
--HG--
extra : moz-landing-system : lando
2018-12-19 22:22:09 +00:00
Kyle Machulis
7ce2d5568b
Bug 1497995 - Make URI a constructor argument of nsDocShellLoadState; r=bzbarsky
...
We'll always need a URI for DocShellLoadState, and it should only
change is special circumstances. Construct the object with it, and
then follow up in Bug 1515433 for more cleanup.
Differential Revision: https://phabricator.services.mozilla.com/D13490
--HG--
extra : moz-landing-system : lando
2018-12-21 20:17:43 +00:00
Kyle Machulis
0e8e78f4bb
Bug 1496251 - Convert nsDocShell::InternalLoad to using nsDocShellLoadState r=bzbarsky,nika
...
Move InternalLoad from 24 arguments to 3, using nsDocShellLoadState
objects. Move all internal argument references to using calls to
accessors/mutators on nsDocShellLoadState. Comments from old interface
function definition have been spread to relevant places in code.
Internal load flags in nsDocShellLoadState are also consolidated to
the LoadFlags member, as they were usually passed as that member
before nsDocShellLoadState existed. This begins the work to simplify
load flags further in a later patch (See Bug 1475331).
Depends on D13487
Differential Revision: https://phabricator.services.mozilla.com/D13488
--HG--
extra : moz-landing-system : lando
2018-12-19 21:01:13 +00:00
Jonathan Kingston
9c1d3b46db
Bug 1508654 - adding in assert for referrer implied codebase principal. r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D12436
--HG--
extra : moz-landing-system : lando
2018-12-17 15:35:45 +00:00
Sylvestre Ledru
265e672179
Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
...
# ignore-this-changeset
--HG--
extra : amend_source : 4d301d3b0b8711c4692392aa76088ba7fd7d1022
2018-11-30 11:46:48 +01:00
Kyle Machulis
e821d52f9b
Bug 1505601 - Move nsIDocShell INTERNAL_LOAD consts to nsDocShell; r=bzbarsky
...
Consts aren't used in JS anyways, so there's no reason for them to be
in the IDL.
Differential Revision: https://phabricator.services.mozilla.com/D11715
--HG--
extra : moz-landing-system : lando
2018-11-28 03:30:54 +00:00
Valentin Gosu
e823bab3cc
Bug 1487964 - Do not report resource-timing subdocument loads triggered by that subdocument r=bzbarsky
...
Differential Revision: https://phabricator.services.mozilla.com/D9503
--HG--
extra : moz-landing-system : lando
2018-11-21 16:28:20 +00:00
Cosmin Sabou
79b7d9fe91
Backed out changeset 395b95afd795 (bug 1487964) for mochitest failures on test_resource_timing_nocors.
2018-11-21 17:14:29 +02:00
Valentin Gosu
a80d7bf63e
Bug 1487964 - Do not report resource-timing subdocument loads triggered by that subdocument r=bzbarsky
...
Differential Revision: https://phabricator.services.mozilla.com/D9503
--HG--
extra : moz-landing-system : lando
2018-11-17 19:30:36 +00:00