Commit Graph

607802 Commits

Author SHA1 Message Date
Tudor-Gabriel Vîjială
a16d201c28 Bug 1473313 - Part 5: Add in-tree documentation page for Android code coverage. r=nalexander
MozReview-Commit-ID: 20meKbpduha

--HG--
extra : rebase_source : 0383fe0cab846c148e1b20b2ee517730a18fae32
2018-07-31 12:02:08 +01:00
Oriol Brufau
757eed8c02 Bug 1479130 - Dispatch TabMultiSelect event when multiselection changes
MozReview-Commit-ID: JkLJyDXbOKL

--HG--
extra : rebase_source : 1e03626e9c6b4cbf850ce8e95fc69d9e715daba2
2018-07-28 02:25:34 +02:00
Kristen Wright
fbf7880ab6 Bug 1478942 - Convert UniquePtr<SimpleEdgeRange> back to UniquePtr<EdgeRange> to return an EdgeRange. r=erahm 2018-07-27 11:00:40 -07:00
André Bargull
99b08c5930 Bug 1472211 - Part 2: Reorder operands in Super-Elem bytecode operations. r=arai 2018-07-31 06:54:07 -07:00
André Bargull
997b7657f1 Bug 1472211 - Part 1: Reorder super-property evaluation order per latest spec change. r=arai, f=Waldo 2018-07-31 13:54:38 -07:00
Luca Greco
4984c5ed77 Bug 1474562 - Enable ExtensionStorageIDB on Nightly. r=mixedpuppy
MozReview-Commit-ID: 2YzrVdMSE4q

--HG--
extra : rebase_source : ace9a8762f3299999183480ea7484541e40fffe5
2018-07-26 19:28:19 +02:00
Chris H-C
af95ada6ba bug 1480204 - Record to a histogram counts of event registration errors, by type r=janerik
MozReview-Commit-ID: Ht3E4IcqAw8

bug 1480204 - Test registration failure probe r?janerik

MozReview-Commit-ID: 7PRdHJ9sDIg

bug 1480204 - Record when event recording fails r?janerik

MozReview-Commit-ID: 9m0GK4E6LNH

bug 1480204 - Test recording failure probe r?janerik

MozReview-Commit-ID: 2W9RQuGuklL

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

--HG--
extra : moz-landing-system : lando
2018-08-03 17:11:47 +00:00
Coroiu Cristina
a94e766f7b Backed out changeset 5240a6344b28 (bug 1477310) for browser-chrome failures at browser/base/content/test/about/browser_aboutCertError.js
--HG--
extra : rebase_source : 17ae41fcff4cd5cc2da63de24e41878321e3fc11
2018-08-03 20:08:26 +03:00
Perry Jiang
35942af79c Bug 1479592 - Remove unused PromiseWindowProxy r=mrbkap
Remove unused PromiseWindowProxy code and nsGlobalWindowInner::AddPendingPromise and nsGlobalWindowInner::RemovePendingPromise

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

--HG--
extra : moz-landing-system : lando
2018-08-02 17:00:35 +00:00
Bogdan Tara
a5db0f5415 Backed out changeset 85fd8d212397 (bug 1479544) for windows build bustages CLOSED TREE 2018-08-03 19:24:41 +03:00
Botond Ballo
a0fa30904d Bug 1477007 - Ensure the visual viewport can be scrolled within the layout viewport even if a page is not zoomable. r=kats
A meta viewport tag can simultaneously specify user-scalable=no, and a
layout viewport size and initial zoom level that make the visual viewport
smaller than the layout viewport.

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

--HG--
extra : moz-landing-system : lando
2018-07-31 23:19:27 +00:00
Boris Zbarsky
7ce9c79256 Bug 1479544. Remove nsIXULChromeRegistry::ReloadChrome. r=mossop
This was the only consumer of GetLocation() on outer windows.

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

--HG--
extra : moz-landing-system : lando
2018-08-03 15:14:43 +00:00
trisha
c92a88c389 Bug 1477310 - Enable the new certificate error pages by default in Nightly r=johannh
MozReview-Commit-ID: DN7s5t2m2Nm

--HG--
extra : rebase_source : 6c329233528610b4a0f1178d8b577577ba80197f
2018-08-01 15:57:22 +05:30
Alex Gaynor
a826b27def Bug 1426100 - disable native event processing in content processes on macOS; r=haik
We originally thought that this would enable us to disconnect from the
windowserver local service (which is a significant sandbox escape risk),
however investigations revealed that that requires changes to WebGL and thus
will be handled separately.

This also corrects an incorrect usage of the (undocumented) APIs for closing
windowserver connections. If CGSSetDenyWindowServerConnections is called while
there are open connections it is a no-op, so it must be called after
disconnecting any open connections.

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

--HG--
extra : moz-landing-system : lando
2018-08-02 15:18:51 +00:00
Greg Mierzwinski
d049263e2e Bug 1476526 - Make the baseline test use functions from BrowserTestUtils. r=marco
This patch makes a new baseline coverage test for browser-chrome which makes use of the BrowserTestUtils functions. It also begins the necessary changes so that the baseline test addition uses suites instead of file types.

MozReview-Commit-ID: 7nucHnF8CIn

--HG--
extra : rebase_source : a2a8f61bbbc5025544bebd74cee2a06d46f23fe2
2018-07-30 10:20:48 -04:00
Nicolas Chevobbe
c8da39c9f2 Bug 1478556 - Add a test for jump_to_definition telemetry event log; r=miker.
Differential Revision: https://phabricator.services.mozilla.com/D2712

--HG--
extra : moz-landing-system : lando
2018-08-03 13:35:00 +00:00
Mike Hommey
64ff5e5cb1 Bug 1480654 - Allow empty eh_frame entries. r=froydnj
Somehow, when building with LTO, clang can end up creating a eh_frame
section with only one, empty, entry (which just looks like a 4-bytes
long section full of 0x00).

--HG--
extra : rebase_source : 385c05c7e447fe1c4bc261b79c7d56138e268458
2018-08-03 11:33:49 +09:00
Bryce Van Dyk
379760a7ef Bug 1480589 - Extend lifetime of MediaRecorder telemetry probes to FF68. r=liuche
Extend lifetime of MEDIA_RECORDER_RECORDING_DURATION,
MEDIA_RECORDER_TRACK_ENCODER_INIT_TIMEOUT_TYPE, and
SCALARS_MEDIARECORDER.RECORDING_COUNT telemetry probes. This allows continued
monitoring of MediaRecorder usage in the wild. See Bug 1400757 for the original
introduction of these probes.

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

--HG--
extra : moz-landing-system : lando
2018-08-02 21:21:45 +00:00
Masayuki Nakano
45a67c4b77 Bug 1480663 - Make EditorBase::IsModifiableNode() non-virtual r=m_kato
HTMLEditor::IsModifiableNode() is enough simple and can be checked in
EditorBase. So, we should make it non-virtual and check if instance is
HTMLEditor in EditorBase::IsModifiableNode().

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

--HG--
extra : moz-landing-system : lando
2018-08-03 11:10:46 +00:00
Mark Striemer
558c4b9c14 Bug 1476991 - Move selected tab indicator to right side in RTL r=dao
MozReview-Commit-ID: 33EfbEXeCQg

--HG--
extra : rebase_source : 0ba48550323ffd221f91049cc04b163afea74c98
2018-07-31 16:00:35 -05:00
Julian Descottes
3e93eca85f Bug 1349416 - Only delay removeEventListener when hiding after mouseup;r=birtles
The inplace-editor is programmatically hiding the autocomplete-popup
on TAB and notifies the caller. The caller (eg rule view) will trigger
a click on the next focusable element immediately after that.

If the HTMLTooltip is still consuming outside clicks at that point
the click will be swallowed and the new inplace-editor cannot be created.

Depends on D2661

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

--HG--
extra : moz-landing-system : lando
2018-08-03 11:02:45 +00:00
Julian Descottes
248fb27471 Bug 1349416 - Hide HTMLTooltip on mouseup rather than on click;r=birtles
A click event is only fired if the element on which mousedown and mouseup
happened are the same. If this is not the case, the HTMLTooltip will not
be able to hide itself.

Listening to mouseup makes the behavior more consistent but forces the
hide() method to be always asynchronous, while before it was only
asynchronous for tooltips using the XULWrapper.

Depends on D2660

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

--HG--
extra : moz-landing-system : lando
2018-08-03 11:01:51 +00:00
Julian Descottes
dc84fc2f5d Bug 1349416 - Prevent event tooltip from reappearing when clicking on bubble;r=birtles
Differential Revision: https://phabricator.services.mozilla.com/D2660

--HG--
extra : moz-landing-system : lando
2018-08-03 09:40:07 +00:00
Masayuki Nakano
2552597ed2 Bug 1467373 - part 2: Skip hacks for most TIPs in TSFTextStore::HackNoErrorLayoutBugs() if running on Windows 10 build 17643 or newer r=m_kato
At Windows 10 build 17643, Microsoft fixed the bug of TSF which returns E_FAIL
to TIP when GetTextExt() returns TS_E_NOLAYOUT.  With this fix, most TIPs do
not have any problems even if we return TS_E_NOLAYOUT.  So, unless active
TIP still needs the hack, the method can skip the hack if running on build
17643 or later.

Note that we still need to support Japanist 10 and Microsoft Office IME 2010.
It confirmed that Japanist 10 has a bug of handling TS_E_NOLAYOUT.  On the
other hand, we have not tested Microsoft Office IME 2010 since it's installable
only into Win7 or Win8 and needs to upgrade it to Win10 for testing, but I
do not have the license.  After the fix comes into release channel, I'll be
able to test it though (my main environment is Win10 and it was installed
before upgraded).  So, we need to be back after Microsoft releases the fix.

MozReview-Commit-ID: 2BzkDvHTKyI

--HG--
extra : rebase_source : ee0261c83c5a1ab7b2aa2a8f476f0c6634e2cf34
2018-08-02 14:55:52 +09:00
Masayuki Nakano
34ee9cefe7 Bug 1467373 - part 1: Split hack for TS_E_NOLAYOUT part from TSFTextStore::GetTextExt() r=m_kato
The block in TSFTextStore::GetTextExt() which decides whether we should return
S_OK with unmodified character rectangle rather than TS_E_NOLAYOUT is too big.

Additionally, we need to add new condition to check Windows 10's version there.
That makes the large block more complicated.  So, we should split the block
off from TSFTextStore::GetTextExt().  Then, we can use early-return-style to
reduce the deep indentations.

MozReview-Commit-ID: J2BJMB1QD0T

--HG--
extra : rebase_source : 3c86b5ed3a83fda1045a6453250e784f11419b97
2018-08-02 14:36:03 +09:00
Bogdan Tara
0fd5041455 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-08-03 13:27:13 +03:00
Masayuki Nakano
7484cc4573 Bug 1480055 - part 4: Make AutoTransactionsConserveSelection take reference of Editor rather than pointer r=m_kato
It's always created with non-nullptr.  So, making it treat reference of
EditorBase makes its implementation simpler.

Note that this changes comment in EditorBase::InsertTextWithTransaction() to
a MOZ_ASSERT() for detecting bugs.  However, the comment is wrong.  When
the insertion is for updating composition string, callers don't need to create
AutoTransactionsConserveSelection since it'll be ignored by
CompositionTransaction.  So, the new MOZ_ASSERT() checks whether it's
in composition or prevented transaction changing Selection.

MozReview-Commit-ID: 6jZ4LpksyoD

--HG--
extra : rebase_source : 61ca9272ddea165b3691cf1ce42dc6f4df099a36
2018-08-01 21:30:14 +09:00
Masayuki Nakano
4292293e8c Bug 1480055 - part 3: Create non-virtual method to set EditorBase::mAllowsTransactionsToChangeSelection r=m_kato
There is no non-virtual method to modify
EditorBase::mAllowsTransactionsToChangeSelection.  Therefore,
AutoTransactionsConserveSelection calls virtual method,
nsIEditor::SetShouldTxnSetSelection() twice (from both constructor and
destructor).  So, we should save this unnecessary cost.

MozReview-Commit-ID: B7TYGnGtuLB

--HG--
extra : rebase_source : 26ce77fb63a1967cca88b002cd65e1105477a63d
2018-08-01 21:11:44 +09:00
Masayuki Nakano
a9559a1d82 Bug 1480055 - part 2: Rename EditorBase::GetShouldTxnSetSelection() to EditorBase::AllowsTransactionsToChangeSelection() r=m_kato
For explaining what it does clearer, we should rename it and corresponding
member.

MozReview-Commit-ID: 6U8FgfHBbCL

--HG--
extra : rebase_source : 50bc3ce0d3b9900939c7e6e8a137abe2288cf727
2018-08-01 20:53:57 +09:00
Masayuki Nakano
470feacd31 Bug 1480055 - part 1: Remove nsIEditor::shouldTxnSetSelection() r=m_kato
nsIEditor::ShouldTxnSetSelection() is used only by DeleteRangeTransaction
(even if including comm-central and BlueGriffon) and there is a non-virtual
method EditorBase::GetShouldTxnSetSelection().  So, we can remove this.

MozReview-Commit-ID: JWSCw9k6lI0

--HG--
extra : rebase_source : 2509274216a1493134757a7d106464f06ea0ba57
2018-08-01 20:16:30 +09:00
Mike Hommey
9121cf9b3c Bug 1478995 - Fix gradle-dependencies bustage for nodejs not found. CLOSED TREE
--HG--
extra : amend_source : fd57b0342731f14fb35169376981c02e8eee080d
2018-08-03 12:44:27 +03:00
Bogdan Tara
8cff2b32a0 Backed out 3 changesets (bug 1349416) for Dev Tools failures CLOSED TREE
Backed out changeset ec5ee2990e21 (bug 1349416)
Backed out changeset c4f8eccf14dc (bug 1349416)
Backed out changeset b7e80d3a6810 (bug 1349416)
2018-08-03 12:33:32 +03:00
Xidorn Quan
5380f1c02c Bug 1480358 - Have the second OptionallyBreak actually make sense. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D2696

--HG--
extra : moz-landing-system : lando
2018-08-03 07:21:35 +00:00
trisha
0460afa15c Bug 1480038 - Update the Continue button in new cert-error pages r=flod
MozReview-Commit-ID: BXewUNCSxlt

--HG--
extra : rebase_source : 997be870d7958bc04167ce755451625b0d71bee1
2018-08-01 15:31:43 +05:30
Ionut Goldan
8741096bbe Bug 1472804 - Add SunSpider as a jsshell-bench test r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D2507

--HG--
extra : moz-landing-system : lando
2018-08-03 07:19:15 +00:00
Julian Descottes
abf5a16722 Bug 1479416 - Add Connect sidebar item to aboutdebugging-new;r=daisuke
This patch adds:
- a new action actions/ui:selectPage
  - takes a page id in argument
  - returns type PAGE_SELECTED, with selected page id as 'page'
- a new reducer reducers/ui-state
  - on PAGE_SELECTED, updates the state by setting 'page' in 'selectedPage'

The state of the application after this patch looks as follows:
{
  ui: {
    selectedPage: String
  }
}

As we add more devices the way we identify the selected page might change
(maybe use an index instead of an id) but that is good enough for now.

The "dispatch" helper is forwarded to the App component via connect.
From that point, components are responsible for forwarding the dispatch
property to all components who need to dispatch actions.

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

--HG--
extra : moz-landing-system : lando
2018-08-03 07:23:33 +00:00
Julian Descottes
91b9d97d0e Bug 1349416 - Only delay removeEventListener when hiding after mouseup;r=birtles
The inplace-editor is programmatically hiding the autocomplete-popup
on TAB and notifies the caller. The caller (eg rule view) will trigger
a click on the next focusable element immediately after that.

If the HTMLTooltip is still consuming outside clicks at that point
the click will be swallowed and the new inplace-editor cannot be created.

Depends on D2661

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

--HG--
extra : moz-landing-system : lando
2018-08-03 07:05:51 +00:00
Julian Descottes
f4e6047756 Bug 1349416 - Hide HTMLTooltip on mouseup rather than on click;r=birtles
A click event is only fired if the element on which mousedown and mouseup
happened are the same. If this is not the case, the HTMLTooltip will not
be able to hide itself.

Listening to mouseup makes the behavior more consistent but forces the
hide() method to be always asynchronous, while before it was only
asynchronous for tooltips using the XULWrapper.

Depends on D2660

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

--HG--
extra : moz-landing-system : lando
2018-08-03 07:05:43 +00:00
Julian Descottes
de6d2067bb Bug 1349416 - Prevent event tooltip from reappearing when clicking on bubble;r=birtles
Differential Revision: https://phabricator.services.mozilla.com/D2660

--HG--
extra : moz-landing-system : lando
2018-08-03 07:05:30 +00:00
André Bargull
94f1ed78bd Bug 1476417: Add a resume point after assigning to a mapped argument. r=jandem 2018-07-25 06:41:30 -07:00
André Bargull
ee1962ac13 Bug 1480018: Change some Base(Value)Index users to BaseObject(Element|Slot)Index. r=mgaudet 2018-08-02 08:02:17 -07:00
André Bargull
86ac00a6ad Bug 1480116: Improve codegen for LIsConstructor, LConvertElementsToDoubles, and the surrogate check in PrepareAndExecuteRegExp. r=mgaudet 2018-08-02 13:12:50 -07:00
Nicholas Nethercote
da4f2681a4 Bug 1478885 - Improve docs for mozilla::Hash{Set,Map}. r=luke
This patch does the following:

- Adds a bunch of useful high-level info at the top of the file, making the
  types easier to use for newcomers.

- Adds a comment to every Hash{Set,Map} method that lacked one.

- Tweaks lots of existing comments for clarity.

- Removes comments in Hash{Set,Map} referring to details within HashTable. That
  dependence is now covered in the top-level comment.

- Tweaks the signatures in hash policy classes to be more consistent.

--HG--
extra : rebase_source : ab9d6ae38b4b73e12151a228107ad3f3f12e36b3
2018-08-03 06:33:21 +10:00
Narcis Beleuzu
394893c006 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-08-03 01:35:43 +03:00
Eugen Sawin
6e3b78c7be Bug 1480460 - [2.1] Add onProgressChange test. r=jchen 2018-08-03 00:29:51 +02:00
Eugen Sawin
23de33333d Bug 1480460 - [1.1] Add basic progress bar to the example app. r=snorp 2018-08-03 00:29:51 +02:00
Narcis Beleuzu
4684ccf98e Merge inbound to mozilla-central. a=merge 2018-08-03 01:28:14 +03:00
Boris Zbarsky
fad1e33048 Bug 1480527. Remove QueryInterface from the JS reflection of boxobjects. r=mccr8 2018-08-02 15:26:48 -04:00
Boris Zbarsky
d4993da381 Bug 1476142 part 4. Remove some unnecessary QIs on window in various parts of the tree. r=kmag
The crashtest was not testing anything useful, because getInterface is no longer exposed to web content.
2018-08-02 15:26:48 -04:00
Boris Zbarsky
c02c1c0f2b Bug 1476142 part 3. Remove some unnecessary QIs in mobile. r=snorp 2018-08-02 15:26:48 -04:00