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

520453 Коммитов

Автор SHA1 Сообщение Дата
John Dai b810f2855a Bug 1338889 - Part 1: Remove redundant trailing spaces. r=bz 2017-02-14 23:11:00 +08:00
Samael Wang cb34d98c34 Bug 1283947 - Clear pending transactions when ClientLayerManager is assigning to a different refresh driver. r=mattwoodrow 2017-02-13 13:02:53 +08:00
Nicholas Nethercote 912ba37deb Bug 1339435 - Fix bogus assertion in both profiler_time() variants. r=jseward.
--HG--
extra : rebase_source : e752a0bf0b8ea8282bc8f0b477d178325e247397
2017-02-15 14:36:10 +11:00
Bob Owen 209be0e8ce Bug 1339389: Remove legacy build config from Windows SandboxBroker moz.build. r=glandium
MozReview-Commit-ID: KA3dCxrCZRo
2017-02-15 08:31:14 +00:00
Julian Seward facbf1c445 Bug 1338179 - Disable W^X JIT code page switching when running on Valgrind on Linux/Mac. r=nicolas.b.pierron.
--HG--
extra : rebase_source : d4182992104e319e50c0b1c07b3eec24f9c1d2de
2017-02-14 20:41:23 +01:00
Boris Zbarsky 41700419ad Bug 1339540 part 3. Use nsresult values in the ErrorResult error module in place of NS_ERROR_TYPE_ERR/NS_ERROR_RANGE_ERR in ErrorResult code. r=smaug 2017-02-15 00:02:36 -05:00
Boris Zbarsky 2816ec4748 Bug 1339540 part 2. Move the three ErrorResult-internal NS_ERROR_DOM_* values over to the ErrorResult error module. r=smaug 2017-02-15 00:02:35 -05:00
Boris Zbarsky ebf63a11ae Bug 1339540 part 1. Introduce an ErrorResult-specific nsresult module. r=smaug 2017-02-15 00:01:57 -05:00
Boris Zbarsky a449ccb8fa Bug 1333045. Update Location object properties to current spec. r=qdot
Specifically, three changes:

1) valueOf should be non-enumerable.
2) valueOf should be === to Object.prototype.valueOf.
3) There should be no toJSON.

The tests come directly from https://github.com/w3c/web-platform-tests/pull/4623
so not much need to review them.
2017-02-15 00:01:48 -05:00
Boris Zbarsky 727083dca4 Bug 1330699 part 14. Add some tests for the spec behavior. r=qdot 2017-02-15 00:01:43 -05:00
Boris Zbarsky 18a2013469 Bug 1330699 part 13. Implement the spec provision for handling repeated keys in records by updating the existing value. r=qdot 2017-02-15 00:01:41 -05:00
Boris Zbarsky 063d0caa78 Bug 1330699 part 12. Actually change the key type of a record, and its corresponding conversion behavior, depending on what the IDL says. r=qdot 2017-02-15 00:01:39 -05:00
Boris Zbarsky 90896220ac Bug 1330699 part 11. Add ConvertJSValueTo*String functions that just take a value and hand out a string, without extra complications. r=qdot 2017-02-15 00:01:37 -05:00
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