Boris Zbarsky
1471a0e8e3
Bug 1330699 part 10. Rename the MozMap C++ type to "record" and give it a template parameter for the key type. r=qdot
...
Also renames all the test functions to mention "Record" instead of "MozMap".
--HG--
rename : dom/bindings/MozMap.h => dom/bindings/Record.h
2017-02-15 00:01:35 -05:00
Boris Zbarsky
46964f231f
Bug 1330699 part 9. Rename "MozMap" to "record" in our IDL parser and IDL files. r=qdot
...
The key type is unused so far.
--HG--
rename : dom/bindings/parser/tests/test_mozmap.py => dom/bindings/parser/tests/test_record.py
2017-02-15 00:00:17 -05:00
Boris Zbarsky
f096eee1f8
Bug 1330699 part 8. Split up PrimitiveOrStringType into PrimitiveType and StringType in the Web IDL parser. r=qdot
2017-02-15 00:00:07 -05:00
Boris Zbarsky
dd02756287
Bug 1330699 part 7. Change JS to MozMap conversion to more closely follow the record<> spec. r=qdot
...
The spec says to get all the property keys, then check each one for
enumerability before doing the Get(). Our current code, before this change,
asks for all the _enumerable_ keys instead, which is observably different when
proxies are involved.
2017-02-15 00:00:06 -05:00
Boris Zbarsky
c41dd5c904
Bug 1330699 part 6. Add some tests for distinguishability of unions. r=qdot
2017-02-15 00:00:05 -05:00
Boris Zbarsky
c2ed802c58
Bug 1330699 part 5. Disallow mozmap-typed constants. r=qdot
2017-02-15 00:00:04 -05:00
Boris Zbarsky
e0ddbaf935
Bug 1330699 part 4. Add more codegen tests for MozMap in dictionary r=qdot
2017-02-15 00:00:03 -05:00
Boris Zbarsky
42aec147f1
Bug 1330699 part 3. Fix up some minor issues with default value handling in codegen. r=qdot
2017-02-15 00:00:01 -05:00
Boris Zbarsky
538d57c3f6
Bug 1330699 part 2. Change the MozMap API and data storage to more what we want record<> to look like. r=qdot,smaug
2017-02-15 00:00:00 -05:00
Boris Zbarsky
9d04143631
Bug 1330699 part 1. Add a ClearElementAt API to nsTArray. r=froydnj
2017-02-14 23:59:59 -05:00
Aki Sasaki
d223e7edf4
bug 1339641 - update l10n_bumper. r=rail
...
This patch addresses some missed review comments from bug 1337645, and uses curl instead of self.download_file to avoid old python ssl errors.
2017-02-14 19:48:27 -08:00
Chris Peterson
34befa93b6
Bug 1336778
- Part 3b: Remove always-false #if WINVER < 0x0601 (Windows 7) checks in nsWinGesture.h. r=jimm
...
MozReview-Commit-ID: J6TBDHhNu87
--HG--
extra : rebase_source : fc8394120edb0269e0fb96643374947923541ed9
2017-02-06 13:25:40 -08:00
Chris Peterson
a9237986ab
Bug 1336778
- Part 3a: Remove always-false #if WINVER < 0x0601 (Windows 7) checks in nsLookAndFeel.h. r=jimm
...
MozReview-Commit-ID: 4ffv8S2LShO
--HG--
extra : rebase_source : fa54ca7eb202a55cac1fc4113d9cd5ac00affc35
2017-02-06 13:25:17 -08:00
Nicholas Nethercote
9e451d32b5
Bug 1339327 (part 8) - Move the LUL printing check out of SignalSender()'s inner loop. r=jseward.
...
Instead of calling MaybeShowStats() every 16th time around the inner loop we
now check every time around the outer loop. Because there are typically 20--50
threads running at once, this results in a slightly lower freqency of printing,
but that seems fine because this is debug-only code.
2017-02-15 14:26:23 +11:00
Nicholas Nethercote
ab80c09137
Bug 1339327 (part 7) - Rename some things in platform-linux.cc. r=mstange.
...
The new names are more consistent, and I find them clearer.
The patch also inlines and removes the horribly-named ProfilerSignalThread()
function.
2017-02-15 14:26:23 +11:00
Nicholas Nethercote
154f14f8b1
Bug 1339327 (part 6) - Remove v8-support.h. r=mstange.
...
It's entirely unused, except for DISALLOW_COPY_AND_ASSIGN, which is easy to
replace.
2017-02-15 14:26:23 +11:00
Nicholas Nethercote
334f89c567
Bug 1339327 (part 5) - Rename some profiler functions related to sleeping. r=mstange.
...
The new names make it clearer that these actions apply to just one thread.
- profiler_sleep_start() --> profiler_thread_sleep()
- profiler_sleep_end() --> profiler_thread_wake()
- profiler_is_sleeping() --> profiler_thread_is_sleeping()
- GeckoProfilerSleepRAII --> GeckoProfilerThreadSleepRAII
- GeckoProfilerWakeRAII --> GeckoProfilerThreadWakeRAII
2017-02-15 14:26:23 +11:00
Nicholas Nethercote
74eeaa5980
Bug 1339327 (part 4) - Rename some globals in the profiler. r=mstange.
...
The 'g' prefix is for global variables. The 's' prefix is for static class
members.
2017-02-15 14:26:23 +11:00
Nicholas Nethercote
27345fed25
Bug 1339327 (part 3) - Remove ToStreamAsJSON(). r=mstange.
...
This is possible because profiler_shutdown() can call
profiler_save_profile_to_file() to do the saving.
2017-02-15 14:26:23 +11:00
Nicholas Nethercote
b495b1b745
Bug 1339327 (part 2) - Tweak platform-*.cc files. r=mstange.
...
This patch:
- Improves some comments.
- Adds some assertions.
- Removes unnecessary differences between some Mac and Windows code.
- Removes the unnecessary SamplerThread::mStackSize on Windows.
2017-02-15 14:26:22 +11:00
Nicholas Nethercote
7e180ba10e
Bug 1339327 (part 1) - Fix profiler_get_features(). r=mstange.
...
"unwinder" and "jank" are never checked for via hasFeature(), and are not
mentioned anywhere else in the profiler. This patch removes them from
profiler_get_features().
"restyle" *does* have a hasFeature() call and is handled by
profiler_feature_active(). This patch adds it to profiler_get_features().
2017-02-15 14:26:22 +11:00
Chris Pearce
1f1b7e1168
Bug 1338032 - Report VP9 in MP4 not supported in HTMLMediaElement.canPlayType, but supported in MediaSource.isTypeSupported(). r=gerald
...
We don't have an MP4 demuxer that can handle VP9 in non-fragmented MP4. Jay's
change to DecoderTraits in Bug 1339204 will make MediaSource.isTypeSupported()
report that it can play VP9 in MP4. But we don't want to report that we can
play VP9 in MP4 in HTMLMediaElement.canPlayType(), as usually canPlayType() is
used with the intention to check for whether fragmented MP4 can be played. So
we need to special case canPlayType() so that it reports that it can't play
VP9 in MP4.
The upcoming Rust demuxer will be able to support VP9 in MP4, so once we've
enabled that, we can confidently report in canPlayType that we support VP9 in
MP4.
MozReview-Commit-ID: G0q5ho5N2wr
--HG--
extra : rebase_source : cd7a18ff3080b2c9bca90b6935b03bfa2c8d780f
2017-02-15 13:37:01 +13:00
Jay Harris
27c3912d6a
Bug 1339204 - Adds a test for VP9 in MP4 r=cpearce
...
MozReview-Commit-ID: 6kEgYUA6lvF
--HG--
extra : rebase_source : 3b8423eb84b3292f52681b94ab1888af69670ec8
2017-02-14 10:31:33 +13:00
Jay Harris
42bd35ef04
Bug 1339204 - Adds VP9 and VP9.0 as supported types in the MP4Decoder r=cpearce
...
MozReview-Commit-ID: 4vZGvb7nbVb
--HG--
extra : rebase_source : 26c190bd29953178fe3762a6d4426a5566d21d40
2017-02-14 10:31:02 +13:00
Jay Harris
2e8437ff89
Bug 1339204 - Adds support in StageFright for VP9.0 FourCCs r=cpearce
...
MozReview-Commit-ID: 3YcMOCVT7DY
--HG--
extra : rebase_source : 26a994212dbd0576c4037732c03c2fe3660d8196
2017-02-14 10:29:46 +13:00
Chris Pearce
d050e8d591
Bug 1338064 - Enable VP9 in MP4 for EME in Nightly. r=gerald
...
MozReview-Commit-ID: Deggrc038Va
--HG--
extra : rebase_source : cebfafbfec26bc0c756b85c9cde214455979f374
2017-02-09 20:09:39 +13:00
David Major
773fd87a6b
Bug 1338928: Add constexpr to static data under intl/ for better codegen on Windows. r=emk
...
MozReview-Commit-ID: I47OgjC0K5F
2017-02-15 15:08:31 +13:00
Shu-yu Guo
06e82eef5c
Bug 1338796 - Do not call iterator.return if iterator.throw is present in yield*. (r=arai)
2017-02-14 16:22:00 -08:00
Shu-yu Guo
3ebccd7aeb
Bug 1339137
- Don't do Annex B lexical function behavior when redeclaring a parameter name in a function with parameter expressions. (r=Waldo)
2017-02-14 16:22:00 -08:00
Aaron Klotz
16028b27ba
Bug 1335527: Fix missing entries for .tlb files generated by midl in a11y code; r=mshal
...
MozReview-Commit-ID: 7FW8wi23xYd
--HG--
extra : rebase_source : 5e4ce36ea703904d918e58570f18e8ead9581d00
2017-02-14 16:32:18 -07:00
Luke Wagner
da5c1df043
Bug 1338002 - Baldr: backout bug 1324032 (r=sunfish)
...
MozReview-Commit-ID: DATV6VP9672
2017-02-14 17:59:01 -06:00
Matt Woodrow
d1a27bbffa
Bug 1324524 - Make sure we use nsDisplayTableCellbackground for tables with border-collapse. r=tnikkel
2017-02-13 13:07:36 +13:00
Aaron Klotz
8af3455468
Bug 1335527: Backed out changeset 6306054ca94a for bustage; r=bustage
2017-02-14 16:24:55 -07:00
Aaron Klotz
8a75961a58
Bug 1335527: Fix missing entries for .tlb files generated by midl in a11y code; r=mshal
...
MozReview-Commit-ID: 7FW8wi23xYd
--HG--
extra : rebase_source : 8480e687a8284f12917303ad24ce18d6ed4aad47
2017-02-14 15:04:33 -07:00
Trevor Saunders
1f0c97f262
bug 1339472 - refer to child DocAccessibleParents by id r=yzen
2017-02-14 18:10:04 -05:00
Trevor Saunders
66243ccb3f
bug 1339472 - make DocAccessibleParents refer to there parent document by id r=yzen
...
This saves a little space on x86_64 builds.
2017-02-14 18:10:03 -05:00
Trevor Saunders
9f62f9a5c1
bug 1339472 - keep a map from DocAccessibleParents to the actors themselves r=yzen
2017-02-14 18:10:03 -05:00
Wes Kocher
f85117da36
Merge m-c to inbound, a=merge
...
MozReview-Commit-ID: 1c81Eie63Pe
2017-02-14 14:45:40 -08:00
Aaron Klotz
01e0b50a3d
Bug 1335527: Backed out changeset 45651363c8d6 due to bustage; r=bustage
2017-02-14 15:38:49 -07:00
Wes Kocher
cac6cb6a10
Merge inbound to central, a=merge
...
MozReview-Commit-ID: 1D2zbWPC8TT
2017-02-14 13:12:20 -08:00
Wes Kocher
a48142deaa
Merge autoland to central, a=merge
...
MozReview-Commit-ID: J9FpC20v3iL
2017-02-14 12:55:30 -08:00
Sebastian Hengst
fa67a95aa1
Backed out changeset 4ded6149dc4a (bug 1337491) for failing xpcshell tests test_utils_pbkdf2.js and test_ext_runtime_onInstalled_and_onStartup.js on Android 4.3 debug. r=backout
2017-02-14 18:55:02 +01:00
Jan de Mooij
4d617fa0bd
Bug 1339411 - Rewrite and optimize object allocation paths. r=bhackett
2017-02-14 18:19:12 +01:00
Randall Barker
95dafbe631
Bug 1336929 - Have UiCompositorControllerChild cache surface resize when not yet initialized. r=jchen,dvander
2017-02-14 09:11:14 -08:00
Andreas Farre
3f3767a201
Bug 1315260 - Don't schedule idle callbacks when suspended. r=smaug
...
MozReview-Commit-ID: 5uFUhchpntJ
2017-02-14 17:49:47 +01:00
Andreas Farre
60f5594a6e
Bug 1315260 - Make requesIdleCallbacks suspend along with nsGlobalWindow. r=smaug
...
MozReview-Commit-ID: HSeya5KawsI
2017-02-14 17:49:40 +01:00
Andreas Farre
0f265f1665
Bug 1315260 - Test that rIC doesn't run for documents in bfcache. r=smaug
...
MozReview-Commit-ID: CASPVe7Jarc
2017-02-14 17:49:05 +01:00
Benjamin Bouvier
d5113697a5
Bug 1338127: fix static analysis bustage; r=me
...
MozReview-Commit-ID: ACdnsp3Ljj9
--HG--
extra : rebase_source : d8a8f59bb1bc6b472484f0771dd979c58c488ee8
2017-02-14 17:01:27 +01:00
Trevor Saunders
2f8dccb36c
bug 1339156 - add an assert to RemoveChildDoc() r=yzen
2017-02-14 11:10:47 -05:00
Ehsan Akhgari
fffd011324
Bug 1338753 - Attempt to address intermittent failures due to rounding errors; r=baku
2017-02-14 10:57:52 -05:00