Граф коммитов

505093 Коммитов

Автор SHA1 Сообщение Дата
Masatoshi Kimura a473040cee Backed out changeset 7e747433d1c9 (bug 1301640) for causing bug 1325751. r=backout
MozReview-Commit-ID: GEYAveO6sUj
2016-12-25 10:43:04 +09:00
Grisha Kruglov e05b65163b Bug 1320798 - Re-order context menu items for Activity Stream r=ahunt
MozReview-Commit-ID: Ldt0H5XQxsz

--HG--
extra : rebase_source : f5467ada9237ad4db1ce8b481e7c29bcce6e6ec5
2016-12-21 14:30:50 -08:00
Mark Banner 071c48e792 Bug 1325374 - Specify more globals in browser.js/nsBrowserGlue.js, and start fixing up some of places. r=mossop
MozReview-Commit-ID: C22lTfaUzHB

--HG--
extra : rebase_source : 8d186d18814a84363ebf2657dd7584a26edd845f
2016-12-22 12:14:05 +00:00
Mark Banner 59a8c923af Bug 1325339 - tools/lint/eslint/eslint-plugin-mozilla isn't being linted. r=mossop
MozReview-Commit-ID: ImgANPcndoF

--HG--
extra : rebase_source : 0eb85c185d907ac9c07ba26662f60dbb81511610
2016-12-22 10:53:51 +00:00
Sebastian Hengst 010d63ba33 Bug 1324280 - Revert MarginLayoutParamsCompat with setting margin left/right by current layout direction: lint style fixes. r=lint-fixes 2016-12-22 18:52:34 +01:00
Tobias Schneider 7702c68f7a Bug 1324209 - Safely iterate over mIntersectionObservers in nsDocument::NotifyIntersectionObservers. r=mstange
MozReview-Commit-ID: DmtTUiCObHM
2016-12-21 11:36:41 -08:00
Timothy Nikkel b46e1a9d16 Bug 1325296. RasterImage::LookupFrame does not return a surface if it was created as a result of a sync decode from with the FLAG_SYNC_DECODE_IF_FAST flag. r=aosmond
The Decode call may result in synchronously creating the surface, but we only check again if the surface is there for FLAG_SYNC_DECODE, not FLAG_SYNC_DECODE_IF_FAST.

All of the decoding we do during painting is of the type FLAG_SYNC_DECODE_IF_FAST, which means it would be useless to do that decoding synchronously during painting because the paint doesn't benefit from the result of that decoding.

Looking at the history of this code it looks like https://hg.mozilla.org/mozilla-central/rev/435df926eb10 (part 6 of bug 1119774) was where this bug was introduced. Before that changeset we always did another LookupFrameInternal call after the Decode (called WantDecodedFrames back then). But that changeset changed it to only be done for standard sync decodes, not "sync decode if fast".
2016-12-22 13:15:41 -06:00
Boris Zbarsky 9023b20a12 Bug 1325028 part 5. Change nsGlonalWindow::CanMoveResizeWindows to take CallerType. r=bkelly 2016-12-22 11:06:32 -08:00
Boris Zbarsky 7cd914777b Bug 1325028 part 4. Remove IsCallerChrome use from nsGlobalWindow::MoveTo/MoveBy. r=bkelly 2016-12-22 11:06:32 -08:00
Boris Zbarsky 5323953edf Bug 1325028 part 3. Remove IsCallerChrome use from nsGlobalWindow::ResizeTo/ResizeBy/SizeToContent. r=bkelly 2016-12-22 11:06:32 -08:00
Boris Zbarsky 1fa084f663 Bug 1325028 part 2. Remove IsCallerChrome use from the various things called via SetReplaceableWindowCoord. r=bkelly 2016-12-22 11:06:30 -08:00
Boris Zbarsky d6423562a1 Bug 1325028 part 1. Remove IsCallerChrome use from nsGlobalWindow's .content getter. r=bkelly 2016-12-22 11:05:55 -08:00
Boris Zbarsky 61f31dce10 Bug 1325016 part 5. Switch ScreenOrientation's angle getter to use the caller-type version of ResistFingerprinting. r=bkelly 2016-12-22 11:05:55 -08:00
Boris Zbarsky 34eeff8638 Bug 1325016 part 4. Switch ScreenOrientation's type getter to use the caller-type version of ResistFingerprinting. r=bkelly 2016-12-22 11:05:55 -08:00
Boris Zbarsky c81e62f1b1 Bug 1325016 part 3. Switch ScreenOrientation's DeviceAngle getter to use the caller-type version of ResistFingerprinting. r=bkelly 2016-12-22 11:05:54 -08:00
Boris Zbarsky 1ba3c2ac4b Bug 1325016 part 2. Switch ScreenOrientation's deviceType getter to use the caller-type version of ResistFingerprinting. r=bkelly 2016-12-22 11:05:54 -08:00
Boris Zbarsky 224a0a59a6 Bug 1325016 part 1. Remove some unused nsIDOMScreen functions. r=bkelly 2016-12-22 11:05:54 -08:00
Boris Zbarsky d22d7aafa4 Bug 1320801 part 5. Switch from ShouldResistFingerprinting to ResistFingerprinting (use the caller type, not the document principal) in nsGlobalWindow's devicePixelRatio getter. r=bkelly 2016-12-22 11:05:54 -08:00
Boris Zbarsky fe08a55fa4 Bug 1320801 part 4. Switch from ShouldResistFingerprinting to ResistFingerprinting (use the caller type, not the document principal) in nsGlobalWindow's mozInnerScreenX/mozInnerScreenY getters. r=bkelly 2016-12-22 11:05:54 -08:00
Boris Zbarsky 7f7978f0f7 Bug 1320801 part 3. Switch from ShouldResistFingerprinting to ResistFingerprinting (use the caller type, not the document principal) in nsGlobalWindow's orientation getter. r=bkelly 2016-12-22 11:05:54 -08:00
Boris Zbarsky 97b0a23beb Bug 1320801 part 2. Switch from ShouldResistFingerprinting to ResistFingerprinting (use the caller type, not the document principal) in nsGlobalWindow's screenX/screenY getters. r=bkelly 2016-12-22 11:05:54 -08:00
Boris Zbarsky 454eaf81d5 Bug 1320801 part 1. Switch from ShouldResistFingerprinting to ResistFingerprinting (use the caller type, not the document principal) in nsGlobalWindow's outerWidth/outerHeight getters. r=bkelly 2016-12-22 11:05:54 -08:00
Mike Shal d7a8d558f6 Bug 1325197 - Add logging around mach python-test; r=gps
In bug 1308472 we are seeing 'make -k check' fail intermittently with
the only apparent error message something like:

make: *** [check] Error 245

This debug should make it more clear which test (if any) is responsible
for setting the return code in 'mach python-test', and whether or not
'mach python-test' is actually reaching the end of the function.

MozReview-Commit-ID: 6IQrZQqs8ij

--HG--
extra : rebase_source : 4d2d4b8b139d7f16bda2b22ce79ab2c84e8fe4c7
2016-12-21 11:12:55 -05:00
Andrew Halberstadt c1bee16c38 Bug 1325148 - Temporarily disable mochitest leakchecking for directories containing known leaks, r=jmaher
Leak checking in mochitest was failing to turn the jobs orange for a period of time. Several leaks slipped
through in the interim. In order to land the fix ASAP to avoid further bustage, these leaks are being
whitelisted. See the patch or the dependency graph of bug 1325148 for the list of leaks/bugs that are being
disabled.

While these bugs won't show up in treeherder, they are a priority to fix, as they could represent leaks that
are already landed in the code.

MozReview-Commit-ID: JY7Gpvswp4r

--HG--
extra : rebase_source : 0d75d80eccddca31a7d2d1c997a85efdb5a4858c
2016-12-21 16:22:50 -05:00
Andrew Halberstadt 3f3fa209f3 Bug 1325148 - Temporarily disable leakchecking in crashtests on linux, r=jmaher
This is being disabled because of the leak in bug 1325215. It slipped in because leak
checking in reftest was temporarily failing to turn the job orange. We are disabling
leak checking so we can land the fix ASAP and prevent further bustage from slipping
through in the mean time. Once bug 1325215 has been fixed, this should be backed out.

MozReview-Commit-ID: 74VGhHvZtIG

--HG--
extra : rebase_source : c965aa1e229a15948d2d4b55dc16c5904c304ad9
2016-12-21 17:06:29 -05:00
Andrew Halberstadt 148b884e2c Bug 1325148 - Use "error" level in mozleak when logging leak failures, r=jgraham
This fixes a regression when switching to the StructuredOutputParser in mozharness.
Previously, mozleak was relying on the string "TEST-UNEXPECTED-FAIL" to turn the jobs
orange, but it was doing so at the "warning" level. The StructuredOutputParser requires
the "error" level to set the appropriate tbpl_status.

MozReview-Commit-ID: 9u9mwqrkA6E

--HG--
extra : rebase_source : d31ece08232a87713702e713076071fa10fb8324
2016-12-21 14:02:04 -05:00
Ralph Giles afb3ed504c Bug 1324473 - mozboot: Normalize windows path advice. r=gps
On windows, python generally returns windows-style paths,
with drive letters and backslash for a separator. However,
when we offer advice for updating the PATH variable, we're
talking about the msys environment which uses unix-style
paths. Convert to avoid confusion.

This is intended to turn c:\Users\mozilla\ into /c/Users/mozilla/.

MozReview-Commit-ID: FdB8FvjeCV1

--HG--
extra : rebase_source : 6d9e87b460417254bbe2eb5af3813e22f2126fb1
2016-12-22 15:45:52 -08:00
Al Tsai 6f69bab955 Bug 1299944 - use default runtests.py if objdir doesn't exists. r=gps
MozReview-Commit-ID: LCMslgCDkVS

--HG--
extra : rebase_source : c1c557a4f68e50a0ca8c435bb4b0581f7de0ab50
2016-12-27 17:33:15 +08:00
JW Wang 51911743dc Bug 1325905. Part 7 - add assertions to ensure Ensure{Audio,Video}DecodeTaskQueued is never called by DecodingFirstFrameState. r=kaku
MozReview-Commit-ID: 9zSuH4p0aqg

--HG--
extra : rebase_source : 315b05e6acda578f7e4ba76478ea3096cb196b1c
extra : intermediate-source : 1849928297d4fd028bd53010f6f2dc1a2af85950
extra : source : ed06f086bb403ddfa0296b6be87601188ada81c6
2016-12-21 18:26:31 +08:00
JW Wang 2942cc95b4 Bug 1325905. Part 6 - let DecodingFirstFrameState::Enter() call Request{Audio,Video} instead. r=kaku
MozReview-Commit-ID: AH1F9hMJorM

--HG--
extra : rebase_source : ffd3b9711fa7be5db2445b75a7e875bd6b44c1b5
extra : intermediate-source : 1477500ceba6772fe5b93f318f1a13f03d3dff03
extra : source : 240f60c1c35b92facdec77f22022fed4babf4f84
2016-12-22 04:32:47 +08:00
JW Wang 354ad927a8 Bug 1325905. Part 5 - let DecodingFirstFrameState override Handle{Audio,Video}Waited. r=kaku
We want to call Request{Audio,Video}Data() instead of Ensure{Audio,Video}DecodeTaskQueued
which checks mState and breaks the encapsulation of the state objects.

MozReview-Commit-ID: 5oydItSvnMF

--HG--
extra : rebase_source : 5da4ad2f0fbf010a78c6b4e7cbab70378a002758
extra : intermediate-source : 0a882fb53fd51a71f9a3914074e9020d4eb87c4f
extra : source : 9927e37c9383e9204cbaf1b0dbc6fbfdff48df82
2016-12-21 18:23:00 +08:00
JW Wang 5f9c0a1f53 Bug 1325905. Part 4 - let DecodingFirstFrameState override Handle{Audio,Video}NotDecoded. r=kaku
We want to call Request{Audio,Video}Data() instead of Ensure{Audio,Video}DecodeTaskQueued
which checks mState and breaks the encapsulation of the state objects.

MozReview-Commit-ID: 87CwSdtTwi4

--HG--
extra : rebase_source : a16404e208ae5cd9b008728249cea444a7b229e7
extra : intermediate-source : 3fbfa4532f6a54ea9e1aa7b0e9880539ca57c811
extra : source : 22a75175dd957605e70096b029a677b4d2ac2d42
2016-12-21 18:16:25 +08:00
JW Wang 8901ee07af Bug 1325905. Part 3 - split HandleNotDecoded() into HandleAudioNotDecoded() and HandleVideoNotDecoded(). r=kaku
MozReview-Commit-ID: 3RcG43pxGSv

--HG--
extra : rebase_source : 75460198f494efd087f7b16816ece042c50873c8
extra : intermediate-source : c61d6b5eab101c7e978d9253e9ef524a1b8d92f8
extra : source : 8a8878c5fdcc7d40b48c66c4efda303f2e569ba5
2016-12-21 18:00:37 +08:00
JW Wang 6b395243f2 Bug 1325905. Part 2 - move IsWaitForDataSupported() assertions into MediaDecoderReaderWrapper. r=kaku
MozReview-Commit-ID: 6KwjHONHKo

--HG--
extra : rebase_source : f6da0198c63f27d002d5118ac8a12d436d9c2586
extra : intermediate-source : 1100a896ff400a101ac166cc82e75e28b37e2c5e
extra : source : 19cab6225fc2969fd5f1f445f48c90b2de2481e7
2016-12-21 17:37:56 +08:00
JW Wang 9d8e66b8c1 Bug 1325905. Part 1 - add assertions to MDSM::Request{Audio,Video}Data. r=kaku
MozReview-Commit-ID: JjRsv2wdLUq

--HG--
extra : rebase_source : 6393b2650bec9e157ebe20cccc7d8242df34cec1
extra : intermediate-source : 0bb565e52e2bf69d64cc37b88e0cc6342d98442d
extra : source : 893f204d72ffa399a85bde9de97649a531ed54ba
2016-12-21 17:21:21 +08:00
Mark Banner 32471628fa Bug 1325623 - Fix most no-undef eslint issues in toolkit/components. r=mossop
MozReview-Commit-ID: DYJa1uNVagw

--HG--
extra : rebase_source : 11649d299fb6654bcadfb0e04bc0d8f19552529e
2016-12-23 16:00:46 +00:00
Cameron McCormack 7a4522824d Bug 1326023 - Make Element::GetBindingURL return a strong reference. r=smaug
MozReview-Commit-ID: 5QI6UuvwDrE

--HG--
extra : rebase_source : 42f7a481590020d4b7c30df7036cc922a5d9d275
2016-12-28 17:50:44 +08:00
Henrik Skupin 7346feaa9c Bug 1323770 - Fix inappropriatelly skipped/disabled tests. r=maja_zf
Commenting out test methods is not the way how we should mark tests
as being skipped. The correct skip methods have to be used instead so
that the final results also show the correct skip count.

MozReview-Commit-ID: LKL4YQCyFko

--HG--
extra : rebase_source : 4c50596a6477e2afa0926b5dd787466d2b6ce89a
2016-12-21 17:34:59 +01:00
Henrik Skupin feda197849 Bug 1323770 - Fix skip decorators for unit tests. r=maja_zf
Marionette's skip decorators are currently not conform with the ones from the
Python's unittest module, which require a reason as parameter. As such Marionette
should behave the same and should also require a reason for more detailed skip
messages. This is done by wrapping the actual decorator with another enclosing
method.

With the changes we also ensure that the wrapper has the same attributes as the
wrapped function by using functools.wraps(). This hasn't used so far and makes
debugging harder.

Further a couple of skip methods and classes were copied from the unittest module,
which should be better imported instead to reduce code duplication.

MozReview-Commit-ID: 6XT6M6cbCFW

--HG--
extra : rebase_source : 2fb8bce0f17eade182eb5f61479548d0f6ef8ecc
2016-12-29 09:22:00 +01:00
Henrik Skupin 35a7d605d5 Bug 1323770 - Marionette should not take screenshots for skipped tests. r=maja_zf
Taking screenshots for skipped tests is useless and should be avoided to
reduce the size of the test logs.

MozReview-Commit-ID: 9HPH7pSXTj9

--HG--
extra : rebase_source : 41ea609a285e037160b1be535dac35de643f31c1
2016-12-21 15:19:40 +01:00
Henrik Skupin 3b00d747cb Bug 1323770 - Moztest should forward correct test result. r=ahal
Registered callback handlers for tests should receive the correct
test status when the test has been finished, and not always "Error".

This change allows those callbacks to run specific code for individual
test results, eg. only do screenshots for failures.

MozReview-Commit-ID: FfbCRR0Jvjb

--HG--
extra : rebase_source : c73253acbb666ca62b23f806145c20f0a70c934c
2016-12-21 11:19:36 +01:00
aceman 81424a65e3 Bug 1142224 - focus the menulist (instead of the inputbox) once it stops being editable. r=enndeakin 2016-12-21 10:03:00 +01:00
Jonathan Watt 5c31ea5e34 Bug 1325787 - Fix MozillaBuild so profile-rustup.sh doesn't break Windows users who have aliased 'cd'. r=gps 2016-12-24 20:02:23 +00:00
Karl Tomlinson 2041039808 bug 1320860 Back out changeset a6aabcb07a6e for causing bug 1322120 or bug 1324262
--HG--
extra : rebase_source : c77a5627ebb851b3f70da2917c68b9ae3683247b
2016-12-29 18:05:42 +13:00
Phil Ringnalda 419cda6127 Backed out changeset 6a9a6e524a7b (bug 1314001) for Windows -werror bustage
MozReview-Commit-ID: Gzhx80yqTnG
2016-12-28 22:00:49 -08:00
cku 50446c645c Bug 1314001 - (followup) give different color to different kind of mask. r=me
MozReview-Commit-ID: Ko9MyTzMhL2
2016-12-29 11:36:39 +08:00
Phil Ringnalda 934829ca2f Bug 1199631 - skip test_visibility.xul on ASan for frequent failures 2016-12-28 18:47:21 -08:00
Ehsan Akhgari 880f7fac36 Bug 1324328 follow-up: Make hasCustomAnnotation's second argument a StringRef 2016-12-28 21:20:43 -05:00
Ehsan Akhgari 65c49d82e4 Bug 1324320 follow-up: Fix a mistake that breaks the build 2016-12-28 21:19:30 -05:00
Ehsan Akhgari 21f0768c95 Bug 1324328 - Remove MozChecker and some unused code; r=mystor 2016-12-28 21:14:51 -05:00