Commit Graph

615620 Commits

Author SHA1 Message Date
Marcos Cáceres
04d3d9b0ed Bug 1493070 - file test_payerDetails.html requests long timeout. r=edenchuang
file test_payerDetails.html requests long timeout. r=edenchuang

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

--HG--
extra : moz-landing-system : lando
2018-09-25 10:21:46 +00:00
Yulia Startsev
9333ba9fec Bug 1473513 - fix faulty path in unit tests. r=fix. CLOSED TREE
--HG--
extra : histedit_source : 8819c914985f6702bc205bc046c142f436568be6
2018-09-25 14:18:36 +03:00
Margareta Eliza Balazs
5ad86cabda Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-09-25 12:50:02 +03:00
Margareta Eliza Balazs
ffe6eaf2f0 Merge inbound to mozilla-central. a=merge 2018-09-25 12:42:09 +03:00
Henrik Skupin
29e0bd9a16 Bug 1493896 - [wptrunner] Skipping download of manifest without active internet connection. r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D6753

--HG--
extra : moz-landing-system : lando
2018-09-25 09:09:12 +00:00
yulia
04d870f203 Bug 1473513 - move ActorRegistry module to server/actors/utils; r=ochameau
Depends on D6477

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

--HG--
rename : devtools/server/actor-registry.js => devtools/server/actors/utils/actor-registry.js
extra : moz-landing-system : lando
2018-09-25 08:47:10 +00:00
yulia
19b4e8fbe6 Bug 1473513 - resolve memory leak r=ochameau
Depends on D6476

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

--HG--
extra : moz-landing-system : lando
2018-09-25 08:06:25 +00:00
yulia
a0882d24f7 Bug 1473513 - reduce number of poolFor calls; r=ochameau
MozReview-Commit-ID: 9VqKPauAP9j

Depends on D6475

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

--HG--
extra : moz-landing-system : lando
2018-09-25 08:06:17 +00:00
yulia
1ad50b5afe Bug 1473513 - refactor main.js to use protocol.js pools; r=ochameau
MozReview-Commit-ID: FNMK4f553yI

Depends on D6474

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

--HG--
extra : moz-landing-system : lando
2018-09-25 08:05:47 +00:00
yulia
e857119004 Bug 1473513 - separate registerModule behavior from DebuggerServer; r=ochameau
MozReview-Commit-ID: 3GsXRxcIKfx

Depends on D6473

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

--HG--
rename : devtools/server/main.js => devtools/server/actor-registry.js
extra : moz-landing-system : lando
2018-09-25 08:05:29 +00:00
yulia
08c887b837 Bug 1473513 - Ensure that actorPools in root are destroyed on destroy; r=ochameau
Depends on D6472

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

--HG--
extra : moz-landing-system : lando
2018-09-25 08:04:59 +00:00
yulia
54d3f62aa0 Bug 1473513 - remove other instances of ActorPool from browsingContext and root; r=ochameau
MozReview-Commit-ID: GxkLzvxJgdY

Depends on D6471

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

--HG--
extra : moz-landing-system : lando
2018-09-25 08:04:41 +00:00
yulia
de5a5707d6 Bug 1473513 - make log function safer so that tests do not time out; r=ochameau
MozReview-Commit-ID: BIk5pWzxJcx

Depends on D6470

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

--HG--
extra : moz-landing-system : lando
2018-09-25 08:04:22 +00:00
yulia
1cea42cdd7 Bug 1473513 - create LazyActorClass based off ObservedActorFactory and RegisterdFactory classes for use in RootActor and BrowsingContextActor; r=ochameau
create LazyActorClass based off ObservedActorFactory and RegisterdFactory classes for use in RootActor and BrowsingContextActor;

Depends on D6468

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

--HG--
rename : devtools/server/actors/common.js => devtools/shared/protocol/lazy-pool.js
extra : moz-landing-system : lando
2018-09-25 08:03:42 +00:00
yulia
56e91adaa1 Bug 1473513 - use Protocol.js pools for workerTargetActorPool in Target Actors; r=ochameau
MozReview-Commit-ID: 5uIWwOR7CHp

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

--HG--
extra : moz-landing-system : lando
2018-09-25 08:02:11 +00:00
Andi-Bogdan Postelnicu
4d4386fe8f Bug 1493672 - Configuration file should also contain a minimum clang-tidy version. r=janx
Differential Revision: https://phabricator.services.mozilla.com/D6665

--HG--
extra : moz-landing-system : lando
2018-09-25 07:51:39 +00:00
Christoph Kerschbaumer
2939431b83 Bug 1490874: Update tests to comply with new script error logging mechanism. r=MattN 2018-09-25 07:52:30 +02:00
Christoph Kerschbaumer
60e3239dee Bug 1490874: Log Principal based Security Errors to the Security pane in the console. r=smaug 2018-09-25 07:25:05 +02:00
Andrea Marchesini
c00db8b8f6 Bug 1493587 - Remove deprecated attributes in nsICookie, r=ehsan 2018-09-25 07:01:25 +02:00
Tim Huang
5b0ad75d1c Bug 680300 - Part 3: Make the client.navigate() not to reference the baseURL if it navigates to a view-source URL r=asuth
The suppressing of the error NS_ERROR_UNKNOWN_PROTOCOL will break the
web-platform-test 'windowclient-navigate.https.html' since navigating
to an invalid view-source url through the client API won't receive
any error due to the suppressing. So the test will time-out since it
waits for an error.

While navigating to an invalid view-source url with its inner url as
relative, this will pass the validity check we have right now and
do the navigation because of it takes account the baseURL while doing
the check. The invalid view-source url will be resolved into a valid
view-source url in the case. Fortunately, we won't encounter any issue
in the test in the past since the docShell will block this loading
because it's loading a view-source url inside an iframe and reports a
NS_ERROR_UNKNOWN_PROTOCOL error. But, we should faild with a
NS_ERROR_MALFORMED_URI error when doing the URL validity check.

For addressing this, this patch makes the client.navigate to not take
the baseURL into account if it is a view-source URL.

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

--HG--
extra : moz-landing-system : lando
2018-09-24 18:22:26 +00:00
Sean Stangl
2c6a795f6d Bug 1492302 - Implement visitDivI(). r=nbp 2018-09-24 15:11:00 +03:00
André Bargull
4c5a158dfe Bug 1463529: Don't add modifiers to built-in or bound function toString representation. r=jorendorff 2018-09-24 10:59:05 -04:00
Jeff Muizelaar
c519453957 Bug 1493496. Update Cargo lockfiles re-vendor rust dependencies 2018-09-24 23:17:50 -04:00
Jeff Muizelaar
91009d358f Bug 1493496. Update webrender to commit b83ec3fd994b69f31e9c6b6ffa19426b2b98c66a 2018-09-24 23:16:44 -04:00
Mats Palmgren
d6409e3f5e Bug 1493805 - Initialize ReflowInput::mCBReflowInput also for placeholders, in case we need it for some reason. r=emilio
Bug 1493710 might make this redundant, but it seems like we
should always do this anyway just in case...
2018-09-25 05:03:26 +02:00
Bogdan Tara
43885c58d8 Backed out changeset 0f5f05614d53 (bug 1492795) for failures on EventListener-incumbent-global-1.sub.html CLOSED TREE 2018-09-25 05:30:17 +03:00
Tooru Fujisawa
9bc0d5d15d Bug 1490548 - Always use braces for if/for/while statements in BinAST auto-generated code r=Yoric 2018-09-25 11:04:11 +09:00
Mike Hommey
0121cc3b9f Backout changeset b31288fb959a (bug 1443265). r=froydnj
Because it never actually had an effect until clang 7, where it reveals
the tree is not ready for it. See details in bug 1492743.
2018-09-25 10:54:07 +09:00
Gabriel Luong
697b700c0f Bug 1317102 - Part 3: Disable grid highlighter toggles in the markup when the max highlighter is reached. r=jdescottes
--HG--
rename : devtools/client/inspector/markup/test/browser_markup_grid_display_badge.js => devtools/client/inspector/markup/test/browser_markup_grid_display_badge_01.js
2018-09-24 20:38:11 -04:00
Ted Campbell
f9261f9103 Bug 1493475 - Fixup broken test. r=bustage 2018-09-24 20:22:16 -04:00
Ted Campbell
f90432bc92 Bug 1493475 - Cleanup asm.js parser cleanup. r=luke 2018-09-24 19:54:03 -04:00
Felipe Gomes
3b6840ae9e Bug 1387666 - Disable browser_translation_exceptions.js on debug builds. r=me 2018-09-24 18:45:42 -03:00
Brian Hackett
c5a6b03d14 Bug 1491067 - Templatize and common up redirections code, r=froydnj.
--HG--
extra : rebase_source : e08b130f57c1013ebb40c0d2cc2145947bb63fc6
2018-09-24 11:10:25 -10:00
Geoff Brown
3d58a9d22a Bug 1482413 - Improve diagnostics for test-verify and per-test coverage; r=me,a=test-only 2018-09-24 17:07:38 -06:00
Tim Huang
b0d9c3aa78 Bug 680300 - Part 2: Add a test case for ensuring no error reporting when loading an unknown protocol. r=smaug
This test case will try to navigate an iframe to an unknown protocol and
check whether no errors been reported.

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

--HG--
extra : moz-landing-system : lando
2018-09-23 22:24:05 +00:00
Tim Huang
22b72f2e9b Bug 680300 - Part 1: Stopping reporting errors when loading an unknown external protocol. r=smaug
This patch makes the docshell not to report an error if it is a unknown
protocol error. However, we will still display the error page in this
case.

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

--HG--
extra : moz-landing-system : lando
2018-09-25 07:50:28 +00:00
Gabriele Svelto
1b38644136 Bug 1493365 - Reduce the amount of memory consumed when reading symbol files r=ted
When reworking the script each entry holding a function name was replaced by a
dictionary holding both the function name and its size. This significantly
increased memory consumption as using a full-fledged dictionary for only two
fields is very space inefficient. This patch uses a named tuple instead of a
dictionary for every entry, reducing memory consumption by almost four times.

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

--HG--
extra : moz-landing-system : lando
2018-09-24 20:43:37 +00:00
Emilio Cobos Álvarez
939fb708fe Bug 1493710 - Don't apply containing shadow-host rules to NAC. r=mats
This is a regression from bug 1487856.

Differential Revision: https://phabricator.services.mozilla.com/D6700
2018-09-25 09:21:23 +02:00
Andrew Swan
344c8c7036 Bug 1484325 Go back to chrome.manifest for formautofill locale registration r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D6690

--HG--
extra : moz-landing-system : lando
2018-09-25 06:03:20 +00:00
Julian Descottes
26887111d9 Bug 1489434 - Add i18n for DeviceSidebarItemAction component;r=birtles
Depends on D6614

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

--HG--
extra : moz-landing-system : lando
2018-09-25 06:38:52 +00:00
Julian Descottes
b246d48d96 Bug 1489434 - Add i18n for ConnectPage component;r=birtles
Depends on D6613

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

--HG--
extra : moz-landing-system : lando
2018-09-25 06:38:13 +00:00
Julian Descottes
641123a0a4 Bug 1489434 - Add i18n for NetworkLocationsForm component;r=birtles
Depends on D6612

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

--HG--
extra : moz-landing-system : lando
2018-09-25 06:37:19 +00:00
Julian Descottes
e22e59e285 Bug 1489434 - Add i18n for NetworkLocationsList component;r=birtles
Depends on D6611

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

--HG--
extra : moz-landing-system : lando
2018-09-25 06:35:23 +00:00
Julian Descottes
8b8f412ae2 Bug 1489427 - Add i18n for WorkerDetail component;r=birtles
Depends on D6610

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

--HG--
extra : moz-landing-system : lando
2018-09-25 06:09:09 +00:00
Dorel Luca
5e538e879e Backed out changeset eae95de0eabe (bug 1480104) for spidermonkey failure 2018-09-25 09:17:02 +03:00
Ehsan Akhgari
1909662130 Bug 1493682 - Part 3: Add tests for the new prefs r=baku
The image cache tests didn't follow the previous naming convention
in order to make it clearer how the tests are set up using the
naming conventions of the files.

These tests should be unified into a single file soon.

Depends on D6748

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

--HG--
rename : toolkit/components/antitracking/test/browser/browser_imageCache7.js => toolkit/components/antitracking/test/browser/browser_imageCache1-1.js
rename : toolkit/components/antitracking/test/browser/browser_imageCache7.js => toolkit/components/antitracking/test/browser/browser_imageCache1-2.js
rename : toolkit/components/antitracking/test/browser/browser_imageCache12.js => toolkit/components/antitracking/test/browser/browser_imageCache10-1.js
rename : toolkit/components/antitracking/test/browser/browser_imageCache12.js => toolkit/components/antitracking/test/browser/browser_imageCache10-2.js
rename : toolkit/components/antitracking/test/browser/browser_imageCache12.js => toolkit/components/antitracking/test/browser/browser_imageCache11-1.js
rename : toolkit/components/antitracking/test/browser/browser_imageCache12.js => toolkit/components/antitracking/test/browser/browser_imageCache11-2.js
rename : toolkit/components/antitracking/test/browser/browser_imageCache15.js => toolkit/components/antitracking/test/browser/browser_imageCache13-1.js
rename : toolkit/components/antitracking/test/browser/browser_imageCache15.js => toolkit/components/antitracking/test/browser/browser_imageCache13-2.js
rename : toolkit/components/antitracking/test/browser/browser_imageCache15.js => toolkit/components/antitracking/test/browser/browser_imageCache14-1.js
rename : toolkit/components/antitracking/test/browser/browser_imageCache15.js => toolkit/components/antitracking/test/browser/browser_imageCache14-2.js
rename : toolkit/components/antitracking/test/browser/browser_imageCache7.js => toolkit/components/antitracking/test/browser/browser_imageCache2-1.js
rename : toolkit/components/antitracking/test/browser/browser_imageCache7.js => toolkit/components/antitracking/test/browser/browser_imageCache2-2.js
rename : toolkit/components/antitracking/test/browser/browser_imageCache7.js => toolkit/components/antitracking/test/browser/browser_imageCache4-1.js
rename : toolkit/components/antitracking/test/browser/browser_imageCache3.js => toolkit/components/antitracking/test/browser/browser_imageCache4-2.js
rename : toolkit/components/antitracking/test/browser/browser_imageCache7.js => toolkit/components/antitracking/test/browser/browser_imageCache5-1.js
rename : toolkit/components/antitracking/test/browser/browser_imageCache7.js => toolkit/components/antitracking/test/browser/browser_imageCache5-2.js
rename : toolkit/components/antitracking/test/browser/browser_imageCache7.js => toolkit/components/antitracking/test/browser/browser_imageCache6-1.js
rename : toolkit/components/antitracking/test/browser/browser_imageCache7.js => toolkit/components/antitracking/test/browser/browser_imageCache6-2.js
extra : moz-landing-system : lando
2018-09-25 05:40:16 +00:00
Ehsan Akhgari
1522f71329 Bug 1493682 - Part 2: Fix the image cache tests r=baku
The first line which this patch is fixing was clobbering the object
that the tests were setting up, so all these tests were testing was
the blocking callback of the default runTest() path before this
patch.

Depends on D6747

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

--HG--
extra : moz-landing-system : lando
2018-09-25 05:40:14 +00:00
Ehsan Akhgari
4ad659ac56 Bug 1493682 - Part 1: Introduce two new prefs for controlling whether the content blocking allow list would be honoured r=baku
Differential Revision: https://phabricator.services.mozilla.com/D6747

--HG--
extra : moz-landing-system : lando
2018-09-25 05:40:12 +00:00
Denis Palmeiro
484340a143 Bug 1480104: Provide an API for the gecko profiler, introduce a string hash table to remove duplicate data, and add necessary locks and changes to support the profiler start/stop routines r=sfink
There are a number of changes involved here which I'll try to summarize below:
1.  Provide API calls to start & stop the tracelogger.  These will enable and disable a set of events to trace.
2.  Provide API calls to reset the tracelogger.  This will empty the data structures used by the trace logger so that a new tracing session can occur without previous data corrupting it.
3.  Provide API calls to write out the trace logger data in JSON.  This will write out an array of strings which acts as the trace logger event dictionary, and an array of events with timestamps.
4.  Implement a new way of storing the event strings.  Previously, all strings were saved in the format "script:line:column".  However, this led to a lot of duplication because many events would use the same script at different locations.  Instead, we now save only the script string into a vector, and then hash it and save that into a table for reuse.  The line and column will be saved as part of the text id payloads.  Overall, this saves us about 100-150 MB of data for about a 10 second trace.
5.  Add some necessary locks for when the gecko profiler calls some of the API routines from another thread.

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

--HG--
extra : moz-landing-system : lando
2018-09-23 21:51:44 +00:00
Ehsan Akhgari
6cdbf2a372 Bug 1491047 - Add a telemetry probe for measuring how many browsing sessions have had a private window opened in them; data-review=francois r=jdm
Differential Revision: https://phabricator.services.mozilla.com/D6063

--HG--
extra : moz-landing-system : lando
2018-09-25 04:53:40 +00:00