Commit Graph

13723 Commits

Author SHA1 Message Date
Claas Augner
a5537d40c1 Bug 1291835 - Prevent last search engine from being removed. r=florian 2016-08-18 20:42:03 +02:00
Wes Kocher
a2747fb628 Merge m-c to fx-team, a=merge 2016-08-18 16:33:20 -07:00
Joseph Yeh
68ad02d3d8 Bug 1036815 - Convert Advanced pane dialogs to be in-content. r=MattN
MozReview-Commit-ID: BXeCOryk4kE
2016-08-17 02:08:00 -04:00
Wes Kocher
41af310505 Merge fx-team to central, a=merge 2016-08-17 16:53:20 -07:00
Wes Kocher
bad19898b2 Merge inbound to central, a=merge 2016-08-17 16:38:41 -07:00
Wes Kocher
53810a3053 Backed out 7 changesets (bug 1289549) for functional UI failures a=backout
Backed out changeset 32ff5490a900 (bug 1289549)
Backed out changeset 0a62241f9774 (bug 1289549)
Backed out changeset b6e3d77671f7 (bug 1289549)
Backed out changeset 506846cb7c35 (bug 1289549)
Backed out changeset efdb25f69c2c (bug 1289549)
Backed out changeset 6f8b50b7a92a (bug 1289549)
Backed out changeset 1c61346368e5 (bug 1289549)
2016-08-17 09:18:14 -07:00
Wes Kocher
2cd257334f Merge m-c to fx-team, a=merge
a=release for the webidl hook due to comment-only changes
2016-08-16 22:09:34 -07:00
Wes Kocher
bb9e0744e6 Merge inbound to central, a=merge
a=release to get around the webidl hook for a comment-only change
2016-08-16 17:05:30 -07:00
Wes Kocher
838ef99b70 Merge fx-team to central, a=merge CLOSED TREE 2016-08-16 16:37:28 -07:00
Rob Wu
5d41ba7ac3 Bug 1295473 - Fix return type of {tabs,runtime}.sendMessage r=billm
The tabs.sendMessage and runtime.sendMessage implementations behave like
an async function: They take a callback parameter and return a promise.
So they should be handled by |callAsyncFunction|, not
|callFunctionNoReturn|.

This fixes the issue for background pages, but not for content scripts
because sendMessage is not implemented as a schema at the moment. This
will also be fixed once content script APIs are generated via Schemas.

MozReview-Commit-ID: 9p1hvOP0KSm
2016-08-15 23:53:24 -07:00
Wes Kocher
2d292411d2 Merge m-c to autoland, a=merge 2016-08-17 17:25:57 -07:00
Bob Silverberg
7a854b5bd7 Bug 1295301 - history.onVisitRemoved argument is wrong after a call to history.deleteAll, r=aswan
MozReview-Commit-ID: 9b9PKAwcNDA
2016-08-16 09:35:37 -04:00
Jared Wein
6de548d828 Bug 1294542 - Enable the block-spacing rule for eslint. r=felipe
MozReview-Commit-ID: GDfvwWRLNm5
2016-08-16 21:27:37 -04:00
Sebastian Hengst
c0e4d28a3a Backed out changeset 7914e9dc6f88 (bug 1294542) for xpcshell failure in test_Log.js. r=backout 2016-08-17 01:24:58 +02:00
Shane Caraveo
a0f90b1c3e Bug 1289549 P2 socialapi remove sidebar and chat, r=florian
MozReview-Commit-ID: GUqJRtp4QlJ
2016-08-16 14:34:06 -07:00
Shane Caraveo
4cc86fa9a5 Bug 1289549 P1 socialapi remove status and marks, r=florian
MozReview-Commit-ID: KKvTZaeTU69
2016-08-16 14:34:05 -07:00
Jared Wein
4b43ec0116 Bug 1294545 - Enable the arrow-spacing rule for eslint. r=felipe
MozReview-Commit-ID: L4Qwpoukz8R
2016-08-16 15:44:15 -04:00
Jared Wein
8860cdf2c1 Bug 1294547 - Enable the comma-spacing rule for eslint. r=felipe
MozReview-Commit-ID: RCSDEvvk2I
2016-08-16 15:44:15 -04:00
Jared Wein
3df021ec2e Bug 1294542 - Enable the block-spacing rule for eslint. r=felipe
MozReview-Commit-ID: AAXqh63QNv3
2016-08-16 15:44:13 -04:00
Rob Wu
c7fc69c140 Bug 1294920 - Fix test expectation on high-density screens in browser_ext_browserAction_pageAction_icon_permissions r=billm
MozReview-Commit-ID: 8iQXNEmsMJ5
2016-08-12 19:15:28 -07:00
Rob Wu
6efdd88867 Bug 1295082 - Put Extension in BaseContext r=kmag
ExtensionContext in Extension.jsm has |extension| as an instance member,
so use it instead of passing |extension| to registerSchemaAPI's
callback.

And to make sure that this pattern also works in content processes, move
the |extension| member to BaseContext.

MozReview-Commit-ID: BgsGGCPQxJR
2016-08-15 01:04:58 -07:00
Rob Wu
8472b153c7 Bug 1290157 - Always pass an array to tabs.executeScript on success r=kmag
MozReview-Commit-ID: Ctw8RUtfEZC
2016-08-09 00:28:47 -07:00
Allasso Travesser
5a023ca6cd Bug 1287330 - Insert tabs' linkedBrowser lazily into the document. r=dao 2016-08-19 17:46:04 +02:00
Florian Quèze
c95166efe1 Bug 1206233 - Avoid flickering of the panel when removing permission items, r=jaws
MozReview-Commit-ID: L5LKDawDyCg
2016-08-16 14:30:42 +03:00
Wes Kocher
884240f673 Merge fx-team to central, a=merge 2016-08-15 14:49:11 -07:00
Wes Kocher
924bec4dbe Merge inbound to central, a=merge 2016-08-15 14:20:38 -07:00
Igor
9c81c3c1ee Bug 1293384 - Part 2: Rename Snprintf.h header to Sprintf.h. r=froydnj 2016-08-14 23:43:21 -07:00
Kris Maglione
b3640156d8 Bug 1225215: Follow-up: ESLint fix. r=me
MozReview-Commit-ID: WP5idmrVE6
2016-08-14 20:05:07 -07:00
Sebastian Hengst
13d973aea6 merge mozilla-central to fx-team. r=merge a=merge 2016-08-13 13:53:42 +02:00
Sebastian Hengst
10c1305bca Backed out changeset 0c4f81bc2b52 (bug 1252224) for permafailing in browser_ext_browserAction_popup_resize.js on Linux after merge to mozilla-central. r=backout a=backout
MozReview-Commit-ID: KUARkl7QxB7
2016-08-13 13:27:15 +02:00
Drew Willcoxon
165c1b6428 Bug 1292321 - Pressing tab key in address bar selects one-off search buttons instead of the entries in the history dropdown list. r=florian
MozReview-Commit-ID: AnUZolRLBcl
2016-08-12 22:25:11 -07:00
Wes Kocher
e0a7ec2f84 Merge m-c to fx-team a=merge 2016-08-12 16:39:13 -07:00
Wes Kocher
9247be04ab Merge fx-team to central, a=merge CLOSED TREE 2016-08-12 14:37:49 -07:00
Katie Broida
84c7bf9488 Bug 565718 - Adds module for a zoom indicator in the browser's URL bar. r=dao
MozReview-Commit-ID: 7jcAhgUp8RP
2016-08-12 13:48:59 -04:00
Jared Wein
99638e1465 Bug 1294621 - Enable the no-lonely-if rule for eslint. r=gijs
MozReview-Commit-ID: 8izEqc8IyCu
2016-08-12 11:50:35 -04:00
Florian Quèze
fe52d79334 Bug 1294680 - instrument the 'Settings page' button, r=past. 2016-08-12 16:16:41 +02:00
Florian Quèze
c0a9a7965a Bug 1294680 - remove the engine drop down, r=past. 2016-08-12 16:16:39 +02:00
Mike Conley
177e558ea2 Bug 1290280 - Make bug_423132.js more resilient to the initial browser being remote by default. r=mikedeboer
The problem with this test was that it was actually relying on the old
broken behaviour where the initial browser of the new window it opens
would be flipped from remote back to non-remote before loading its
contents and flipping remote again. Because it now starts remote
(and stays there instead of doing all of the extra work), the
test was more likely to fall into the trap that I described in
https://groups.google.com/forum/#!searchin/mozilla.dev.platform/1261842%7Csort:relevance/mozilla.dev.platform/gthFqog3J-M/Ypx-SNhEQgAJ
where the promiseBrowserLoaded was firing for the wrong page
load, which meant that the cookie hadn't had a chance to be
set yet.

I've converted the test to use the properly instrumented
BrowserTestUtils functions which wait for the window to be
properly ready, and it appears to pass on try with multiple
retriggers.

MozReview-Commit-ID: BtQRx7og52A
2016-08-13 18:46:38 -04:00
Mike Conley
df087471c1 Bug 1290280 - Add tests for window state restoration remoteness flips. r=mikedeboer
MozReview-Commit-ID: ARtmju65xR9
2016-08-10 15:46:03 -04:00
Mike Conley
ec8ee45995 Bug 1290280 - Improve the logic for flipping the remoteness of the initial browser back to non-remote. r=mikedeboer
The code that checks to see whether or not we should flip the remoteness of a browser
before loading the session state into it wasn't accounting for the fact that oftentimes,
restoreImmediately isn't included, so it's undefined, which coerces to "false-y".

This caused us to very quickly destroy a TabParent, very soon after creating it. In
some cases, the IPC layer seems to not like that, and throws an OnChannelError,
which causes the TabParent ActorDestroy method to be called with an abnormal
shutdown reason, which causes the tab crash observer to fire, which bubbles the
tab crash event.

We should probably make the IPC layer more resilient to this sort of thing, but
we should also probably not flip remoteness when we really don't need to.

Now instead, when restoring a tab, we detect whether or not it's going to
be restored automatically in the near future. If it's not going to be
restored automatically, and the browser is remote, we flip its remoteness -
otherwise we leave it alone.

MozReview-Commit-ID: 5AmPHvzDZlX
2016-08-09 13:32:21 -04:00
Jared Wein
92579314cc Bug 1294531 - Use a className instead of an ID to alter the state of the search engine list to allow add-ons to add their own buttons to the page and choose the behavior that they want. r=Gijs
MozReview-Commit-ID: 78VufTvjYVC
2016-08-13 22:15:58 -04:00
Jared Wein
7b4c22ac1c Bug 1294989 - Enable eslint for browser/components/preferences. r=Gijs
MozReview-Commit-ID: 62ymdZhluHx
2016-08-13 21:58:42 -04:00
Drew Willcoxon
f16fa76c9a Bug 1294733 - Awesomebar search buttons show auto completed text not user input. r=florian
MozReview-Commit-ID: BmxFd7fgdA6
2016-08-13 12:20:42 -07:00
Sebastian Hengst
6064ec1e6c Backed out changeset 1e57110913fc (bug 1290280) for timeouts of added test and remoteness issues e.g. in cookie tests like browser_423132.js. r=backout 2016-08-13 15:27:48 +02:00
Sebastian Hengst
a40c80fa67 Backed out changeset 2b50b05f8929 (bug 1290280) 2016-08-13 15:26:39 +02:00
Sebastian Hengst
82a124132f merge mozilla-central to autoland. r=merge a=merge 2016-08-13 13:54:41 +02:00
Wes Kocher
60df6d1b56 Backed out changeset 33fcf83eefe4 (bug 1171746) for browser_visibleFindSelection.js failures a=backout 2016-08-12 19:11:21 -07:00
Wes Kocher
d9fac39f62 Backed out changeset a31f07fbdc2e (bug 1292321) for browser_urlbarOneOffs.js failures a=backout 2016-08-12 19:07:47 -07:00
Wes Kocher
aecd5f5f0e Merge m-c to autoland, a=merge 2016-08-12 16:30:03 -07:00
Rob Wu
30a88dff65 Bug 1293583 - add test that checks whether the main frame has frame ID 0 r=billm
Tests cannot be run in a new process, so when this test is run along
with other tests, the faulty behavior is not caught.
You can manually check whether the bug is still present by running the
test in isolation:

    mach mochitest browser/components/extensions/test/browser/browser_ext_webNavigation_frameId0.js

MozReview-Commit-ID: LwumSU7zh8R
2016-08-09 00:12:09 -07:00