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

477712 Коммитов

Автор SHA1 Сообщение Дата
Mats Palmgren 5f1eaddbc8 Bug 1256429 part 1 - Move the ReflowStateFlags type to nsCSSOffsetState and add a 'ReflowStateFlags aFlags' param to nsCSSOffsetState::InitOffsets for later use (idempotent patch). r=dholbert 2016-06-02 17:46:59 +02:00
Mats Palmgren 15595728c0 Bug 1221525 part 5 - [css-grid] Reftests for align|justify-self:baseline|last-baseline. 2016-06-02 17:46:58 +02:00
Mats Palmgren 0bdfe726a9 Bug 1221525 part 4 - [css-grid] Implement Grid layout for align|justify-self:baseline|last-baseline (aka "Baseline Self-Alignment"). r=dholbert 2016-06-02 17:46:58 +02:00
Mats Palmgren 539e419e85 Bug 1221525 part 3 - [css-grid] Caclulate the baseline offset values and baseline subtree alignment. r=dholbert 2016-06-02 17:46:58 +02:00
Mats Palmgren aa90d52500 Bug 1221525 part 2 - [css-grid] Add GridItemInfo::mState member (for each axis) and make the mIsFlexing bool into a state flag, and add baseline state flags. Also add a baseline offset member. r=dholbert 2016-06-02 17:46:58 +02:00
Mats Palmgren 730431ba99 Bug 1221525 part 1 - [css-grid] Break out the grid item measuring reflow code to a separate function. Also, make the size contribution functions take a GridItemInfo instead of a frame, for use in later parts (idempotent patch). r=dholbert 2016-06-02 17:46:58 +02:00
huangwenjun 4777021274 Bug 1277427 - DOM: Fix consts missing for splice. r=Yoric
---
 dom/system/OSFileConstants.cpp | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
2016-06-02 23:28:36 +08:00
Olli Pettay c660d9c623 Bug 1277358 xul:browser element kept alive too long if tab is dnd'ed to a new window, r=kats
--HG--
extra : rebase_source : 38024349a694bd44962ad673ed0a304fdb77463c
2016-06-02 18:02:14 +03:00
Andrew Halberstadt 95882ef0e4 Bug 1274584 - [mozprocess] Fix IO Completion Port failed to signal process shutdown, r=jgriffin
Sometimes the IO completion port doesn't shutdown child processes. When this happens,
mozprocess will attempt to force kill the child processes manually. However, there is
a bug here which causes the OSError to get raised.

Although this fixes that bug, the original issue(s) which prevented the IOC port
from signaling shutdown remain and are still undiagnosed.

MozReview-Commit-ID: L3DQPW0Is5v

--HG--
extra : rebase_source : cf6320cffea5a4c8fb5d62861c41065d9dcefa52
2016-05-30 11:02:13 -04:00
Andrew Halberstadt 7746cfd17f Bug 1274584 - [mozprocess] Improve debugging messages on windows, r=jgriffin
We can set MOZPROCESS_DEBUG to help debug windows process code. However on try
it is unreadable as there are multiple things using mozprocess, and each process
has multiple threads. It's impossible to tell which log message comes from where.
This improves the debug logs a bit by always specifying the PID and thread name.

There are a few other drive-by cleanups in this thread. The only one of note is
removing a python 2.5 only code path.

MozReview-Commit-ID: L3DQPW0Is5v

--HG--
extra : rebase_source : f07c07f53b06b1160cd3e70cb06b8dc12a89c3ab
2016-05-30 11:00:59 -04:00
Mike Conley e78e901153 Bug 1276738 - Disable windowwatcher mochitests for Android. r=test-only
I've opened Bug 1277544 to investigate whether or not we've got a real
Android bug here, or if these tests aren't expected to pass on Android.

MozReview-Commit-ID: FGfDAN2BL44

--HG--
extra : rebase_source : 21fc54e86dc1c98a696c316d2855e33b40583141
2016-06-02 11:03:22 -04:00
Mike Conley ca43bee0b6 Bug 1276738 - Test that newly opened dialogs can receive arguments. r=Gijs
MozReview-Commit-ID: jF3Port57I

--HG--
extra : rebase_source : 1da3171459317ac621c67050c16c0a52ec4565e0
extra : source : 14e071360b24812c8a9107ae7adbba47e75f28b4
2016-05-03 14:14:09 -04:00
Mike Conley ba52d5e13e Bug 1276738 - Test that modal windows can be opened from the parent process. r=Gijs
MozReview-Commit-ID: 8PWxf9E6ZMv

--HG--
extra : rebase_source : c301f210185340d6e056a0847c46be4e244e4023
extra : source : c60082ec436a31a40cc03cb99191e0f715592eef
2016-05-03 11:42:34 -04:00
Mike Conley a7dfd2a706 Bug 1276738 - Add a test to ensure that we clone sessionStorage when opening new windows. r=gabor
MozReview-Commit-ID: B2rLxdpWKOu

--HG--
extra : rebase_source : 1e821ece75db06b21e381e3c8e805b5f085bdd6f
extra : source : 0ac161595496d7605cf4aae0282c1451484fea91
2016-05-02 17:36:41 -04:00
Mike Conley cb9696f49a Bug 1276738 - Ensure that .open() on web content called with chrome privileges results in a new window with the appropriate principal. r=Gijs
MozReview-Commit-ID: IG9ioQLTI78

--HG--
extra : rebase_source : 0ba3de736ba4fd80a7444c9246a8c2bf77308570
extra : source : ea2da46bde0a4a3039d69e198ad40afefc92a5ec
2016-05-02 17:36:12 -04:00
Mike Conley c3144863d0 Bug 1276738 - Add a test for the size of newly opened window from content. r=gabor
This notably fails for me on Windows, for which I've filed bug 1276802. Until that's
figured out, this test is disabled on Windows.

MozReview-Commit-ID: Hx24driJ80w

--HG--
extra : rebase_source : 25d96ed6b056b780f70ed6d10445191daecabbab
extra : source : 1a7d17e9e15d84f22d56a056cb48c28b3ba23c7b
2016-05-30 15:23:01 -04:00
Mike Conley af2ef48511 Bug 1276738 - Test _blank name usage in new windows. r=Gijs
MozReview-Commit-ID: Gqh04VTzOuC

--HG--
extra : rebase_source : 25ecfd5915b05f6e64c585777eb5fba5deda8057
extra : source : 73f7e5190b38c89efc0e8c68c84770097e9f95e4
2016-04-29 17:39:18 -04:00
Mike Conley 9e12f6169b Bug 1276738 - Test that named windows work properly. r=gabor
MozReview-Commit-ID: 80uzqBvPmOA

--HG--
extra : rebase_source : 286018fc6a4fec6ec390cac9192ed9b530a3dcc3
extra : source : 9d23fffa886b0b78a2d6f9584f05e4af9a019c63
2016-05-30 17:26:52 -04:00
Mike Conley 109908d1dc Bug 1276738 - Test that new windows opened from remote content get the right flags. r=gabor
MozReview-Commit-ID: 3zgJrU0LeUV

--HG--
extra : rebase_source : 5e982d88753dfda9f43aac1840195758016c80ff
extra : source : 88f049f304465bb2aaee131d775d6ea95bfa7502
2016-04-29 15:28:29 -04:00
Mike Conley 0c3578df60 Bug 1276738 - Tag a bunch of tests that exercise opening windows with openwindow. r=me
There are a series of tests strewn about the tree that seem to exercise window
opening in one form or another, so I thought I'd put them under a tag.

MozReview-Commit-ID: 74JwLUTzaMU

--HG--
extra : rebase_source : 87439bacd9643ab63d015f58f44af2f8a74675a0
extra : source : 9d903a6a12aa7182252ec3e220c89b569c14e11b
2016-04-29 14:29:03 -04:00
aleth e25e343c38 Bug 1277354 - Disable test_cache-control_request when the old cache API is used. r=mayhemer
--HG--
extra : rebase_source : 5cc9d22997c76086abc1dcd5fc88e2eda890938d
2016-06-02 16:11:36 +02:00
Bob Silverberg e580134ee3 Bug 1265836 - Part 4: Implement browser.history.addUrl. r=aswan
MozReview-Commit-ID: CBcKLvRLj3w

--HG--
extra : transplant_source : %BCXud%20%EC%BE%EA%161fN%B4%11%E2n%28b%95%8F
2016-05-19 21:55:37 -04:00
Bob Silverberg 77cec8a034 Bug 1265836 - Part 3: Implement insert and insertMany in History.jsm. r=mak
MozReview-Commit-ID: GmXVDPuULtq

--HG--
extra : transplant_source : %02%AB%9DZ%8F%E8ER%AE%2A%7E%A3L%89%DC%11g7%DF%C4
2016-05-13 11:09:06 -04:00
Bob Silverberg b610707ecb Bug 1265836 - Part 2: Change normalizeTime to return a date rather than a number. r=aswan
Also update browser.history.deleteRange to use normalizeTime

MozReview-Commit-ID: EQ3NLSIRTe8

--HG--
extra : transplant_source : %0F3%7F%89Y%C3m%86%EB%91%0A%1B%FFMwh%19%AF%E2%23
2016-05-24 09:00:17 -04:00
Bob Silverberg 8150024920 Bug 1265836 - Part 1: Replace PlacesUtils.toTime with PlacesUtils.toDate. r=mak, r=aswan
MozReview-Commit-ID: FZTfDJpjEt1

--HG--
extra : transplant_source : Z%B5%8B%82lB%DBk%10q%DC%10P%A8%21%7CL%C4Y%F9
2016-05-24 08:56:10 -04:00
Bob Silverberg ee573539c4 Bug 1274559 - Type error for parameter options (Unexpected property "buttons") for notifications.create. r=kmag
MozReview-Commit-ID: FqjXfG2te5J

--HG--
extra : transplant_source : %DD%91%0Ed.%7B%B2%10%1F%C0%CC%1C%3D%C4%25_m%EC%88%DB
2016-05-30 14:32:40 -04:00
Bryce Van Dyk a35190cc6e Bug 1257727, 1257729 - Update WebM handling to deal with encrypted WebMs. r=jya
- WebMDemuxer will read crypto information from WebM metadata.
- WebMDemumer adds crypto information to samples.
- WebMDemuxer can now return encryption info from GetCrypto().
- WebMDexmuer will not attempt to peek encrypted frames as it
will give back garbage data. This means resolution changes
internal to encrypted WebM files will not work.
- WebMDecoder now exposes a single string version of
CanHandleMediaType. This is done in the same way as the
Mp4Decoder, so that the future update to MediaKeySystemAccess
for WebM handling can maintain the same conventions.

MozReview-Commit-ID: CU3JVi3t7Vn

--HG--
extra : transplant_source : %87gn%5Bm%B5t%EA%9F%5Bh%B4%3B%9D%5E%AE%AB%AF%12%0A
2016-05-27 14:34:54 +12:00
Andrew Halberstadt 557cd94acb Bug 1273634 - [mozlint] Create a flake8 task, r=dustin
Enables flake8 linting! To start, only these directories are actually linted:
- python/mozlint
- tools/lint

To enable new directories, add them to the 'include' directive at the bottom of:
tools/lint/flake8.lint

Edit topsrcdir/.flake8 to modify global configuration. Add a new .flake8 to a
subdirectory to override the global. The current configuration is more or less
just the default and we should tweak it to our needs.

MozReview-Commit-ID: iXbToRhm3b

--HG--
extra : transplant_source : %E7i%04%07%1C%B3%E4%FD%FF%BB%A6w%CF%27t%FFz%CD%5EE
2016-05-17 16:24:24 -04:00
Andrew Halberstadt 031698ae90 Bug 1273634 - [mozlint] Add a treeherder formatter, r=jgraham
This is a really simple and ugly formatter that is compatible with
treeherder's error highlighting mechanism. It is designed to be identical
to the current eslint output on treeherder:
https://dxr.mozilla.org/mozilla-central/rev/4d63dde701b47b8661ab7990f197b6b60e543839/tools/lint/eslint-formatter.js

Eventually eslint will also use this and we can remove that file. Once
bug 1276486 is fixed, we can make this look a little nicer. But for now
it gets the job done.

MozReview-Commit-ID: CwfWPcwWFxF

--HG--
extra : transplant_source : %F3PJ%CB%27%A5%82U%D2%CF%B3%9E%A7%9F%0F%A4%F4%E9%5D%BB
2016-05-28 23:38:30 -04:00
Andrew Halberstadt 94051d8d58 Bug 1273634 - Add flake8 dependencies to the lint image, r=dustin
This adds flake8 dependencies. Note that ubuntu 16.04 repos include pip > 8.0
which has peep merged into it, so there's no need to install peep separately.

I also ran into a locale issue which was causing a UnicodeDecodeError anytime
python tried to print a unicode character. The "locale-gen/dpkg-reconfigure locales"
fix the problem.

MozReview-Commit-ID: DQhYV6Emklw

--HG--
extra : transplant_source : %B8%EAh%CE%81%EF%95%1D%D5%B4%F5%AE%02V%20%7Em%83.%EB
2016-05-28 21:47:33 -04:00
Boris Zbarsky c3e26e4cec Bug 1276399. Remove the now-unused privateIsNSISupports JSContext option. r=jandem 2016-06-02 10:34:40 -04:00
Boris Zbarsky b97284ce16 Bug 1276276 part 6. Get rid of nsJSContext::mContext. r=smaug 2016-06-02 10:34:40 -04:00
Boris Zbarsky 718461c894 Bug 1276276 part 5. Change AutoCxPusher to not worry about nsIScriptContext, since its JSContext never has one anymore. r=smaug 2016-06-02 10:34:40 -04:00
Boris Zbarsky 30b1d353e7 Bug 1276276 part 4. Eliminate the specialness of nsJSContext::GetCCRefcnt, since we're never using its mContext for anything now. r=peterv 2016-06-02 10:34:40 -04:00
Boris Zbarsky f02f5d431d Bug 1276276 part 3. Eliminate nsIScriptContext::GetNativeContext. r=smaug 2016-06-02 10:34:39 -04:00
Boris Zbarsky 43a4676066 Bug 1276276 part 2. Change AutoEntryScript to always use the safe jscontext instead of trying to find a global-specific one. r=smaug 2016-06-02 10:34:39 -04:00
Boris Zbarsky 2385de9556 Bug 1276276 part 1. Make AutoJSAPI hold a strong ref to the nsIGlobalObject it's initialized with, so it won't go away while we're working with it. r=smaug 2016-06-02 10:34:39 -04:00
Boris Zbarsky 783e8cc098 Bug 1270601 part 3. Add a way to annotate and IDL namespace as needing a new plain object as its prototype, because using Object.prototype as the prototype of 'console' is not web-compatible. r=peterv 2016-06-02 10:34:39 -04:00
Boris Zbarsky 98b4dca6e9 Bug 1270601 part 2. Add codegen support for IDL namespaces. r=peterv 2016-06-02 10:34:39 -04:00
Boris Zbarsky 7e52059153 Bug 1270601 part 1. Add Web IDL parser support for IDL namespace syntax. r=peterv 2016-06-02 10:34:39 -04:00
Boris Zbarsky 0ddbab28c8 Bug 1276317 part 3. Move handling of the mem log prefs from being per-nsJSContext to just happening once in nsJSContext::EnsureStatics. r=peterv 2016-06-02 10:34:39 -04:00
Boris Zbarsky 145992b47d Bug 1276317 part 2. Move GC zeal handling from nsJSContext to XPCJSRuntime. r=peterv 2016-06-02 10:34:38 -04:00
Boris Zbarsky f86c21cecc Bug 1276317 part 1. Change JS_SetGCZeal to take a JSRuntime, not a JSContext. r=jandem 2016-06-02 10:34:38 -04:00
Kim Moir b2c68458a8 Bug 1253299 - TC Linux 64 ASAN debug and opt builds Tier 1 r=mtabara DONTBUILD 2016-06-02 10:28:36 -04:00
Andrew Swan 2187d37278 Bug 1271345 Fix brower.download.download() on blob: urls r=kmag
Calling download() on a blob URL was failing in schema validation
since we weren't propagating the extension principal all the way
to the call to scriptSecurityManager.checkLoadURI...

MozReview-Commit-ID: JgEnQ6yxO4P

--HG--
extra : rebase_source : d84933237e301c13ba34221c092b1e895acc20db
2016-05-31 11:42:41 -07:00
Gregor Wagner ea1566d538 Bug 1277234 - Rename key name VolumeUp to AudioVolumeUp. r=masayuki 2016-06-02 15:55:53 +02:00
Jim Mathies d9d8c491ff Bug 1268559 - Add a safety shutdown timer in ContentChild. r=billm
MozReview-Commit-ID: FVnOvJzErpI
2016-06-02 07:52:17 -05:00
Nicolas B. Pierron 2ef0f525fd Bug 1274588 part 2 - Rely on aliased jump target to remove extra popStatement function. r=jorendorff 2016-06-02 13:41:04 +00:00
Nicolas B. Pierron f2bcccf5a2 Bug 1274588 part 1.1 - Update code coverage reports to accounts for the aliased jump targets. r=bhackett 2016-06-02 13:41:04 +00:00
Nicolas B. Pierron 316a29187b Bug 1274588 part 1.0 - Alias consecutive jump targets. r=jorendorff 2016-06-02 13:41:04 +00:00