Commit Graph

18797 Commits

Author SHA1 Message Date
Ryan VanderMeulen
232bf51514 Bug 1465017 - Revert commit b5415b0216c7 (bug 1452604) for broken "See Details" button on the blocked site page.
--HG--
extra : amend_source : f36dc86b40f085019bf80b8700d425aee7fe9832
2018-06-04 08:48:28 -04:00
Boris Zbarsky
c7f378d7ab Bug 1465875 part 1. Eliminate pointless QIs to nsIDOMNSEditableElement. r=qdot
We expose the relevant APIs on textarea and input elements anyway
(chromeonly).  The QIs will throw on a non-input or non-textarea element, but
none of these consumers expect that to happen.
2018-06-01 22:35:22 -04:00
Dão Gottwald
d559ce4ae4 Bug 1465401 - setTabTitle shouldn't wrap data URI shortening in try/catch. r=jfkthame
MozReview-Commit-ID: Cgh1iahbpWQ

--HG--
extra : rebase_source : a241adbc4ca8cdd783e8f9871ed437c469934bf7
2018-05-30 13:44:31 +02:00
Andreas Pehrson
9c806e1a4e Bug 1463581 - Add browser chrome test. r=johannh
MozReview-Commit-ID: JpryAEsiWfN

--HG--
extra : rebase_source : 4b5089f41c8fb151ae79383ccea7519370c92461
2018-05-30 16:47:46 +02:00
Noemi Erli
8e2471b6cb Backed out 8 changesets (bug 1458375) for Mochitest leaks on a CLOSED TREE
Backed out changeset 30a743401670 (bug 1458375)
Backed out changeset ae969e1cebfb (bug 1458375)
Backed out changeset 1fb76b9b6f82 (bug 1458375)
Backed out changeset 868da3a1b94a (bug 1458375)
Backed out changeset bd2cba9dfb3d (bug 1458375)
Backed out changeset 715850ae92a1 (bug 1458375)
Backed out changeset cfe8da250de7 (bug 1458375)
Backed out changeset 2968c0a21410 (bug 1458375)
2018-05-31 22:38:48 +03:00
Mike Conley
230f19a67a Bug 1458375 - Add a new browser-idle-startup-tasks-finished notification. r=Felipe
This notification fires when a browser window finishes running its idle tasks. Note
that it might never run if every window goes away before the idle tasks can run.

MozReview-Commit-ID: IEH98S29jhV

--HG--
extra : rebase_source : c00e7053a3a18215a3549ea6fd7c7194dd4ca584
2018-05-29 12:47:54 -04:00
Andreea Pavel
5798120b15 Backed out 4 changesets (bug 1351690) for failing browser chrome at e.g. browser/extensions/pdfjs/test/browser_pdfjs_zoom.js
Backed out changeset 8def346f7119 (bug 1351690)
Backed out changeset 64082649b185 (bug 1351690)
Backed out changeset 64d513f3c02b (bug 1351690)
Backed out changeset 4219d3de5e8b (bug 1351690)
2018-05-31 13:03:06 +03:00
Andrew McCreight
d637399f88 Bug 1351690, part 4 - Only load the stream converter when we try to view a pdf. r=bdahl
This inlines and simplifies the call to XPCOMUtils._getFactory,
because otherwise passing PdfStreamConverter appears to resolve it
immediately, loading the JSM. (The stream converter prototype does not
have a property _xpcom_factory, so there's no need for the check.)

Once that is done, we can just lazily load the stream converter JSM to
keep it from being loaded on startup.

This patch also checks that the stream converter is not loaded at
startup in the main process or the content process, and that PdfJs.jsm
is not loaded at startup in the content process. It needs to be loaded
in the main process to watch for some prefs.

MozReview-Commit-ID: EA0pSgs4AWH

--HG--
extra : rebase_source : fd79cf660e55a3b4e033b3f112228f36942169ea
2018-05-22 16:13:47 -07:00
arthur.iakab
fb18cb09bd Merge mozilla inbound to central a=merge 2018-05-31 01:05:10 +03:00
Dan Minor
a20dc982b3 Bug 1450658 - Add preference to disable focusing source; r=pehrsons
Focusing a source during a test run can cause Firefox to lose focus and
subsequent tests to timeout. This adds a preference which defaults to true
that allows the source to be focused. It is then set to false for tests that
involve screen sharing.

MozReview-Commit-ID: CNq2c87y8Ho

--HG--
extra : rebase_source : 805e2cbf9c09af419419a64d074e020784185b1d
2018-05-29 16:14:38 -04:00
Dão Gottwald
9cf7a7f896 Bug 1464489 - When creating a new bookmark, the bookmark panel should be titled "New Bookmark" instead of "Page Bookmarked". r=standard8
MozReview-Commit-ID: 1OeIdsf3bx

--HG--
extra : rebase_source : 73fa791b0ce1d4f7cb2f62035633f0e2b66f609e
2018-05-25 20:22:35 +02:00
Csoregi Natalia
0c87942d7d Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-05-30 12:27:51 +03:00
Boris Zbarsky
a7ede892a2 Bug 1455676 part 18. Stop using getInterface as the primary API for the indexeddb permission notifications. r=mrbkap 2018-05-29 22:58:50 -04:00
Noemi Erli
846f00f83f Merge inbound to mozilla-central. a=merge 2018-05-30 00:41:41 +03:00
Boris Zbarsky
16e02a5e28 Bug 1460735 part 1. Remove use of nsIDOMDocument in JS. r=qdot
There are some places where we have a thing which may not even be a node, and
we end up hardcoding the value of DOCUMENT_NODE there, because
"foo.nodeType == foo.DOCUMENT_NODE" will test true if foo is not a node: both
sides will be undefined.
2018-05-29 13:39:00 -04:00
Mark Banner
9f30e28934 Bug 1463738 - Remove the Bookmark description UI. r=dao
This removes the bookmark description UI, but leaves the backend in-place for a release or two, so that users have time to save anything they want (e.g. via backup).
The backend will be removed in bug 1402890.

MozReview-Commit-ID: La4AYFar7eK

--HG--
extra : rebase_source : 02bfe3cacdac331d09d5e62a1a70f48b68741670
2018-05-23 17:15:09 +01:00
Mark Striemer
46f9153fac Bug 1455300 - Part 2: Include hidden tabs in the History menu r=mak
MozReview-Commit-ID: 8sKrAJVIAD5

--HG--
extra : rebase_source : 3f60e2c766051b6e8c8f92cb6680e7f528d8895a
2018-05-10 16:01:36 -05:00
Mark Striemer
9ac0626b1a Bug 1455300 - Part 1: Extract tab menuitem code from tabbrowser.xml r=dao
MozReview-Commit-ID: LP0EZxe5cJ9

--HG--
extra : rebase_source : 0988341f91ea79db742fd19cb9fa894447b1e50c
2018-05-14 15:10:01 -05:00
Kris Maglione
a55436fb3d Bug 1460610: Follow-up: Fix test expectations. r=bustage DONTBUILD
MozReview-Commit-ID: 5jGHu7WKY30
2018-05-27 21:51:16 -07:00
Kris Maglione
894cc5fddb Bug 1461145: Follow-up: Fix still more racy tests. r=bustage,test-only
MozReview-Commit-ID: AnyF6jwyhDv

--HG--
extra : rebase_source : 97640dd2f31cc1105e0296b356d781996ee37113
2018-05-27 18:34:36 -07:00
Cosmin Sabou
5a74471337 Merge inbound to mozilla-central. a=merge 2018-05-27 15:58:59 +03:00
Luca Greco
bbb0a980e1 Bug 1458918 - Prevent windows.getLastFocused from leaking tab being adopted by a new window. r=dao,mixedpuppy
MozReview-Commit-ID: 6Nj7J7aI06B

--HG--
extra : rebase_source : 93625678c7799886277566abe79efd1d558e529e
2018-05-03 16:24:02 +02:00
Dorel Luca
047df7a932 Merge mozilla-inbound to mozilla-central. a=merge 2018-05-26 07:09:39 +03:00
Coroiu Cristina
c032f38419 Merge mozilla-central to inbound a=merge on a CLOSED TREE 2018-05-25 20:58:44 +03:00
Felipe Gomes
fb9eccfcd6 Bug 1462808 - Adjust PageStyleHandler code to handle its events and messages as a singleton. r=Gijs 2018-05-25 14:22:15 -03:00
Felipe Gomes
f326f3a1aa Bug 1462808 - Part 0. Copy PageStyleHandler code from tab-content.js to a new file. r=Gijs
--HG--
rename : browser/base/content/tab-content.js => browser/modules/PageStyleHandler.jsm
2018-05-25 14:22:14 -03:00
Felipe Gomes
b77ef88358 Bug 1461548 - Only load the RefreshBlocker frame script when necessary. r=mconley 2018-05-25 14:22:14 -03:00
Felipe Gomes
b8f8e8cea0 Bug 1461548 - Part 0. Move RefreshBlocker to a new frame script. r=mconley
--HG--
rename : browser/base/content/tab-content.js => browser/base/content/content-refreshblocker.js
2018-05-25 14:22:14 -03:00
Felipe Gomes
f522819af4 Bug 1462673 - Only load LightWeightThemeWebInstallListener when necessary. r=mconley
Convert LightWeightThemeWebInstallListener to a singleton, and add it as a lazy proxy listener.
2018-05-25 14:22:14 -03:00
Felipe Gomes
a2588ee03c Bug 1462673 - Part 0. Copy LightWeightThemeWebInstallListener code from content.js to a jsm. r=mconley
--HG--
rename : browser/base/content/content.js => browser/modules/LightWeightThemeWebInstallListener.jsm
2018-05-25 14:22:14 -03:00
Felipe Gomes
511e513fa8 Bug 1461444 - Only load the PageInfoListener content code when needed. r=johannh
In addition to the code going to a .jsm, it became a singleton that implements nsIMessageListener, instead of being one instance per tab (which is usually done to give easier access to the page's content, but it's possible to get to it through each message, as message.target.content
2018-05-25 14:22:13 -03:00
Felipe Gomes
9c7cf9d19b Bug 1461444 - Part 0. Copy PageInfoListener code from content.js to a new file. r=johannh
--HG--
rename : browser/base/content/content.js => browser/modules/PageInfoListener.jsm
2018-05-25 14:22:13 -03:00
Felipe Gomes
24fba1c383 Bug 1461247 - Only load FormSubmitObserver.jsm when an invalidformsubmit notification happens. r=MattN 2018-05-25 14:22:13 -03:00
Felipe Gomes
de2e7d62ab Bug 1461248 - Only load ContextMenu.jsm when a contextmenu event occurs. r=mconley 2018-05-25 14:22:13 -03:00
Dão Gottwald
a71b9f47c1 Bug 1449860 - Focus the location bar when loading about:home. r=mak
MozReview-Commit-ID: FeeNBfGTl7Z

--HG--
extra : rebase_source : 1ef9bdf4d5a149a8d8dabc9acbaa51ff644e4510
2018-05-23 11:17:25 +02:00
Dão Gottwald
9515340567 Bug 1459887 - Relabel the "Remove Bookmark" button to "Cancel" in the New Bookmark dialog. r=standard8
MozReview-Commit-ID: EcCW2eBzfBT

--HG--
extra : rebase_source : f9160b3a36085f375bb47fe0d18740fd7e020ebb
2018-05-25 10:53:53 +02:00
Alex
51b7deb7de Bug 1445261 - Change promiseTopicObserved with TestUtils.topicObserved for one occurrence r=johannh
Removed the promiseTopicObserved function declaration from head.js.

MozReview-Commit-ID: 9Oyd29fi9ef

--HG--
extra : rebase_source : c01c71f6a12a13738124a8863e9f3114b4842d25
2018-05-18 09:16:48 -07:00
Dão Gottwald
dace246775 Bug 1464384 - Stop returning true/false from focusAndSelectUrlBar. r=mak
MozReview-Commit-ID: BKmsjCRZiLs

--HG--
extra : rebase_source : b40289a591de543a8efd9c4470b576d4cb37859d
2018-05-25 15:38:09 +02:00
Kris Maglione
7153d68ecc Bug 1461145: Follow-up: Fix racy tests. r=trivial,test-only
MozReview-Commit-ID: IXaiDpU9l7A
2018-05-26 16:40:33 -07:00
Kris Maglione
6ac523347a Bug 1461145: Support async startup/shutdown bootstrap methods. r=aswan
MozReview-Commit-ID: L0G4DA0KJ87

--HG--
extra : rebase_source : b774d70d11c47d138535685104c5d5bc197f7866
2018-05-12 18:51:32 -07:00
Johann Hofmann
35166c8f08 Bug 1462468 - Add a tracking protection option to the hamburger menu. r=mikedeboer
MozReview-Commit-ID: HxRljbdsRau

--HG--
extra : rebase_source : 3f3aae722ca2e1b6a28a29a5116d66bf40aa8092
2018-05-22 16:26:55 +02:00
Tawny Hoover
76e5f6e185 Bug 1400323 - Refactor code for openInTabClosesMenu pref to avoid needing setTimeout on Mac. (cleanup on popuphidden) r=mak
MozReview-Commit-ID: FR6vZksnFEz

--HG--
extra : rebase_source : 2600a29f733f179426a65c096fc264de70d3dff3
2018-05-17 22:32:47 -04:00
Mark Banner
11e49d2982 Bug 824502 - Change folder=<id> to parent=<guid> in Places' bookmark queries. r=mak
This allows queries to be stable across devices, and requires less work to obtain the ids.

MozReview-Commit-ID: 5KAKKags7o9

--HG--
extra : rebase_source : 22c01cf5b24468dd76dabe63fa9d1033d4138e54
2018-04-26 09:05:00 +01:00
Tomislav Jovanovic
253cc63c47 bug 1455269 - Cancel instalation on notification dismissal r=aswan
MozReview-Commit-ID: DqbgdVTarQ8

--HG--
extra : rebase_source : 94f6be292041e8c83ed40b2db9af596de8ac9593
2018-05-17 20:46:21 +02:00
layely
acb941a30e Bug 1458022 - Implement ability to close a selection of tabs. r=jaws
MozReview-Commit-ID: 4yjajKnONuK

--HG--
extra : rebase_source : 35a0c25a114c99c7cd1de71344f8dacc7536448f
2018-05-21 04:16:01 +00:00
Felipe Gomes
683f921f8c Bug 1409054 - Remove code from the old about:home. r=Mardak
MozReview-Commit-ID: JrgIFr2kAvI

--HG--
extra : rebase_source : 2636bfb0aa6b3fd81a3380c844776c3e0c048c8e
2018-05-22 00:45:44 -03:00
Dão Gottwald
bc78820c00 Bug 1462580 - Don't exit DOM fullscreen mode when opening or closing background tabs. r=jaws
MozReview-Commit-ID: Da12eDWYFNy

--HG--
extra : rebase_source : 396cc37e1cbc7733b43d842abd0715c666524dbc
2018-05-23 10:44:00 +02:00
Emilio Cobos Álvarez
518362d207 Bug 1463737: Move toolbarpaletteitem-box to browser.css. r=Paolo
I messed up while rebasing on top of bug 1450816.

MozReview-Commit-ID: Hn2dQhJpsL1

--HG--
extra : rebase_source : 3d08fc963e2f734bed40b6a5090b435a5b88b7a1
2018-05-23 15:48:50 +02:00
Tim Taubert
2a252e45a4 Bug 1464015 - Web Authentication - Rework IPC layer for future Android/Windows support r=jcj
Reviewers: jcj

Reviewed By: jcj

Subscribers: mgoodwin

Bug #: 1464015

Differential Revision: https://phabricator.services.mozilla.com/D1378
2018-05-30 16:06:09 +02:00
ls05
cef592fcd7 Bug 1462285 - Remove const nsIChannel in XULBrowserWindow.onStateChange. r=dao 2018-05-24 15:46:58 +02:00