Commit Graph

59933 Commits

Author SHA1 Message Date
Boris Zbarsky
eccb5b0dcf Bug 1335450. Fix our condition for rescheduling frame request callbacks. r=mrbkap 2017-02-15 18:31:36 -05:00
Xidorn Quan
27c6b9b2bf Bug 1339394 - Don't serialize transparent color to transparent keyword when not necessary. r=heycam
MozReview-Commit-ID: 59cmaCoFJMR

--HG--
extra : source : 134b15d99876fbd9b9f7022de20e3d215dc2c753
extra : amend_source : 94ba498834fae87577905fa473479a3d155e607d
2017-02-16 10:27:19 +11:00
David Anderson
3a24634204 Switch PPluginModule from PCrashReporter to shmem-based CrashReportHost/Client. (bug 1338281 part 5, r=billm) 2017-02-15 14:44:30 -08:00
David Anderson
0c95d36053 Allow finalizing external crash reports from CrashReportHost. (bug 1338281 part 4, r=billm) 2017-02-15 14:44:30 -08:00
David Anderson
da43dac799 Store the child process thread id in CrashReporterHost. (bug 1338281 part 2, r=billm) 2017-02-15 14:44:29 -08:00
David Anderson
a1f1be7f91 Store extra annotations directly on CrashReporterHost. (bug 1338281 part 1, r=billm) 2017-02-15 14:44:29 -08:00
Wes Kocher
9738f2b4f7 Backed out 5 changesets (bug 1336510) for mass bustage a=backout CLOSED TREE
Backed out changeset 35d16d04d67d (bug 1336510)
Backed out changeset 41db22e0c13d (bug 1336510)
Backed out changeset 2075037694ed (bug 1336510)
Backed out changeset 71be73be6c4e (bug 1336510)
Backed out changeset 02ccacdbbb93 (bug 1336510)

MozReview-Commit-ID: Lx2kKu7JVvI
2017-02-15 13:40:12 -08:00
Michael Layzell
2b5e4ffefa Bug 1336510 - Part 4: Capture a strong reference to this in dom/media, r=jwwang
MozReview-Commit-ID: 4lVGrGzhVXh
2017-02-15 15:32:44 -05:00
Michael Layzell
d917cc7587 Bug 1336510 - Part 2: Fix lambda captures of this in PresentationConnection, r=smaug
MozReview-Commit-ID: 2fuMHyspjhs
2017-02-15 15:32:44 -05:00
Bill McCloskey
0cda76d680 Bug 1339289 - Give names to a lot of common timers (r=ehsan)
MozReview-Commit-ID: IMsv5bkyjBL
2017-02-15 12:30:01 -08:00
Bill McCloskey
194043ae97 Bug 1339289 - Give names to a lot of common runnables (r=ehsan)
MozReview-Commit-ID: 5IdvK6kgoAW
2017-02-15 12:30:01 -08:00
Ben Kelly
1e7618bfa7 Bug 1339844 P3 Test for Client.type in mochitest. r=asuth 2017-02-15 15:12:37 -05:00
Ben Kelly
76b97762b7 Bug 1339844 P1 Implement the Client.type attribute. r=asuth 2017-02-15 15:12:37 -05:00
Andrea Marchesini
8cfefe583e Bug 1339734 - dom/media should check the return value of OriginKeysTable::GetPrincipalKey, r=jesup 2017-02-15 18:47:23 +01:00
Carsten "Tomcat" Book
5447789960 Backed out changeset 3a90f1f64d8d (bug 1339749) for bustage on a CLOSED TREE
--HG--
rename : toolkit/components/telemetry/ipc/TelemetryComms.h => toolkit/components/telemetry/TelemetryComms.h
rename : toolkit/components/telemetry/ipc/TelemetryIPCAccumulator.cpp => toolkit/components/telemetry/TelemetryIPCAccumulator.cpp
rename : toolkit/components/telemetry/ipc/TelemetryIPCAccumulator.h => toolkit/components/telemetry/TelemetryIPCAccumulator.h
extra : amend_source : 2f4229556609103157901609fee02aaedcdb8606
2017-02-15 16:10:29 +01:00
Nathan Froyd
816d0278d2 Bug 1338168 - micro-optimize GetListenerInfoFor; r=baku,smaug
We can use nsCOMArray::Forget() to avoid some unnecessary refcounting.
2017-02-15 11:06:39 -04:00
Olli Pettay
2a5cc346bc Bug 1338886 - nsDocument::UpdateIntersectionObservations() should call perf->Now() only if needed, r=tschneider 2017-02-15 17:04:16 +02:00
Ben Kelly
8fbd3ec4ed Bug 1322111 P4 Update the Cache API schema to account for new nsIContentPolicy type. r=asuth 2017-02-15 09:55:58 -05:00
Ben Kelly
101a286625 Bug 1322111 P2 Make importScripts() use TYPE_INTERNAL_WORKER_IMPORT_SCRIPTS. r=ckerschb 2017-02-15 09:55:58 -05:00
Ben Kelly
0e176007bb Bug 1322111 P1 Add TYPE_INTERNAL_WORKER_IMPORT_SCRIPTS content policy type. r=ckerschb 2017-02-15 09:55:58 -05:00
Tooru Fujisawa
a33056dda7 Bug 1283712 - Part 8: Add WorkerErrorBase, WorkerErrorNote, and WorkerErrorReport. r=bholley 2017-02-15 23:53:07 +09:00
Tooru Fujisawa
918d55e6ea Bug 1283712 - Part 7: Add nsIScriptErrorNote and nsIScriptError.notes. r=bholley 2017-02-15 23:53:06 +09:00
Georg Fritzsche
ce683a039f Bug 1339749 - Refactor Telemetry IPC code. r=chutten
--HG--
rename : toolkit/components/telemetry/TelemetryComms.h => toolkit/components/telemetry/ipc/TelemetryComms.h
rename : toolkit/components/telemetry/TelemetryIPCAccumulator.cpp => toolkit/components/telemetry/ipc/TelemetryIPCAccumulator.cpp
rename : toolkit/components/telemetry/TelemetryIPCAccumulator.h => toolkit/components/telemetry/ipc/TelemetryIPCAccumulator.h
2017-02-15 10:37:17 +01:00
Carsten "Tomcat" Book
4bb208b812 Backed out changeset 4a964c3f1759 (bug 1339394) for suspicion of causing failures on OS X browser_selectpopup.js tests 2017-02-15 14:43:57 +01:00
Carsten "Tomcat" Book
8c454e1c69 Merge mozilla-central to mozilla-inbound 2017-02-15 12:43:50 +01:00
Carsten "Tomcat" Book
ed3d8d8286 merge mozilla-inbound to mozilla-central a=merge 2017-02-15 12:21:44 +01:00
Xidorn Quan
8a139d9ab8 Bug 1339394 - Don't serialize transparent color to transparent keyword when not necessary. r=heycam
MozReview-Commit-ID: 59cmaCoFJMR

--HG--
extra : source : 6c2a110bb5f4c7d4b1efd81a5cf03878291f7591
extra : amend_source : e2cdd8e042f99c53dceb69e02b422d62cdc01e1f
2017-02-15 20:47:26 +11: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
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
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
Xidorn Quan
95c1b23bd9 Bug 1339341- Downgrade several stylo errors to warnings. r=heycam
MozReview-Commit-ID: 2Sa8dS8uSo5

--HG--
extra : rebase_source : c6809309bbef5faf458b56018b964619ff386238
2017-02-14 18:26:10 +11:00
John Dai
e80c2fec57 Bug 1338889 - Part 2: Support DOMString as Argument 3 of Document.createElementNS. r=bz 2017-02-15 00:07:00 +08:00
John Dai
b810f2855a Bug 1338889 - Part 1: Remove redundant trailing spaces. r=bz 2017-02-14 23:11:00 +08:00
JW Wang
a0d28a05e9 Bug 1339351 - fix typo. r=kaku
MozReview-Commit-ID: ApKvXMTqcDm

--HG--
extra : rebase_source : 6118ef0439cf2451f161bb491841e749e6eb1aab
extra : intermediate-source : de5851e330100048a2db2889b2f9cd3bf86ce3e0
extra : source : 0b0d7bf4fb45a64752b8703e0f6189cb93b1452b
2017-02-12 23:40:19 +08: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
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