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

747812 Коммитов

Автор SHA1 Сообщение Дата
Mitchell Hentges 3ff2d684e9 Bug 1683797: Removes unnecessary lines from client.mk r=sheehan,firefox-build-system-reviewers,glandium
CWD and BUILDSTATUS are never used.

Differential Revision: https://phabricator.services.mozilla.com/D102661
2021-03-09 14:45:24 +00:00
Francesco Lodolo (:flod) b9681ed33e Bug 1694509 - Use brand-short-name in troubleshoot/refresh dialog title, r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D107647
2021-03-09 14:44:24 +00:00
Csoregi Natalia 85a6e8eb1b Backed out changeset 5c5cb052e61b (bug 1695320) for failures on browser_cleanFlow.js. CLOSED TREE 2021-03-09 17:12:09 +02:00
Ben Hearsum fad8aa564c Bug 587344: run startup tests on signed Firefox builds. r=taskgraph-reviewers,aki
Depends on D107544

Differential Revision: https://phabricator.services.mozilla.com/D107545
2021-03-09 14:36:19 +00:00
Ben Hearsum fb6e6ad7be Bug 587344: Add support for task and artifact references in run-task jobs on generic-worker. r=taskgraph-reviewers,aki
As far as I can tell, this was simply never implemented because it hasn't been needed until now.

Depends on D107543

Differential Revision: https://phabricator.services.mozilla.com/D107544
2021-03-09 14:36:18 +00:00
Ben Hearsum 8fd47fb88e Bug 587344: Mozharness script for running something and testing whether or not it stays alive for a given period of time. r=releng-reviewers,aki
It supports installing Mozilla applications with mozinstall, and simply running the thing it was instructed to download.

Differential Revision: https://phabricator.services.mozilla.com/D107543
2021-03-09 14:36:18 +00:00
Henrik Skupin 0c092d95db Bug 1686741 - [marionette] Add support for the new tab modal dialog. r=marionette-reviewers,mtigley,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D104814
2021-03-09 14:34:10 +00:00
Henrik Skupin f4bef4c9e5 Bug 1686741 - [marionette] Use dialogObserver when awaiting dialog to be closed. r=marionette-reviewers,jdescottes
Using the "waitForEvent" promise will cause an extra
"DOMModalDialogClosed" event to be logged, which is
confusing.

Differential Revision: https://phabricator.services.mozilla.com/D105316
2021-03-09 14:34:10 +00:00
Henrik Skupin 6e3b3a1710 Bug 1686741 - [marionette] "WebDriver:SwitchToWindow" needs to search for currently open user prompts. r=marionette-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D107460
2021-03-09 14:34:09 +00:00
Jan de Mooij 0ddf1b7480 Bug 1696861 part 6 - Rename Delegate flag to IsUsedAsPrototype. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D107421
2021-03-09 14:28:24 +00:00
Jan de Mooij b5e10bfb9d Bug 1696861 part 5 - Remove UncacheableProtoOnChain. r=tcampbell
This was used to ensure no cross-compartment objects were embedded by
ShapeGuardProtoChain (used for the property-not-found case) but that's no longer
an issue because ShapeGuardProtoChain only does shape guards now.

Note: for the property-found case, the cross-compartment issue still applies but
that's handled by SlotReadType::CrossCompartment.

Differential Revision: https://phabricator.services.mozilla.com/D107420
2021-03-09 14:28:24 +00:00
Jan de Mooij 8aafc73201 Bug 1696861 part 4 - Simplify some code in GeneratePrototypeGuards. r=tcampbell
We already peeled off the receiver for non-delegates (= most objects) but we can
do this for delegates too.

Depends on D107418

Differential Revision: https://phabricator.services.mozilla.com/D107419
2021-03-09 14:28:23 +00:00
Jan de Mooij 31e7d2a0d5 Bug 1696861 part 3 - Stop eagerly marking prototypes as delegate. r=tcampbell
Eagerly marking prototypes as delegate resulted in a lot of unnecessary shadowing
checks and reshaping when initializing the properties of those objects. This is
a regression from bug 724768.

It's more efficient, simpler, and consistent with JS-defined objects to mark
objects as delegate when they become the prototype of another object.

This removes the check for delegates in EmptyShape::ensureInitialCustomShape. That
should be fine because the only object it applies to is String.prototype and it
doesn't affect correctness. (RegExp and Error prototypes are plain objects since
bug 1213341 and bug 1192038 so don't show up there anyway.)

Depends on D107417

Differential Revision: https://phabricator.services.mozilla.com/D107418
2021-03-09 14:28:23 +00:00
Jan de Mooij 67c550e55b Bug 1696861 part 2 - Stop marking CCW's dynamic prototype as delegate. r=tcampbell
This goes back to bug 787856 but dynamic prototypes don't need to be marked as
delegate, because shape teleporting and JITs don't optimize those prototype chains.

Other proxy handlers such as ScriptedProxyHandler, ForwardingProxyHandler, Xrays
don't do this so this is also more consistent.

Depends on D107416

Differential Revision: https://phabricator.services.mozilla.com/D107417
2021-03-09 14:28:23 +00:00
Jan de Mooij 9bb055742b Bug 1696861 part 1 - Stop marking the global object as delegate. r=tcampbell
This goes back to when shape teleporting was used for environment chains too.
See also bug 1608034 where we made this change for (other) environment objects.

The global has a lot of properties and this avoids doing unnecessary work to
invalidate teleporting.

Add Object.prototype to the test-JSObject GDB test so that we still have a test for
the delegate flag.

Differential Revision: https://phabricator.services.mozilla.com/D107416
2021-03-09 14:28:22 +00:00
Dan Minor de8b57ab75 Bug 1694507 - Update messaging in "restart with add-ons disabled" / "safe mode" dialog r=jaws,flod
Differential Revision: https://phabricator.services.mozilla.com/D107524
2021-03-09 14:16:42 +00:00
Kagami Sascha Rosylight 7a84361402 Bug 1696123 - Always copy the checkedness of input elements r=edgar
Differential Revision: https://phabricator.services.mozilla.com/D107130
2021-03-09 14:12:34 +00:00
Andrei Oprea 3559288617 Bug 1695320 - Update copy on DoH PopupNotification r=flod,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D107606
2021-03-09 13:57:30 +00:00
Marco Bonardo 2b99ea2e97 Bug 1696752 - Allow to Add Web Engines from the urlbar contextual menu. r=harry,desktop-theme-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D107370
2021-03-09 13:44:03 +00:00
Olli Pettay b90bd58381 Bug 1696266, test reloading a page which might otherwise enter bfcache, r=peterv
Depends on D107300

Differential Revision: https://phabricator.services.mozilla.com/D107536
2021-03-09 13:42:43 +00:00
Olli Pettay a46567f045 Bug 1696266, limit the load types which may cause the page to enter bfcache, r=peterv
The change to dom/base/nsFrameLoaderOwner.cpp is to log about the issues but still ensure we don't crash.

I'd prefer to not put error loads to bfcache.

Differential Revision: https://phabricator.services.mozilla.com/D107300
2021-03-09 13:42:43 +00:00
Henri Sivonen 9ff110ad01 Bug 1695537 - Make the template contents owner XML when not in HTML. r=edgar
Differential Revision: https://phabricator.services.mozilla.com/D107216
2021-03-09 13:34:51 +00:00
Dan Minor 1d86fd7081 Bug 1693128 - Update clear startup cache confirmation prompt content/text; r=Gijs,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D107529
2021-03-09 13:31:18 +00:00
Henrik Skupin 5bcd2dee6b Bug 1696878 - [marionette] Call to "waitForWindow()` has to wait until window is ready. r=marionette-reviewers,jgraham
This method is asynchronous but misses the "await" statement.
As such it can cause race conditions in the "WebDriver:NewSession"
command.

Differential Revision: https://phabricator.services.mozilla.com/D107430
2021-03-09 13:04:30 +00:00
Henrik Skupin 645675cdd8 Bug 1696768 - [marionette] Remove unused "marionette.contentListener" preference. r=marionette-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D107429
2021-03-09 13:04:30 +00:00
Henrik Skupin 39a6342149 Bug 1696768 - [marionette] Don't enable "marionette.debugging.clicktostart" by default when --jsdebugger is used. r=marionette-reviewers,webdriver-reviewers,jdescottes,jgraham
Always getting a user prompt shown when debugging code in Marionette
is disturbing. Given that we usually use the "debugger;" statement
anyway, this prompt will not be useful by default.

But we should keep it to actually allow users of Marionette and
geckodriver to run a debug session without having to modify the
code first.

Differential Revision: https://phabricator.services.mozilla.com/D107428
2021-03-09 13:04:29 +00:00
Dale Harvey 8d3a00eaf8 Bug 1697003 - Update strings for Firefox Suggest experiment r=adw
Differential Revision: https://phabricator.services.mozilla.com/D107525
2021-03-09 12:59:03 +00:00
Olli Pettay 93c81f5154 Bug 1696527 - Remove unused 'JankLevel' code from nsRefreshDriver, r=bas
Differential Revision: https://phabricator.services.mozilla.com/D107283
2021-03-09 12:37:25 +00:00
Alexandre Poirot c43fe05565 Bug 1696471 - [devtools] Notify about content process target destruction via watcher's target-destroyed-form. r=nchevobbe,jdescottes
We are currently receiving tabDetached for content process targets
when we destroy them via:
  Services.ppmm.broadcastAsyncMessage("debug:destroy-process-script")
done from process-helper and we stop watching for process targets.
Tests now depends on this behavior.

So I'm trying to replicate this behavior in order to later get rid of tabDetached
in favor of target-destroyed-form.

Differential Revision: https://phabricator.services.mozilla.com/D107248
2021-03-09 12:30:53 +00:00
Alexandre Poirot f532cf4964 Bug 1696471 - [devtools] Properly close transports for content process targets. r=nchevobbe,jdescottes
There was a typo in `item.watcher != watcher`...

Differential Revision: https://phabricator.services.mozilla.com/D107247
2021-03-09 12:30:53 +00:00
Alexandre Poirot 76b6abc368 Bug 1696471 - [devtools] Notify about top level target destruction via watcher's target-destroyed-form. r=nchevobbe,jdescottes
This is a workaround, until the top level target uses the JSWindowActor codepath.
This will help get rid of tabDetached in favor of target-destroyed-form.

Differential Revision: https://phabricator.services.mozilla.com/D107246
2021-03-09 12:30:52 +00:00
Alexandre Poirot 195337eea7 Bug 1697109 - [devtools] Always destroy worker and webextension descriptors when descriptor-destroyed is sent. r=jdescottes,devtools-backward-compat-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D107466
2021-03-09 12:30:52 +00:00
Masayuki Nakano 568e0d1fe9 Bug 1690358 - part 2: Make `testConfirmPasswordFieldFilledWithGeneratedPassword` flush before and after running a test r=dimi
The `beforeFn` and `afterFn` may cause some pending reflow.  Then, synthesizing
arrow keys or mouse button events causes flushing the layout.  At this time,
autocomplete popup may be closed with different reason and that may cause
unexpected login database.

Depends on D107172

Differential Revision: https://phabricator.services.mozilla.com/D107173
2021-03-09 12:26:09 +00:00
Masayuki Nakano 6aaf414572 Bug 1690358 - part 1: Make `getPopupState` in satchel's `parent_utils.js` wait to reply stabler state of the popup r=dimi
`MozAutocompleteRichlistboxPopup` sets its `mPopupOpen` to `false` when it
receives `popuphiding` instead of `popuphidden`.
https://searchfox.org/mozilla-central/rev/63fcc3f1a2cc73488d8986f4cf91fce2cd4b7564/toolkit/content/widgets/autocomplete-popup.js#575,582

Therefore, `getPopupState` in satchel's `parent_utils.js` may run before
`popuphidden`, and remote content may synthesize another event before
`popuphidden`.  This may cause intermittent failure of any tests which
use `satchel_common.js`.

This patch makes `getPopupState` send the reply message after the popup
state stable.

Differential Revision: https://phabricator.services.mozilla.com/D107172
2021-03-09 12:26:08 +00:00
Will Kahn-Greene d9050a2e5d Bug 1691528 - remove email field from main process crash reporter. r=gsvelto
We're no longer collecting Email data for crash reports so this removes the
Email field and related bits from the main process crash reporters for Linux,
Mac, and Windows.

For Mac, I didn't remove the email-related fields, but instead hid them. In
order to remove them, I need to use an old xcode ibuilder to edit the .nib
files and we don't have that. Bug #1696164 covers updating the crash reporter
interface files on mac.

Differential Revision: https://phabricator.services.mozilla.com/D107251
2021-03-09 12:21:25 +00:00
Emilio Cobos Álvarez 2fedbee02a Bug 1697128 - Use accent color on mac for the tab line. r=dao
We use it for the awesomebar outline so I think it makes sense, it certainly
feels off to have a blue tab line but an accent-colored outline.

Differential Revision: https://phabricator.services.mozilla.com/D107626
2021-03-09 12:10:35 +00:00
Csoregi Natalia fa029583ab Backed out changeset 0a8323260fa7 (bug 1696752) for build bustages on page_action_menu_add_search_engine_2.xml CLOSED TREE 2021-03-09 14:13:06 +02:00
Simon Giesecke 5a848bb452 Bug 1634281 - Use nsTHashMap for nsBaseHashtable/nsDataHashtable uses with UniquePtr data type. r=xpcom-reviewers,nika
Differential Revision: https://phabricator.services.mozilla.com/D105965
2021-03-09 11:39:36 +00:00
Simon Giesecke ca86d54b8c Bug 1634281 - Use nsTHashMap for nsBaseHashtable/nsDataHashtable uses with nsCOMPtr data type. r=xpcom-reviewers,nika
Differential Revision: https://phabricator.services.mozilla.com/D105964
2021-03-09 11:39:36 +00:00
Simon Giesecke bc9766c354 Bug 1634281 - Use nsTHashMap for nsBaseHashtable/nsDataHashtable uses with RefPtr data type. r=xpcom-reviewers,nika
Differential Revision: https://phabricator.services.mozilla.com/D105963
2021-03-09 11:39:36 +00:00
Simon Giesecke 32b1a38aa7 Bug 1634281 - Add nsTHashMap. r=xpcom-reviewers,nika
Differential Revision: https://phabricator.services.mozilla.com/D105962
2021-03-09 11:39:35 +00:00
Marco Bonardo 46c22b83c6 Bug 1696752 - Allow to Add Web Engines from the urlbar contextual menu. r=harry,desktop-theme-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D107370
2021-03-09 11:19:40 +00:00
Noemi Erli aca0968430 Backed out changeset 8bd015dd9182 (bug 1696793) for causing failures in browser_confirm_unblock_download.js CLOSED TREE 2021-03-09 13:45:50 +02:00
André Bargull 1379469ec9 Bug 1696643 - Part 6: Move js_fgets next to its sole caller. r=mgaudet
This function is only used for the shell, so we might as well move it there.

Depends on D107332

Differential Revision: https://phabricator.services.mozilla.com/D107333
2021-03-09 10:51:42 +00:00
André Bargull 14a2a7e31d Bug 1696643 - Part 5: Remove unused TokenStream functions. r=mgaudet
Depends on D107331

Differential Revision: https://phabricator.services.mozilla.com/D107332
2021-03-09 10:51:41 +00:00
André Bargull 578dfe2d3d Bug 1696643 - Part 4: Remove unused parse handler methods. r=mgaudet
Removes parse handler methods which are never called and were only defined in
one but not the other parse handler.

Depends on D107330

Differential Revision: https://phabricator.services.mozilla.com/D107331
2021-03-09 10:51:41 +00:00
André Bargull 9175c7e0a2 Bug 1696643 - Part 3: Remove unused JSContext argument. r=mgaudet
Depends on D107329

Differential Revision: https://phabricator.services.mozilla.com/D107330
2021-03-09 10:51:40 +00:00
André Bargull 7da3642c79 Bug 1696643 - Part 2: Remove ListNode::appendWithoutOrderAssumption. r=mgaudet
Part 1 removed the only other caller to this method.

Depends on D107328

Differential Revision: https://phabricator.services.mozilla.com/D107329
2021-03-09 10:51:40 +00:00
André Bargull adcfd6fc0e Bug 1696643 - Part 1: Remove SourceKind. r=mgaudet
Differential Revision: https://phabricator.services.mozilla.com/D107328
2021-03-09 10:51:40 +00:00
Simon Giesecke cb6c8aead4 Bug 1695162 - Make nsTHashtable::ConstIter return a real ConstIterator. r=xpcom-reviewers,nika
Differential Revision: https://phabricator.services.mozilla.com/D107038
2021-03-09 10:28:16 +00:00