Commit Graph

2591 Commits

Author SHA1 Message Date
Pale Moon 0cb3aaf4e0 Mac: Re-initialize the Native Application Menu on run.
This resolves #1511.
2018-07-25 09:36:40 +08:00
Pale Moon 53e19a3f7f Allow users to disable the 4th and/or 5th mouse button on Windows.
This addresses #1517.
2018-07-25 09:36:33 +08:00
janekptacijarabaci 230ee66aaa HTML - details/summary - reftest.list (follow up) 2018-07-25 09:36:26 +08:00
Pale Moon 893ce18a8d Rewrite assert in cubeb_alsa.c: alsa_refill_stream to pass back a cubeb error instead.
This should fix the assertion failure in #1515.
2018-07-25 09:36:19 +08:00
Pale Moon beedeec1e9 Stop including AppVersion in the installer display strings.
This resolves #1513.
2018-07-25 09:36:12 +08:00
janekptacijarabaci 8bba1c2e08 HTML - details/summary - lists (the "Second item" will be displayed as "3. Second item") - potential crashtests 2018-07-25 09:36:04 +08:00
janekptacijarabaci ce87aaec5b HTML - details/summary - lists (the "Second item" will be displayed as "3. Second item") - remove SummaryFrame 2018-07-25 09:35:57 +08:00
janekptacijarabaci f15e252832 HTML - details/summary - lists (the "Second item" will be displayed as "3. Second item") 2018-07-25 09:35:50 +08:00
janekptacijarabaci fdf28958d4 HTML - details/summary - localize the description of default summary 2018-07-25 09:35:43 +08:00
janekptacijarabaci b886223881 HTML - editor (improvements) - follow up 2018-07-25 09:35:36 +08:00
janekptacijarabaci 4b0ac49917 Revert "HTML - editor (improvements)" 2018-07-25 09:35:29 +08:00
Pale Moon 2e9c10e234 Reuse ConstructScrollableBlock to build scrollable DetailsFrame.
Final part to resolve #1497.
2018-07-25 09:35:21 +08:00
janekptacijarabaci 6cb76ffcc1 The profile - resetting (improvements) 2018-07-25 09:35:14 +08:00
trav90 fe817041b9 Update HSTS preload list
Tag #62.
2018-07-25 09:35:07 +08:00
Pale Moon 464fe16f7a Add reftests. 2018-07-25 09:35:00 +08:00
Pale Moon e091171bcf Create block formatting context for DetailsFrame if needed. 2018-07-25 09:34:52 +08:00
Pale Moon 29a2a627c9 Use NS_NewBlockFormattingContext() in ConstructFieldSetFrame(). 2018-07-25 09:34:45 +08:00
janekptacijarabaci 4f618dfb6e HTML - editor (improvements) 2018-07-25 09:34:38 +08:00
janekptacijarabaci 2bbb774662 Fix typo (RefPtr -> nsRefPtr) 2018-07-25 09:34:31 +08:00
janekptacijarabaci 89c04c4c42 HTML - input type="number" matches :-moz-read-only when it is not read only 2018-07-25 09:34:24 +08:00
janekptacijarabaci 6c455300dd CSS - box-decoration-break:clone on block overflow container makes it draw a border 2018-07-25 09:34:16 +08:00
janekptacijarabaci 3aa3b9bf0e Media - subtitles (implement cuechange event) 2018-07-25 09:34:09 +08:00
Pale Moon 2afde91fb1 Don't propagate LOAD_FROM_CACHE to the whole load group on charset reload.
This improves our cache consistency when the charset declaration is not within the first 1024 bytes of the document, properly re-fetching resources from the net where we should.
2018-07-25 09:34:02 +08:00
Pale Moon 41d222ed51 Add missing sanitization for HTML exporting of bookmarks. 2018-07-25 09:33:54 +08:00
Pale Moon 5f73e19667 Confirm we actually have a PKCS#7 signedData content info. 2018-07-25 09:33:47 +08:00
Pale Moon d79c26fb59 Cancel timer in TLSFilterTransaction if a transaction is canceled. 2018-07-25 09:33:40 +08:00
Pale Moon 4e6e186773 Revert "If we have XCTO: nosniff, we should have a content-type as well."
This reverts commit 8167b87bc3f0cb68e53dea50a2bd990d6115cab0.
2018-07-25 09:33:33 +08:00
Pale Moon 318d7a7546 Revert "Add shortcut key for Browser Restart command"
Revert "[suggestion] Main menu - Restart normally (improvements)" (note: poor commit message!)
This reverts commit c0f9a92de8d0d158a901af2b0310a821e5250c70.
This resolves #1490.
2018-07-25 09:33:26 +08:00
JustOff e13c58f050 Skip XCTO: nosniff check in case of 30x response 2018-07-25 09:33:19 +08:00
Pale Moon 4a170914a9 If we have XCTO: nosniff, we should have a content-type as well.
If content-type is not sent by the server, then there's nothing to check against, and we should allow the load.
"nosniff" headers are normally sent as a blanket security measure on a domain, but not every server response will include an explicit MIME type.

Follow-up for #1343.
2018-07-25 09:33:12 +08:00
Pale Moon 421fd434f3 Use ARGS_LENGTH_MAX as upper bound in MArgumentsLength::computeRange. 2018-07-25 09:33:04 +08:00
Pale Moon 9c9841e5f0 Fix a crash by setting a flag to true. 2018-07-25 09:32:57 +08:00
Pale Moon 128051cf51 In order to not leak properties, ensure all the properties of adopted nodes are removed in case the adopt call fails. 2018-07-25 09:32:50 +08:00
Pale Moon 5ed97adc11 Explicitly cancel channel after mixed content redirect. 2018-07-25 09:32:43 +08:00
Pale Moon 34f0158a4c Special-case typed arrays in PropertyReadNeedsTypeBarrier. 2018-07-25 09:32:36 +08:00
Pale Moon 524572a3ec Force punycode display for IDNs with a <dotless-i/j, combining mark above> sequence. 2018-07-25 09:32:28 +08:00
Pale Moon 59bba97abf Remove display: contents pseudo frames.
The content insertion frame may be tagged instead of the primary frame.
2018-07-25 09:32:21 +08:00
Pale Moon 022cd5cb50 DefineOSFileConstants should return false if OSFileConstants service is not initialized. 2018-07-25 09:32:14 +08:00
Pale Moon 9568ba7382 Expose cookieBehavior and cookieLifetimePolicy preference variants from nsICookieService.
This makes the constants available to js, and reduces duplication of the pref constants in several files.
Follow-up for #1475.
2018-07-25 09:32:07 +08:00
Pale Moon 06f32b278c Implement "cookie-averse document objects".
See: https://html.spec.whatwg.org/multipage/dom.html#cookie-averse-document-object
This resolves #1485.
2018-07-25 09:31:59 +08:00
Pale Moon 81d6379c4a Define Ci before using it.
Follow-up to b243a16d7e282d21433e768d66d1c05f0f4009d1 (#1475)
2018-07-25 09:31:52 +08:00
Pale Moon 858707bde5 Handle custom URLs and add "My home page" for the New Tab URL.
This resolves #1482.
2018-07-25 09:31:45 +08:00
JustOff ede067a2f3 Implement X-Content-Type-Options: nosniff. 2018-07-25 09:31:38 +08:00
janekptacijarabaci aa8ab4ab70 Profiles - the refresh - migrate - improvements 2018-07-25 09:31:31 +08:00
Pale Moon 6c36d47164 Remove the "ask every time" policy for acceptance of cookies.
People still trying to use this option in 2017 will likely end up with a cookie confirmation dialog storm
that can end up with the browser being locked (modal dialog storm + confused z-order in some
window managers = inaccessible UI). This is a terrible footgun, and cookie acceptance is best
controlled with one of the many extensions available for this purpose.

This resolves #1475.
2018-07-25 09:31:24 +08:00
janekptacijarabaci 84cacb385b Profiles - the refresh - migrate (passwords) 2018-07-25 09:31:17 +08:00
janekptacijarabaci 78056b2d45 Profiles - the refresh - migrate 2018-07-25 09:31:10 +08:00
JustOff f46718306f Add text/json and text/vtt as text MIME types 2018-07-25 09:31:02 +08:00
JustOff 0f7e53a392 Refactor nsContentDLF 2018-07-25 09:30:55 +08:00
JustOff 4a74520fe3 Change nsIDocumentLoaderFactory and nsIURIContentListener to take MIME types as an XPCOM string, not a char* 2018-07-25 09:30:48 +08:00