Commit graph

1,373 commits

Author SHA1 Message Date
wolfbeast
fdc5d93422 Remove some HPUX leftovers.
Resolves #185
2019-04-04 20:26:43 +08:00
wolfbeast
769e5dad1e Remove AIX 1st party code OS checks, part 1
Issue #186
2019-04-04 20:26:39 +08:00
wolfbeast
02260b18f3 Remove AIX VisualAge C++ compiler bug workaround.
Tag #186
2019-04-04 20:26:36 +08:00
wolfbeast
0a50553673 Issue #187: Remove solaris 1st party code OS checks. 2019-04-04 20:26:29 +08:00
wolfbeast
78d61fd2b1 Issue #187: Remove solaris conditional code. 2019-04-04 20:26:26 +08:00
Ascrod
8d45fa6874 Remove obsolete getPref helpers. 2019-03-29 22:22:33 +08:00
wolfbeast
9ce73065ba Revert "Unregister ProcessHangMonitor as a hang annotator on shutdown."
This reverts commit 68acc67ddbbd1c7a9577498ad41d079e6b9e3eac.
2019-03-29 22:22:02 +08:00
sotaro
9f852ea56e Check if CopyData succeeded. 2019-03-29 22:22:00 +08:00
Nika Layzell
55fed93296 Unregister ProcessHangMonitor as a hang annotator on shutdown. 2019-03-29 22:21:58 +08:00
wolfbeast
db3e9bd7ba Disallow getUserMedia on null principals. 2019-03-29 22:21:55 +08:00
wolfbeast
afd64584b1 Fix build bustage. 2019-03-23 06:58:47 +08:00
trav90
cdc953632f [EME] Remove WidevineDecryptor::OnLegacySessionError
Not needed for more recent CDM versions.
2019-03-23 06:58:45 +08:00
trav90
d906bfd12d Build bustage fixes 2019-03-23 06:58:43 +08:00
trav90
7b93eff482 Style fixes 2019-03-23 06:58:42 +08:00
trav90
3c387b898a [EME] Cherry-pick fix for content_decryption_module.h
Fixes build bustage with GCC/clang.
2019-03-23 06:58:40 +08:00
trav90
e337ec5632 [EME] Add content_decryption_module_ext.h 2019-03-23 06:58:38 +08:00
trav90
58116c6950 [EME] Update content_decryption_module.h to more recent revision
Adds support for cdm::ContentDecryptionModule_9 and cdm::Host_9 definitions, HDCP definitions, and 10 and 12 bit image format definitions.
2019-03-23 06:58:37 +08:00
trav90
a8d231e0a9 [EME} Hackily implement cdm::Host_9::RequestStorageId
TODO: Implement this properly in the future.
2019-03-23 06:58:35 +08:00
trav90
eb2e8d7f92 [EME] Make WidevineAdapter compatible with CDM version 9
NOTE: this breaks compatibility with CDM version 8.
2019-03-23 06:58:34 +08:00
wolfbeast
ac1a607eb0 Extend origin-clean algorithm (DiD). 2019-03-23 06:44:19 +08:00
Brian Birtles
8a3be2de87 Check child container count in NotifyRefreshDriverCreated. 2019-03-23 06:44:15 +08:00
Olli Pettay
d82c60d3d8 Remove harmless assertions by using IgnoredErrorResult. 2019-03-23 06:44:06 +08:00
adeshkp
5d35d7f5ac Fix a warning about method override 2019-03-16 07:04:09 +08:00
JustOff
a86de13c47 Use meaningful error message in URLSearchParams::Constructor 2019-03-16 07:03:45 +08:00
JustOff
0b794697e3 Align IDL record to C++ conversion with the spec when Symbol-named properties are involved 2019-03-16 07:03:43 +08:00
JustOff
1729192b5d Construct URLSearchParams from record<> 2019-03-16 07:03:40 +08:00
JustOff
5fc488fe61 Construct URLSearchParams from sequence or from string 2019-03-16 07:03:39 +08:00
JustOff
5755645f0d Implement the spec provision for handling repeated keys in records by updating the existing value 2019-03-16 07:03:37 +08:00
JustOff
8547419267 Actually change the key type of a record, and its corresponding conversion behavior, depending on what the IDL says 2019-03-16 07:03:35 +08:00
JustOff
7233825bfe Rename MozMap.h to Record.h 2019-03-16 07:03:33 +08:00
JustOff
e234612456 Add ConvertJSValueTo*String functions that just take a value and hand out a string, without extra complications 2019-03-16 07:03:32 +08:00
JustOff
6196fdda47 Rename the MozMap C++ type to "record" and give it a template parameter for the key type 2019-03-16 07:03:30 +08:00
JustOff
d9eeac26ef Rename "MozMap" to "record" in our IDL parser and IDL files 2019-03-16 07:03:27 +08:00
JustOff
f953e2ad26 Split up PrimitiveOrStringType into PrimitiveType and StringType in the Web IDL parser 2019-03-16 07:03:24 +08:00
JustOff
69cc954889 Change JS to MozMap conversion to more closely follow the record<> spec 2019-03-16 07:03:22 +08:00
JustOff
17d23ee848 Add some tests for distinguishability of unions 2019-03-16 07:03:20 +08:00
JustOff
740f68378f Disallow mozmap-typed constants 2019-03-16 07:03:17 +08:00
JustOff
bc82c959ec Fix up some minor issues with default value handling in codegen 2019-03-16 07:03:15 +08:00
JustOff
4faee1f41a Change the MozMap API and data storage to more what we want record<> to look like 2019-03-16 07:03:12 +08:00
JustOff
a3f38ee838 Support string default values for unions containing USVString 2019-03-16 07:03:07 +08:00
wolfbeast
9bcb7ab2a5 Remove various hard-coded Accept: headers
Since we're now handling this in the network back-end, there's no
need for this anymore.

Tag #993.
2019-03-16 07:02:13 +08:00
wolfbeast
59ee48bfb0 Prevent loading of document subresources over FTP. 2019-03-16 07:01:31 +08:00
JustOff
7ae2bd83b7 Preserve newlines in textarea placeholders 2019-02-21 14:55:08 +08:00
wolfbeast
1cc92006b6 Implement origin-clean algorithm for ImageBitmap.
This resolves #973.
2019-02-16 00:28:25 +08:00
wolfbeast
24fda598ca Allow empty string on location.search setter.
Fixes #970.
2019-02-16 00:28:18 +08:00
wolfbeast
a7680e43ed Revert "Increase purple limit triggers for CC."
This reverts commit babedf6c696f88734e59b63d0c6614962cc57519.
2019-02-16 00:28:13 +08:00
wolfbeast
183aae036f Get RefPtr to transaction before using it. (DiD)
Avoid potential use-after-free by getting a RefPtr to a transaction
before calling content code that could cause its de-allocation.
2019-02-16 00:28:07 +08:00
Andrew McCreight
7b5e5f85de Increase slice time for longer running CCs.
If a CC takes too long (around 50 slices) or gets interrupted by a GC,
we have to finish it synchronously, which can cause a big pause.
This patch tries to avoid that by eagerly increasing the slice budget
the longer a CC goes on. It linearly increases the slice time from 5ms
to 40ms as we approach the halfway point of a CC (1 second), matching
GC pauses, and then leaves it at 40ms.
2019-02-16 00:27:52 +08:00
wolfbeast
6cba36850f Increase purple limit triggers for CC.
Making these much larger to allow more purple buffer buildup
and prevent overzealous cycle collection on purple buffer pressure.
2019-02-16 00:27:50 +08:00
wolfbeast
39d5eb7759 Remove NS_IMPL_CYCLE_COLLECTION_TRAVERSE_SCRIPT_OBJECTS 2019-02-16 00:27:49 +08:00