Commit Graph

650797 Commits

Author SHA1 Message Date
Edwin Gao
da5149fdb8 Bug 1549619 - task efficiency: revisit chunking of mochitest-devtools-chrome r=jmaher
Changes:
- reduced `linux64/debug` chunking to 14 (from 16)
- reduced `linux64-ccov/debug` to 14 (from 16)
- increased `windows64-ccov` to 16 (from 10)
- maintain all non-ccov debug to 8
- maintain all asan to 8
- reduce everything else to 5

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

--HG--
extra : moz-landing-system : lando
2019-05-09 16:29:10 +00:00
Brindusan Cristian
7f7d7f6a70 Backed out changeset e925cef1cadf (bug 1549326) for mochitest assertion failures at nsContentSecurityManager.cpp:205. CLOSED TREE 2019-05-09 21:05:40 +03:00
Byron Campen [:bwc]
6bc474b4f7 Bug 1548272: Don't look at mFlags in GetOrdered (since this is called on main). r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D29529

--HG--
extra : moz-landing-system : lando
2019-05-09 15:37:55 +00:00
Byron Campen [:bwc]
d9e760b079 Bug 1529612 - Part 4: Work around issue where receiver would get message before sender saw its bufferedAmount drop. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D30389

--HG--
extra : moz-landing-system : lando
2019-05-09 16:12:35 +00:00
Byron Campen [:bwc]
6a25453cbf Bug 1529612 - Part 3: Update a mochitest to expect bufferedamountlow events even when the threshold is 0 (Part 2 fixed this bug). r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D28528

--HG--
extra : moz-landing-system : lando
2019-05-09 15:37:55 +00:00
Byron Campen [:bwc]
eb8300b947 Bug 1529612 - Part 2: Keep/update bufferedAmount on main only. Some simplifications. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D28526

--HG--
extra : moz-landing-system : lando
2019-05-09 15:39:05 +00:00
Byron Campen [:bwc]
fd69aa4690 Bug 1529612 - Part 1: Refactor nsDOMDataChannel so DataChannel will be able to tell how large a blob is without needing to stream the whole thing. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D28525

--HG--
extra : moz-landing-system : lando
2019-05-09 14:48:13 +00:00
Byron Campen [:bwc]
62a1dd6b72 Bug 1529612 - Part 0: Re-enable a test-case. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D28259

--HG--
extra : moz-landing-system : lando
2019-05-09 17:28:14 +00:00
Byron Campen [:bwc]
7589cea682 Bug 1531908 - Part 0: Re-enable a test-case, and check length of label based on UTF-8 encoding. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D28557

--HG--
extra : moz-landing-system : lando
2019-05-09 17:29:20 +00:00
Sorin Davidoi
23371408b1 Bug 1547821 - Sync 133 - Improve Quick Open performance r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D30306

--HG--
extra : moz-landing-system : lando
2019-05-09 16:09:47 +00:00
derek-li
7ed549152a Bug 1547821 - Sync 133 - Ensure secondary pan splitter takes up entire height r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D30305

--HG--
extra : moz-landing-system : lando
2019-05-09 16:09:43 +00:00
Sorin Davidoi
97bb455ae6 Bug 1547821 - Sync 133 - Don't manage focus via JavaScript r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D30304

--HG--
extra : moz-landing-system : lando
2019-05-09 16:09:38 +00:00
Sebastian Hengst
e5d127bbdb Bug 1547821 - Sync 133 - Use dedicated accesskey for editing log points r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D30302

--HG--
extra : moz-landing-system : lando
2019-05-09 16:09:34 +00:00
Krishnal Ciccolella
a021e45135 Bug 1547821 - Sync 133 - Changed gap placement on popover orientation-right r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D30301

--HG--
extra : moz-landing-system : lando
2019-05-09 16:09:30 +00:00
Derek Li
10ac3a74c5 Bug 1547821 - Sync 133 - Remove white bottom bar from debugger r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D30300

--HG--
extra : moz-landing-system : lando
2019-05-09 16:11:51 +00:00
alwu
a0f630e9fe Bug 1550308 - remove empty wpt ini files. r=jya
These ini files are all empty, which didn't include any extra information for testing, so we should remove them.

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

--HG--
extra : moz-landing-system : lando
2019-05-09 12:22:22 +00:00
Alex Chronopoulos
396962e5a5 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-05-09 16:38:54 +00:00
Jim Blandy
65825b234f Bug 1546817: Refactor and document Debugger support in js::CrossCompartmentKey. r=sfink
This replaces the various Debugger-related member classes in
js::CrossCompartmentKey with a series of small structs that can be used directly
as alternatives in CrossCompartmentKey::WrappedType. Thus, instead of having a
two-level tag --- the Variant tag, and then for DebuggerAndObject case, a
DebuggerObjectKind value --- the Variant tag can do all the work by itself.

This also tightens up the types a bit: choosing the wrong DebuggerObjectKind
would be a silent error, but using the wrong constructor might get you a type
error (although unfortunately some of the types are not as specific as you might
hope: NativeObject instead of WasmInstanceObject, for example).

A new comment explains the rationale for giving Debugger API objects entries in
the wrapper map.

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

--HG--
extra : moz-landing-system : lando
2019-05-09 17:38:13 +00:00
Robert Strong
1602a76efe Bug 1549780 - Add second email address for existing app update telemetry probes and bug number on probes that have the unsupported label. r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D30240

--HG--
extra : moz-landing-system : lando
2019-05-09 12:38:01 +00:00
alwu
4be0d5b867 Bug 1548923 - part5 : run TimeMarchesOn in correct order r=jya
To run `TimeMarchesOn` in correct spec's steps order.

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

--HG--
extra : moz-landing-system : lando
2019-05-09 01:34:57 +00:00
alwu
2b345c4263 Bug 1548923 - part4 : prevent run TimeMarchesOn before media has any data. r=jya
In patch2, whenever the media element's readyState is changed back to HAVE_NOTHING, we would reset all cues' active flag and update cue display in order to hide them.

It also means that we should not set any cue's flag when media element's readyState is `HAVE_NOTHING`, so we should abort the `TimeMarchesOn` in this situation.

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

--HG--
extra : moz-landing-system : lando
2019-05-09 01:33:36 +00:00
alwu
12021ef9f6 Bug 1548923 - part3 : add test 'test_webvtt_update_display_after_adding_or_removing_cue.html'. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D29883

--HG--
extra : moz-landing-system : lando
2019-05-08 17:46:39 +00:00
alwu
dfb849b238 Bug 1548923 - part2 : reset cues' active flag when media element's ready state becomes 'HAVE_NOTHING' r=jya
According to the spec [1], whenever the media element's readyState is changed back to `HAVE_NOTHING`, we have to reset all cues' active flag and update cue display in order to hide them.

[1] https://html.spec.whatwg.org/multipage/media.html#text-track-cue-active-flag

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

--HG--
extra : moz-landing-system : lando
2019-05-08 17:46:39 +00:00
alwu
70e585dd96 Bug 1548923 - part1 : abort 'TimeMarchesOn' algorithm during seeking. r=jya
In the spec [1], it doesn't mention that we should only run `TimeMarchesOn` after media has started. Therefore, we should remove this return condition in order to update cue's state correctly no matter the media starts or not.

In addition, according to the spec [2], `TimeMarchesOn` should be executed after seeking completed, we shouldn't not run it during seeking.

[1] https://html.spec.whatwg.org/multipage/media.html#time-marches-on
[2] https://html.spec.whatwg.org/multipage/media.html#seeking:time-marches-on

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

--HG--
extra : moz-landing-system : lando
2019-05-08 17:33:36 +00:00
Noemi Erli
6430d23336 Backed out 12 changesets (bug 1547813) for failures in browser_partitionedIndexedDB.js CLOSED TREE
Backed out changeset 98989127264b (bug 1547813)
Backed out changeset f9d790139a26 (bug 1547813)
Backed out changeset a29f58cef022 (bug 1547813)
Backed out changeset c1288949de1c (bug 1547813)
Backed out changeset 8cad4fd197b1 (bug 1547813)
Backed out changeset 807ce59e7e6e (bug 1547813)
Backed out changeset 06943593738c (bug 1547813)
Backed out changeset 4ced8d49ddc3 (bug 1547813)
Backed out changeset 77a040f527e9 (bug 1547813)
Backed out changeset b4651cfaff30 (bug 1547813)
Backed out changeset 279c140a4d71 (bug 1547813)
Backed out changeset 0e0241f3d366 (bug 1547813)
2019-05-09 20:04:16 +03:00
David Walsh
33b9669f6a Bug 1547334 - Show logpoint icon in webconsole r=Harald
Differential Revision: https://phabricator.services.mozilla.com/D29040

--HG--
extra : moz-landing-system : lando
2019-05-08 19:49:16 +00:00
Edwin Gao
1298ea44c8 Bug 1547135 - reduce tp6m test result jitter for Android (Pixel 2) r=jmaher,acreskey,rwood
All changes are reversible upon reboot, with exception of the animation setting which is restored to default settings once Raptor concludes testing.

All values are for Pixel 2. Motorola G5 patch will be available separately.

Changes:
- set cpu/gpu to `performance` mode, and override minimum frequency with the maximum available frequency
- tweak msm-bus related kernel settings
- set display to be permanently on when connected over USB
- disable animation for duration of test
- turn off thermal throttling

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

--HG--
extra : moz-landing-system : lando
2019-05-09 16:35:27 +00:00
Clément ALLAIN
40e37fe471 Bug 1437446 : Make probe process choice more visible in about:telemetry r=chutten,flod
- Make process the second level menu of (Scalars, Keyed Scalars, Histograms, Keyed Histograms and Events)
  - Change the process dropdown to be a store dropdown
  - Main store is selected by default
  - Added a label before the store dropdown
  - Refactor a bit the code to avoid lot of duplications

Note: This revision should be way cleaner

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

--HG--
extra : moz-landing-system : lando
2019-05-08 18:56:19 +00:00
Marco Bonardo
ca2c358730 Bug 1550025 - In Quantum Bar the restriction tokens should bypass the restriction prefs. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D30490

--HG--
extra : moz-landing-system : lando
2019-05-09 15:59:33 +00:00
Jonas Allmann
4b72fd9bba Bug 1549326 - Remove simpletest.js from eval()-whitelist, r=ckerschb
Amend several test files for triggering eval() assertion through simpletest.js

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

--HG--
extra : moz-landing-system : lando
2019-05-09 16:02:49 +00:00
Ehsan Akhgari
f9ced6a3c6 Bug 1547813 - Part 12: Add some tests for partitioning third-party storage/messaging with dynamic FPI; r=baku
This patch doesn't port all of the existing tests because some of them
do not pass yet and some others need more work to be ported.  This will
happen in follow-up bugs.

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

--HG--
rename : toolkit/components/antitracking/test/browser/storageprincipal_head.js => toolkit/components/antitracking/test/browser/dynamicfpi_head.js
extra : moz-landing-system : lando
2019-05-09 07:14:19 +00:00
Ehsan Akhgari
db2e485317 Bug 1547813 - Part 11: Add support for reporting breakage when the nsICookieService.BEHAVIOR_REJECT_TRACKER_AND_PARTITION_FOREIGN cookie policy is active; r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D30120

--HG--
extra : moz-landing-system : lando
2019-05-08 19:38:12 +00:00
Ehsan Akhgari
31c7d14341 Bug 1547813 - Part 10: Add support for nsICookieService.BEHAVIOR_REJECT_TRACKER_AND_PARTITION_FOREIGN to the content blocking category pref; r=ewright
Differential Revision: https://phabricator.services.mozilla.com/D30119

--HG--
extra : moz-landing-system : lando
2019-05-08 22:34:06 +00:00
Ehsan Akhgari
b9c7626390 Bug 1547813 - Part 9: Ensure the cookie service does third-party checks when the cookie policy is set to nsICookieService::BEHAVIOR_REJECT_TRACKER_AND_PARTITION_FOREIGN; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D30118

--HG--
extra : moz-landing-system : lando
2019-05-08 19:38:08 +00:00
Ehsan Akhgari
c7cb5521d1 Bug 1547813 - Part 8: Introduce a CookieSettings API to query whether cookies from third-party trackers must be rejected and use it in Gecko; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D30117

--HG--
extra : moz-landing-system : lando
2019-05-08 20:22:18 +00:00
Ehsan Akhgari
f33f21e80b Bug 1547813 - Part 7: Introduce a storage partitioning API; r=baku
This API abstracts away the details of the decision on what context should be
partitioned away from the consumers and centralizes the decision making into
the same location in the code base.

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

--HG--
extra : moz-landing-system : lando
2019-05-08 20:15:13 +00:00
Ehsan Akhgari
7889bc2edd Bug 1547813 - Part 6: Return StorageAccess::ePartitionForeignOrDeny from storage access APIs when the antitracking backend mandates that; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D29741

--HG--
extra : moz-landing-system : lando
2019-05-08 20:13:23 +00:00
Ehsan Akhgari
2560dad048 Bug 1547813 - Part 5: Introduce StorageAccess::ePartitionForeignOrDeny; r=baku
This StorageAccess code tells callers that they must partition third-party
storage, or deny storage access if that is not possible.

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

--HG--
extra : moz-landing-system : lando
2019-05-09 07:14:34 +00:00
Ehsan Akhgari
1b4236b4ee Bug 1547813 - Part 4: Rename StorageAccess::ePartitionedOrDeny to ePartitionTrackersOrDeny; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D29739

--HG--
extra : moz-landing-system : lando
2019-05-08 19:37:52 +00:00
Ehsan Akhgari
aaa189b070 Bug 1547813 - Part 3: Modify the antitracking algorithms to work with nsICookieService::BEHAVIOR_REJECT_TRACKER_AND_PARTITION_FOREIGN; r=baku
The policy that this patch implements in the antitracking backend is to treat
third-party trackers exactly the same way as BEHAVIOR_REJECT_TRACKER, and
additionally partition all third-party contexts as well.

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

--HG--
extra : moz-landing-system : lando
2019-05-09 14:00:55 +00:00
Ehsan Akhgari
6b7e90e3e5 Bug 1547813 - Part 2: Introduce nsIWebProgressListener::STATE_COOKIES_PARTITIONED_FOREIGN; r=baku
This error code indicates the specific case where the antitracking backend
rejects a particular access request because the resource is third-party and
the cookie policy mandates that third-party resources must be partitioned.

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

--HG--
extra : moz-landing-system : lando
2019-05-08 19:37:47 +00:00
Ehsan Akhgari
564ae33dab Bug 1547813 - Part 1: Introduce nsICookieService::BEHAVIOR_REJECT_TRACKER_AND_PARTITION_FOREIGN; r=baku
This new code designates our new cookie policy for blocking cookies and
storage access from third-party trackers and partitioning the cookie jar
of the rest of third-party resources.

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

--HG--
extra : moz-landing-system : lando
2019-05-08 19:37:40 +00:00
Marco Bonardo
582ea00aa6 Bug 1550480 - Increase the Quantum Bar stale rows removal timer. r=dao
Try to further reduce flicker by increasing the time we keep stale results visible.

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

--HG--
extra : moz-landing-system : lando
2019-05-09 15:00:47 +00:00
Sean Feng
760251d1c3 Bug 1533861 - Add a telemetry to detect disk type r=chutten,froydnj,bdekoz
Differential Revision: https://phabricator.services.mozilla.com/D29383

--HG--
extra : moz-landing-system : lando
2019-05-08 15:30:07 +00:00
Dão Gottwald
24c3de356b Bug 1550423 - When a result's title or URL overflows, expose the full value in a tooltip. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D30470

--HG--
extra : moz-landing-system : lando
2019-05-09 13:06:53 +00:00
Rob Wu
ef01932b50 Bug 1546248 - Loosen Client-ID check in unit test r=rpl
The client_id part of browser_html_discover_view_clientid.js was failing
on TV because of a pre-existing, test-specific issue in Telemetry.
Fixing this is not trivial, so just check that the ID was set instead of
checking its exact value.

See the comment for more details; the fix will be part of bug 1537933

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

--HG--
extra : moz-landing-system : lando
2019-05-09 14:22:18 +00:00
Rob Wu
3964ab68f9 Bug 1546123 - Correct size calculation of theme previews r=mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D29482

--HG--
extra : moz-landing-system : lando
2019-05-08 23:36:31 +00:00
Rob Wu
9675eda2fa Bug 1546980 - Add ratings and user counts to discopane r=mstriemer,flod
Differential Revision: https://phabricator.services.mozilla.com/D29481

--HG--
extra : moz-landing-system : lando
2019-05-08 23:36:32 +00:00
Rob Wu
bb1e8193ce Bug 1542262 - Match AMO's rating logic in about:addons r=mstriemer,Pike
- Fill stars based on whether the rating is within the 0.5 range of a
  0.5-multiple, rather than checking whether the rating is at least as
  large as the 0.5-multiple. This follows the boundaries at:
  bb9277eeff/src/ui/components/Rating/index.js (L139-L140)

- Use a review star rating instead of re-using the bookmark star.
  This is not necessarily to be more consistent with AMO's stars,
  but to prevent the stars from becoming non-stars if we ever change
  the bookmark icon. The SVG icon is based on the path at:
  bb9277eeff/src/ui/components/IconStar/index.js (L19)

- Turn it into a custom element to make re-use easier.

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

--HG--
extra : moz-landing-system : lando
2019-05-08 18:30:04 +00:00
Rob Wu
163dcef402 Bug 1546248 - Add attribution parameters to AMO links r=mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D29479

--HG--
extra : moz-landing-system : lando
2019-05-09 14:22:17 +00:00