Commit Graph

652953 Commits

Author SHA1 Message Date
Boris Zbarsky
439bd768ad Bug 1554065. Fix the requestor nsDocShell::DoFindItemWithName passes to TabGroup::FindItemWithName. r=nika
The requestor should be ourselves: the toplevel docshell that the tabgroup does
not need to look in when doing the search.

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

--HG--
extra : moz-landing-system : lando
2019-05-24 19:40:44 +00:00
Jared Wein
f9cb4ec2b6 Bug 1553173 - Import about:logins components as JS modules. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D32052

--HG--
rename : browser/components/aboutlogins/tests/mochitest/aboutlogins_common.js => browser/components/aboutlogins/tests/chrome/aboutlogins_common.js
rename : browser/components/aboutlogins/tests/mochitest/mochitest.ini => browser/components/aboutlogins/tests/chrome/chrome.ini
rename : browser/components/aboutlogins/tests/mochitest/test_login_filter.html => browser/components/aboutlogins/tests/chrome/test_login_filter.html
rename : browser/components/aboutlogins/tests/mochitest/test_login_item.html => browser/components/aboutlogins/tests/chrome/test_login_item.html
rename : browser/components/aboutlogins/tests/mochitest/test_login_list.html => browser/components/aboutlogins/tests/chrome/test_login_list.html
rename : browser/components/aboutlogins/tests/mochitest/test_modal_input.html => browser/components/aboutlogins/tests/chrome/test_modal_input.html
rename : browser/components/aboutlogins/tests/mochitest/test_reflected_fluent_element.html => browser/components/aboutlogins/tests/chrome/test_reflected_fluent_element.html
extra : moz-landing-system : lando
2019-05-24 19:26:50 +00:00
Andrew Halberstadt
fe77911a5f Bug 1553527 - [testing] Add 'fission' to test manifest context r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D32210

--HG--
extra : moz-landing-system : lando
2019-05-24 18:41:14 +00:00
Andrew Halberstadt
2dff4a6138 Bug 1553527 - [ci] Create a new 'fission' test variant r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D32196

--HG--
extra : moz-landing-system : lando
2019-05-24 18:41:01 +00:00
Micah Tigley
645a8295e3 Bug 1352070 - Part 2: RDM tests for ensuring that the values for the selected device's outerHeight/outerWidth properties are correct. r=bradwerth
Depends on D32253

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

--HG--
extra : moz-landing-system : lando
2019-05-24 16:58:53 +00:00
Micah Tigley
5e1ae47038 Bug 1352070 - Part 1: In RDM, return the inner window size values of the RDM iframe when getting its outer size values via window.outerWidth/outerHeight r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D32253

--HG--
extra : moz-landing-system : lando
2019-05-24 16:46:03 +00:00
Andrea Marchesini
c926d65d2f Bug 1553867 - Reduce the number of ClonePrincipalForPermission() call in CookieSettings, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D32364

--HG--
extra : moz-landing-system : lando
2019-05-24 19:05:35 +00:00
Andrea Marchesini
52816e049d Bug 1554137 - nsICookie and nsICookie2 should be builtinclass interfaces, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D32461

--HG--
extra : moz-landing-system : lando
2019-05-24 17:01:21 +00:00
David Teller
830a3e61ea Bug 1553482 - Use BinASTInterfaceAndField in Context;r=arai
Depends on D32295

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

--HG--
extra : moz-landing-system : lando
2019-05-24 18:48:57 +00:00
David Teller
336f642617 Bug 1553482 - Exposing some of the grammar as macros;r=arai
To extract Huffman tables (see bug 1552435), we need the ability to walk through the grammar.
This patch starts implementing grammar walking, as macros - at this stage, sufficiently to walk
through interfaces and start dealing with their fields.

Depends on D32291

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

--HG--
extra : moz-landing-system : lando
2019-05-24 18:48:29 +00:00
David Teller
d5dc0ee759 Bug 1553482 - Generating BinASTInterfaceAndField;r=arai
Depends on D32289

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

--HG--
extra : moz-landing-system : lando
2019-05-24 18:48:04 +00:00
David Teller
810bb6fa18 Bug 1553482 - Generating BINAST_TOTAL_NUMBER_OF_FIELDS, BINAST_NUMBER_OF_LIST_TYPES;r=arai
Differential Revision: https://phabricator.services.mozilla.com/D32289

--HG--
extra : moz-landing-system : lando
2019-05-24 18:47:34 +00:00
Edwin Gao
e4a0545da8 Bug 1553302 - disable jittest on android-hw aarch64, instead run windows10-aarch64 SM(p) on integration branches r=gbrown
Changes:
- enabled SM(p) runs on `windows10-aarch64` for `built-projects`
- turn off `jittest` runs for all platforms matching `android-hw-.*-aarch64/.*`

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

--HG--
extra : moz-landing-system : lando
2019-05-24 18:47:41 +00:00
Jason Laster
4e00235a03 Bug 1551871 - Fix Intermittent browser_dbg-sourcemapped-preview.js. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D32498

--HG--
extra : moz-landing-system : lando
2019-05-24 17:57:04 +00:00
Botond Ballo
3f58aea188 Bug 1551582 - Add a gtest. r=kats
Depends on D32248

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

--HG--
extra : moz-landing-system : lando
2019-05-23 15:21:20 +00:00
Botond Ballo
e3706d3d04 Bug 1551582 - Re-clamp the composited scroll offset if the scrollable rect changes. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D32248

--HG--
extra : moz-landing-system : lando
2019-05-23 15:20:01 +00:00
Matt Howell
20ef5d3e23 Bug 1554148 - Keep the profile cleanup button from rendering too low in the window. r=agashlin
The official layout had this same problem, so this just causes the mechanism
that was added to solve it there to also be invoked for every other branding.

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

--HG--
extra : moz-landing-system : lando
2019-05-24 18:06:16 +00:00
shindli
b72de02939 Backed out changeset 37b6e7e47cce (bug 1552193) for causing Mn failures in browser\components\search\test\marionette\test_engines_on_restart.py CLOSED TREE 2019-05-24 21:16:48 +03:00
shindli
54646b5a7c Backed out changeset 823ab2e5430a (bug 1551282) for Windows build bustages CLOSED TREE 2019-05-24 21:15:20 +03:00
Joel Maher
edd5fd6be2 Bug 1544460 - fix reftest annotations and enable for osx 10.14. r=jfkthame,kats
fix reftest annotations and enable for osx 10.14.

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

--HG--
extra : moz-landing-system : lando
2019-05-24 18:01:02 +00:00
Geoff Brown
61b33e18e7 Bug 1550808 - Support reftest in sub-directory of manifest location, even on Windows; r=ahal
When TV runs the reftest harness against an individual reftest, and the specified reftest
is in a sub-directory of its manifest location, the harness currently fails to run the
requested test, on Windows only. For example, the pathname in findManifest might be
"css-multicol\multicol-nested-002.xht", on Windows. Using posixpath changes pathname to
"css-multicol/multicol-nested-002.xht", regardless of platform, and that seems to work
everywhere.

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

--HG--
extra : moz-landing-system : lando
2019-05-24 17:53:20 +00:00
Lee Salzman
55a5e6a40e Bug 1533546 - disable Skia's global DWrite lock on Windows 10. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D31328

--HG--
extra : moz-landing-system : lando
2019-05-23 10:08:59 +00:00
Mark Banner
99101f0542 Bug 1554142 - Enable most ESLint rules for image/. r=aosmond
Depends on D32450

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

--HG--
extra : moz-landing-system : lando
2019-05-24 17:34:09 +00:00
Mark Banner
6971980f49 Bug 1554121 - Enable most ESLint rules for extensions/permissions, extensions/spellcheck and extensions/universalchardet. r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D32450

--HG--
extra : moz-landing-system : lando
2019-05-24 17:17:02 +00:00
Boris Zbarsky
943dde7841 Bug 1554195. Remove MSG_THIS_DOES_NOT_IMPLEMENT_INTERFACE. r=mccr8
I was clearly trying to do that in bug 882653 part 3 and failed to.  Our
current behavior of passing two args to this error message (which only takes
one arg) is silly, and the only thing that makes it at all sane is that we only
use it in class hooks, which can never have the wrong sort of object, so it's
unreached code.

The comment cleanup is just to make the role of CGAbstractBindingMethod. and
the validity of the changes to it, clearer.

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

--HG--
extra : moz-landing-system : lando
2019-05-24 17:31:42 +00:00
Randell Jesup
a859c53225 Bug 1553856: LazyIdleThread should set names for the nsThreads it spawns r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D32385

--HG--
extra : moz-landing-system : lando
2019-05-24 12:50:05 +00:00
Boris Zbarsky
cd062bb5d7 Bug 1551282 and bug 1553436. Allow pages to override window.u2f but not the "sign" and "register" properties on the U2F object. r=jcj,smaug
There are two related problems this patch is trying to address.  The first, and
simpler, one is bug 1553436: there are websites that use existing variables and
functions named "u2f" and adding a non-replaceable readonly property with that
name on Window breaks them.  The fix for this is straightforward: mark the
property [Replaceable].

The second problem, covered by bug 1551282, involves sites that use the Google
U2F polyfill.  The relevant parts of that polyfill look like this:

  'use strict';
  var u2f = u2f || {};
  u2f.register = some_function_that_only_works_right_in_Chrome;
  u2f.sign = some_function_that_only_works_right_in_Chrome;

The failure mode for that code before this fix is that the assignment to "u2f"
throws because it's a readonly property and we're in strict mode, so any code
the page concatenates in the same file after the polyfill does not get run.
That's what bug 1551282 is about.  The [Replaceable] annotation fixes that
issue, because now the polyfill gets the value of window.u2f and then redefines
the property (via the [Replaceable] setter) to be a value property with that
value.  So far, so good.

But then we need to prevent the sets of u2f.register
and u2f.sign from taking effect, because if they are allowed to happen, the
actual sign/register functionality on the page will not work in Firefox.  We
can't just make the properties readonly, because then the sets will throw due
to being in strict mode, and we still have bug 1551282.  The proposed fix is to
make these accessor properties with a no-op setter, which is exactly what
[LenientSetter] gives us.

The rest of the patch is just setting up infrastructure for generating the
normal bits we would generate if "sign" and "register" were methods and using
that to create the JSFunctions at the point when the getter is called.  The
JSFunctions then get cached on the u2f instance object.

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

--HG--
extra : moz-landing-system : lando
2019-05-24 17:19:23 +00:00
Ehsan Akhgari
de01c84b95 Bug 1467625 - Part 2: Do not allow setting Document.domain without a browsing context; r=farre
Differential Revision: https://phabricator.services.mozilla.com/D32387

--HG--
extra : moz-landing-system : lando
2019-05-24 13:56:29 +00:00
Ehsan Akhgari
14dbf3d080 Bug 1467625 - Part 1: Move HTMLDocument.domain getter/setter to Document; r=farre
Differential Revision: https://phabricator.services.mozilla.com/D32386

--HG--
extra : moz-landing-system : lando
2019-05-24 13:51:09 +00:00
Erica Wright
a45472c826 Bug 1549831 - Set up RPM Handler for about:protections. r=nhnt11,johannh
RPM set up with about:protections for future use

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

--HG--
extra : moz-landing-system : lando
2019-05-24 16:01:09 +00:00
Greg Tatum
9d01a5ae17 Bug 1552565 - Fix event listener for CustomizableUI when destroying widgets; r=Gijs
The CustomizableUI does not delete the _addedEventListeners property from
the view node when the widget is destroyed. This stops the widget from
correctly having events dispatched to it after recreating it, as the
initialization code assumes that it has already been set up.

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

--HG--
extra : moz-landing-system : lando
2019-05-24 15:31:39 +00:00
Barret Rennie
1cca2811c0 Bug 1510569 - Port onStateChange notifications inside WebProgressChild.jsm to C++ r=baku,kmag
We now also only access the document when the state is
nsIWebProgress::STATE_STOP. The comments in the previous code indicated that
touching the document inside the event handler when the state is not STATE_STOP
would result in the content creating a new about:blank document to retrieve the
values from. However, it then went on to do this in another location, causing a
document to be created whenever we received an onStateChange event. This should
no longer occur.

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

--HG--
extra : moz-landing-system : lando
2019-05-23 18:49:08 +00:00
Barret Rennie
0345083532 Bug 1510569 - Keep track of whether we are navigating to a new URI in nsDocShell r=mconley,kmag,qdot
Previously the `WebNavigationChild` would keep track of when triggering its
`nsIWebNavigation`, `goForward`, `goBack`, `gotoIndex`, and `loadURI` methods.
It's `nsIWebNavigation` instance is always an `nsIDocShell` and as part of
porting `OnStateChange` and `OnLocationChange` events from
`WebProgressChild`/`RemoteWebProgress` to `BrowserChild`/`BrowserParent`, this
informations needs to be available from the `BrowserChild`. As it stands, it is
currently an expando property on the `WebProgressChild`.

Instead of introducing yet another XPCOM interface for the WebProgressChild, we
now store this information directly on the `nsDocShell`. Furthermore, instead
of having the `WebNavigationChild` manage this part of the `nsDocShell`'s
state, we can have the `nsDocShell` manage this state itself so it is always
consistent.

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

--HG--
extra : moz-landing-system : lando
2019-05-23 18:48:48 +00:00
Barret Rennie
bda47d9434 Bug 1510569 - Refactor BrowserParent nsIWebProgress handlers r=kmag
The BrowserParent's IPC receive methods for nsIWebProgress events in the
BrowserChild were all doing the same set up to ensure they had the correct
state to process them. This has now been refactored out into a single method.

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

--HG--
extra : moz-landing-system : lando
2019-05-24 15:45:05 +00:00
Barret Rennie
cf23208d84 Bug 1510569 - Only forward nsIWebProgress events to the BrowserParent after the WebProgressChild has loaded r=kmag,mconley
Before the WebProgress event handlers started migrating to C++, the parent
process would only receive WebProgress events after the child process had
finished loading the WebProgressChild script. Now that listeners are registered
much earlier (before the BrowserChild has finished setting up its frame
scripts), the BrowserParent would receive WebProgress events that were
heretofore not received unless the BrowserChild was *very* careful about when
it sent the IPC messages.

However, even while being very careful, the OnStateChange event handler would
always fire events for initial about:blank loads that break a lot of unit
tests. Before porting that event, we are now ensuring that the WebProgressChild
has finished loading before the BrowserChild will send IPC messages for these
events to the BrowserParent.

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

--HG--
extra : moz-landing-system : lando
2019-05-23 18:48:18 +00:00
Bob Owen
e8861b1062 Bug 1525981: Remove ARM64 Image File Execution Options clean-up code from installer. r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D32438

--HG--
extra : moz-landing-system : lando
2019-05-24 15:21:06 +00:00
Ivan Yung
b4030f9fc6 Bug 1545117: added message which includes the local perf-automation github repo clone path r=rwood
Differential Revision: https://phabricator.services.mozilla.com/D31177

--HG--
extra : moz-landing-system : lando
2019-05-15 14:27:57 +00:00
Dale Harvey
37435d53a5 Bug 1552193 - Restore engine shortName to pre webextensions value. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D31876

--HG--
extra : moz-landing-system : lando
2019-05-24 14:13:01 +00:00
Boris Zbarsky
3d0e0bba72 Bug 1121623 part 10. Use a more-accurate default value for 'concrete' in Web IDL bindings. r=peterv
The idea is that we should only generate concreate-binding (wrap methods, etc)
machinery for an interface by default if we have reason to expect that the
interface is used as the primary interface for some objects.  Two clear signals
that would indicate that are the interface being a leaf interface (with no
descendants) and the interface having a constructor.  Other cases would require
a 'concrete' annotation in Bindings.conf.

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

--HG--
extra : moz-landing-system : lando
2019-05-24 10:43:37 +00:00
Boris Zbarsky
6f302d793c Bug 1121623 part 9. Change example codegen to not spit out WrapObject bits for non-concrete interfaces. r=peterv
This should keep people from marking things concrete unnecessarily just so
their example-generated WrapObject works.

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

--HG--
extra : moz-landing-system : lando
2019-05-24 07:34:33 +00:00
Boris Zbarsky
bd0c301d88 Bug 1121623 part 8. Remove MIDIPort::WrapObject. r=baku
It's dead code because we never create MIDIPort objects directly,
and all subclasses override WrapObject.

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

--HG--
extra : moz-landing-system : lando
2019-05-23 05:36:56 +00:00
Boris Zbarsky
60e78ba8a1 Bug 1121623 part 7. Remove AuthenticatorResponse::WrapObject. r=peterv
It's dead code because we never create AuthenticatorResponse objects directly,
and all subclasses override WrapObject.

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

--HG--
extra : moz-landing-system : lando
2019-05-24 07:23:54 +00:00
Boris Zbarsky
4ff98a3a1d Bug 1121623 part 6. Remove ReportBody::WrapObject. r=baku
It's dead code, because ReportBody is an abstract class and subclasses override
WrapObject.

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

--HG--
extra : moz-landing-system : lando
2019-05-23 05:36:43 +00:00
Boris Zbarsky
dcda0d78f4 Bug 1121623 part 5. Remove PerformanceEntry::WrapObject. r=peterv
It's dead code, because we never create PerformanceEntry objects directly and
subclasses override WrapObject.

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

--HG--
extra : moz-landing-system : lando
2019-05-24 07:23:47 +00:00
Boris Zbarsky
328fedf055 Bug 1121623 part 4. Remove AudioScheduledSourceNode::WrapObject. r=padenot
It's dead code, because AudioScheduledSourceNode is an abstract class and all
subclasses override WrapObject.

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

--HG--
extra : moz-landing-system : lando
2019-05-23 11:40:14 +00:00
Boris Zbarsky
471d7a508d Bug 1121623 part 3. Switch WebrtcGlobalInformation to being a namespace. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D32201

--HG--
extra : moz-landing-system : lando
2019-05-24 07:22:22 +00:00
Boris Zbarsky
d51859cb38 Bug 1121623 part 2. Switch AddonManagerPermissions to being a namespace. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D32200

--HG--
extra : moz-landing-system : lando
2019-05-24 07:19:58 +00:00
Boris Zbarsky
28c8e552a8 Bug 1121623 part 1. Switch PromiseDebugging to being a namespace, since that's how we use it. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D32199

--HG--
extra : moz-landing-system : lando
2019-05-24 07:13:16 +00:00
Kartikaya Gupta
67f2383419 Bug 1553593 - Turn on browser-mochitests for windows-qr. r=jrmuizel
Depends on D32471

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

--HG--
extra : moz-landing-system : lando
2019-05-24 13:44:35 +00:00
Kartikaya Gupta
d2a6f79b9a Bug 1553593 - Allow the searchplugins stat call to happen later with WebRender. r=florian
Differential Revision: https://phabricator.services.mozilla.com/D32471

--HG--
extra : moz-landing-system : lando
2019-05-24 14:25:18 +00:00