Commit Graph
1861 Commits
Author SHA1 Message Date
Dipen Patel fbf2d8d5d9 Bug 1468222 Consolidate nsISSLStatus info nsITransportSecurityInfo r=Gijs,snorp,jcj,mcmanus,sfraser,keeler,baku,ato
Move all fields of nsISSLStatus to nsITransportSecurityProvider
Remove nsISSLStatus interface and definition
Update all code and test references to nsISSLStatus
Maintain ability to read in older version of serialized nsISSLStatus.  This
is verified with psm_DeserializeCert gtest.

Differential Revision: https://phabricator.services.mozilla.com/D3704
2018-09-11 00:07:30 +00:00
Csoregi Natalia 4c04e1f45b Backed out changeset bd8baf88f373 (bug 1468222) for test_security-info-parser.js failures. CLOSED TREE 2018-09-08 03:16:25 +03:00
Dipen Patel 8e9fd08fb5 Bug 1468222 Consolidate nsISSLStatus info nsITransportSecurityInfo r=snorp,ato,sfraser,keeler,baku,mcmanus,Gijs
Move all fields of nsISSLStatus to nsITransportSecurityProvider
Remove nsISSLStatus interface and definition
Update all code and test references to nsISSLStatus
Maintain ability to read in older version of serialized nsISSLStatus.  This
is verified with psm_DeserializeCert gtest.

Differential Revision: https://phabricator.services.mozilla.com/D3704
2018-09-07 22:50:17 +00:00
Julian Descottes 0043cbcf60 Bug 1486703 - Display correct hostOnly values in storage inspector;r=miker
Differential Revision: https://phabricator.services.mozilla.com/D4712
2018-09-07 10:41:42 +00:00
Jan Odvarko a76c4ed5ff Bug 1487274 - Use nsIHttpChannel.isThirdPartyTrackingResource to identify trackers; r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D5018
2018-09-07 06:55:19 +00:00
yulia 1de07c7b75 Bug 1429421 - remove gcli code; r=jdescottes,julienw,ochameau
Remove remaining GCLI code

Differential Revision: https://phabricator.services.mozilla.com/D3618
2018-09-06 11:42:57 +00:00
arthur.iakab f3a400f189 Backed out changeset 5e21be5fdf9d (bug 1429421)for build busteges CLOSED TREE 2018-09-06 12:12:40 +03:00
yulia d6ccb9ca41 Bug 1429421 - remove gcli code; r=jdescottes,julienw,ochameau
Remove remaining GCLI code

Differential Revision: https://phabricator.services.mozilla.com/D3618
2018-09-06 08:55:50 +00:00
Dorel Luca a490f4bfa6 Merge mozilla-central to mozilla-inbound 2018-09-05 19:07:40 +03:00
Nicolas Chevobbe 334b7e5e5b Bug 1217198 - Better autocompletion for template literals; r=Honza.
Add a new template literal state to findCompletionBeginning so we can
better handle the autocompletion for them.

Differential Revision: https://phabricator.services.mozilla.com/D4853
2018-09-05 11:37:33 +00:00
Jan de Mooij d227b4369d Bug 722345 part 3 - Remove request API. r=luke
Differential Revision: https://phabricator.services.mozilla.com/D4424
2018-08-28 09:53:30 +02:00
yulia 1c18ac0dd0 Bug 1447490 - replace GCLI toolbox buttons with highlighters and appropriate actors; r=ochameau
GCLI has been handling the state of our buttons as well as managing shared highlighters.
Since the gcli removal, we no longer share the rulers and measure with any other UI, so a location
for shared state is no longer needed.

Differential Revision: https://phabricator.services.mozilla.com/D3506
2018-09-03 14:54:04 +00:00
yulia b1d5d301c5 Bug 1447487 - fix eyedropper telemetry check 2018-08-31 14:19:08 +02:00
yulia c7fe6da3a5 Bug 1447487 - remove all uses of GCLI eyedropper; r=ochameau
Summary:
this removes references to GCLI in the inspector front and from the browser menu, leaving
no further uses of gcli eyedropper

Test Plan: mochitests

Reviewers: ochameau

Tags: #secure-revision

Bug #: 1447487

Differential Revision: https://phabricator.services.mozilla.com/D3614
2018-08-17 16:55:01 +02:00
Gurzau Raul 421f1935ed Backed out 3 changesets (bug 1447487, bug 1485374) for failing at browser_ext_devtools_panels_elements_sidebar.js and /mochitest/test_inspector-pick-color.html on a CLOSED TREE
Backed out changeset 82ef44f87f72 (bug 1447487)
Backed out changeset d8a1c6a80a59 (bug 1447487)
Backed out changeset d4761bb0096a (bug 1485374)
2018-08-30 21:31:53 +03:00
yulia 0e8fc89f60 Bug 1447487 - remove all uses of GCLI eyedropper; r=ochameau
Summary:
this removes references to GCLI in the inspector front and from the browser menu, leaving
no further uses of gcli eyedropper

Test Plan: mochitests

Reviewers: ochameau

Tags: #secure-revision

Bug #: 1447487

Differential Revision: https://phabricator.services.mozilla.com/D3614
2018-08-17 16:55:01 +02:00
Brian Hackett ecf2fecf25 Bug 1483319 Part 2 - Treat replayForcedPause as unsolicited, r=jimb. 2018-08-18 05:39:34 -10:00
Margareta Eliza Balazs e1268b83f4 Merge inbound to mozilla-central. a=merge 2018-08-29 12:43:37 +03:00
Ciure Andrei c81cbff762 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-08-29 01:06:58 +03:00
Ciure Andrei f1621433fc Merge inbound to mozilla-central. a=merge 2018-08-29 00:58:21 +03:00
Michael Ratcliffe e8474009da Bug 1435429 - Android 'mach mochitest' fails: 'A cross-directory support file path noted in a test manifest does not appear in any other manifest.' r=bc,chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D4214
2018-08-28 20:29:58 +00:00
Nicolas Chevobbe 8d0154a21f Bug 672733 - Make autocomplete search case insensitive; r=Honza.
This patch adds a smarter heuristic for autocompletion results:
if the input first letter is lowercased, then we'll filter
matching properties case insensitively. But if the user starts
with an uppercase, we assume they know the property they want
and thus respect the casing.
For example: `win` will return both `window` and `Window`, but
`Win` will return `Window` only.
Due to this behavior, we change the order of the autocomplete
results so lowercased property are displayed before the uppercased
one.
If we take are example again, it's likely that if a user type `win`,
they want `window`, but the alphabetical order would return `Window`
first which would annoy user.

Now, since we return results that does not match exactly the user
input, we need to modify the frontend.

Usually, we only show the autocompletion popup if there are
at least 2 matching items, since 1 matching item will still
be displayed using the autocompletion text. But now, since the
input might not match, we want to still display the popup if
there is one matching item, but starts differentely than what
the user entered.
For example, the user typed `window.addeve`, which matches
`addEventListener`. The completion text will make it looks like
it will be completed to `window.addeventListener`, which would
be undefined. So showing the popup with the actual matching
property might avoid some confusion for the user.

A test was added to make sure the frontend works as expected.
Some test cases were added in the server test to make sure
the actor returns expected results. Other tests needed some
adjustement because of the insensitive case matches and the
new order of results.

Differential Revision: https://phabricator.services.mozilla.com/D4061
2018-08-27 16:08:56 +00:00
yulia 3074f9dd2e Bug 1483173 - introduce screenshot actor; r=ochameau
This patch introduces a screenshot actor, which allows the screenshot functionality to be
shared across tools, and also implements it for the toolbox itself

Differential Revision: https://phabricator.services.mozilla.com/D3341
2018-08-27 15:14:10 +00:00
arthur.iakab c6f7810936 Merge inbound to mozilla-central a=merge 2018-08-25 01:08:22 +03:00
Boris Chiou dbba63a0f0 Bug 1246764 - Part 2: Define path() for clip-path. r=emilio
For now, |clip-path: path()| is chrome-only, and not for shape-outside,
so we only implement the parser for clip-path. Besides, I didn't put
path() in BasicShape because path() doesn't use the reference box to
resolve the percentage or keywords (i.e. SVG path only accept floating
point or integer number as the css pixel value). Therefore, I add it into
ShapeSource, instead of BasicShape.

Differential Revision: https://phabricator.services.mozilla.com/D3633
2018-08-24 11:37:53 -07:00
David Keeler 97689a8e9d bug 1485087 - remove the option to use the TLS session cache from nsITLSServerSocket r=jryans,mayhemer
As initially implemented, nsITLSServerSocket by default enabled the use of the
TLS session cache provided by NSS. However, no consumers of nsITLSServerSocket
actually used it. Because it was an option, though, PSM had to jump through some
hoops to a) make it work in the first place and b) not have NSS panic on
shutdown. Furthermore, it meant increased memory usage for every user of Firefox
(and again, nothing actually used the feature, so this was for naught).

In bug 1479918, we discovered that if PSM shut down before Necko, NSS could
attempt to acquire a lock on the session cache that had been deleted, causing a
shutdown hang. We probably should make it less easy to make this mistake in NSS,
but in the meantime bug 1479918 needs uplifting and this workaround is the
safest, most straight-forward way to achieve this.

Differential Revision: https://phabricator.services.mozilla.com/D3919
2018-08-24 16:00:34 +00:00
Nicholas Nethercote beb45f5f20 Bug 1486690 - Rename NS_str{,}dup and remove unnecessary checks after calls to them. r=glandium
The 'x' prefix makes it clearer that these are infallible.

A couple of nsJSID methods are now also infallible.
2018-08-28 15:58:54 +10:00
Jennifer Wilde f14b17bf6a Bug 1482972 - convert uses of "defer" to "new Promise" in shared/transport/; r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D4216
2018-08-24 14:29:40 +00:00
Kris Maglione f2dba891af Bug 1484496: Part 5d - Convert devtools/ nsISimpleEnumerator users to use JS iteration. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D3732
2018-08-18 19:28:37 -07:00
Cosmin Sabou 793596386b Merge mozilla-inbound to mozilla-central. a=merge 2018-08-24 00:40:14 +03:00
Alexandre Poirot 5daee9540a Bug 1485702 - Remove unused WalkerFront.search's selectorsOnly argument. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D4089
2018-08-23 15:36:48 +00:00
Gabriel Luong 24956878cd Bug 1478397 - Part 3: Return the computed style properties and flex item sizing information from the FlexItemActor. r=rcaliman 2018-08-28 10:43:40 -04:00
Gabriel Luong 635d0cb1fb Bug 1478397 - Part 1: Implement a FlexItemActor to retrieve information about the flex items. r=rcaliman 2018-08-28 10:43:39 -04:00
Alexandre Poirot a2c6859b00 Bug 1026583 - Avoid sending events for already destroyed actors. r=yulia
Reviewers: yulia!

Tags: #secure-revision

Bug #: 1026583

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

MozReview-Commit-ID: 3485VTbMRqO
2018-08-28 05:42:32 -07:00
Jan Odvarko 063630ce07 Bug 1333994 - The network tab should flag resources on the tracking protection list; r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D3862
2018-08-23 07:36:08 +00:00
Gabriel Luong 29e98bd15c Bug 1484483 - Part 2: Return the computed style properties of the flex container from the FlexboxActor. r=rcaliman 2018-08-22 21:07:08 -04:00
Jan Odvarko 7267450673 Bug 1470815 - Make sure the Security panel is visible for HTTP requests in the Console panel; r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D3904
2018-08-22 11:14:45 +00:00
Boris Chiou 2ff8effaea Bug 1429298 - Part 7: Tests. r=emilio
In wpt, now we support "offset-path: none | path()", so parsing none or
path function should be correct. Animations which animate "from none"
or "to none" will pass because we could serialize "none", even if we
don't support animations on offset-path.

Differential Revision: https://phabricator.services.mozilla.com/D2969
2018-08-21 22:41:46 -07:00
Boris Chiou aeb006d62c Bug 1429298 - Part 2: Define offset-path and implement it in style system. r=emilio
Define OffsetPath & SVGPathData on the servo-side, and StyleMotion &
StyleSVGPath on the gecko-side. We parse the SVG Path string into a
vector of PathCommand. To build the gfx::Path, we will convert it into
gfx::Path later in a different patch.

The basic flow is:
* Parse SVG Path String into SVGPathData (in Rust).
* Use cbindgen to make sure the layout of PathCommand and StylePathCommand,
  and then set the Box[PathCommand] into nsTArray<StylePathCommand>.
* Try to convert nsTArray<StylePathCommand> into gfx::Path. (This part
  will be implemented in a different patch.)

Finally, we use the gfx::Path to create a motion path transform.
The layout implementation is in the later patch.

Differential Revision: https://phabricator.services.mozilla.com/D2963
2018-08-21 22:41:38 -07:00
Jeff Walden e90e4540cf Bug 1484389 - Move various SavedFrame-related functions and data types into js/public/SavedFrameAPI.h so that users aren't forced to depend on jsapi.h or jsfriendapi.h for them. r=jandem 2018-08-20 07:45:44 -07:00
Alexandre Poirot 2da1065dfe Bug 1482070 - Rename NetworkMonitor to NetworkObserver and move it next to the NetworkMonitorActor. r=Honza
Summary: Depends On D3604

Reviewers: Honza!

Tags: #secure-revision

Bug #: 1482070

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

MozReview-Commit-ID: ArS8SxVraiu
2018-08-20 09:06:23 -07:00
Alexandre Poirot e9115a4301 Bug 1482070 - Move StackTraceCollector to its own file. r=Honza
Summary: Depends On D3603

Reviewers: Honza!

Tags: #secure-revision

Bug #: 1482070

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

MozReview-Commit-ID: 53aaLHR6lv
2018-08-20 09:06:22 -07:00
Alexandre Poirot 9177458700 Bug 1482070 - Move ChannelEventSink to its own file. r=Honza
Summary: Depends On D3602

Reviewers: Honza!

Tags: #secure-revision

Bug #: 1482070

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

MozReview-Commit-ID: Kr3vYvP1oCZ
2018-08-20 09:06:22 -07:00
Alexandre Poirot d161ff0db3 Bug 1482070 - Move ConsoleAPIListener to its own file. r=Honza
Summary: Depends On D3598

Reviewers: Honza!

Tags: #secure-revision

Bug #: 1482070

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

MozReview-Commit-ID: k3KVzlmXOR
2018-08-20 09:06:21 -07:00
Alexandre Poirot c5714bda8d Bug 1482070 - Move ConsoleServiceListener to its own file. r=Honza
Summary: Depends On D3597

Reviewers: Honza!

Tags: #secure-revision

Bug #: 1482070

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

MozReview-Commit-ID: 7jdh33iKfgU
2018-08-20 09:06:20 -07:00
Alexandre Poirot 843b64c780 Bug 1482070 - Move ConsoleProgressListener to its own file. r=Honza
Reviewers: Honza!

Tags: #secure-revision

Bug #: 1482070

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

MozReview-Commit-ID: 99V3BJqKqZH
2018-08-20 09:06:20 -07:00
Margareta Eliza Balazs b2d0c406e6 Merge inbound to mozilla-central. a=merge 2018-08-17 12:46:14 +03:00
Hiroyuki Ikezoe 8e9e8d2b83 Bug 1483730 - Return null from getFileForAdb if the adb file doesn't exit. r=jdescottes
Summary: Depends on D3463

Reviewers: jdescottes

Reviewed By: jdescottes

Bug #: 1483730

Differential Revision: https://phabricator.services.mozilla.com/D3464
2018-08-17 06:58:42 +09:00
Hiroyuki Ikezoe 6b208d6d76 Bug 1483730 - Call nsIFile.exists method. r=jdescottes
Reviewers: jdescottes

Reviewed By: jdescottes

Bug #: 1483730

Differential Revision: https://phabricator.services.mozilla.com/D3463
2018-08-17 06:56:52 +09:00
Tiberius Oros 5627932987 Merge inbound to mozilla-central. a=merge 2018-08-17 00:32:50 +03:00