Commit Graph

648077 Commits

Author SHA1 Message Date
Adam Holm
6ef12c56b1 Bug 1492995 - Adding CacheIR support for String + Boolean. r=mgaudet
Differential Revision: https://phabricator.services.mozilla.com/D27376

--HG--
extra : moz-landing-system : lando
2019-04-23 20:46:14 +00:00
Mark Banner
a989ba39e4 Bug 1541210 - Write unit tests to ensure that the correct default engines are present for all locales/regions. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D27879

--HG--
extra : moz-landing-system : lando
2019-04-23 20:22:01 +00:00
Razvan Maries
5f610a07b3 Backed out 8 changesets (bug 1542826) for build bustages. CLOSED TREE
Backed out changeset f3516e1416f0 (bug 1542826)
Backed out changeset 1dba743761b7 (bug 1542826)
Backed out changeset a02e469be7b3 (bug 1542826)
Backed out changeset 5118d628ec89 (bug 1542826)
Backed out changeset 5744891efeef (bug 1542826)
Backed out changeset e5af8cd01080 (bug 1542826)
Backed out changeset 314f9bc7dafe (bug 1542826)
Backed out changeset 7df230ea5122 (bug 1542826)
2019-04-23 23:14:06 +03:00
Kartikaya Gupta
0404d750a7 Bug 1542826 - Add a pref to control the debug server. r=gw
Differential Revision: https://phabricator.services.mozilla.com/D28358

--HG--
extra : moz-landing-system : lando
2019-04-23 19:57:27 +00:00
Kartikaya Gupta
0dd25a94d2 Bug 1542826 - Rebuild the debugger front-end. r=gw
This patch is the output of rebuilding the debugger frontend with a
recent npm installation. The changes to dist/ and the addition of
package-lock.json are a result of the build. The changes to package.json
and main.js were done manually to work around an incompatible change
in beufy 0.6.7 (the lib/ folder changed to dist/).

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

--HG--
extra : moz-landing-system : lando
2019-04-23 19:57:09 +00:00
Kartikaya Gupta
d3c9a80c63 Bug 1542826 - Add more debug flags to disable various things. r=gw
Differential Revision: https://phabricator.services.mozilla.com/D28356

--HG--
extra : moz-landing-system : lando
2019-04-23 19:56:23 +00:00
Kartikaya Gupta
80e9ccefb1 Bug 1542826 - Add BSD-3-Clause license to about:license and whitelist sha1 which uses it. r=froydnj,mhoye
Differential Revision: https://phabricator.services.mozilla.com/D28355

--HG--
extra : moz-landing-system : lando
2019-04-23 19:56:09 +00:00
Kartikaya Gupta
e8ab7b8564 Bug 1542826 - Re-vendor rust dependencies. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D28354

--HG--
rename : third_party/rust/block-buffer/LICENSE-MIT => third_party/rust/num-iter/LICENSE-MIT
rename : third_party/rust/block-buffer/LICENSE-MIT => third_party/rust/num-rational/LICENSE-MIT
rename : third_party/rust/block-buffer/LICENSE-MIT => third_party/rust/png/LICENSE-MIT
extra : moz-landing-system : lando
2019-04-23 19:55:36 +00:00
Kartikaya Gupta
8adfe9b131 Bug 1542826 - Build the debugger feature in webrender by default. r=gw
This builds the feature but leaves it disabled by default at runtime.

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

--HG--
extra : moz-landing-system : lando
2019-04-23 19:55:20 +00:00
Kartikaya Gupta
6227460f41 Bug 1542826 - Allow enabling/disabling the debug server at runtime. r=gw
This adds a RendererOption flag to control whether the debug server is
enabled. This allows the debug server feature to be built without
enabling the feature by default; it can then be enabled on a
per-renderer basis via the RendererOption.

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

--HG--
extra : moz-landing-system : lando
2019-04-23 19:55:11 +00:00
Kartikaya Gupta
343a8913bf Bug 1542826 - Reduce featureset enabled on image crate. r=gw
The debugger in WebRender uses the image crate to generate PNGs, and so
it only really needs the png codec feature from the image crate.

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

--HG--
extra : moz-landing-system : lando
2019-04-23 19:55:06 +00:00
Mathieu Leplatre
6e4798bb72 Bug 1512451 - Read OneCRL blocklist from security-states/onecrl r=jcj,mgoodwin,glasserc
Read OneCRL blocklist from security-states/onecrl

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

--HG--
rename : services/common/tests/unit/test_blocklist_certificates.js => services/common/tests/unit/test_blocklist_onecrl.js
extra : moz-landing-system : lando
2019-04-23 18:40:40 +00:00
David Walsh
cc3ea31460 Bug 1545132 - Remove unused Svg.js file r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D27929

--HG--
extra : moz-landing-system : lando
2019-04-23 14:07:43 +00:00
Kristen Wright
e663ae74b9 Bug 1532803 - Common interface for JSThreadPool tasks r=jonco
Added 'RunnableTask' struct to Utility.h to unify HelperThread task types in a way that can be exposed to XPCOM thread pools. Re-implemented tasks within native HelperThreads using their runnableTask method.

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

--HG--
extra : moz-landing-system : lando
2019-04-16 16:43:43 +00:00
Ricky Rosario
682f9caf21 Bug 1537736 - Use HomePage.get()/set() more consistently r=nanj
MozReview-Commit-ID: 5PzW6ONmuKd

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

--HG--
extra : moz-landing-system : lando
2019-04-23 18:30:07 +00:00
Martin Stransky
4b8741979a Bug 1532643 - [Wayland] Set popup window hierarchy run-time on Wayland for menus in the same frame hierarchy, r=NeilDeakin
Wayland protocol allows to have only one popup window attached to a parent widget.

Recently we use a toplevel window widget as parent for all popups.
That means a second level menu (like File -> New Container Tab)
is not displayed as both ("File" and "New Container Tab" menus)
have the same parent widget.

As a solution allow to get the actual parent run-time and set that
when we open the window on toolkit level.

This patch covers menu widgets in the same frame hierarchy.

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

--HG--
extra : moz-landing-system : lando
2019-04-17 14:19:57 +00:00
Michael Cooper
490749ff91 Bug 1513646 - Remove Normandy remote-action infrastructure r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D28227

--HG--
extra : moz-landing-system : lando
2019-04-23 13:23:07 +00:00
Razvan Maries
98d200e4b4 Backed out changeset 7b326aa4930c (bug 1545416) for causing multiple perma failures. CLOSED TREE 2019-04-23 22:29:36 +03:00
Ben Hearsum
ae4dd49241 Bug 1546113 - switch to GCP balrog instance for staging releases r=rail
Differential Revision: https://phabricator.services.mozilla.com/D28370

--HG--
extra : moz-landing-system : lando
2019-04-22 19:18:49 +00:00
Tim Nguyen
b49443feac Bug 1546367 - Clear report textarea when report is submitted. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D28522

--HG--
extra : moz-landing-system : lando
2019-04-23 18:28:04 +00:00
Brian Grinstead
d71db0e638 Bug 1546471 - Add a new try preset for talos when making changes to the browser chrome r=mconley
This skips a number of talos jobs that are unlikely to be affected
by due a browser-chrome specific change

Run with: `./mach try fuzzy --preset perf-chrome`

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

--HG--
extra : moz-landing-system : lando
2019-04-23 18:24:46 +00:00
Logan Smyth
bb2dbde8d7 Bug 1546202 - Part 6: Delete the old Source object text value fields to switch fully to SourceContent. r=jlast
Depends on D28412

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

--HG--
extra : moz-landing-system : lando
2019-04-23 16:58:57 +00:00
Logan Smyth
63b5e1806f Bug 1546202 - Part 5: Add a new selector to handle both Source and SourceContent datatypes. r=jlast
Depends on D28411

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

--HG--
extra : moz-landing-system : lando
2019-04-23 18:00:32 +00:00
Logan Smyth
380e116379 Bug 1546202 - Part 4: Allow Blackboxing before text is loaded. r=jlast
Depends on D28410

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

--HG--
extra : moz-landing-system : lando
2019-04-23 16:51:58 +00:00
Logan Smyth
0abd972081 Bug 1546202 - Part 3: Remove the isLoading utility function. r=jlast
Depends on D28409

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

--HG--
extra : moz-landing-system : lando
2019-04-23 16:51:24 +00:00
Logan Smyth
92bca3e81c Bug 1546202 - Part 2: Change parser worker to work with a trimmed-down AstSource instead of the full Source. r=jlast
Depends on D28408

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

--HG--
extra : moz-landing-system : lando
2019-04-23 16:51:11 +00:00
Logan Smyth
a68c8343f1 Bug 1546202 - Part 1: Remove unused getFramwwork and hasSource functions. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D28408

--HG--
extra : moz-landing-system : lando
2019-04-23 16:50:06 +00:00
Rob Wood
f0ae2f4c0a Bug 1546178 - Fix live-sites support when running Raptor cold page-load on android; r=davehunt
Differential Revision: https://phabricator.services.mozilla.com/D28399

--HG--
extra : moz-landing-system : lando
2019-04-23 18:09:43 +00:00
Alastor Wu
c58212fe27 Bug 1544023 - let AudioNode keep the reference of all AudioParams which belong to itself. r=padenot
When we suspend or resume the `AudioContext`, it should affect ALL media streams which belong to or are related to the `AudioNode` that are created by this `AudioContext`.

As `AudioNode::OutputParams()` can only return the connected AudioParams, it doesn't return the AudioParams which are belong to itself. That means we would miss to apply the suspend/resume operation for those streams, and it would cause imbalancing suspended count.

Therefore, we let `AudioNode` to keep the reference of all its AudioParam, and return them to `AudioContext` in order to do the operation for all streams.

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

--HG--
extra : moz-landing-system : lando
2019-04-23 17:50:54 +00:00
Razvan Maries
d547376a66 Backed out changeset 9e9812ed59a5 (bug 1541210) for causing perma failures on: test_baidu.js, test_bing.js, test_google.js and test_yahdex.js. CLOSED TREE 2019-04-23 21:10:37 +03:00
Thomas Wisniewski
b6f52532c4 Bug 1500474 - Rename webcompat-reporter directory to report-site-issue r=florian,Pike
Differential Revision: https://phabricator.services.mozilla.com/D17890

--HG--
rename : browser/extensions/webcompat-reporter/.eslintrc.js => browser/extensions/report-site-issue/.eslintrc.js
rename : browser/extensions/webcompat-reporter/background.js => browser/extensions/report-site-issue/background.js
rename : browser/extensions/webcompat-reporter/experimentalAPIs/aboutConfigPrefs.js => browser/extensions/report-site-issue/experimentalAPIs/aboutConfigPrefs.js
rename : browser/extensions/webcompat-reporter/experimentalAPIs/aboutConfigPrefs.json => browser/extensions/report-site-issue/experimentalAPIs/aboutConfigPrefs.json
rename : browser/extensions/webcompat-reporter/experimentalAPIs/browserInfo.js => browser/extensions/report-site-issue/experimentalAPIs/browserInfo.js
rename : browser/extensions/webcompat-reporter/experimentalAPIs/browserInfo.json => browser/extensions/report-site-issue/experimentalAPIs/browserInfo.json
rename : browser/extensions/webcompat-reporter/experimentalAPIs/l10n.js => browser/extensions/report-site-issue/experimentalAPIs/l10n.js
rename : browser/extensions/webcompat-reporter/experimentalAPIs/l10n.json => browser/extensions/report-site-issue/experimentalAPIs/l10n.json
rename : browser/extensions/webcompat-reporter/experimentalAPIs/pageActionExtras.js => browser/extensions/report-site-issue/experimentalAPIs/pageActionExtras.js
rename : browser/extensions/webcompat-reporter/experimentalAPIs/pageActionExtras.json => browser/extensions/report-site-issue/experimentalAPIs/pageActionExtras.json
rename : browser/extensions/webcompat-reporter/experimentalAPIs/tabExtras.js => browser/extensions/report-site-issue/experimentalAPIs/tabExtras.js
rename : browser/extensions/webcompat-reporter/experimentalAPIs/tabExtras.json => browser/extensions/report-site-issue/experimentalAPIs/tabExtras.json
rename : browser/extensions/webcompat-reporter/icons/lightbulb.svg => browser/extensions/report-site-issue/icons/lightbulb.svg
rename : browser/extensions/webcompat-reporter/locales/en-US/webcompat.properties => browser/extensions/report-site-issue/locales/en-US/webcompat.properties
rename : browser/extensions/webcompat-reporter/locales/jar.mn => browser/extensions/report-site-issue/locales/jar.mn
rename : browser/extensions/webcompat-reporter/locales/moz.build => browser/extensions/report-site-issue/locales/moz.build
rename : browser/extensions/webcompat-reporter/manifest.json => browser/extensions/report-site-issue/manifest.json
rename : browser/extensions/webcompat-reporter/moz.build => browser/extensions/report-site-issue/moz.build
rename : browser/extensions/webcompat-reporter/test/browser/browser.ini => browser/extensions/report-site-issue/test/browser/browser.ini
rename : browser/extensions/webcompat-reporter/test/browser/browser_button_state.js => browser/extensions/report-site-issue/test/browser/browser_button_state.js
rename : browser/extensions/webcompat-reporter/test/browser/browser_disabled_cleanup.js => browser/extensions/report-site-issue/test/browser/browser_disabled_cleanup.js
rename : browser/extensions/webcompat-reporter/test/browser/browser_report_site_issue.js => browser/extensions/report-site-issue/test/browser/browser_report_site_issue.js
rename : browser/extensions/webcompat-reporter/test/browser/fastclick1.html => browser/extensions/report-site-issue/test/browser/fastclick1.html
rename : browser/extensions/webcompat-reporter/test/browser/fastclick2.html => browser/extensions/report-site-issue/test/browser/fastclick2.html
rename : browser/extensions/webcompat-reporter/test/browser/head.js => browser/extensions/report-site-issue/test/browser/head.js
rename : browser/extensions/webcompat-reporter/test/browser/test.html => browser/extensions/report-site-issue/test/browser/test.html
rename : browser/extensions/webcompat-reporter/test/browser/webcompat.html => browser/extensions/report-site-issue/test/browser/webcompat.html
extra : moz-landing-system : lando
2019-04-23 17:36:40 +00:00
Alexis Beingessner
8289701d8c Bug 1536121 - rearchitect the webrender display-list. r=gw
disclaimer: this isn't an *amazing* cleanup, but more of a major step that
unlocks the ability to do more minor cleanups and refinements. There's some
messy things and inconsistencies here and there, but we can hopefully iron
them out over time.

1. The primary change here is to move from
    struct { common_fields, enum(specific_fields) }
to
    enum (maybe_common_fields, specific_fields)

most notably this drops the common fields from a ton of things
that don't need them PopXXX, SetXXX, ClipChain, etc.

2. Additionally some types have had some redundant states shaved off,
for instance, rect no longer has *both* bounds and a clip_rect, as
the intersection of the two can be used. This was done a bit conservatively
as some adjustments will need to be done to the backend to fully eliminate
some states, and this can be done more incrementally.

2.5. As a minor side-effect of 2, we now early-reject some primitives whose
bounds and clip_rect are disjoint.

3. A HitTest display item has been added, which is just a Rect without
color. In addition to the minor space wins from this, this makes it much
easier to debug display lists

4. Adds a bunch of comments to the display list, making it easier to understand
things.

The end result of all these changes is a significantly smaller and easier to
understand display list. Especially on pages like gmail which have so many
clip chains. However this ultimately just makes text an even greater percentage
of pages (often 70-80%).

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

--HG--
extra : moz-landing-system : lando
2019-04-23 17:29:58 +00:00
Alexis Beingessner
bd5e102438 Bug 1536121 - cleanup display list code a little bit to prep for refactor. r=gw
* make all enums repr(u8) (compiler bug blocking this long fixed)
* add display list stats feature
* remove cache markers (abandoned design)
* don't always push empty SetFilters before PushStackingContext
* remove dead pub methods

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

--HG--
extra : moz-landing-system : lando
2019-04-23 17:29:38 +00:00
Alex Chronopoulos
aabdaf534f Bug 1545416 - Make the remote decoder shutdown async. r=mjf
Create a new IPDL message `ShutdownComplete`, direction from parent (RDD) to child (content), to inform the child when the decoder shutdown has been completed. The remote decoder child uses that message to resolve the shutdown promise.

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

--HG--
extra : moz-landing-system : lando
2019-04-23 17:23:33 +00:00
Dave Townsend
089b592ef3 Bug 1546326: Correctly detect missing directories on Windows. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D28514

--HG--
extra : moz-landing-system : lando
2019-04-23 17:23:35 +00:00
Daniel Holbert
e6f89af496 Bug 1546210: Refactor nsHTMLCanvasFrame::ComputeSize to use existing helper functions and avoid redundant GetCanvasSize() call. r=TYLin
This patch should not affect behavior; the new implementation is
identical to the old one, but with better sharing of code.

Also: I'm removing the code-comment saying that the intrinsic ratio
is unused, because it's not really useful and it's unclear to me that
it's strictly true. There are several cases in the function we pass it
to, nsFrame::ComputeSizeWithIntrinsicDimensions, that use the ratio
and that look reachable as long as we have 'width:auto' in CSS.

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

--HG--
extra : moz-landing-system : lando
2019-04-23 04:20:20 +00:00
Robert Strong
cf3dba79b1 Bug 1540188 - app update BITS successful download tests. r=bytesized
Changes the tests to use http://127.0.0.1:8888 so BITS can download updates.
Adds a new browser chrome test manifest named browser.bits.ini for BITS tests.
Currently only the tests with a successful udate download pass. The other tests will be fixed in different bugs.
Currently debug builds leak when downloading with BITS so running these tests on debug builds is disabled. This will be fixed in a different bug.

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

--HG--
extra : moz-landing-system : lando
2019-04-23 16:31:23 +00:00
Chris H-C
76ed6c6d7c Bug 1536175 - Report whether Headless or not in Telemetry Environment r=janerik
If Firefox is in Headless Mode we expect it to behave rather differently. For
example, I imagine gpu perf metrics will be less than representative. We should
annotate Telemetry pings with whether or not we're operating in headless mode.

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

--HG--
extra : moz-landing-system : lando
2019-04-22 20:35:05 +00:00
jaril
1aa19f42ad Bug 1538054 - Toggle off 'Pause on Exception' immediately. r=loganfsmyth
After toggling off 'Pause on exceptions' in the debugger, exceptions were still being paused on once.

This was because the server's exception-pausing behavior was not toggled off until an exception was paused on. This patch makes it so that the behavior is changed immediately after unchecking the 'Pause on exceptions' checkbox in the debugger.

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

--HG--
extra : moz-landing-system : lando
2019-04-23 16:30:03 +00:00
Andrew Swan
0c258007ab Bug 1541167 Stop doing synchronous main-thread I/O to validate the blocklist r=Gijs
The main change here is moving the old AddonManager.validateBlocklist()
into Blocklist.jsm and getting rid of any main-thread I/O.  This patch
also includes a small functional change: previously we would always copy
the application-supplied blocklist.xml into the profile directory.  With
this change, blocklist.xml is not copied from the application into the
profile.  This entails an extra open() when we're falling back to the
application-supplied blocklist file but saves all the I/O required to
actually copy the file.

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

--HG--
extra : moz-landing-system : lando
2019-04-23 16:11:13 +00:00
Andrew McCreight
710a932577 Bug 1545843 - Mark some HTTP XPIDL classes as builtinclass. r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D28295

--HG--
extra : moz-landing-system : lando
2019-04-23 16:05:29 +00:00
akshitha
36279ab254 Bug 1187696 - Toolbar too bright in Reader dark mode r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D26331

--HG--
extra : moz-landing-system : lando
2019-04-23 16:13:27 +00:00
Andrea Marchesini
a667153044 Bug 1546415 - Disable target=_blank on a/area elements imply rel=noopener for 67, r=neha
Differential Revision: https://phabricator.services.mozilla.com/D28497

--HG--
extra : moz-landing-system : lando
2019-04-23 16:05:37 +00:00
Andrew McCreight
8140c28c5e Bug 1545821 - nsI-ify NetDashboardCallback. r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D28284

--HG--
extra : moz-landing-system : lando
2019-04-23 15:33:57 +00:00
Mark Banner
18472ead5d Bug 1541210 - Write unit tests to ensure that the correct default engines are present for all locales/regions. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D27879

--HG--
extra : moz-landing-system : lando
2019-04-23 15:10:48 +00:00
Stephen Donner
1418e37baa Bug 1531876. Only run talos-perf-reftest-singletons via try, on windows10-aarch64. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D28500

--HG--
extra : moz-landing-system : lando
2019-04-23 15:47:28 +00:00
Sam Foster
f942712ad4 Bug 1543454 - Set single-character usernames to null when prompting to save password. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D28003

--HG--
extra : moz-landing-system : lando
2019-04-22 21:59:57 +00:00
Jed Davis
f045c4ef58 Bug 1544825 - Use IPDL type names instead of truncated C++ names in deserialization error messages. r=nika
Currently, when deserialization fails, the error message contains the base
name of the C++ type, without template parameters; this means we can get
unhelpfully vague errors about `RefPtr` or `Maybe` or `nsTArray`.  (The
identical error cases are then merged by the compiler, so the execution
path can't be recovered from the crash dump.)

This patch uses the IPDL type instead.  It would be possible to invoke
the code generator to use the full C++ type, but more complicated for no
real benefit.

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

--HG--
extra : moz-landing-system : lando
2019-04-23 14:40:48 +00:00
Julian Descottes
b1b3b48975 Bug 1544749 - Fix HTML Tooltip tests when running in content frame r=bgrins
Depends on D27680

Not strictly related to win.top/parent, but those tests would fail if the toolbox is in a content frame.
tooltip-01.js is creating a blank tab for no reason which prevents interacting with the actual test frame.
tooltip-02.js is not properly targeting an iframe to simulate a click

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

--HG--
extra : moz-landing-system : lando
2019-04-23 15:00:23 +00:00
Andreas Tolfsen
091ef4438c bug 1546303: webdriver: add WPT tests for properties in evaluated scripts; r=whimboo
This adds a basic set of tests for interacting with various kinds
of DOM properties from the WebDriver commands Execute Script and
Execute Async Script.

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

--HG--
extra : moz-landing-system : lando
2019-04-23 14:09:43 +00:00