61b6c0110deabb51d9fafec1350c4362be7f9758: Bug 583181 - Part 3: Spoof navigator.buildID for web content. r=hsivonen
Chris Peterson <cpeterson@mozilla.com> - Sun, 23 Sep 2018 17:32:46 -0700 - rev 495869
Push 9984 by ffxbld-merge at Mon, 15 Oct 2018 21:07:35 +0000
Bug 583181 - Part 3: Spoof navigator.buildID for web content. r=hsivonen But still allow chrome scripts and (unless resisting fingerprinting) "https://*.mozilla.org" pages to access the real navigator.buildID. Differential Revision: https://phabricator.services.mozilla.com/D7262
a02d4b28303032b70a89f34de320b4f7c3379b6a: Bug 583181 - Part 2: Add separate definitions for LEGACY_BUILD_ID and LEGACY_UA_GECKO_TRAIL. r=hsivonen
Chris Peterson <cpeterson@mozilla.com> - Mon, 01 Oct 2018 21:27:34 -0700 - rev 495868
Push 9984 by ffxbld-merge at Mon, 15 Oct 2018 21:07:35 +0000
Bug 583181 - Part 2: Add separate definitions for LEGACY_BUILD_ID and LEGACY_UA_GECKO_TRAIL. r=hsivonen "Gecko trail" is the term used by MDN [1] for the YYYMMDD build date in the UA string's "Gecko/" token. Build ID is a YYYYMMDDHHMMSS build timestamp. Use LEGACY_BUILD_ID to spoof navigator.buildID. Use LEGACY_UA_GECKO_TRAIL to construct the UA string. [1] https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/User-Agent/Firefox Differential Revision: https://phabricator.services.mozilla.com/D7983
1cb48be0b5d9b0e211a0dd6f7b44118ea24df708: Bug 583181 - Part 1: Add test for current navigator.buildID behavior. r=hsivonen
Chris Peterson <cpeterson@mozilla.com> - Sun, 07 Oct 2018 01:17:54 -0700 - rev 495867
Push 9984 by ffxbld-merge at Mon, 15 Oct 2018 21:07:35 +0000
Bug 583181 - Part 1: Add test for current navigator.buildID behavior. r=hsivonen The incorrect LEGACY_BUILD_ID will be fixed in a subsequent changeset. We must add https://www.mozilla.org/ to server-locations.txt and regenerate the mochitest certificates [1] because the new navigator.buildID test pretends to load content from https://www.mozilla.org/. [1] https://searchfox.org/mozilla-central/source/build/pgo/certs/README Differential Revision: https://phabricator.services.mozilla.com/D7982
520b22993bc47a71d368d2fee94ce74fda92f06d: Bug 583181 - Part 0: Remove unused Marketplace domains from mochitest whitelist. r=marco
Chris Peterson <cpeterson@mozilla.com> - Sat, 29 Sep 2018 23:49:09 -0700 - rev 495866
Push 9984 by ffxbld-merge at Mon, 15 Oct 2018 21:07:35 +0000
Bug 583181 - Part 0: Remove unused Marketplace domains from mochitest whitelist. r=marco Differential Revision: https://phabricator.services.mozilla.com/D7263
6ba768a8122b6a8fb44c645edbb22cba236922a1: Merge mozilla-central to inbound. a=merge CLOSED TREE
Noemi Erli <nerli@mozilla.com> - Tue, 09 Oct 2018 07:06:54 +0300 - rev 495865
Push 9984 by ffxbld-merge at Mon, 15 Oct 2018 21:07:35 +0000
Merge mozilla-central to inbound. a=merge CLOSED TREE
470dd43efaa6a9b5c0d9e72e65276f7c07be4f25: Bug 1496623 - Rename and comment GeckoProfilerThread::installed() r=njn
Paul Bone <pbone@mozilla.com> - Fri, 05 Oct 2018 10:52:43 +1000 - rev 495864
Push 9984 by ffxbld-merge at Mon, 15 Oct 2018 21:07:35 +0000
Bug 1496623 - Rename and comment GeckoProfilerThread::installed() r=njn
ccbd30a9a23a7b979abb27211a095aa43d424bcc: Bug 1496189 - Password quality meter show always undetermined, r=paolo
Alexander Surkov <surkov.alexander@gmail.com> - Tue, 09 Oct 2018 10:47:04 +0800 - rev 495863
Push 9984 by ffxbld-merge at Mon, 15 Oct 2018 21:07:35 +0000
Bug 1496189 - Password quality meter show always undetermined, r=paolo
150a7a5613b7cfc2adac4c801f29391c414042ff: Fixup bug 1475139 for MSVC. r=me
Mike Hommey <mh+mozilla@glandium.org> - Tue, 09 Oct 2018 11:31:41 +0900 - rev 495862
Push 9984 by ffxbld-merge at Mon, 15 Oct 2018 21:07:35 +0000
Fixup bug 1475139 for MSVC. r=me
70b36ec329e7ff9139c098f0a029243a57df61be: Bug 1489072: Fix startup perf regression in pdf.js init. r=bdahl
Kris Maglione <maglione.k@gmail.com> - Wed, 03 Oct 2018 13:09:40 -0700 - rev 495861
Push 9984 by ffxbld-merge at Mon, 15 Oct 2018 21:07:35 +0000
Bug 1489072: Fix startup perf regression in pdf.js init. r=bdahl Differential Revision: https://phabricator.services.mozilla.com/D7649
26913fab74050dbe195b330a250795c14407bf4f: Merge mozilla-central to inbound. a=merge CLOSED TREE
Noemi Erli <nerli@mozilla.com> - Tue, 09 Oct 2018 00:57:11 +0300 - rev 495860
Push 9984 by ffxbld-merge at Mon, 15 Oct 2018 21:07:35 +0000
Merge mozilla-central to inbound. a=merge CLOSED TREE
a3a767ad55fbf01762d41f7e8bff91188e736daf: Bug 1496383 - Fix state error cases of MediaRecorder to match the W3C spec r=jya
Bumsik Kim <k.bumsik@gmail.com> - Mon, 08 Oct 2018 09:06:07 +0000 - rev 495859
Push 9984 by ffxbld-merge at Mon, 15 Oct 2018 21:07:35 +0000
Bug 1496383 - Fix state error cases of MediaRecorder to match the W3C spec r=jya Fix a bug that the current MediaRecorder's state error cases does not match the W3C spec. pause() and resume() should throw an INVAILD_STATE_ERR only when it is inactive state, making them independant. Simply changing if statements is enough because the underlying encoder object (TrackEncoder) will ignore Suspend/Resume calls when it is already suspended/recording so there won't be side-effects by multiple pause()/resume() calls. Differential Revision: https://phabricator.services.mozilla.com/D7910
a9db3033d9cbf95c87e8c26c361ffe558ef6e3a9: Bug 1479964 - Set KeyboardEvent.keyCode and KeyboardEvent.charCode to same value if the event is "keypress" event r=smaug
Masayuki Nakano <masayuki@d-toybox.com> - Tue, 09 Oct 2018 04:43:37 +0000 - rev 495858
Push 9984 by ffxbld-merge at Mon, 15 Oct 2018 21:07:35 +0000
Bug 1479964 - Set KeyboardEvent.keyCode and KeyboardEvent.charCode to same value if the event is "keypress" event r=smaug Chrome sets both KeyboardEvent.keyCode and KeyboardEvent.charCode of "keypress" event to same value. On the other hand, our traditional behavior is, sets one of them to 0. Therefore, we need to set keyCode value to charCode value if the keypress event is caused by a non-function key, i.e., it may be a printable key with specific modifier state and/or different keyboard layout for compatibility with Chrome. Similarly, we need to set charCode value to keyCode value if the keypress event is caused by a function key which is not mapped to producing a character. Note that this hack is for compatibility with Chrome. So, for now, it's enough to change the behavior only for "keypress" event handlers in web content. If we completely change the behavior, we need to fix a lot of default handlers and mochitests too. However, it's really difficult because default handlers check whether keypress events are printable or not with following code: > if (event.charCode && > !event.altKey && !event.ctrlKey && !event.metaKey) { or > if (!event.keyCode && > !event.altKey && !event.ctrlKey && !event.metaKey) { So, until we stop dispatching "keypress" events for non-printable keys, we need complicated check in each of them. And also note that this patch changes the behavior of KeyboardEvent::KeyCode() when spoofing is enabled and the instance is initialized by initKeyEvent() or initKeyboardEvent(). That was changed by bug 1222285 unexpectedly and keeping the behavior makes patched code really ugly. Therefore, this takes back the old behavior even if spoofing is enabled. Differential Revision: https://phabricator.services.mozilla.com/D7974
ac590db9a29403e4d42559f394f7ffab7d2c2eb5: Merge mozilla-central to autoland. a=merge CLOSED TREE
Noemi Erli <nerli@mozilla.com> - Tue, 09 Oct 2018 07:05:46 +0300 - rev 495857
Push 9984 by ffxbld-merge at Mon, 15 Oct 2018 21:07:35 +0000
Merge mozilla-central to autoland. a=merge CLOSED TREE
80f3e8b1d66fb5a9dbaba457ae2535a679ec49c5: Bug 1495978 - Make PuppetWidget::StartPluginIME() restore cross process dispatching state of given keyboard event instance after sending it to the main process synchronously r=m_kato
Masayuki Nakano <masayuki@d-toybox.com> - Tue, 09 Oct 2018 01:29:42 +0000 - rev 495856
Push 9984 by ffxbld-merge at Mon, 15 Oct 2018 21:07:35 +0000
Bug 1495978 - Make PuppetWidget::StartPluginIME() restore cross process dispatching state of given keyboard event instance after sending it to the main process synchronously r=m_kato PuppetWidget::StartPluginIME() calls TabChild::SendStartPluginIME() with given WidgetKeyboardEvent instance. Then, the keyboard event will be marked as "posted to remote process" by ParamTraits<mozilla::WidgetEvent>::Write(). However, the method sends back the keyboard event to the main process synchronously. So, we don't want the event is treated as "posted" since the flag is used to check whether current process handles posted event *before* the remote process or not. So, PuppetWidget::StartPluginIME() should restore the cross process dispatching state with calling WidgetEvent::ResetCrossProcessDispatchingState(). Unfortunately, this also clears propagation state of the event too if the event has already been posted to a remote process and is waiting reply from the remote process. This shouldn't occur in content process, however, we should check it with MOZ_ASSERT() for detecting regressions. Differential Revision: https://phabricator.services.mozilla.com/D7579
2cdf1848b6a7f7e006233a95ed78085d19d6ab6f: Bug 1496501 - Do not mark CDM input as unencrypted even if it has no encrypted bytes. r=cpearce
Bryce Van Dyk <bvandyk@mozilla.com> - Mon, 08 Oct 2018 22:34:32 +0000 - rev 495855
Push 9984 by ffxbld-merge at Mon, 15 Oct 2018 21:07:35 +0000
Bug 1496501 - Do not mark CDM input as unencrypted even if it has no encrypted bytes. r=cpearce Bug 1494178 added code to mark samples with 0 encrypted ranges as unencrypted before they were fed to the CDM. This was to catch issues where we could mark such unencrypted samples as encrypted. However, the CDM expects certain samples that are clear to still be marked as encrypted. Specifically, WebM samples should be marked as encrypted if they are from an encrypted track and have the signal byte's encryption bit set (a marker for if the packet is encrypted), even if they have no encrypted ranges. The WebM demuxer is already doing this. Further inspection and testing of the mp4 demuxer shows it is behaving in line with Chromium's current mp4 parser, which we can expect prepares its data sensibly for Widevine. As the code removed here was added as a safety fallback, but is causing issues, and as the demuxers already appear to be doing the right thing, the fallback code can be removed. Differential Revision: https://phabricator.services.mozilla.com/D8024
0c2d8b9fe4a7eb428be7cbb44757ce1b1558f0dc: Bug 1496621 - reject Fetch promises with (informative) TypeErrors when decoding fails, per spec; r=baku
Thomas Wisniewski <twisniewski@mozilla.com> - Mon, 08 Oct 2018 23:57:23 +0000 - rev 495854
Push 9984 by ffxbld-merge at Mon, 15 Oct 2018 21:07:35 +0000
Bug 1496621 - reject Fetch promises with (informative) TypeErrors when decoding fails, per spec; r=baku reject Fetch promises with (informative) TypeErrors when decoding fails, per spec Differential Revision: https://phabricator.services.mozilla.com/D7970
6a6c984745eff7fdcaeb6ec930e9c0669abaab9a: Merge inbound to mozilla-central. a=merge
Noemi Erli <nerli@mozilla.com> - Tue, 09 Oct 2018 07:03:30 +0300 - rev 495853
Push 9984 by ffxbld-merge at Mon, 15 Oct 2018 21:07:35 +0000
Merge inbound to mozilla-central. a=merge
2b75b760c83ed6292aa24e418711ef0d8c5c5137: Bug 1496782 - Hide subitems by default in about:performance, r=felipe.
Florian Quèze <florian@queze.net> - Mon, 08 Oct 2018 23:06:45 +0200 - rev 495852
Push 9984 by ffxbld-merge at Mon, 15 Oct 2018 21:07:35 +0000
Bug 1496782 - Hide subitems by default in about:performance, r=felipe.
48f96feffcfec0803a168eca3f3cfff052401efb: Bug 1496780 - Make the about:performance layout match the UX mockup, r=felipe.
Florian Quèze <florian@queze.net> - Mon, 08 Oct 2018 23:06:41 +0200 - rev 495851
Push 9984 by ffxbld-merge at Mon, 15 Oct 2018 21:07:35 +0000
Bug 1496780 - Make the about:performance layout match the UX mockup, r=felipe.
30099402136048f69b93ac578acda6397b59f368: Backed out changeset 82b600b76a38 (bug 1473927)for marionette failures on test_element_state_chrome.py CLOSED TREE
arthur.iakab <aiakab@mozilla.com> - Mon, 08 Oct 2018 23:34:50 +0300 - rev 495850
Push 9984 by ffxbld-merge at Mon, 15 Oct 2018 21:07:35 +0000
Backed out changeset 82b600b76a38 (bug 1473927)for marionette failures on test_element_state_chrome.py CLOSED TREE
(0) -300000 -100000 -30000 -10000 -3000 -1000 -300 -100 -50 -20 +20 +50 +100 +300 +1000 +3000 +10000 +30000 +100000 tip