Alex Gaynor
e5279ff3f7
Bug 1532727 - replace OptionalURIParams with URIParams? in IPDL; r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D22138
--HG--
extra : moz-landing-system : lando
2019-03-06 14:05:50 +00:00
Felipe Gomes
96dfb4e813
Bug 827976 - Teach leaks.py to ignore the hidden window. r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D21089
--HG--
extra : moz-landing-system : lando
2019-03-04 20:21:31 +00:00
Brindusan Cristian
8a1c4fbd47
Backed out 4 changesets (bug 1530550, bug 1529684) for bc crashes at [@ mozilla::dom::BrowsingContext::Detach(bool)]. CLOSED TREE
...
Backed out changeset 289c2b4126c9 (bug 1530550)
Backed out changeset 9f3e65f6b1dd (bug 1529684)
Backed out changeset 257d45117af3 (bug 1529684)
Backed out changeset 7f2bda80e479 (bug 1529684)
2019-03-05 23:11:48 +02:00
Nika Layzell
8b4e459999
Bug 1530550 - Synchronize mOpener and mIsActivatedByUserGesture with SYNCED_BC_FIELD, r=farre
...
Differential Revision: https://phabricator.services.mozilla.com/D21134
--HG--
extra : moz-landing-system : lando
2019-03-05 17:33:52 +00:00
Nika Layzell
332f3940ad
Bug 1529684 - Part 2: Create BrowsingContext for remote browsers in parent, r=farre
...
Depends on D21095
Differential Revision: https://phabricator.services.mozilla.com/D21096
--HG--
extra : moz-landing-system : lando
2019-03-05 17:33:22 +00:00
Nika Layzell
95cc8c68c0
Bug 1529684 - Part 1: Allow Attaching BrowsingContext from parent to child, r=farre
...
This is important to allow creating BrowsingContexts outside of the process
where they are going to be used. This is largely a re-arrangement of existing
code.
There is currently no way to do this type of attaching for browsing contexts in
existing BrowsingContextGroups, which creates some limitations, but happens to
be sufficient for us in the current situation.
Differential Revision: https://phabricator.services.mozilla.com/D21095
--HG--
extra : moz-landing-system : lando
2019-03-05 17:33:19 +00:00
Andreea Pavel
be960187e1
Backed out 3 changesets (bug 1524992) for valgrind failures on a CLOSED TREE
...
Backed out changeset face9d1e8868 (bug 1524992)
Backed out changeset ae1e20a595c4 (bug 1524992)
Backed out changeset b0b9322c7a59 (bug 1524992)
2019-03-05 01:36:59 +02:00
James Willcox
f13f6cf657
Bug 1524992 - Don't trigger crash in about:crash* when opened from external apps r=mconley
...
Differential Revision: https://phabricator.services.mozilla.com/D20891
--HG--
extra : moz-landing-system : lando
2019-03-04 22:06:55 +00:00
Cosmin Sabou
a706bb3916
Backed out 16 changesets (bug 827976) for causing bug 1532054. a=backout
...
Backed out changeset 54c0b12443ed (bug 827976)
Backed out changeset 92b45080d080 (bug 827976)
Backed out changeset 443087a359f9 (bug 827976)
Backed out changeset f976c2d4cebb (bug 827976)
Backed out changeset 66cffb171024 (bug 827976)
Backed out changeset 845e1d0b2402 (bug 827976)
Backed out changeset fd94066a1d76 (bug 827976)
Backed out changeset e253b264e7bd (bug 827976)
Backed out changeset 07ef335770a8 (bug 827976)
Backed out changeset 9d3805d77b99 (bug 827976)
Backed out changeset eed600ceb606 (bug 827976)
Backed out changeset 3b64368cff52 (bug 827976)
Backed out changeset 69d0378e0c09 (bug 827976)
Backed out changeset 9203871a5c6f (bug 827976)
Backed out changeset 96a507c818e2 (bug 827976)
Backed out changeset e254496ff95b (bug 827976)
2019-03-02 20:40:01 +02:00
Felipe Gomes
85cb541ba6
Bug 827976 - Teach leaks.py to ignore the hidden window. r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D21089
--HG--
extra : moz-landing-system : lando
2019-03-01 21:07:41 +00:00
Gurzau Raul
6b94d177d1
Merge mozilla-central to inbound. a=merge CLOSED TREE
2019-03-01 09:28:28 +02:00
Peter Van der Beken
f13ee34fd0
Bug 1518202 - Make RemoteObjectProxies add the edge to the native object to the CC. r=bzbarsky
...
Depends on D15848
Differential Revision: https://phabricator.services.mozilla.com/D21497
--HG--
extra : moz-landing-system : lando
2019-02-28 19:34:02 +00:00
Peter Van der Beken
41fde75dc8
Bug 1518202 - Add cross-process proxies for Location. r=bzbarsky
...
Differential Revision: https://phabricator.services.mozilla.com/D15848
--HG--
extra : moz-landing-system : lando
2019-02-28 18:23:15 +00:00
Hiroyuki Ikezoe
163a45f495
Bug 1531173 - Drop nsIContentViewer.scrollToNode. r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D21458
--HG--
extra : moz-landing-system : lando
2019-02-28 01:31:47 +00:00
Boris Zbarsky
9c5da5f234
Bug 1489308 part 9. Remove now-unused wyciwyg bits. r=mccr8
...
Differential Revision: https://phabricator.services.mozilla.com/D17327
--HG--
rename : dom/html/test/browser_refresh_wyciwyg_url.js => dom/html/test/browser_refresh_after_document_write.js
rename : dom/html/test/file_refresh_wyciwyg_url.html => dom/html/test/file_refresh_after_document_write.html
extra : moz-landing-system : lando
2019-02-28 01:09:48 +00:00
Boris Zbarsky
4bed318059
Bug 1489308 part 4. Allow UpdateURLAndHistory to work even if there's no root session history. r=smaug
...
This can happen when someone does a document.open() on a document that has no session history.
Differential Revision: https://phabricator.services.mozilla.com/D17322
--HG--
extra : moz-landing-system : lando
2019-02-27 05:10:11 +00:00
Boris Zbarsky
af8e1b14b7
Bug 1489308 part 2. Allow UpdateURLAndHistory to work even if mOSHE is null, if we're doing a replace. r=smaug
...
We're going to end up hitting this if someone does a document.open() before mOSHE
has been set. We shouldn't need to worry about mLSHE, because the document.open()
will cancel the corresponding load.
Differential Revision: https://phabricator.services.mozilla.com/D17319
--HG--
extra : moz-landing-system : lando
2019-02-27 06:01:57 +00:00
Boris Zbarsky
282523ed8c
Bug 1489308 part 1. Factor out part of nsDocShell::AddState into a separate method. r=qdot
...
This implements the "URL and history update steps" from the HTML spec. See
<https://html.spec.whatwg.org/multipage/history.html#url-and-history-update-steps >.
Differential Revision: https://phabricator.services.mozilla.com/D17318
--HG--
extra : moz-landing-system : lando
2019-02-27 05:56:23 +00:00
Ciure Andrei
662a6079d1
Backed out changeset c2091f595c72 (bug 1530550) for ,ultiple leakcheck failures CLOSED TREE
2019-02-28 02:56:12 +02:00
Boris Zbarsky
78443da2a5
Bug 1531128 part 2. Add a docshell API for determining whether a navigation is in progress. r=mccr8
...
This is needed by the document.open spec, which cancels loads for the document
only if a navigation is pending.
Differential Revision: https://phabricator.services.mozilla.com/D21441
--HG--
extra : moz-landing-system : lando
2019-02-27 23:21:29 +00:00
Jonathan Kingston
f6680698bd
Bug 1525319 - Removing context from OnDataAvailable r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D20881
--HG--
extra : moz-landing-system : lando
2019-02-27 23:42:27 +00:00
Jonathan Kingston
c4853316e7
Bug 1525319 - Removing context from OnStopRequest r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D20770
--HG--
extra : moz-landing-system : lando
2019-02-27 23:41:31 +00:00
Jonathan Kingston
f7e35ae39e
Bug 1525319 - Removing context from OnStartRequest r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D20769
--HG--
extra : moz-landing-system : lando
2019-02-27 23:41:04 +00:00
Nika Layzell
b9e168fca3
Bug 1530550 - Synchronize mOpener and mIsActivatedByUserGesture with SYNCED_BC_FIELD, r=farre
...
Differential Revision: https://phabricator.services.mozilla.com/D21134
--HG--
extra : moz-landing-system : lando
2019-02-27 22:46:41 +00:00
Mike Conley
3081c2863c
Bug 1529088 - Hold the HTML-based about:config to Nightly until we get Product sign-off. r=florian,paolo
...
Differential Revision: https://phabricator.services.mozilla.com/D20825
--HG--
extra : moz-landing-system : lando
2019-02-27 21:54:57 +00:00
Coroiu Cristina
5a9b738453
Backed out 2 changesets (bug 1524992) for multiple failures and timeout on a CLOSED TREE
...
Backed out changeset fb1d7e57e253 (bug 1524992)
Backed out changeset bd215cd3c8d7 (bug 1524992)
2019-02-27 19:02:03 +02:00
James Willcox
d8c10c8447
Bug 1524992 - Don't trigger crash in about:crash* when opened from external apps r=mconley
...
Differential Revision: https://phabricator.services.mozilla.com/D20891
--HG--
extra : moz-landing-system : lando
2019-02-27 16:04:04 +00:00
Daniel Varga
f150d529f8
Backed out 2 changesets (bug 1524992) for linting opt failure on a CLOSED TREE
...
Backed out changeset 998c1f756e51 (bug 1524992)
Backed out changeset e5da75d979ef (bug 1524992)
--HG--
extra : amend_source : 4ae2d7cb138f24453c4d19098f5e1a1f400f9fea
2019-02-27 17:19:45 +02:00
James Willcox
0891e46847
Bug 1524992 - Don't trigger crash in about:crash* when opened from external apps r=mconley
...
Depends on D20890
Differential Revision: https://phabricator.services.mozilla.com/D20891
--HG--
extra : moz-landing-system : lando
2019-02-25 21:37:45 +00:00
Ryan Hunt
8d2d1c1d89
Bug 1523969 part 5 - Move method definition inline comments to new line in 'docshell/'. r=qdot
...
Differential Revision: https://phabricator.services.mozilla.com/D21105
--HG--
extra : rebase_source : 9b8687a7cbe0d0e81fe23bb4a858c56007101756
2019-02-25 16:04:59 -06: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
Andreas Farre
1b8510f881
Bug 1523645 - Add transactions for syncing BrowsingContext fields. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D20187
--HG--
extra : moz-landing-system : lando
2019-02-21 20:14:28 +00: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
Christoph Kerschbaumer
643fbfc678
Bug 1528916: Explicitly set LoadInfo for about:crashcontent and about:crashparent. r=gijs
2019-02-19 10:26:54 +01:00
Valentin Gosu
a5cc5b2a87
Bug 1521808 - Implement process switching based on Cross-Opener-Origin-Policy header r=nika,qdot
...
* New topLevel loads get the nsILoadInfo.openerPolicy of the current top level document
* Parsing the Cross-Opener-Origin-Policy of a channel will update mLoadInfo.openerPolicy and this value will get propagated to the child process.
* SessionStore now checks nsIHttpChannel.hasCrossOriginOpenerPolicyMismatch (preffed off) and performs a process switch if needed
Differential Revision: https://phabricator.services.mozilla.com/D19000
--HG--
rename : toolkit/components/remotebrowserutils/tests/browser/browser_httpResponseProcessSelection.js => toolkit/components/remotebrowserutils/tests/browser/browser_httpCrossOriginOpenerPolicy.js
extra : moz-landing-system : lando
2019-02-15 22:02:47 +00:00
Valentin Gosu
865d80fff4
Bug 1521808 - Implement Cross-Origin-Opener-Policy header r=nika,mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D18119
--HG--
extra : moz-landing-system : lando
2019-02-15 22:02:58 +00:00
Nika Layzell
947aaf1432
Bug 1522637 - Part 3: Send history index when resuming redirected loads, r=qdot
...
Depends on D18603
Differential Revision: https://phabricator.services.mozilla.com/D18604
--HG--
extra : moz-landing-system : lando
2019-02-15 19:49:11 +00:00
Cosmin Sabou
fab429586f
Merge autoland to mozilla-central. a=merge
2019-02-15 20:36:32 +02:00
Cosmin Sabou
ba308a2f90
Backed out 4 changesets (bug 1521808) for causing merge conflicts.
...
Backed out changeset 42641f88d7da (bug 1521808)
Backed out changeset 32ce09b2c33a (bug 1521808)
Backed out changeset 94e513102b53 (bug 1521808)
Backed out changeset a08553c07886 (bug 1521808)
2019-02-15 20:34:07 +02:00
Razvan Maries
d93d94cbc9
Backed out 9 changesets (bug 1522637) for causing bug 1528188. a=backout
...
Backed out changeset e4ca191d62a5 (bug 1522637)
Backed out changeset 540e5f318768 (bug 1522637)
Backed out changeset 0886a317a108 (bug 1522637)
Backed out changeset 4c7c512a262d (bug 1522637)
Backed out changeset d7eb272688be (bug 1522637)
Backed out changeset 67e838f49f4b (bug 1522637)
Backed out changeset 7e38890c72fa (bug 1522637)
Backed out changeset e6ca9ad18d15 (bug 1522637)
Backed out changeset 0f759e91eca8 (bug 1522637)
2019-02-15 18:21:36 +02:00
Nika Layzell
6ded246a08
Bug 1522637 - Part 3: Send history index when resuming redirected loads, r=qdot
...
Depends on D18603
Differential Revision: https://phabricator.services.mozilla.com/D18604
--HG--
extra : source : 6b4d010964ec9e2175e7ba02991d083fab128c49
2019-02-14 15:36:02 +00:00
Bogdan Tara
c732fccb1e
Backed out 8 changesets (bug 1522637) for browser_all_files_referenced.js failures CLOSED TREE
...
Backed out changeset f7ab0e6e739b (bug 1522637)
Backed out changeset 3d24e8e81c02 (bug 1522637)
Backed out changeset 41ca0b87537e (bug 1522637)
Backed out changeset 6e0d4b6b1c93 (bug 1522637)
Backed out changeset 8f494271ec06 (bug 1522637)
Backed out changeset 6b4d010964ec (bug 1522637)
Backed out changeset 5eeda2ba8e79 (bug 1522637)
Backed out changeset 5988b8e7d17c (bug 1522637)
2019-02-14 19:20:58 +02:00
Nika Layzell
438cbbeca1
Bug 1522637 - Part 3: Send history index when resuming redirected loads, r=qdot
...
Depends on D18603
Differential Revision: https://phabricator.services.mozilla.com/D18604
--HG--
extra : moz-landing-system : lando
2019-02-14 15:36:02 +00:00
Valentin Gosu
3d45f28bb0
Bug 1521808 - Implement process switching based on Cross-Opener-Origin-Policy header r=nika,qdot
...
* New topLevel loads get the nsILoadInfo.openerPolicy of the current top level document
* Parsing the Cross-Opener-Origin-Policy of a channel will update mLoadInfo.openerPolicy and this value will get propagated to the child process.
* SessionStore now checks nsIHttpChannel.hasCrossOriginOpenerPolicyMismatch (preffed off) and performs a process switch if needed
Differential Revision: https://phabricator.services.mozilla.com/D19000
--HG--
rename : toolkit/components/remotebrowserutils/tests/browser/browser_httpResponseProcessSelection.js => toolkit/components/remotebrowserutils/tests/browser/browser_httpCrossOriginOpenerPolicy.js
extra : moz-landing-system : lando
2019-02-15 12:14:49 +00:00
Valentin Gosu
b2a27c32cd
Bug 1521808 - Implement Cross-Origin-Opener-Policy header r=nika,mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D18119
--HG--
extra : moz-landing-system : lando
2019-02-15 12:15:39 +00:00
Andreas Farre
1877793bdc
Bug 1525887 - Add set of ContentParent subscribed to BrowsingContextGroup. r=nika
...
Add the origin ContentParent to a CanonicalBrowsingContext's group
when a CanonicalBrowsingContext is created from IPC. With this it is
possible to keep track of all child processes associated with a
BrowsingContextGroup.
Differential Revision: https://phabricator.services.mozilla.com/D19004
--HG--
extra : moz-landing-system : lando
2019-02-15 11:35:48 +00:00
Andreas Farre
48da8e2402
Bug 1515646 - Add FindWithName and FindChildWithName to BrowsingContext. r=peterv
...
This implements the step of choosing a browsing context with
FindWithName, which should be equivalent to calling
nsIDocShellTreeItem.findItemWithName passing null for 'aRequestor' and
'aOriginalRequestor' and false for 'aSkipTabGroup'.
Differential Revision: https://phabricator.services.mozilla.com/D15190
--HG--
extra : moz-landing-system : lando
2019-02-15 09:59:21 +00:00
Sylvestre Ledru
41d1d79094
Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D19663
--HG--
extra : moz-landing-system : lando
2019-02-15 08:15:57 +00:00
Bogdan Tara
e8d5e8fa11
Backed out changeset 70c5f8576e43 (bug 1525887) for PLDHashTable failures CLOSED TREE
2019-02-14 12:30:34 +02:00
Andreas Farre
4a8d21430f
Bug 1525887 - Add set of ContentParent subscribed to BrowsingContextGroup. r=nika
...
Add the origin ContentParent to a CanonicalBrowsingContext's group
when a CanonicalBrowsingContext is created from IPC. With this it is
possible to keep track of all child processes associated with a
BrowsingContextGroup.
Differential Revision: https://phabricator.services.mozilla.com/D19004
--HG--
extra : moz-landing-system : lando
2019-02-14 08:55:22 +00:00