Commit Graph

1618 Commits

Author SHA1 Message Date
Pale Moon b1d73af3ea Make sure we're working in the compartment of the objects we're working with. 2018-07-25 06:44:15 +08:00
Pale Moon 019a78aaf8 Validate length in SubstringTuple. 2018-07-25 06:44:13 +08:00
Pale Moon 98ad098827 Scope local presshell variable in less error-prone way. 2018-07-25 06:44:11 +08:00
Pale Moon a94a6e6e21 Check if we actually have a script in IonBuilder::createThisScriptedSingleton. 2018-07-25 06:44:09 +08:00
Pale Moon 2ef64efbd9 nsAttrAndChildArray::GrowBy() must check the return value of mozilla::CeilingLog2 2018-07-25 06:44:07 +08:00
Pale Moon 3456c5c8c4 Trigger a read barrier when creating new reference to a compartment's lazy functions. 2018-07-25 06:44:05 +08:00
Pale Moon f500b4105a Take file protocol handler service directly in indexedDB. 2018-07-25 06:44:03 +08:00
Pale Moon 1f3cdc1ece Check arguments length in ICCallStubCompiler::guardFunApply. 2018-07-25 06:44:01 +08:00
Pale Moon ad1520255e Bug 1325344. 2018-07-25 06:43:59 +08:00
Pale Moon 659bedc056 Bug 1285960. 2018-07-25 06:43:57 +08:00
Pale Moon 2bedeb89c5 WebSocketImpl::mSecure should be initialized in the CTOR. 2018-07-25 06:43:55 +08:00
Pale Moon cd06cbaf62 Use CheckedInt in size calculation. 2018-07-25 06:43:53 +08:00
Pale Moon 572a49f9b6 Provide better file name suggestions when exporting certs. 2018-07-25 06:43:51 +08:00
Pale Moon 9a24201702 Update IDN blacklist. 2018-07-25 06:43:50 +08:00
Pale Moon 9785283093 WebRTC: Limit combined size of RTCP APP packets. 2018-07-25 06:43:48 +08:00
Pale Moon 059c32131f Don't mark GC things owned by another runtime. 2018-07-25 06:43:46 +08:00
Pale Moon 3513b95e59 XSLT: Make sure the eval context stack is cleaned up on failure. 2018-07-25 06:43:44 +08:00
Pale Moon fd6b74ff2f Ensure onload blocker is added once mScriptGlobalObject is set. 2018-07-25 06:43:42 +08:00
Pale Moon c6e9ca2280 Unify window handling across ICs. 2018-07-25 06:43:40 +08:00
Pale Moon 0e3fa3aac0 Go naked onto Facebook! ;) 2018-07-25 06:43:12 +08:00
janekptacijarabaci 7cf33c4329 CORS: A "data:" URL = the same-origin 2018-07-25 06:43:07 +08:00
Pale Moon 56c725cca9 Remove unused URI_IS_UTF8 load flag.
This resolves #865.
2018-07-25 06:43:04 +08:00
janekptacijarabaci 7839fac9ea [minor fix] Javascript warnings/errors when "javascript.options.strict" (only a small part of the code) 2018-07-25 06:43:03 +08:00
Lootyhoof 0f52241936 Improve downloads indicator in brighttext situations 2018-07-25 06:43:01 +08:00
Pale Moon 2969f099a1 Make DOM storage from 3rd parties honor 3rd party cookie setting.
- restricts usage of DOM storage by 3rd parties if the use has set 3rd party cookies to be blocked.
- extends "cookie-like" handling for DOM storage to enhance privacy and combat cross-origin tracking.

This resolves #860
2018-07-25 06:42:59 +08:00
trav90 17da3b2364 Update HSTS Preload list 2018-07-25 06:42:57 +08:00
Pale Moon 584cd08d71 Update license for FFmpeg code use. 2018-07-25 06:42:55 +08:00
JustOff 6ed11f9db4 Dynamically enable Browser Debugger in menu 2018-07-25 06:42:53 +08:00
janekptacijarabaci 47e1bc6dc1 Opening a URL in private mode window from cmd line (jsconsole - fix typo) 2018-07-25 06:42:51 +08:00
Pale Moon fc98da7b5e Add a basic WebP reftest for decoding. 2018-07-25 06:42:49 +08:00
janekptacijarabaci 6ecaecc0b3 Opening a URL in private mode window from cmd line (help - the columns alignment) 2018-07-25 06:42:47 +08:00
janekptacijarabaci 1b217ee7b3 Opening a URL in private mode window from cmd line 2018-07-25 06:42:45 +08:00
Pale Moon 0d35fc58e0 Add a check if the URL bar selection is fired from user-input.
This overrides the spec for input elements to special-case where we're not actually having the user select anything, but where it results from automatically-generated selections (e.g. autofill).
This should fix #852, but will require Linux testing since Windows doesn't use a primary this way.
2018-07-25 06:42:43 +08:00
trav90 0552e8b0f6 Do not build GStreamer support by default 2018-07-25 06:42:41 +08:00
Pale Moon 636eee0d98 Make packaging of status bar code conditional.
Fix for #826.
2018-07-25 06:42:40 +08:00
trav90 0c0ca797e4 [ffmpeg] Initialize PDM before attempting to use it 2018-07-25 06:42:38 +08:00
Pale Moon fbd92542cf Version bump 2018-07-25 06:42:36 +08:00
Pale Moon 6273259170 Add proper control for the user for offline storage for web applications.
New control: 3-state drop-down instead of a checkbox, linked to offline-apps.permissions:
0 - Deny storage of offline app data without prompting (breaks sites!)
1 - Ask the user if a website wants to store offline app data
2 - Allow storage of offline app data without prompting (default)

This resolves #760.
2018-07-25 06:42:34 +08:00
trav90 7fb76fe9a9 Only allow quicktime mimetype on Linux
We don't want to allow the quicktime mimetype on platforms where the quicktime plugin is available.
2018-07-25 06:42:32 +08:00
trav90 b0dd7fbdd9 [mp4] Skip four bytes when we hit a zero length box 2018-07-25 06:42:30 +08:00
trav90 c97eca6c1e Allow video/quicktime mimetype 2018-07-25 06:42:29 +08:00
trav90 34cd424df8 [mp4] Don't support video codecs inside audio mime types 2018-07-25 06:42:27 +08:00
trav90 db0db6e728 Make MP4Decoder::CanHandleMediaType() check all codecs are supported by a PDM before reporting support 2018-07-25 06:42:25 +08:00
trav90 73c665d315 [mp4] Adjust parsing logic 2018-07-25 06:42:23 +08:00
trav90 78af2402c2 operator() Use perfect forwarding to avoid redundant copy 2018-07-25 06:42:22 +08:00
trav90 bc453d31db Make mozilla::Function support pointer to member function 2018-07-25 06:42:20 +08:00
trav90 f275bbaf11 Disambiguate mozilla::dom::Function from mozilla::Function 2018-07-25 06:42:18 +08:00
trav90 5db56133fb Add tests for mozilla::Function 2018-07-25 06:42:16 +08:00
trav90 40db9bfc1a Add a type-erased callable wrapper, mozilla::Function, to MFBT 2018-07-25 06:42:14 +08:00
Pale Moon 531298905a Restore incorrectly-removed zero check for non-default UVS offset.
This fixes a rather critical crash that can occur with some typekit fonts with DirectWrite enabled.
Caused by: Bug 1067989 - Unify some more binary search uses.
2018-07-25 06:42:12 +08:00