Commit Graph

486847 Commits

Author SHA1 Message Date
Sumit Tiwari
823932d68c Bug 1292999 - Replace Iterator() in dom/; r=arai
MozReview-Commit-ID: Ngh6bDGOEZ

--HG--
extra : rebase_source : 9619b7f1f7097b51e8444e62a02a6a39029c8ad8
2016-08-11 22:05:49 -04:00
Mike Shal
355501af0c Bug 1294510 - cleanup CompileDB backend; r=glandium
MozReview-Commit-ID: Lj4ahLzZJh9

--HG--
extra : rebase_source : 3a2ce98147327094b2a65429a64ee03b67ef0580
2016-08-11 15:50:31 -04:00
JW Wang
cca3559724 Bug 1294634 - Use a switch statement to convert State to string. r=bechen
MozReview-Commit-ID: 513zK0G0Pvi

--HG--
extra : rebase_source : 4be49c324b63837edd5ed77b2add651f9f4f0d85
2016-08-12 14:54:12 +08:00
JW Wang
cef7b4cae0 Bug 1294629 - Simplify the code of ReaderSuspendedChanged(). r=kaku
SetDormant() checks IsShutdown() and |mState == DECODER_STATE_DORMANT|.
So ReaderSuspendedChanged() can just call SetDormant(mIsReaderSuspended) to do the work.

MozReview-Commit-ID: J7Dzsm8IhIS

--HG--
extra : rebase_source : c8a0bc31071bfbe084c2a5f47821c0dc3cfd0860
2016-08-11 17:35:51 +08:00
Mike Conley
2a5c775eea 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

--HG--
extra : rebase_source : 83a9c36533505167198b62ddc189c6fa62cec8cd
2016-08-13 18:46:38 -04:00
Mike Conley
e5d369da14 Bug 1290280 - Add tests for window state restoration remoteness flips. r=mikedeboer
MozReview-Commit-ID: ARtmju65xR9

--HG--
extra : rebase_source : 166dbace15bf8215d0cf0155b8e167a69c91ac5b
2016-08-10 15:46:03 -04:00
Mike Conley
bb89bb5f47 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

--HG--
extra : rebase_source : 0bfeb2cdb0c5849a65bc9a0855c6209d693e5ff4
2016-08-09 13:32:21 -04:00
cku
9abf2e0eea Bug 1295065 - Fix assertion failure at FragmentOrURL::SetValue after enabling mask-as-shorthand. r=heycam
MozReview-Commit-ID: AUySGzzqjQo

--HG--
extra : rebase_source : 295e0e01662a4c74c50791b5245873ff7b3cfb7f
2016-08-15 12:00:03 +08:00
Makoto Kato
191d54e86a Bug 1293585 - Remove more unused members in AndroidBridge after bug 1255628. r=snorp
MozReview-Commit-ID: C8W4dnY2his

--HG--
extra : rebase_source : 6214c05db368a9868916d6bc2e4703ff921bf997
2016-08-09 17:18:02 +09:00
Xidorn Quan
6558c1c800 Bug 1274158 part 2 - Accept zero for perspective. r=heycam
MozReview-Commit-ID: FaXKFav71bD

--HG--
extra : rebase_source : ba1f0c228b212a994b02c11c255e69448f694b3e
2016-08-12 14:52:48 +10:00
Xidorn Quan
3ea5e42f51 Bug 1274158 part 1 - Handle zero perspective gracefully. r=mattwoodrow
MozReview-Commit-ID: CEX39wo6oX8

--HG--
extra : rebase_source : 07dc609dc2a23672dde2a2ea0705cc620068f102
2016-08-12 14:51:10 +10:00
Jared Wein
d181ed5303 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

--HG--
extra : rebase_source : 5e5e2aa646a9c010ac2ad6683734173b3508ea31
2016-08-13 22:15:58 -04:00
Jared Wein
8d45b8762e Bug 1294989 - Enable eslint for browser/components/preferences. r=Gijs
MozReview-Commit-ID: 62ymdZhluHx

--HG--
extra : rebase_source : 330d512f91d840a47e48f39c21d70d13b2953d2d
2016-08-13 21:58:42 -04:00
Jared Wein
797f4c4fe4 Bug 1233198 - Remove preprocessing from toolkit/content/widgets/videocontrols.xml. r=Gijs
MozReview-Commit-ID: LXAxCTf4OEg

--HG--
extra : rebase_source : 068f9c8d4fdef276115cd5a9fcd25aca8b381c68
2016-08-13 19:04:09 -04:00
Drew Willcoxon
560391bae0 Bug 1294733 - Awesomebar search buttons show auto completed text not user input. r=florian
MozReview-Commit-ID: BmxFd7fgdA6

--HG--
extra : rebase_source : 92a6a2259761f16e078c2b765ff3e747af79c477
2016-08-13 12:20:42 -07:00
Sebastian Hengst
0d0d1992db 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
5073e10f9a Backed out changeset 2b50b05f8929 (bug 1290280) 2016-08-13 15:26:39 +02:00
Sebastian Hengst
d11b74103a merge mozilla-central to autoland. r=merge a=merge 2016-08-13 13:54:41 +02:00
Sebastian Hengst
9ec085584d 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
Sebastian Hengst
d5866d2b77 Backed out changeset 9ba0dd5271fe (bug 1286653) for permafailing xpcshell test test_TelemetryEnvironment.js | test_checkEnvironment on Windows 8 x64 debug. r=backout 2016-08-13 10:58:06 +02:00
Gregory Szorc
5e326fbca7 Backed out changeset 25bc6ca8f19f (bug 1294234) for breaking TC tests
Introduced a (possibly intermittent) permissions failure downloading
mozharness. Might be cache related.
2016-08-12 21:23:41 -07:00
L. David Baron
d8d459481c Bug 1294918 - Use helper method nsIFrame::IsFixedPosContainingBlock. r=dholbert
MozReview-Commit-ID: 5fdGqLSOjvs

--HG--
extra : rebase_source : c06406f5022b45e9bc995af8e867fe3f44441d23
2016-08-12 18:39:45 -07:00
L. David Baron
44704d92a0 Bug 1294918 - Add helper method nsIFrame::IsFixedPosContainingBlock. r=dholbert
MozReview-Commit-ID: 6Bt1y176lAG

--HG--
extra : rebase_source : df5715d87f794b924c41a049437c530743246808
2016-08-12 18:39:45 -07:00
L. David Baron
6660436867 Bug 1294918 - Fix spelling of method name nsIFrame::IsAbsPosContainingBlock. r=dholbert
This misspelling was introduced in bug 1125767, changeset b9951cca6d1f.

MozReview-Commit-ID: KQNlLelY2Kn

--HG--
extra : rebase_source : 7b2b8379da23b06737b462dd4c316b5758d807a9
2016-08-12 18:39:45 -07:00
Wes Kocher
7636e9aaaf Backed out changeset 33fcf83eefe4 (bug 1171746) for browser_visibleFindSelection.js failures a=backout 2016-08-12 19:11:21 -07:00
Wes Kocher
fb10711286 Backed out changeset a31f07fbdc2e (bug 1292321) for browser_urlbarOneOffs.js failures a=backout 2016-08-12 19:07:47 -07:00
Wes Kocher
66c318b349 Backed out changeset e4437c4da937 (bug 1288445) for xpcshell failures a=backout 2016-08-12 19:06:00 -07:00
Wes Kocher
b44cee8b2a Merge fx-team to central, a=merge CLOSED TREE 2016-08-12 14:37:49 -07:00
Wes Kocher
e9097643d5 Merge inbound to central, a=merge 2016-08-12 13:44:29 -07:00
Wes Kocher
12b12b37dc Merge autoland to central, a=merge 2016-08-12 09:45:06 -07:00
Alexander Surkov
0a78fab1e3 Bug 1294086 - remove debugging printf 2016-08-12 10:20:45 -04:00
Florian Quèze
d99b80b960 Bug 1294680 - instrument the 'Settings page' button, r=past. 2016-08-12 16:16:41 +02:00
Florian Quèze
dcc99335f3 Bug 1294680 - remove the engine drop down, r=past. 2016-08-12 16:16:39 +02:00
J. Ryan Stinnett
67d38931a7 Bug 1250171 - Remove *_PER_USER_FLAG probes from DevTools. r=clarkbw
MozReview-Commit-ID: 2nZxPYrKKai
2016-08-12 06:24:14 -05:00
Jan de Mooij
536f87ca97 Bug 1294404 - Merge PerThreadDataFriendFields and ContextFriendFields, clean up APIs. r=terrence,bz 2016-08-12 11:39:16 +02:00
Heiher
d1eb5b4c7b Bug 1294367 - IonMonkey: MIPS: Move result after overflow checking passed. r=arai
---
 js/src/jit/mips-shared/CodeGenerator-mips-shared.cpp  | 4 ++--
 js/src/jit/mips-shared/MacroAssembler-mips-shared.cpp | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
2016-08-12 16:08:40 +08:00
Heiher
90d9b8ce1d Bug 1294367 - IonMonkey: MIPS: Move as_lui into logical instructions section. r=hwj
---
 js/src/jit/mips-shared/Assembler-mips-shared.cpp | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)
2016-08-12 16:08:35 +08:00
Heiher
0aa02836dd Bug 1294367 - IonMonkey: MIPS: Cleanup unused function ma_mult. r=hwj
---
 js/src/jit/mips-shared/MacroAssembler-mips-shared.cpp | 7 -------
 js/src/jit/mips-shared/MacroAssembler-mips-shared.h   | 1 -
 2 files changed, 8 deletions(-)
2016-08-12 16:08:30 +08:00
Wes Kocher
b92ae9a263 Backed out changeset 626f8cc8b7bc (bug 1268962) for causing bug 1268962 a=backout 2016-08-11 13:49:25 -07:00
Dave Townsend
958533ac14 Bug 1294483: Centralise where we check for correct signing state and make the checks more obvious. r=rhelmer
--HG--
extra : rebase_source : eb94721a22ffbb1b70ef614f9585595eb60ec72f
extra : amend_source : 724a557eda6b1663caa961fa745e80a7ab98ec6f
2016-08-11 11:45:06 -07:00
Drew Willcoxon
c1331f5412 Bug 1294509 - Enable browser_thumbnails_bg_crash_during_capture.js on e10s. r=markh
MozReview-Commit-ID: 6cVbhXWdS0X
2016-08-11 20:12:38 -07:00
Christoph Kerschbaumer
f2589e5050 Bug 1294411 - Update XCTO: nosniff implementation to accept images which content type starts with 'image/'. r=dveditz 2016-08-11 14:49:02 +02:00
Wes Kocher
45e888ff26 Merge fx-team to central, a=merge 2016-08-10 16:53:40 -07:00
Wes Kocher
fa1a1180c4 Merge autoland to central, a=merge 2016-08-10 16:29:26 -07:00
Wes Kocher
bd62f08814 Merge inbound to central, a=merge 2016-08-10 16:15:17 -07:00
Wes Kocher
46da1ae628 Backed out changeset cc88b920a387 (bug 1278957) for making browser_notifications.js permafail on linux64 debug a=backout CLOSED TREE 2016-08-10 15:36:45 -07:00
Georg Fritzsche
f912d82001 Bug 1294018 - Part 2 - Update histogram whitelists to pass the new checks. r=chutten 2016-08-10 18:23:44 +02:00
Georg Fritzsche
28e83aca81 Bug 1294018 - Part 1 - Enforce whitelist updates on Histograms.json changes. r=chutten 2016-08-10 18:23:43 +02:00
James Long
a5d5d3643d Bug 1294103 - Load source-map and pretty-print workers in new debugger r=me 2016-08-10 11:59:24 -04:00
Ehsan Akhgari
d10c483558 Bug 1293801 - Add a JS_IsInitialized() API; r=sfink
This is needed so that SpiderNode can support both being in charge of
initializing SpiderMonkey and allowing its embedder to do that.
2016-08-10 11:50:51 -04:00