Commit Graph

48 Commits

Author SHA1 Message Date
Eugen Sawin
2b64514c8a Bug 1355542 - [1.1] Respect filter mask in remote web progress notification dispatching. r=felipe 2017-04-13 23:17:23 +02:00
Jared Wein
5a181760cc Bug 1348068 - Enable the key-spacing rule for eslint and fix the related issues. r=standard8
Running eslint with --fix didn't fix many of the issues. The majority here had to be fixed by hand but a significant majority of the issues were related to a few files that I was able to use find-and-replace with. I regret not making this in to separate commits of the hand-fixes and the fixes from --fix but I don't recall --fix fixing any of the issues.

MozReview-Commit-ID: ANyg2qfo3Qx
2017-03-21 14:29:43 -04:00
Florian Quèze
13cfe1d3f3 Bug 1329182 - remove trailing newURI null parameters in toolkit/, r=jaws. 2017-01-09 20:27:25 +01:00
Jared Wein
242ab87626 Bug 1326511 - Enable brace-style and no-multi-spaces eslint rules for toolkit. r=MattN
MozReview-Commit-ID: FuVu8skcqOe
2016-12-30 21:47:25 -05:00
Jared Wein
e3149c378f Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN
MozReview-Commit-ID: 7E7LPorrEje
2016-12-29 18:34:54 -05:00
Wes Kocher
2d7553dcfd Backed out 3 changesets (bug 1325464) for xpcshell failures a=backout
Backed out changeset 562ddc32cc21 (bug 1325464)
Backed out changeset cd10db6087dd (bug 1325464)
Backed out changeset 4079437c4648 (bug 1325464)
2016-12-29 14:05:44 -08:00
Jared Wein
34e228f767 Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN
MozReview-Commit-ID: 8WoGr8i6oCR
2016-12-29 15:20:47 -05:00
Dave Townsend
e7b1b3284f Bug 1316882: Turn on space-before-function-paren eslint rule (toolkit). r=jaws
MozReview-Commit-ID: FGFwg6TYkvm
2016-11-11 15:22:34 -08:00
Gijs Kruitbosch
f10989479e Bug 1199934 - page shouldn't be able to trap/revert the location bar by hash/replacestate changes, r=jaws
MozReview-Commit-ID: HsmmHsUtU0h
2016-04-13 19:32:45 +01:00
Gijs Kruitbosch
bd9f1005b4 Bug 1254657 - change how we send Content:LoadURIResult to avoid upsetting RemoteWebProgress.jsm, r=mconley
MozReview-Commit-ID: 7GR6H19ZUuN
2016-03-08 20:04:10 +00:00
Gijs Kruitbosch
3c7d01a924 Bug 798249 - track when we're 'inside' a loadURI call when dealing with Stop() calls resulting from the same, r=mconley
MozReview-Commit-ID: 48xQn03HtjZ
2016-02-16 14:08:14 +00:00
Gijs Kruitbosch
6a2f5c957c Backed out changeset 2331bc8e11a7 (bug 798249) for leaks and intermittent about:home uncaught errors
MozReview-Commit-ID: FWORd2nzGbl
2016-03-08 12:26:54 +00:00
Gijs Kruitbosch
d80235f625 Bug 798249 - track when we're 'inside' a loadURI call when dealing with Stop() calls resulting from the same, r=mconley
MozReview-Commit-ID: 48xQn03HtjZ
2016-02-16 14:08:14 +00:00
Gijs Kruitbosch
027b0077c5 Bug 1088710 - part 2: make it work on e10s, r=mconley
MozReview-Commit-ID: FhlfqJ1gmjR
2016-02-24 15:24:20 +00:00
Mike Conley
b62187d342 Bug 1246115 - Make gSafeBrowsing set the phishing menu item correctly. r=Gijs
Unfortunately, when onLocationChange is fired for an attack site for
the about:blocked error page that we display, content.document has not
been updated with the loaded error document, so
content.document.documentURI will appear to be the previous page that
had been loaded. In this patch, we update the parent's cache of
documentURI in onStateChange as well, since this seems to be fired
after the error page has been loaded.

MozReview-Commit-ID: 1yLAw0JTEC6
2016-02-10 15:49:50 -05:00
Mike Conley
2f93a53dee Bug 1233803 - Register RemoteWebNavigation as a standard js-implemented XPCOM component. r=felipe
This allows us to add shims to the implementation for add-ons.
2016-01-12 16:44:08 -05:00
Kris Maglione
8629e53f82 Bug 1193837: Part 1 - Cache the last known inner window ID of remote browsers in parent process. r=billm 2015-11-30 17:56:01 -08:00
Wes Kocher
4e87701a29 Backed out 2 changesets (bug 1193837) because the web extension tests are failing CLOSED TREE
Backed out changeset ebe2433705a5 (bug 1193837)
Backed out changeset c3307a5ac126 (bug 1193837)
2015-12-02 13:23:18 -08:00
Kris Maglione
d83ed1830e Bug 1193837: Part 1 - Cache the last known inner window ID of remote browsers in parent process. r=billm 2015-11-30 17:56:01 -08:00
Bill McCloskey
5f69537462 Bug 1081879 - [e10s] WebProgress shims (r=mconley) 2015-04-29 17:23:48 -07:00
Bill McCloskey
5327bb85fd Bug 1140129 - Don't clear tab title when location changes (r=Mossop) 2015-04-13 18:11:49 -07:00
Dave Townsend
51d27289fa Bug 1073462: Send synthetic property with Content:LocationChange message. r=felipe
The browser.isSynthetic property is needed by the zoom code to detect when to
apply the correct zoom level. In e10s it is currently only set when a new
document is created which means we don't set it right for history navigation.
This sends it with the Content:LocationChange message which is where it is
needed by the zoom code anyway.
2015-03-03 16:58:53 -08:00
Dave Townsend
7fa05a5ed4 Bug 1087966: Fix tab detach in e10s windows. r=mconley
When swapping docshells we also have to swap any properties on remote-browsers
that are cached from the content process. This includes things like the
remoteWebNavigation etc. which in turn cache content information. Some of
these also maintain message listeners that we have to switch to the new browser
and message manager.
2015-02-18 16:47:43 -08:00
Mike Conley
7284b363e5 Bug 1077168 - Have RemoteWebProgress dispatch DOMWindowID's to nsIWebProgressListener's. r=felipe. 2015-02-10 12:28:31 -05:00
Dave Townsend
725563bad3 Bug 1081891: Only reset the browser title when we start to switch to a new document location. r=mconley 2015-02-18 11:57:45 -08:00
Tom Schuster
14ce40a642 Bug 764496 - Make EV detection work in content processes. r=keeler,kanru 2014-12-24 14:04:24 +01:00
Tim Taubert
58a34d5a6f Bug 1106936 - [e10s] Fix progress throbber for remote browsers r=billm 2014-12-03 14:14:23 -08:00
Tim Taubert
3225a4de9b Bug 1099490 - [e10s] Use nsBrowserStatusFilter in the content to avoid a flood of progress messages being sent to the parent r=billm 2014-11-15 15:58:08 +01:00
Tim Taubert
fdef5f3b34 Bug 998267 - Don't always show the throbber when opening new tabs in e10s r=billm 2014-09-25 05:34:47 +02:00
Mike Conley
ec715d3e33 Bug 1069567 - [e10s] Make remote browser contentPrincipals not be CPOWs. r=billm. 2014-09-18 19:26:50 -04:00
Bill McCloskey
b1704678d2 Bug 1059007 - [e10s] Update canGoBack for subframe navigations (r=felipe) 2014-08-28 13:37:16 -07:00
Alex Bardas
0d3fc371e8 Bug 999293 - [e10s] Make charset menu work. r=adw 2014-08-13 13:29:00 -04:00
Jim Blandy
39dc0c6097 Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan
The -*- file variable lines -*- establish per-file settings that Emacs will
pick up. This patch makes the following changes to those lines (and touches
nothing else):

 - Never set the buffer's mode.

   Years ago, Emacs did not have a good JavaScript mode, so it made sense
   to use Java or C++ mode in .js files. However, Emacs has had js-mode for
   years now; it's perfectly serviceable, and is available and enabled by
   default in all major Emacs packagings.

   Selecting a mode in the -*- file variable line -*- is almost always the
   wrong thing to do anyway. It overrides Emacs's default choice, which is
   (now) reasonable; and even worse, it overrides settings the user might
   have made in their '.emacs' file for that file extension. It's only
   useful when there's something specific about that particular file that
   makes a particular mode appropriate.

 - Correctly propagate settings that establish the correct indentation
   level for this file: c-basic-offset and js2-basic-offset should be
   js-indent-level. Whatever value they're given should be preserved;
   different parts of our tree use different indentation styles.

 - We don't use tabs in Mozilla JS code. Always set indent-tabs-mode: nil.
   Remove tab-width: settings, at least in files that don't contain tab
   characters.

 - Remove js2-mode settings that belong in the user's .emacs file, like
   js2-skip-preprocessor-directives.
2014-06-24 22:12:07 -07:00
Bill McCloskey
cfa49c2449 Bug 980766 - [e10s] Send document content type to remote-browser.xml (r=felipe) 2014-03-11 20:13:41 -07:00
Mark Hammond
e55dc7729f Bug 941469 - RemoteWebProgress doesn't pass flags param for onLocationChange. r=felipe 2013-11-22 17:39:05 +11:00
Bill McCloskey
573f46155c Bug 923333 - Replace docShell.setCurrentURI with something e10s-compatible (r=felipe) 2013-11-12 15:02:14 -08:00
Mark Hammond
aa216c1160 Bug 935379 - RemoteWebProgress should handle missing/failing progress listener methods. r=felipe 2013-11-07 10:43:59 +11:00
Tom Schuster
de9ee92259 Bug 913280 - Electrolysis: Refactor RemoteWebProgress to use a Manager that owns the toplevel and all the sublevel WebProgress objects. r=felipe 2013-09-06 13:10:11 -04:00
Tom Schuster
e348db5fac Bug 910838 - Electrolysis: Don't update browser information with non-toplevel WebProgress notifications. r=felipe 2013-09-05 19:24:29 -04:00
Tom Schuster
19dd01f3ad Bug 691610 - e10s support for useDefaultIcon. r=felipe sr=smaug 2013-07-29 11:03:41 -04:00
Felipe Gomes
0432548744 Bug 898170 - nsIWebProgress.isToplevel should be true when not notifying listeners (r=billm) 2013-07-26 14:26:43 -07:00
Bill McCloskey
b81f8996ba Bug 898170 - Don't remove listeners after their message manager is gone (r=felipe) 2013-07-26 14:26:40 -07:00
Tom Schuster
db9b92c160 Bug 868859 - Use CPOWs to pass browser.contentWindow and webProgress.DOMWindow in e10s. r=felipe 2013-07-17 09:27:49 -04:00
Ryan VanderMeulen
a65f70d676 Backed out 4 changesets (bug 893858, bug 868859, bug 886903) for Linux debug mochitest-other crashes on a CLOSED TREE.
Backed out changeset 0ded4854067b (bug 886903)
Backed out changeset ca8afb897e13 (bug 893858)
Backed out changeset c15f503a96cc (bug 868859)
Backed out changeset 6a788f399a7f (bug 868859)
2013-07-17 12:43:59 -04:00
Tom Schuster
cd0c1e723e Bug 868859 - Use CPOWs to pass browser.contentWindow and webProgress.DOMWindow in e10s. r=felipe 2013-07-17 09:27:49 -04:00
Tom Schuster
f0bcc6c807 Bug 666809 - Support SecurityUI in e10s mode. r=felipe f=gavin 2013-07-09 22:45:07 -04:00
Tom Schuster
e42a63db4f Bug 691613 - e10s support for setTabTitle with characterSet. r=felipe 2013-04-27 17:37:04 +02:00
Bill McCloskey
a7327e3128 Bug 666801 - Handle webProgress for out-of-process content (r=felipe) 2013-04-24 22:29:31 -07:00