John Dai
b810f2855a
Bug 1338889 - Part 1: Remove redundant trailing spaces. r=bz
2017-02-14 23:11:00 +08: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
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
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
Wes Kocher
cac6cb6a10
Merge inbound to central, a=merge
...
MozReview-Commit-ID: 1D2zbWPC8TT
2017-02-14 13:12:20 -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
Ehsan Akhgari
fffd011324
Bug 1338753 - Attempt to address intermittent failures due to rounding errors; r=baku
2017-02-14 10:57:52 -05:00
Ehsan Akhgari
e5fb1b9d4f
Bug 1338691 - Add a pref for delaying tracking timeout throttling after the page load finishes; r=bkelly
2017-02-14 10:57:47 -05:00
Wes Kocher
4468d77e14
Backed out 5 changesets (bug 1338172) for linux crashtest failures a=backout
...
Backed out changeset 9ee6c6f4e59c (bug 1338172)
Backed out changeset 1c92fbfca20a (bug 1338172)
Backed out changeset 907d9c3d1043 (bug 1338172)
Backed out changeset e4994ab9d628 (bug 1338172)
Backed out changeset 6209f07e1f26 (bug 1338172)
MozReview-Commit-ID: 3f4xBRcGPqM
2017-02-14 14:31:54 -08:00
Ben Kelly
9c913de880
Bug 1337522 P2 Set ServiceWorker principal earlier. r=baku
2017-02-14 10:06:39 -05:00
Ben Kelly
adfc2e425e
Bug 1337522 P1 Add diagnostic assertions that worker principal is valid before compilation. r=baku
2017-02-14 10:06:39 -05:00
Ben Kelly
839d472b39
Bug 1337543 P6 Persist response headers for offlined service worker scripts. r=baku
2017-02-14 10:06:39 -05:00
Ben Kelly
d304b8453f
Bug 1337543 P5 Move code to fill InternalHeaders from an nsIChannel response into utility method. r=baku
2017-02-14 10:06:39 -05:00
Ben Kelly
9b7436dd89
Bug 1337543 P4 Apply CSP headers to ServiceWorker when loading offlined script. r=baku
2017-02-14 10:06:38 -05:00
Ben Kelly
6e8c6089aa
Bug 1337543 P3 Factor out code to set WorkerPrivate CSP from headers. r=baku
2017-02-14 10:06:38 -05:00
Ben Kelly
f86436457f
Bug 1337543 P2 Improve ServiceWorker asserts and verify load principal does not inherit CSP. r=baku
2017-02-14 10:06:38 -05:00
Ben Kelly
3032201406
Bug 1337543 P1 ServiceWorker should not inherit CSP from registration principal. r=baku
2017-02-14 10:06:38 -05:00
Ben Kelly
e4d4ffc92a
Bug 1337543 P0 Sanitize the nsIPrincipal used to register a service worker to ensure CSP is not persisted. r=baku
2017-02-14 10:06:38 -05:00
Ben Kelly
33a49b42bf
Bug 1338304 P2 Add a test that verifies fetch() rejects if a redirect is CSP blocked. r=ckerschb
2017-02-14 10:06:38 -05:00
Ben Kelly
564ce2618f
Bug 1338304 P1 Make nsCSPService cancel the channel if a redirect is blocked by CSP. r=ckerschb
2017-02-14 10:06:38 -05:00
Bob Clary
2d47aef0dd
Bug 1338256
- Disable dom/canvas/test/test_imagebitmap_extensions_on_worker.html on debug Android 4.4, r=gbrown.
2017-02-14 07:00:18 -08:00
Bob Clary
021b991ace
Bug 1336581 - Disable failing Mochitest Skia tests on Android, r=gbrown
2017-02-14 07:00:18 -08:00
Jean-Yves Avenard
4ee48a05fa
Bug 1336358: P4. Disable some noisy tests on Android. r=padenot
...
Issue tracked in bug 1339449 and bug 1339448
MozReview-Commit-ID: GmlS56bI4Ki
--HG--
extra : rebase_source : 4b85907a840c9ffa03ee8b757deec3ea5539d28b
2017-02-14 16:10:11 +01:00
Jean-Yves Avenard
cd02cb5981
Bug 1336358: P3. Fix incorrect arguments in DurationMap. r=jolin
...
MozReview-Commit-ID: BnE4WgE9QPi
--HG--
extra : rebase_source : 39a5f0a1c4bd4768c05c9a66ddfbeb96e63a7c22
2017-02-14 00:08:41 +01:00
Benjamin Smedberg
dc59402254
Bug 1338172 part E - make all the PPluginWidget stuff Windows-only. Rip out the GTK-specific native widget support from widget/gtk/nsWindow and elsewhere, r=jimm
...
MozReview-Commit-ID: J6E8sYcyX4U
--HG--
extra : rebase_source : 18a7bd7d5180606201d93a25c766df7285405094
extra : histedit_source : ae893f87b074a7a17a0e56f835977fea074f25e8
2017-02-09 11:53:50 -05:00
Benjamin Smedberg
df2b737785
Bug 1338172 part D - Fix tests that expect windowed mode on Linux, r=jimm
...
MozReview-Commit-ID: 8zAZ3K9LxlW
--HG--
extra : rebase_source : 0ba277ba63bdb98d848731c6c3bba10a0942fe5f
extra : histedit_source : 1a2fe0e1d0658dc4c32fd1e09005ff55b8096751
2017-02-09 10:16:18 -05:00
Benjamin Smedberg
69f1a9f11e
Bug 1338172 part C - Remove support for windowed mode plugins on Linux (GTK). r=jimm
...
MozReview-Commit-ID: 5rnxozEKCwn
--HG--
extra : rebase_source : 4aacde98aa1a57c16bbe951bc901d2b3020ce6be
extra : histedit_source : 75570fc49bcc942ff2f34ea3aabf831700c1ef52
2017-02-09 10:05:00 -05:00
Benjamin Smedberg
6e0e846224
Bug 1338172 part B - remove the ancient carbon detection on Mac which is no longer used, r=jimm
...
MozReview-Commit-ID: 9UEAfPHg7fP
--HG--
extra : rebase_source : 41845cf5e25aa7b4a94e29a327b4d3cd4a1eb9bd
extra : histedit_source : 4009dbade841826e32a0d6b5e9f23ef479122900
2017-02-08 14:27:49 -05:00
Benjamin Smedberg
40c656c1ef
Bug 1338172 part A - remove windowed plugin support from the GTK testplugin, r=jimm
...
MozReview-Commit-ID: 9vlarj5C59
--HG--
extra : rebase_source : a0c9866dc74b80b74a69150030d80dccb6a8eb45
extra : histedit_source : 98ee5f7ad25a10cf0276795648876d800b3e208a
2017-02-08 13:44:21 -05:00
Benjamin Smedberg
0376642438
Bug 1337781 - Force Flash to be windowless on Linux, r=jimm
...
MozReview-Commit-ID: KuSqj0FwAXg
--HG--
extra : rebase_source : e52d1e89c177dd4d546eba383eab2c272b01e5a7
extra : histedit_source : 4eaefb2e81b0e8a1b0db905c1cee8aa3d838c919
2017-02-08 09:35:28 -05:00
Jeff Walden
ca2e1ac4c0
Bug 1287006 - Don't pass Maybe by value in miscellaneous places. r=froydnj
...
--HG--
extra : rebase_source : 145f2fc605ff917d3067826a9daebdce07bde02a
2017-02-13 09:07:40 -08:00