Kannan Vijayan
c110dbe443
Bug 1569262 - Rename nsIDocShellTreeItem::GetRootTreeItem to GetInProcessRootTreeItem for Fission marking. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D41064
2019-08-07 19:24:00 +00:00
Kannan Vijayan
c690c1925f
Bug 1559414 - Rename unaudited pre-fission methods with SameProcess for future audit burndown. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D39378
2019-07-26 16:48:31 +00:00
Ciure Andrei
555c0eb5a5
Backed out 10 changesets (bug 1523638) for causing high frequency Android 7.0 mochitests failures CLOSED TREE
...
Backed out changeset 644ceb2fe568 (bug 1523638 )
Backed out changeset 27647ee7a927 (bug 1523638 )
Backed out changeset 96f1ccb95570 (bug 1523638 )
Backed out changeset b60a17ea716a (bug 1523638 )
Backed out changeset 507e63186c5f (bug 1523638 )
Backed out changeset 33255408ca61 (bug 1523638 )
Backed out changeset d97b2d223616 (bug 1523638 )
Backed out changeset eba2a0514cde (bug 1523638 )
Backed out changeset d7065174c5c4 (bug 1523638 )
Backed out changeset c21b361e175d (bug 1523638 )
2019-07-23 05:13:32 +03:00
Nika Layzell
5c29b58c34
Bug 1523638 - Part 9: Use provided 'WindowGlobalChild' actors to create the initial about:blank document, r=kmag
...
Differential Revision: https://phabricator.services.mozilla.com/D37656
2019-07-18 19:38:22 +00:00
Bogdan Tara
8aef5e7fca
Backed out 9 changesets (bug 1523638) for browser_contextmenu.js failures CLOSED TREE
...
Backed out changeset 0a584a07b696 (bug 1523638 )
Backed out changeset 8c5af2289900 (bug 1523638 )
Backed out changeset 40ed1bd64b09 (bug 1523638 )
Backed out changeset 9a99a0391979 (bug 1523638 )
Backed out changeset 07fb4748b91a (bug 1523638 )
Backed out changeset 49047c3ebae9 (bug 1523638 )
Backed out changeset d606d072126c (bug 1523638 )
Backed out changeset 76dc1937fc77 (bug 1523638 )
Backed out changeset c784c14b5d5d (bug 1523638 )
2019-07-16 23:40:47 +03:00
Nika Layzell
5cc63b3949
Bug 1523638 - Part 9: Use provided 'WindowGlobalChild' actors to create the initial about:blank document, r=kmag
...
Differential Revision: https://phabricator.services.mozilla.com/D37656
2019-07-16 18:47:56 +00:00
Thomas Nguyen
b29b902e64
Bug 1554947 - Update nsIWebBrowserPersist to use referrerInfo class instead of referrer and referrerr policy r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D33938
2019-07-16 18:02:16 +00:00
Emilio Cobos Álvarez
8f653063bd
Bug 1554433 - Move system colors to values::specified::color. r=xidorn
...
This should be an idempotent patch. The way to come up with this patch has been:
* Run the first script attached to the bug and pipe it to xclip, then paste it
in color.rs
* Add the relevant #[derive] annotations and remove the color.mako.rs
definition.
* Reorder the values to match the ColorID definition, on which some widget
prefs and caching stuff relies on.
* Manually port some documentation from nsLookAndFeel.h
* Run `rg 'eColorID_' | cut -d : -f 1 | sort | uniq >files`
* Run the second script attached to the bug.
* Manually fix usage of `LAST_COLOR` (adding the `End` variant), and adding
casts to integer as needed.
* Add an static assert so that people remember to update the prefs, rather than
a comment on the definition :)
Differential Revision: https://phabricator.services.mozilla.com/D32610
2019-05-26 13:10:00 +00:00
Peter Van der Beken
cd80fed289
Bug 1534638 - Part 1: remove unused arguments from session history listeners. r=qdot
...
Differential Revision: https://phabricator.services.mozilla.com/D25761
2019-04-04 16:18:48 +00:00
Gijs Kruitbosch
c0b204ac51
Bug 1540170 - don't use history for windowless browsers, r=farre
...
Differential Revision: https://phabricator.services.mozilla.com/D25587
2019-04-01 11:59:40 +01:00
Masayuki Nakano
dbcabe5901
Bug 1540990 - Get rid of unnecessary nsIPresShell.h inclusions r=emilio
...
A lot of files include `nsIPresShell.h` even though currently they don't
need it. This patch removes the unnecessary inclusions.
Differential Revision: https://phabricator.services.mozilla.com/D25744
2019-04-04 00:19:48 +00:00
Razvan Maries
5e691f8a46
Backed out changeset 3b94c20ba873 (bug 1540990) for build bustages. CLOSED TREE
2019-04-04 02:44:00 +03:00
Masayuki Nakano
0fd36d1719
Bug 1540990 - Get rid of unnecessary nsIPresShell.h inclusions r=emilio
...
A lot of files include `nsIPresShell.h` even though currently they don't
need it. This patch removes the unnecessary inclusions.
Differential Revision: https://phabricator.services.mozilla.com/D25744
2019-04-03 23:29:38 +00:00
Nika Layzell
a21d0de6d4
Bug 1529684 - Part 2: Create BrowsingContext for remote browsers in parent, r=farre
...
Depends on D21095
Differential Revision: https://phabricator.services.mozilla.com/D21096
2019-03-14 18:50:45 +00:00
Brindusan Cristian
0b488e34ba
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
0f4d25c913
Bug 1529684 - Part 2: Create BrowsingContext for remote browsers in parent, r=farre
...
Depends on D21095
Differential Revision: https://phabricator.services.mozilla.com/D21096
2019-03-05 17:33:22 +00:00
Ryan Hunt
743a2a46fe
Bug 1523969 part 23 - Move method definition inline comments to new line in 'toolkit/'. r=ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D21124
2019-02-25 16:12:51 -06:00
Nika Layzell
8eb68bcb39
Bug 1522637 - Part 3: Send history index when resuming redirected loads, r=qdot
...
Depends on D18603
Differential Revision: https://phabricator.services.mozilla.com/D18604
2019-02-15 19:49:11 +00:00
Razvan Maries
25ef899b22
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
aa7faefb58
Bug 1522637 - Part 3: Send history index when resuming redirected loads, r=qdot
...
Depends on D18603
Differential Revision: https://phabricator.services.mozilla.com/D18604
2019-02-14 15:36:02 +00:00
Bogdan Tara
cf2a8a5e80
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
efa3555cc6
Bug 1522637 - Part 3: Send history index when resuming redirected loads, r=qdot
...
Depends on D18603
Differential Revision: https://phabricator.services.mozilla.com/D18604
2019-02-14 15:36:02 +00:00
Thomas Nguyen
d13c22ef47
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
2019-02-12 19:35:32 +00:00
shindli
1bcd12d6dd
Backed out 6 changesets (bug 1522637) for en-US failures in testing/firefox-ui/tests/functional/safebrowsing/test_notification.py TestSafeBrowsingNotificationBar.test_notification_bar CLOSED TREE
...
Backed out changeset 18a809d53298 (bug 1522637)
Backed out changeset 9e9fd362dd8f (bug 1522637)
Backed out changeset f1191be4243a (bug 1522637)
Backed out changeset 5a8067fd848c (bug 1522637)
Backed out changeset 5f49cd87b1bd (bug 1522637)
Backed out changeset f82ba91f5ea2 (bug 1522637)
2019-02-09 03:12:53 +02:00
Nika Layzell
d8f5cbfa8d
Bug 1522637 - Part 3: Send history index when resuming redirected loads, r=qdot
...
Depends on D18603
Differential Revision: https://phabricator.services.mozilla.com/D18604
2019-02-08 17:36:02 +00:00
Nika Layzell
046e0a18c7
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
2019-01-23 21:07:08 +00:00
Ehsan Akhgari
5530c0b72d
Bug 1514340 - Part 2: Break out the content blocking related notifications into nsIWebProgressListener.onContentBlockingEvent(); r=baku,johannh
...
Differential Revision: https://phabricator.services.mozilla.com/D16052
2019-01-21 09:58:50 -05:00
Ehsan Akhgari
498e2df734
Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre
...
# ignore-this-changeset
2019-01-18 10:16:18 +01:00
Christoph Kerschbaumer
be58c1d92d
Bug 1513241: Update loadURI interface and pass a loadURIOptions dictionary from frontend to docshell loads. r=bz
2019-01-11 12:43:39 +01:00
Emilio Cobos Álvarez
dc336a73ba
Bug 1517241 - Rename nsIDocument to mozilla::dom::Document. r=smaug
...
Summary: Really sorry for the size of the patch. It's mostly automatic
s/nsIDocument/Document/ but I had to fix up in a bunch of places manually to
add the right namespacing and such.
Overall it's not a very interesting patch I think.
nsDocument.cpp turns into Document.cpp, nsIDocument.h into Document.h and
nsIDocumentInlines.h into DocumentInlines.h.
I also changed a bunch of nsCOMPtr usage to RefPtr, but not all of it.
While fixing up some of the bits I also removed some unneeded OwnerDoc() null
checks and such, but I didn't do anything riskier than that.
2019-01-03 17:48:33 +01:00
Emilio Cobos Álvarez
b26d7730f0
Bug 1516366 - Move base classes from nsDocument to nsIDocument. r=smaug
...
This is a big step in order to merge both.
Also allows to remove some very silly casts, though it causes us to add some
ToSupports around to deal with ambiguity of casts from nsIDocument to
nsISupports, and add a dummy nsISupports implementation that will go away later
in the series.
Differential Revision: https://phabricator.services.mozilla.com/D15352
2018-12-29 20:41:28 +01:00
Ehsan Akhgari
61fe3c0a09
Bug 1510911 - Part 2: Backout changeset f8849239da42 (bug 1493563 - Part 5) for regressing performance
2018-12-03 14:27:53 -05:00
Sylvestre Ledru
e5a134f73a
Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
...
# ignore-this-changeset
2018-11-30 11:46:48 +01:00
Andreas Farre
ccbfafe238
Bug 1502330 - Create BrowsingContext with passed opener. r=qdot
...
By replacing nsWebBrowser's implementation of the
nsIBaseWindow.initWindow and nsIBaseWindow.create with a new static
nsWebBrowser::Create method we make it possible to pass arguments
directly when creating an nsWebBrowser, for example the opener
BrowsingContext. As a bonus we can do away with
nsWebBrowser::mInitInfo!
Differential Revision: https://phabricator.services.mozilla.com/D12634
2018-11-27 09:59:44 +00:00
Andreas Farre
6a06e4bb72
Bug 1496722 - Make nsIDocShellTreeItem.itemType readonly. r=peterv
...
Differential Revision: https://phabricator.services.mozilla.com/D7900
2018-11-08 21:58:58 +00:00
Andreas Farre
6d1cb9a5de
Bug 1480198 - Construct nsDocShell objects inside BrowsingContext. r=peterv
...
Differential Revision: https://phabricator.services.mozilla.com/D7400
2018-11-05 12:43:10 +00:00
Jonathan Kingston
1ec5d5b19b
Bug 1490257 - Add in asserts for missing triggeringPrincipal. r=ckerschb
...
Depends on D10884
Differential Revision: https://phabricator.services.mozilla.com/D10885
2018-11-05 14:03:28 +00:00
Gurzau Raul
fb23268fea
Backed out changeset 523ff2753dea (bug 1490257) for causing Bug 1503757 a=backout
2018-11-01 15:27:30 +02:00
Jonathan Kingston
b25eb46164
Bug 1490257 - Add asserts into loadURI where we imply SystemPrincipal. r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D10221
2018-10-31 18:00:40 +00:00
Dorel Luca
a5b6424b63
Backed out changeset 8d7987ea4fb1 (bug 1490257) for causing android failures. CLOSED TREE
2018-10-15 14:39:00 +03:00
Jonathan Kingston
8ccca3858d
Bug 1490257 - Add asserts and remove implied system triggering principal code r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D8368
2018-10-15 06:29:45 +00:00
Nicholas Nethercote
37757f0120
Bug 1494175 - Remove unused nsIWebBrowser methods and attributes. r=qdot
2018-09-26 19:38:13 +10:00
Ehsan Akhgari
7bddc35620
Bug 1493563 - Part 5: Present the old state and the content blocking log to the web progress listeners; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D6595
2018-09-28 14:46:02 -04:00
Noemi Erli
7fb8829472
Backed out 12 changesets (bug 1493563) for failures in test_css-logic-getCssPath.html CLOSED TREE
...
Backed out changeset d2e83655082f (bug 1493563)
Backed out changeset 1ce58f004593 (bug 1493563)
Backed out changeset 344298c73ee7 (bug 1493563)
Backed out changeset 02b8b073f7d7 (bug 1493563)
Backed out changeset 3ef707008502 (bug 1493563)
Backed out changeset bb2720a401fe (bug 1493563)
Backed out changeset ce0211be57a1 (bug 1493563)
Backed out changeset 83d6c2bf8dc6 (bug 1493563)
Backed out changeset 1844af4cc25b (bug 1493563)
Backed out changeset c8ab17addb7a (bug 1493563)
Backed out changeset a1ff0cd62563 (bug 1493563)
Backed out changeset 932b41e211e0 (bug 1493563)
2018-09-28 21:31:18 +03:00
Ehsan Akhgari
6c662bd61e
Bug 1493563 - Part 5: Present the old state and the content blocking log to the web progress listeners; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D6595
2018-09-28 13:24:41 -04:00
Gijs Kruitbosch
ae4c0d1d3d
Bug 1493655 - make nsISecureBrowserUI initialize from a docshell instead of a window, r=keeler,nika
...
This also removes the (afaict, unused) stub implementation from TabParent. The netwerk header
inclusions were necessary because those files included TabParent.h and through it,
nsISecureBrowserUI, but now TabParent.h no longer does that.
Differential Revision: https://phabricator.services.mozilla.com/D6829
2018-09-26 17:48:38 +00:00
Nicholas Nethercote
e0b1835fc5
Bug 1488628 - Change some nsIWebNavigation method arguments from wstring to AString. r=nika
2018-09-05 13:42:16 +10:00
Ehsan Akhgari
6f492336b2
Bug 1484848 - Remove the XPCOM component registrations for window and child window; r=mstange
2018-08-21 16:20:28 -04:00
Kyle Machulis
7b09c13dc4
Bug 1480641 - Remove nsITextScroll; r=nika
...
Summary:
Implemented by nsDocShell and nsWebBrowser (which just wraps the
docshell functions), but not actually used anywhere.
MozReview-Commit-ID: 2YzfsrvOolX
Test Plan: Try run
Reviewers: nika
Tags: #secure-revision
Bug #: 1480641
Differential Revision: https://phabricator.services.mozilla.com/D2695
2018-08-07 17:28:16 -07:00
Kyle Machulis
548edbc415
Bug 1480645 - Remove nsIWebBrowserFocus; r=nika
...
Summary:
Only implemented by nsWebBrowser, only 2 methods used in TabChild.
Move methods to nsWebBrowser implementation and remove unused methods,
change names to something more obvious, and remove interface.
MozReview-Commit-ID: 4WwBrVWQEVy
Test Plan: Try run
Reviewers: nika
Tags: #secure-revision
Bug #: 1480645
Differential Revision: https://phabricator.services.mozilla.com/D2752
2018-08-07 15:12:56 -07:00