Commit Graph

689130 Commits

Author SHA1 Message Date
Jan de Mooij
8f405ee5af Bug 1610189 - Don't reuse ObjectGroups of cross-realm arrays. r=anba
Differential Revision: https://phabricator.services.mozilla.com/D60488

--HG--
extra : moz-landing-system : lando
2020-01-23 18:42:42 +00:00
shindli
78f9c85759 Backed out changeset 86d1da74131f (bug 1264175) for causing mochitest failures in dom/serviceworkers/test/test_fetch_event.html CLOSED TREE 2020-01-24 06:18:04 +02:00
Glenn Watson
a688008906 Bug 1611331 - Tidy up rect field naming in picture cache code. r=Bert
Differential Revision: https://phabricator.services.mozilla.com/D60921

--HG--
extra : moz-landing-system : lando
2020-01-24 03:24:35 +00:00
Tetsuharu OHZEKI
d1bcd85656 Bug 1594280 - Fix uses of nsIDocShellTreeItem in nsIDocShellTreeItem in nsDocShell::ValidateOrigin. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D58447

--HG--
extra : moz-landing-system : lando
2020-01-23 18:14:42 +00:00
Glenn Watson
c0b3e007b8 Bug 1611357 - Update fuzziness for grid-track-intrinsic-sizing-002.html r=sotaro
This test also has the same dashed border and occasional fuzziness
that grid-track-intrinsic-sizing-003.html does with DC enabled.

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

--HG--
extra : moz-landing-system : lando
2020-01-24 03:21:23 +00:00
Tim Nguyen
86a980c29c Bug 1611117 - Remove unused includes from nsNumberControlFrame. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D60885

--HG--
extra : moz-landing-system : lando
2020-01-23 23:37:08 +00:00
Agi Sferro
5050d80b5d Bug 1610936 - Set browser.tabs.remote.autostart to true when running wpt r=jgraham,gbrown
Differential Revision: https://phabricator.services.mozilla.com/D60741

--HG--
extra : moz-landing-system : lando
2020-01-24 00:52:00 +00:00
Perry Jiang
64699e71f7 Bug 1264175 - remove FetchEvent.isReload r=dom-workers-and-storage-reviewers,valentin,sg,bzbarsky
isReload is no longer a property defined by the FetchEvent specification.

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

--HG--
extra : moz-landing-system : lando
2020-01-24 02:38:01 +00:00
Jan Varga
1439211b47 Bug 1608449 - Test fixes for old localStorage implementation; r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D60884

--HG--
extra : moz-landing-system : lando
2020-01-23 20:34:55 +00:00
Mark Hammond
ad7ca6c10b Bug 1611065 - fix how extension-storage checks if the FxA session is valid. r=glasserc
Differential Revision: https://phabricator.services.mozilla.com/D60797

--HG--
extra : moz-landing-system : lando
2020-01-24 02:12:49 +00:00
sotaro
f2d0fd9379 Bug 1592509 - Re-enable gfx.webrender.compositor by default on Windows r=gw,jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D59434

--HG--
extra : moz-landing-system : lando
2020-01-23 22:18:11 +00:00
Andreea Pavel
b52e2c7507 Bug 1605565 - disabled browser_togglePolicies.js on linux64 r=egao
Differential Revision: https://phabricator.services.mozilla.com/D60933

--HG--
extra : moz-landing-system : lando
2020-01-24 01:29:00 +00:00
Chris Manchester
0daada8368 Bug 1611231 - Add a note about rewrite_includes_only to sccache-dist docs. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D60879

--HG--
extra : moz-landing-system : lando
2020-01-23 21:58:52 +00:00
Chris Manchester
9151a66146 Bug 1611231 - Update in-tree sccache to fix -frewrite-includes bustage. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D60878

--HG--
extra : moz-landing-system : lando
2020-01-23 21:58:50 +00:00
sotaro
56b30bd8c4 Bug 1602643 - Disable WebRender compositor dinamically for async screenshot r=gw
Differential Revision: https://phabricator.services.mozilla.com/D59658

--HG--
extra : moz-landing-system : lando
2020-01-23 23:52:05 +00:00
Edwin Takahashi
7ee98bde51 Bug 1602863 - run mochitest-chrome on linux1804 r=jmaher
Changes:

Migrate over the platform of `mochitest-chrome` to ubuntu1804:

Mark as expected failure one test, and expand the disable annotation of another test to include all platform variants of linux.

Resulting runs have some intermittent failures but nothing significant.

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

--HG--
extra : moz-landing-system : lando
2020-01-24 01:04:09 +00:00
Masayuki Nakano
d48b18fa27 Bug 1610750 - Get rid of unused nsIEditor methods r=m_kato
* getAttributeValue
* cloneAttribute
* splitNode
* joinNodes
* markNodeDirty
* removeEditorObserver

are not used from script.  Therefore, we can get rid of them from `nsIEditor`.

However, `EditorBase::GetAttributeValue()` is referred by
`HTMLEditor::CopyCellBackgroundColor()` and it's just a wrapper of
`Element::GetAttr()`.  Therefore, this patch makes
`HTMLEditor::CopyCellBackgroundColor()` use `Element::GetAttr()` directly.

And also `EditorBase::MarkNodeDirty()` is used from some friend classes.
Therefore, this patch redesigns it as `MarkElementDirty()` and make all of
them check whether the method call destroys the editor.

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

--HG--
extra : moz-landing-system : lando
2020-01-23 12:27:00 +00:00
Masayuki Nakano
b9e6df1063 Bug 1606043 - Make TextControlState::SetValueWithoutTextEditor() notify the text control element of value changed before dispatching eEditorInput event r=smaug
I made `nsContentUtils::DispatchInputEvent()` update validity of event target
before dispatching `eEditorInput` event in bug 1584963.  However, this is not
enough because it updates validity only when the type of `<input>` element is
`mail`, but it's required for other types, for example, `<input required>`.

This patch reverts the hack added in bug 1584963, instead, makes
`TextControlState::SetValueWithoutTextEditor()` notifies `TextControlElement`
of value change before dispatching `eEditorInput` event because it may have made
damage to the performance if `nsContentUtils::DispatchInputEvent()` updated
**all** validity state of the event target.

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

--HG--
extra : moz-landing-system : lando
2020-01-23 17:50:37 +00:00
shindli
3bdc45bf22 Bug 1611264 - Update test expectations r=aryx
Differential Revision: https://phabricator.services.mozilla.com/D60904

--HG--
extra : moz-landing-system : lando
2020-01-23 21:31:38 +00:00
Edgar Chen
46fe2fb87d Bug 1597857 - Part 3: Add tests for asynchronous environment; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D54840

--HG--
extra : moz-landing-system : lando
2020-01-23 17:30:17 +00:00
Edgar Chen
082d76945e Bug 1597857 - Part 2: Move test_bug1012662_* to dom/base/test/useractivation; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D54839

--HG--
rename : dom/tests/mochitest/general/test_bug1012662_common.js => dom/base/test/useractivation/file_clipboard_common.js
rename : dom/tests/mochitest/general/test_bug1012662_editor.html => dom/base/test/useractivation/test_clipboard_editor.html
rename : dom/tests/mochitest/general/test_bug1012662_noeditor.html => dom/base/test/useractivation/test_clipboard_noeditor.html
extra : moz-landing-system : lando
2020-01-22 15:36:29 +00:00
Edgar Chen
ff965689f5 Bug 1597857 - Part 1: Move execCommand("cut"/"copy") to new user activation model; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D54065

--HG--
extra : moz-landing-system : lando
2020-01-23 17:27:42 +00:00
Dale Harvey
664929301f Bug 1575873 - Refactor reload_engines test for modern config r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D60278

--HG--
rename : toolkit/components/search/tests/xpcshell/test_reloadEngines.js => toolkit/components/search/tests/xpcshell/test_legacy_reload_engines.js
extra : moz-landing-system : lando
2020-01-23 12:53:30 +00:00
Matthew Noorenberghe
1d8ee4f83b Bug 1595915 - Don't check #fill-login-popup visibility in pwgen context menu tests. r=sfoster
For now I didn't change tests to not open the submenu when only generating a password as it should be harmless.

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

--HG--
extra : moz-landing-system : lando
2020-01-23 23:01:06 +00:00
Matthew Noorenberghe
3f6697449b Bug 1595915 - Move the password generation context menu item to the top-level. r=sfoster,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D60640

--HG--
extra : moz-landing-system : lando
2020-01-23 23:01:04 +00:00
Nick Alexander
6bd9d2f8b2 Bug 1611201 - Split Node toolchain builds into *-node-{8,10} versions. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D60900

--HG--
extra : moz-landing-system : lando
2020-01-23 23:14:34 +00:00
shindli
eba05c0107 Bug 1611171 - Updated test expectations r=aryx
Differential Revision: https://phabricator.services.mozilla.com/D60907

--HG--
extra : moz-landing-system : lando
2020-01-23 23:27:40 +00:00
Andreea Pavel
c478dcb0b4 Backed out changeset b5fa0c4191bb (bug 1611065) for breaking xpchsell at test_ext_storage_sync.js on a CLOSED TREE 2020-01-24 01:28:40 +02:00
Andreea Pavel
f0fa29abdf Backed out changeset 77d7f22c81c4 (bug 1605283) for wrench build bustages on a CLOSED TREE 2020-01-24 01:19:22 +02:00
Mike Shal
44fdc88d8f Bug 1611006 - Convert python/mozbuild/mozbuild/test/action to python3; r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D60769

--HG--
extra : moz-landing-system : lando
2020-01-23 23:10:21 +00:00
Chris Manchester
8f676d8627 Bug 1611298 - Fix TypeError in |./mach addtest|. r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D60913

--HG--
extra : moz-landing-system : lando
2020-01-23 22:46:24 +00:00
Jeff Gilbert
3c0ff11f59 Bug 1609908 - Reset WebGL layer on resize. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D60755

--HG--
extra : moz-landing-system : lando
2020-01-23 22:32:57 +00:00
Kendall Werts
7f966c7fbf Bug 1606265 - Work on new tab containers menu popup. r=fluent-reviewers,Gijs,flod
Added right click on new tab button to open containers menu.
Removed long press and added option to enable left click in preferences menu.
Renamed privacy.userContext.longPressBehavior to privacy.userContext.newTabContainer.enabled

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

--HG--
extra : moz-landing-system : lando
2020-01-23 22:28:30 +00:00
Nicolas Silva
ea36628e1e Bug 1611176 - Avoid expensive memmoves when adding render tasks. r=gw
On pages with many render tasks (typically a lot of text shadows), we spend a lot of time moving RenderTask which is a fairly large struct into the render graph's buffer. This patch avoids it by using the VecHelper trick of allocaitng space before initializing the value. Some RenderTask::new_* methods which take the render task graph in parameter were modified to add the task and return the task ID to work around borrow-checking restriction.

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

--HG--
extra : moz-landing-system : lando
2020-01-23 19:26:13 +00:00
Sylvestre Ledru
6836a4dde4 No bug - doc: Remove some deprecated info about the editor r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D60482

--HG--
extra : moz-landing-system : lando
2020-01-23 22:51:04 +00:00
Rob Lemley
341e038223 Bug 1609987 - Port bug 1568006: Add project's taskgraph directory to the python path. r=tomprince
For mozilla-central, all the code related to taskgraph lives in
taskcluster/taskgraph. Thunderbird's build requirements are evolving, and
we want to be able to have repository-specific code. The natural place for it
to live is an a package beside taskcluster/ci. Add that to python path,
and provide some hooks for adding to the various registries in taskgraph.

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

--HG--
extra : moz-landing-system : lando
2020-01-23 17:09:41 +00:00
Micah Tigley
918d65b369 Bug 1610588 Part 2: Disable failing tests for enabled browser UI r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D60772

--HG--
extra : moz-landing-system : lando
2020-01-23 22:26:58 +00:00
Brad Werth
0d9437c592 Bug 1610588 Part 1: Make pref changes in AddRDMTask be ordered relative to the test functions themselves. r=mtigley
This patch moves the pref setting of "devtools.responsive.browserUI.enabled"
within the add_task functions, so that the prefs are in a consistent state
throughout the task.

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

--HG--
extra : moz-landing-system : lando
2020-01-23 21:24:42 +00:00
Bert Peers
2d5981811a Bug 1605283 - Improve support for invalidation debugging and testing r=gw
Second part: trace the updates that are sent to the DataStore, and save
at least the Insert/Remove and ItemUID as part of the wr-capture.
(We could expand this with more info, eg. the actual Keys, later).

TileView then reads them back and generates a color coded report to
overlay with the page view.  This helps to see the types and amounts of
interned primitives that lead to cache invalidations.

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

--HG--
extra : moz-landing-system : lando
2020-01-23 22:20:47 +00:00
Jan-Ivar Bruaroey
f79191282b Bug 1598543 - Cleanup upstream constants to also use size instead of length. r=dminor
Depends on D58144

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

--HG--
extra : moz-landing-system : lando
2020-01-21 21:59:35 +00:00
Jan-Ivar Bruaroey
db29649dbd Bug 1598543 - Use size instead of length. r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D58144

--HG--
extra : moz-landing-system : lando
2020-01-21 21:59:34 +00:00
Andrew Osmond
4130525818 Bug 1611127 - Fix how images with optimized surfaces may go missing on Windows. r=tnikkel
On Windows, optimized surfaces can become invalid due to a device reset
or GPU process crash when D2D draw targets were being used. This is
because SourceSurfaceD2D1 checks if the D2D context has changed from the
one it was optimized for.

We assumed when creating a DrawableFrameRef that if we don't have
imgFrame::mRawSurface, then we must have an imgFrame::mOptSurface. This
is incorrect and causes SurfaceCache to believe it has a valid
DrawableSurface, even if the underlying optimized surface cannot be used
for drawing (or has already been freed).

If we can't draw the image, it goes missing from the screen. But since
the cache thinks it has a valid surface, we never actually redecode it.
With this patch, we now check if the imgFrame::mOptSurface has been
freed already, and if not, that it remains valid for drawing purposes.
If either condition is true, the SurfaceCache entry will be removed,
thus permitting a redecode attempt.

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

--HG--
extra : moz-landing-system : lando
2020-01-23 22:19:40 +00:00
Kai Engert
9dd97e9923 Bug 1610390 - Add Thunderbird specific code to allow master password unlocking at startup time. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D60530

--HG--
extra : moz-landing-system : lando
2020-01-23 22:19:03 +00:00
Edgar Chen
9e846bd48a bug 1610296 - Rename TypedArray_base::ComputeLengthAndData to TypedArray_base::ComputeState; r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D60514

--HG--
extra : moz-landing-system : lando
2020-01-23 03:22:06 +00:00
Tom Ritter
8512ab7c40 Bug 1610039 - Create a Tainted<> class and macros to obtain validated raw values r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D60531

--HG--
extra : moz-landing-system : lando
2020-01-23 22:19:32 +00:00
Andreea Pavel
950995415e Backed out 2 changesets (bug 1587544) for failing browser_all_files_referenced.js on a CLOSED TREE
Backed out changeset 919eb56fa574 (bug 1587544)
Backed out changeset 483a2f094c2b (bug 1587544)
2020-01-24 00:42:32 +02:00
Andreea Pavel
38dd93c9be Backed out changeset c5a138a88095 on request on a CLOSED TREE 2020-01-24 00:29:17 +02:00
Justin Wood
e38c52acbe No Bug - Remove taskcluster.net references in the tree.
Differential Revision: https://phabricator.services.mozilla.com//D58297
2020-01-24 00:16:37 +02:00
Henrik Skupin
eb1a9e56fb Bug 1587845 - [remote] ESLint fix for browser_captureScreenshot.js.
Differential Revision: https://phabricator.services.mozilla.com//D60909
2020-01-24 00:07:00 +02:00
Andreea Pavel
a34592d2b5 Backed out 2 changesets (bug 1595915) for failing fission bc at browser/browser_context_menu_iframe.js on a CLOSED TREE
Backed out changeset d844b69b9fbd (bug 1595915)
Backed out changeset 8e751164816c (bug 1595915)
2020-01-24 00:23:40 +02:00