Граф коммитов

609422 Коммитов

Автор SHA1 Сообщение Дата
trisha a621fdd328 Bug 1483622 - Fix wording issue on new cert-error page copy r=johannh 2018-08-16 12:13:17 +05:30
Paul Adenot 96df0fd394 Bug 1478837 - Reinstate a few Web Audio API tests in the mochitest directory. r=karlt
MozReview-Commit-ID: 6Bqjuj1BwAJ

--HG--
extra : rebase_source : d2163747ec487e4bf521a27ecd95670125d5555a
2018-08-14 12:10:00 +02:00
Andreas Tolfsen 9cb0e90464 Bug 1483766 - Use timeout multiplier for Marionette-backed reftests. r=jgraham
timeout_multiplier is set in InternalRefTestImplementation's
constructor but not used.  Instead it appears to only be using the
test's timeout value.

According to the bug report by roc, reftests time out after 10
seconds, when it should be 40.

Thanks-to: Robert O'Callahan <roc@ocallahan.org>
2018-08-16 12:00:21 +01:00
Dragan Mladjenovic 5296c85fd5 Bug 1483593 - [MIPS] Fix build failure after Bug 1481998. r=mgaudet
--HG--
extra : amend_source : 81cb93153eeef43c051582a5d777e2efbd83efa5
2018-08-15 09:32:00 +03:00
Andreas Tolfsen 1b22ea64c9 Bug 1483805 - Update links to tools-marionette@ archive. r=me 2018-08-16 10:48:33 +01:00
Dão Gottwald 20a505a896 Bug 1483503 - Stop setting color: MenuText on menu, menuitem, and menucaption elements. r=stefanh 2018-08-15 12:46:26 +02:00
Margareta Eliza Balazs 4ec111d31e Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-08-16 12:34:45 +03:00
Margareta Eliza Balazs 48299c8cd6 Merge inbound to mozilla-central. a=merge 2018-08-16 12:24:26 +03:00
Dorel Luca 536ac71605 Backed out changeset 5a77e82d273e (bug 1480872) for browser-chorme failure on dom/payments/test/browser_payment_in_different_tabs.js. CLOSED TREE 2018-08-16 11:58:12 +03:00
Gerald Squelart 9a99e13311 Bug 1483721 - Fix MSVC error by skipping tests with too-big characters - r=hsivonen
Using `u"..."` for strings with non-ascii characters.

Differential Revision: https://phabricator.services.mozilla.com/D3462

--HG--
extra : moz-landing-system : lando
2018-08-16 05:59:35 +00:00
Daisuke Akatsuka ada906e0c1 Bug 1479468: Change mouse target to ownerGlobal.top and remove mouse out event. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D3388

--HG--
extra : moz-landing-system : lando
2018-08-16 04:19:04 +00:00
Nicholas Nethercote 2b8aa56d1e Bug 1483062 - Trivial comment fixes. r=me
--HG--
extra : rebase_source : 81beeb90397bc6dbfac21b3e0adccaf63978f437
2018-08-16 09:45:44 +10:00
Nicholas Nethercote 70253e2770 Bug 1483062 - Inline and remove HashTable::{over,under}loaded(). r=luke
Because they each only have a single call site, and the "too many items
removed?" test is already encapsulated within rehashIfOverloaded().

--HG--
extra : rebase_source : f6550c483477c2839764e7f657b542c24c82b1e8
2018-08-16 09:10:17 +10:00
Mike Shal d5258aee4b Bug 1480840 - Update tup toolchain to f77dbd429d6157dac252014a26f6d275dce85d85; r=chmanchester
This includes a patch to enable ccache support.

MozReview-Commit-ID: 9FzMQ2XX4ca

Differential Revision: https://phabricator.services.mozilla.com/D3363

--HG--
extra : moz-landing-system : lando
2018-08-15 19:24:57 +00:00
Junior Hsu 13e7f90bb3 Bug 1280629 - Part 2: telemetry of e10 back pressure suspension rate r=dragana
Split this patch for data review

Differential Revision: https://phabricator.services.mozilla.com/D2747

--HG--
extra : moz-landing-system : lando
2018-08-15 22:36:42 +00:00
Junior Hsu 4cd0359acf Bug 1280629 - Part 1: Suspend the http channel if the child process is not able to consume on time r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D2745

--HG--
extra : moz-landing-system : lando
2018-08-15 22:35:58 +00:00
Karl Tomlinson 7e758c3e77 bug 1474470 support convolution of stereo input with a mono impulse response buffer r=padenot
This initial implementation does twice the necessary processing for mono input,
but that will be addressed in bug 1474222.

MozReview-Commit-ID: AZQ7Zb8jEtK

--HG--
extra : rebase_source : 9feeb254217dc4e14b78cb03315fb948e3477a16
2018-08-16 09:59:05 +12:00
Mark Striemer 2a7d17c9b9 Bug 1482480 - Fix removing add-on from Manage Extension menu item r=aswan
Using the Manage Extension menu item would try to go back to the list view
to uninstall but there was no previous view so it would fail.

Differential Revision: https://phabricator.services.mozilla.com/D3395

--HG--
extra : moz-landing-system : lando
2018-08-16 00:37:37 +00:00
Nicholas Nethercote 14551e3f43 Bug 1483062 - Merge HashTable::wouldBeUnderloaded() into underloaded(). r=luke
--HG--
extra : rebase_source : ed0ecbc871048b416452a7612991bcff98c91a06
2018-08-15 11:11:13 +10:00
Nicholas Nethercote 1c305db7ce Bug 1483062 - Inline and remove HashTable::overRemoved(). r=luke
--HG--
extra : rebase_source : c7dbdbe38bf0f44f27bda7f134bbf0d865149200
2018-08-15 11:10:56 +10:00
Nicholas Nethercote eb0a51a708 Bug 1483062 - Rename HashTable::rehashIfOverRemoved(). r=luke
infallibleRehashIfOverloaded() actually matches what it does.

Also, the patch removes the `overloaded()` test within the function, because
`rehashIfOverloaded()` has the same test.

--HG--
extra : rebase_source : 2799e623fbdd4b8bb82f8b83166752e02a0f9202
2018-08-14 11:56:55 +10:00
Nicholas Nethercote d12003b7e5 Bug 1483062 - Rename some HashTable methods. r=luke
Specifically:
- checkOverloaded  -> rehashIfOverloaded
- checkUnderloaded -> shrinkIfUnderloaded
- checkOverRemoved -> rehashIfOverRemoved

Because I've always found that the `check` prefix doesn't clearly explain that
the table might be changed,

And:
- shouldCompressTable -> overRemoved

Because that matches `overloaded` and `underloaded`.

--HG--
extra : rebase_source : 56e9edd012f4a400ac366895d05ea93fb09ec6b3
2018-08-14 11:19:39 +10:00
Nicholas Nethercote d378adb5b7 Bug 1483062 - Rename HashTable::findFreeEntry() as findNonLiveEntry(). r=luke
Because that's a more accurate description of what it does -- it finds free
*and* removed entries.

--HG--
extra : rebase_source : 72b049f44c61a7406d9691a9d9b6405dd696848c
2018-08-14 09:36:00 +10:00
Masayuki Nakano 53b9108e13 Bug 1482019 - part 5: Make HTMLEditor::GetSelectedNode() never return non-element node and change its name to GetSelectedElement() r=m_kato
If HTMLEditor::GetSelectedNode() is called with nullptr for aTagName,
the first block may return non-element node.  In such case, we should return
nullptr without error for now (since I have no idea which element node is
a good node to return).

Then, we can rename it to GetSelectedElement() and can replace existing
GetSelectedElement() with the new one.
2018-08-10 18:01:42 +09:00
Masayuki Nakano f1cdc15e87 Bug 1482019 - part 4: Reduce the indent level of the last block in HTMLEditor::GetSelectedNode() r=m_kato
The first check of the last block of HTMLEditor::GetSelectedNode() can use
early-return style.  Additionally, |current| is not necessary since Selection
is not changed since the method retrieved first range.  So, we can get rid of
|current| and the |nullptr| case of it.
2018-08-10 17:46:33 +09:00
Masayuki Nakano 0dd29e1830 Bug 1482019 - part 3: Minimize some scope of auto varaiables in HTMLEditor::GetSelectedNode() r=m_kato
Some variables in HTMLEditor::GetSelectedNode() are declared very large block
they are not used and/or referred.  So, we can get rid of some variables or
move smaller block.
2018-08-10 17:41:58 +09:00
Masayuki Nakano 837bcd9d8e Bug 1482019 - part 2: Make HTMLEditor::GetSelectedNode() take nsAtom* for element name r=m_kato
Using nsAtom makes the method faster and simpler, although the caller needs
to atomize lower-cased string.
2018-08-10 17:30:04 +09:00
Masayuki Nakano 8e992098fa Bug 1482019 - part 1: Create non-virtual method HTMLEditor::GetSelectedNode() for implementing nsIHTMLEditor::GetSelectedElement() r=m_kato
For making each diff compact, this bug needs some patches.

First of all, this patch moves implementation of
nsIHTMLEditor::GetSelectedElement() to new non-virtual method
HTMLEditor::GetSelectedNode().
2018-08-10 16:51:52 +09:00
Masayuki Nakano 3b38503bf4 Bug 1482019 - part 0: Add automated tests for nsIHTMLEditor.getSelectedElement() r=m_kato
The HTMLEditor::GetSelectedElement() is ugly.  Probably, it's checked only with
expected simple cases since the result does not make sense in some cases.

For example, when Selection is collapsed, it returns an element only when
"href" is specified with the argument.  When Selection selects only one
element node (including its children), it quickly returns the node, however,
in the slow path, it returns second element node if first element node matches
with the argument.  Or returns first element ndoe if it does not match with
the argument.

For preventing regressions, new test is designed to keep current odd behavior.

The new test is disabled only debug build on Android because adding this test
causes permanent orange of non-related test,
dom/tests/mochitest/fetch/test_request.html, see bug 1480702.
2018-08-13 15:31:56 +09:00
Cameron McCormack 0e70842906 Bug 1483449 - Simplify nsStaticAtomUtils::Lookup. r=njn 2018-08-16 11:40:02 +10:00
Thomas P. 061be62bb5 Bug 1481237 - Automate updating internal libFuzzer code. r=decoder 2018-08-15 22:01:25 +00:00
Makoto Kato d3b4ee4c97 Bug 1483434 - Allow nullptr parameter for PriorVisibleNode and NextVisibleNode. r=masayuki
Summary:
Sometimes the caller of PriorVisibleNode or NextVisibleNode doesn't use
outVisNode and/or outvisOffset. But both methods require all parameters and
it don't allow nullptr. It is complex whether parameter is used or unused.

So I would like to allow nullptr.

Also, this methods can change to const method, so I will change some methods
to const method too for this change.

Reviewers: masayuki

Tags: #secure-revision

Bug #: 1483434

Differential Revision: https://phabricator.services.mozilla.com/D3387

--HG--
extra : rebase_source : 5bd9c87f05c8e88879268188a46a4a80126bd3e5
2018-08-14 18:26:46 +09:00
Csoregi Natalia 22b0dc3451 Backed out changeset a91ccbe2b3fd (bug 1483449) for failures at nsStaticAtomUtils.h:25. CLOSED TREE 2018-08-16 05:11:46 +03:00
Gabriel Luong d0fbf8a9e5 Bug 1467572 - Part 19: Remove responsive-ua.css. r=rcaliman 2018-08-15 17:27:58 -04:00
Gabriel Luong d79733fb65 Bug 1467572 - Part 18: Show an onboarding tooltip for the setting menu button in RDM. r=jdescottes
Design https://mozilla.invisionapp.com/d/main#/console/12408235/300479943/preview
2018-08-15 17:27:57 -04:00
Gabriel Luong 1c76adb63f Bug 1467572 - Part 17: Implement left alignment of viewports. r=rcaliman 2018-08-15 17:27:55 -04:00
Gabriel Luong bd80f8c21d Bug 1467572 - Part 16: Adjust RDM colors for the light and dark theme to match the designs. r=rcaliman
Light Theme Design https://mozilla.invisionapp.com/d/main#/console/12408235/300479943/preview
Dark Theme Design https://mozilla.invisionapp.com/d/main#/console/12408235/302151757/preview
2018-08-15 17:27:53 -04:00
Gabriel Luong 066e7b4a8c Bug 1467572 - Part 15: Fix unit tests for RDM to work with the new RDM design. r=Honza
- Various element IDs and strings were renamed in the preceeding patches before this. This fixes
the strings and element ID reference in the RDM unit tests.
- Fixed RDM unit tests to work with new native context menu which used to be <select> elements.
2018-08-15 17:27:51 -04:00
Gabriel Luong 7563059c05 Bug 1467572 - Part 14: Set the minimum viewport dimension to 50px. r=rcaliman 2018-08-15 17:27:49 -04:00
Gabriel Luong ba9f663c64 Bug 1467572 - Part 13: Removes the custom toolbar button styling and fixes the sizing of the device close button in RDM. r=rcaliman 2018-08-15 17:27:47 -04:00
Gabriel Luong f401295f1f Bug 1467572 - Part 12: Use native context menu instead of select element in the Device selector. r=Honza
- Removes all the unused styling for the <select> and <option> elements and the
toolbar-dropdown class.
2018-08-15 17:27:46 -04:00
Gabriel Luong df39a60dc7 Bug 1467572 - Part 11: Use native context menu instead of select elements in the DPR menu. r=Honza
--HG--
rename : devtools/client/responsive.html/components/DevicePixelRatioSelector.js => devtools/client/responsive.html/components/DevicePixelRatioMenu.js
2018-08-15 17:27:44 -04:00
Gabriel Luong 8f8bab224c Bug 1467572 - Part 10: Reuse the network throttling menu in the network monitor in RDM. r=Honza
- Removes the duplicate dropdown arrow icon that is used in both RDM and Network monitor
- Converts the network throttling menu in the network monitor to be a shared component that
can be used in both RDM and network monitor
- Move the common styles for the dropdown menu button into toolbars.css

--HG--
rename : devtools/client/shared/components/throttling/NetworkThrottlingSelector.js => devtools/client/shared/components/throttling/NetworkThrottlingMenu.js
2018-08-15 17:27:43 -04:00
Gabriel Luong 8112f73aed Bug 1467572 - Part 9: Use native context menu instead of select elements in the reload condition menu of RDM. r=Honza
- Converts the reload condition <select> to use native context menu
- Converts the showMenu util to be reusable by both RDM and the Network Monitor
- Renames getToplevelWindow to getTopLevelWindow
- Renames the reload condition menu to be a setting menu in RDM according to the designs
- Uses the new photon setting icon in RDM

--HG--
rename : devtools/client/responsive.html/components/ReloadConditions.js => devtools/client/responsive.html/components/SettingsMenu.js
rename : devtools/client/netmonitor/src/utils/menu.js => devtools/client/shared/components/menu/utils.js
2018-08-15 17:27:41 -04:00
Gabriel Luong 0cf08baeef Bug 1467572 - Part 8: Add proper separators to the global toolbar. r=jryans 2018-08-15 17:27:39 -04:00
Gabriel Luong d280f20fc3 Bug 1467572 - Part 7: Add rotate viewport button to the global toolbar. r=jryans 2018-08-15 17:27:37 -04:00
Gabriel Luong 3f628eefa6 Bug 1467572 - Part 6: Add the viewport dimension to the global toolbar. r=jryans 2018-08-15 17:27:36 -04:00
Gabriel Luong 2489d2f23f Bug 1467572 - Part 5: Implement the new style for the global toolbar. r=rcaliman
--HG--
rename : devtools/client/responsive.html/components/GlobalToolbar.js => devtools/client/responsive.html/components/Toolbar.js
2018-08-15 17:27:34 -04:00
Gabriel Luong 889739ae50 Bug 1467572 - Part 4: Move the device selector into the global toolbar. r=jryans 2018-08-15 17:27:32 -04:00
Gabriel Luong 49825bb4d4 Bug 1467572 - Part 3: Remove the viewport dimension. r=jryans 2018-08-15 17:27:30 -04:00