Commit Graph

5740 Commits

Author SHA1 Message Date
Brian Grinstead
74242a4433 Bug 1355331 - Create an option to move sidebar between the left and right sides of the window;r=mikedeboer
MozReview-Commit-ID: 79ts9djMC3e
2017-05-24 09:54:34 -07:00
Chris AtLee
8177ef2372 Bug 1363853: Remove LWT footers r=Gijs
MozReview-Commit-ID: 90sm2IcUmxf
2017-05-24 09:21:51 -04:00
Doug Thayer
2401417b3c Bug 1359733 - (pt. 4) Pull out browser-sync.js badges r=eoger
See also commit message for pt. 4. We're moving app menu
notification state into a jsm.

MozReview-Commit-ID: 3RehYcHyfLu
2017-05-18 13:17:38 -07:00
Doug Thayer
a6d6e3ff0b Bug 1359733 - (pt. 2.1) Move remaining test files r=rstrong
Tried to do the reverse order (move files then edit), but
reviewboard didn't seem to like me trying to undo what I had
already done. This should at least make the diffs clean though.

MozReview-Commit-ID: Ibcgg2Mc6MT
2017-05-18 15:55:00 -07:00
Doug Thayer
89a15e6773 Bug 1359733 - (pt. 2) Refactor gMenuButtonUpdateBadge r=rstrong
Since we now have a store of notifications that is global across
all windows, it no longer makes sense to consume the API from
within browser.js. This patch moves the browser.js logic out into
a jsm file that is wired up through nsBrowserGlue, such that it
will be lazily instantiated on the first update event it would
receive[1].

We decided to move this into toolkit, as this piece of the
system is fairly generic and shouldn't differ between
applications.

[1]: There is a change to nsBrowserGlue to use "global[module]"
instead of this[module]. This mirrors the code for all the other
types of notifications, and I suspect it was just a latent bug,
since the original diff that includes this line makes no use of
it.

MozReview-Commit-ID: 8EQdM9BOpgl
2017-05-19 08:56:22 -07:00
Mike Conley
b84497ee80 Bug 1362866 - Fix browser_tabSpinnerProbe.js now that tabs must be presented to spin. Also remove browser_tabSpinnerTypeProbe.js. r=billm
browser_tabSpinnerTypeProbe.js isn't necessary anymore since it should not possible to show
spinners for tabs that have never been presented.

MozReview-Commit-ID: AD4ppdhe346
2017-05-08 21:46:06 -04:00
Mike Conley
6ead29b658 Bug 1362866 - Rearrange tab focusing behaviour to avoid extra potential reflows. r=Felipe
MozReview-Commit-ID: F1S179A1GH6
2017-05-23 13:08:11 -04:00
Mike Conley
a97982dce0 Bug 1362866 - Remove MozTabChildNotReady event usage from tabbrowser.xml, and replace with nsITabParent.hasPresented. r=billm
nsITabParent.hasPresented already encapsulates the case where the TabChild might
not have been constructed, since such a tab could never have been presented to
the user. If we're async tab switching to a tab that's never presented before,
we blank it out initially while waiting for its layers.

MozReview-Commit-ID: CL76wLmjRxc
2017-05-20 17:04:48 -04:00
Dan Banner
198c6c1da0 Bug 1348522 - Remove unused files from chrome://global/skin/media/ r=florian
MozReview-Commit-ID: wE6BIj9x0n
2017-05-14 19:14:59 +01:00
Wes Kocher
4db4c47d09 Merge m-c to autoland, a=merge
MozReview-Commit-ID: AVwPRGa5re9
2017-05-22 16:38:46 -07:00
Wes Kocher
007098e921 Merge inbound to central, a=merge
MozReview-Commit-ID: 7NiWtCjPk84
2017-05-22 16:26:12 -07:00
Mats Palmgren
bd90393cc1 Bug 1365614 part 3 - Backout bug 1333482 part 1-9. Removes support for [-webkit-]appearance for now b/c web compat issues. r=bz
MozReview-Commit-ID: IbwWM0FL6HF
2017-05-21 17:15:00 +08:00
Carsten "Tomcat" Book
cf0b077daf Merge mozilla-central to mozilla-inbound 2017-05-22 15:47:03 +02:00
Carsten "Tomcat" Book
1aa86b3e0e Backed out changeset bbb688fe1ba3 (bug 1365614) 2017-05-22 15:45:31 +02:00
Carsten "Tomcat" Book
354e506dec Merge mozilla-central to mozilla-inbound 2017-05-22 13:07:41 +02:00
Carsten "Tomcat" Book
d2347bc3bc merge mozilla-inbound to mozilla-central a=merge 2017-05-22 13:00:17 +02:00
Bob Owen
4369fd14e0 Bug 1366445: Add and correct pref settings for some file content process tests. r=Gijs
This fixes:
browser\base\content\test\tabs\browser_new_web_tab_in_file_process_pref.js
dom\html\test\browser_form_post_from_file_to_http.js
2017-05-22 09:02:36 +01:00
Mats Palmgren
473a358067 Bug 1365614 part 3 - Backout bug 1333482 part 1-9. Removes support for [-webkit-]appearance for now b/c web compat issues. r=bz 2017-05-21 17:15:00 +08:00
btian
75f2175e94 Bug 1299390 - part 5: Remove useless AudioChannelService code. r=alwu
Changes:
- remove code addressed by reviewer
- remove PContent.ipdl, PBrowser.ipdl, and ProcessPriorityManager code
  that relates only to removed AudioChannelService methods
- correct test case listening to event from removed code
- remove useless test case files

MozReview-Commit-ID: I96nR8zTXJt
2017-05-18 09:51:53 +08:00
Gijs Kruitbosch
a0a2428851 Bug 1354084 - add sync / Firefox account button to hamburger panel, r=mikedeboer
MozReview-Commit-ID: 8YOFAY5VpQl
2017-05-09 15:56:19 -04:00
Wes Kocher
9bc3922e5c Merge m-c to inbound a=merge
a=release IGNORE BAD COMMIT MESSAGES
2017-05-19 15:18:51 -07:00
Andrew Swan
6e97b7a1fd Bug 1359203 Part 1 Replace AddonConstants with AddonSettings
AddonConstants duplicated AppConstants, but having it just include
the build-time constants meant that the logic for whether to enforce
signing was repeated in a few places (and it was incorrect in
the front-end code!).  Now we centralize that logic in AddonSettings.jsm

MozReview-Commit-ID: 2f4x9fnUpPs
2017-05-15 22:03:41 -07:00
Wes Kocher
58f22806ae Merge m-c to autoland, a=merge
MozReview-Commit-ID: FYdNNRDmEla
2017-05-18 17:21:30 -07:00
Wes Kocher
b1484139be Merge inbound to m-c a=merge
MozReview-Commit-ID: AVhTkLAYIv7
2017-05-18 17:13:28 -07:00
Dão Gottwald
6a0b9663fb Bug 1365846 - Use context-fill for identity, connection and tracking protection icons in the site identity block. r=johannh
MozReview-Commit-ID: 87EuHr7TvUs
2017-05-18 14:43:51 +02:00
Bob Owen
7f4792823a Bug 1351358 Part 6: Include more tests cases for allowLinkedWebInFileUriProcess pref. r=Gijs 2017-05-18 12:08:57 +01:00
Mike Conley
3fc39ff8a4 Bug 1354194 - Add reflow regression tests for tab closing. r=florian
MozReview-Commit-ID: IWi3vEI5tIg
2017-05-03 13:52:36 -04:00
Mike Conley
a2e4b58ba4 Bug 1354194 - Make browser_windowopen_reflows.js use the reflow test helper and make the whitelist reflect reality. r=florian
MozReview-Commit-ID: 1mknVjSVIKe
2017-05-03 13:32:36 -04:00
Mike Conley
9f04267dbe Bug 1354194 - Make browser_tabopen_reflows.js use the new reflow test helper, and make the whitelist reflect reality. r=florian
MozReview-Commit-ID: 5Pyocd7BN4e
2017-05-02 17:40:07 -04:00
Mike Conley
771c3fb849 Bug 1354194 - Add utility method for more easily writing reflow tests. r=florian
This also consolidates the pre-existing style and layout flush regression tests
into the same performance folder.

MozReview-Commit-ID: IA3FqroG75O
2017-05-02 17:30:18 -04:00
Ray Lin
cd2439806f Bug 1357519 - Fix intermittent browser_contextmenu.js by setting loop attribute to ensure media is playing before check. r=jaws
MozReview-Commit-ID: Hu53UB0QL2L
2017-05-16 11:43:52 +08:00
Iris Hsiao
4f4f3dc4a3 merge mozilla-inbound to mozilla-central a=merge 2017-05-18 12:05:45 +08:00
Mark Banner
9fc03b12e9 Bug 1365412 - Clean up various ESLint global definitions in browser/. r=mossop
MozReview-Commit-ID: JqAm9x1XGCM
2017-05-16 22:22:42 +01:00
Paolo Amadini
ee2775c0b1 Bug 1364050 - Part 3 - Remove obsolete code from the nsIDownloadManager implementation. r=mak
A missing dependency in "nsTypeAheadFind.h" is also fixed to allow the removal of the include files from "nsToolkitCompsModule.cpp".

MozReview-Commit-ID: EefZA9bEUW0
2017-05-15 11:55:50 +01:00
Carsten "Tomcat" Book
46ce15b42f merge mozilla-inbound to mozilla-central a=merge 2017-05-17 11:16:52 +02:00
Felipe Gomes
4e8f236f81 Bug 1364505 - Write tests for plugin favor-fallback mode. r=qDot
MozReview-Commit-ID: AefeRMb9t9q
2017-05-16 22:56:22 -03:00
Carsten "Tomcat" Book
e7bc984487 Merge mozilla-central to autoland on a CLOSED TREE 2017-05-16 15:11:18 +02:00
Andreas Pehrson
7305e57b88 Bug 1363253 - Ignore events specific to preview window also when decrementing. r=florian
MozReview-Commit-ID: 8pjSBUI7ZkZ
2017-05-11 15:07:17 +02:00
Christoph Kerschbaumer
5452a95b49 Bug 1362993 - Rewrite gBrowser.addTab() to use BrowserTestUtils.addTab(). r=florian 2017-05-15 21:49:50 +02:00
jomer14
e6fdf348de Bug 1362510 - Remove errors.properties and references. r=eoger
MozReview-Commit-ID: 27kIRQdEHsE
2017-05-15 12:03:55 -04:00
Dale Harvey
6c2d06984a Bug 1352366 - Implement photon location bar style changes. r=dao 2017-05-15 15:02:55 +01:00
Chris Pearce
cdb14ea0a3 Bug 1366167 - Test for Enable DRM prompt. r=Gijs
We recently accidentally broke the "Enable DRM" prompt without realising, so
this adds a test that if EME is disabled and is attempted to be used we we
prompt the user to enable EME.

It is important we don't regress this feature as without it users with DRM
disabled (which is our Linux popuation by default) may try to playback DRM
protected video and it won't work and there won't be an obvious way to make it
work.

MozReview-Commit-ID: D4X7D4wkwRy
2017-05-19 15:44:15 +12:00
Masayuki Nakano
1aa5c51541 Bug 1339543 part 3 PuppetWidget should stop getting all edit commands before dispatching keyboard events which are synthesized for tests r=smaug
Synthesized keyboard events in child process doesn't have edit commands when
it's being dispatched.  With the old design, PuppetWidget needed to store all
edit commands for dispatching keyboard event but it's not necessary now because
WidgetKeyboardEvent will get only necessary edit commands when
WidgetKeyboardEvent::ExecuteEditCommands() is called.

So, PuppetWidget should stop calling TabChild::RequestNativeKeyBindings()
before dispatching keyboard events.

This patch changes browser_audioTabIcon.js which becomes permanent orange with
this change.

MozReview-Commit-ID: 1eK1mUahRMO
2017-05-17 15:34:11 +09:00
Dan Banner
0a4d7ed97f Bug 1348362 - Cleanup chrome://global/skin/icons - Remove unused files. r=dao
MozReview-Commit-ID: EZVP5SeYDGw
2017-05-07 19:16:27 +01:00
Dan Banner
68c0e664bd Bug 1348362 - Cleanup chrome://global/skin/icons - Move shared files to be Windows-only where they are only used on Windows. r=dao
MozReview-Commit-ID: IWhbpsuEVJR
2017-05-07 17:03:10 +01:00
Dan Banner
ebbde6a857 Bug 1348362 - Cleanup chrome://global/skin/icons - Move some shared files to be Linux-only, as they are only used on Linux. r=dao
MozReview-Commit-ID: IbcGedKFrTq
2017-05-07 16:46:59 +01:00
Marco Bonardo
266b05cbf9 Bug 1344924 - Contextual onboarding for search suggestions in the awesomebar. r=adw
Make the onboarding being opt-in or opt-out depending on the default value of the
browser.urlbar.sugges.searches pref.
In both cases respect userMadeSearchSuggestionChoice though, so we won't further nag users that
made a choice already.

MozReview-Commit-ID: D4rRMRbdMrW
2017-04-05 15:01:02 +02:00
Robert Longson
316584e16c Bug 339725 - SVG <a> with xlink:href don't show HTML link features in context menu, r=jaws,longsonr+218550
MozReview-Commit-ID: Kg9dONwXCrB
2017-05-07 01:09:00 +01:00
Sebastian Hengst
cbc8bca709 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: Jduo3F6TzgF
2017-05-14 18:04:29 +02:00
Dão Gottwald
32476b07c4 Bug 1364661 - Remove _fillTrailingGap. r=florian
This was working around some old XUL layout weirdness, but nowadays this uses the same scroll frame implementation as HTML and tabStrip.scrollPosition + tabStrip.scrollClientSize > tabStrip.scrollSize cannot be true.

MozReview-Commit-ID: F5fOEpXn8ay
2017-05-13 11:56:01 +02:00