Commit Graph
76 Commits
Author SHA1 Message Date
Masatoshi Kimura 4f2e64ad3d Bug 1342144 - Remove version parameter from the type attribute of script elements. r=jmaher
This patch is generated by the following sed script:
find . ! -wholename '*/.hg*' -type f \( -iname '*.html' -o -iname '*.xhtml' -o -iname '*.xul' -o -iname '*.js' \) -exec sed -i -e 's/\(\(text\|application\)\/javascript\);version=1.[0-9]/\1/g' {} \;

MozReview-Commit-ID: AzhtdwJwVNg
2017-02-23 06:10:07 +09:00
Ruturaj K. Vartak 85d53ec72a Bug 1325987 - Fix ESLint issues in devtools/server/tests/browser/. r=ntim 2017-02-23 20:32:00 -05:00
Jamie Nicol f10b52ba06 Bug 1339578 - Remove min active layer size for animations; r=mattwoodrow
Even for very small layers we want to avoid doing work on the main
thread.

At the same time, however, increase the minimum active layer size for
animations which come from restyles. These involve the main thread
anyway, so there is less to be gained from using an active
layer. Since switching items between active and inactive can have
large knock-on effects, we want to make sure it really is worth making
the layer active.

MozReview-Commit-ID: 8N6xlVW4Dp3
2017-02-09 18:00:32 +00:00
Andrea Marchesini a8b0605457 Bug 1333898 - MessageChannel messaging sets .ports to null, r=qdot 2017-01-31 08:47:11 +01:00
Florian Quèze 91f7a2ef3a Bug 1331599 - script-generated patch to replace removeEventListener calls with the once option when possible, r=jaws. 2017-01-25 07:01:52 +01:00
Florian Quèze 63de711857 Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws. 2017-01-17 11:50:25 +01:00
Michael Ratcliffe 4f227d850f Bug 1302989 - Make storage inspector work with file:// when # is in the URL r=nchevobbe
Changes:
  -  Added storage-listings-with-fragment.html and browser_storage-listings-with-fragment.js. The only difference between these and storage-listings.html and browser_storage-listings.js is that they contain url fragments wherever URLs are loaded e.g. #abc, #def etc.
  - When referencing cookies in tests we used to only use the hostname but a full URL was needed for other storage types. For consistency we now use the full URL for all storage types.
  - storage.js used to contain various getHostName() methods depending on which storage type was needed. This has been changed to a single method that acts according to which protocol is in use. Cookies are the only storage type that requires just a hostname for the http and https protocols so we strip them inside the cookies actor where required. null is returned when storage types are not available for a particular protocol e.g. data:// URLs.
  - browser_storage_dynamic_windows.js and browser_storage_listings.js now detect cookies that were previously missed. This is a result of the getHostName() improvements.

MozReview-Commit-ID: 8ZzM1Xz5hwU
2017-01-06 10:14:55 +00:00
Michael Ratcliffe 2556b92d84 Bug 1320362 - Move indexedDb storage type in the storage inspector into a new column r=jdescottes
Ideally we would have used the GUID to join fields to build the compound key but because we show the uniqueId in the tree that would lead to an ugly user experience. As an
alternative we simply use e.g. db1 (default) as the uniqueId. This works as a unique key, is informative for the user and means minimal changes to tests.

MozReview-Commit-ID: I0XxTIoV33p
2016-11-29 10:57:18 +00:00
Michael Ratcliffe 807a61f5f0 Bug 1276339 - Storage inspector doesn't work on chrome:// pages and web extensions r=jdescottes
MozReview-Commit-ID: IP33bBo0yfn
2016-11-22 14:47:22 +00:00
Luca Greco b3e39fee2d Bug 1315251 - Create a DevTools Remote Debugger Actor as a backend for the WebExtension DevTools API. r=ochameau
MozReview-Commit-ID: E6eNG8BgBwF
2016-11-17 19:31:06 +01:00
Michael Ratcliffe 95697409bc Bug 1146194 - Multiple cookies with the same name not shown r=gl
Stubborn debugger statement.

MozReview-Commit-ID: F2qgWofemHG
2016-11-11 15:57:51 +00:00
amy 1cd0018563 Bug 976073 - Part 2: Modify errors from try server, r=jdm 2016-11-09 17:26:03 +08:00
Sebastian Hengst 2fecbac0d0 Bug 1310297 - Remove test annotations using b2g, mulet or gonk: devtools. r=RyanVM
MozReview-Commit-ID: DZit0XSS1yk
2016-11-05 11:29:14 +01:00
Gabor Krizsanits 1755bb8d2f Bug 1301340 - part4: Force single content process for failing tests. r=mrbkap 2016-11-03 19:28:09 +01:00
Daisuke Akatsuka ad6f248b82 Bug 1210795 - Part 1: Display animations' timing-functions in the animation-inspector. r=pbro
MozReview-Commit-ID: CO5tVZ31RrL
2016-10-25 17:35:56 +09:00
Mark Banner 233309fbe2 Bug 1251003 - Change .eslintrc files to .eslintrc.js to avoid obsolete config file format. r=mossop
MozReview-Commit-ID: JrbFxQ5rj6I
2016-10-18 08:38:10 +01:00
Alexandre Poirot c1cbbf4f49 Bug 1300822 - Fix tab load event wait in devtools test helpers. r=tromey
MozReview-Commit-ID: 8vSSaDloJND
2016-09-06 07:05:32 -07:00
Alexandre Poirot b38e2f3feb Bug 1243452 - Make DebuggerClient.close return a Promise. r=jryans
MozReview-Commit-ID: 26PNAS431Hc
2016-08-31 09:39:42 -07:00
Greg Tatum 13b3b00221 Bug 1290142 - Lint devtools/client/performance/test/; r=jsantell
MozReview-Commit-ID: FprlN3Vm9H7
2016-08-02 17:18:01 -05:00
J. Ryan Stinnett 4ee5efd099 Bug 1240907 - Log server destroy errors. r=me
MozReview-Commit-ID: 2W3yKWTerjX
2016-07-21 12:20:55 -05:00
J. Ryan Stinnett 30933227ec Bug 1240907 - Flatten RemoteBrowserTabActor into BrowserTabActor. r=ochameau
The removes the legacy path for non-e10s that avoids the messageManager.  We now
use the messageManager for all cases, both e10s off and on.

Unsurprisingly, this revealed a variety of race conditions in various tests, so
they've been cleaned up as well.

MozReview-Commit-ID: EXEWehphLIY
2016-07-21 12:20:55 -05:00
Eddy Bruel 82a70eb5f7 Bug 1265727 - Decouple PerformanceFront from PerformanceActor;r=fitzgen 2016-06-22 13:16:21 +02:00
Patrick Brosset 8aa7ed27cc Bug 1262710 - Don't use CPOW in devtools/server/test/browser tests when adding a tab; r=ochameau
MozReview-Commit-ID: DFJvufMBTjn
2016-06-08 09:47:02 +02:00
Wes Kocher 1952bcdfc1 Merge fx-team to central, a=merge 2016-06-08 17:06:18 -07:00
Andrea Marchesini 53ff1fb52e Bug 1278630 - Native Console API should work also after a refresh, r=bgrins 2016-06-08 08:01:08 -07:00
Eddy Bruel 624adbf498 Bug 1265724 - Decouple TimelineFront from TimelineActor; r=ejpbruel 2016-06-08 15:51:55 +02:00
Nick Fitzgerald d9095a3f80 Bug 1278397 - Decouple the MessagePortFront, DirectorScriptFront, and DirectorManagerFront from the MessagePortActor, DirectorScriptActor, and DirectorManagerActor respectively; r=ejpbruel 2016-06-07 07:53:22 -07:00
Nick Fitzgerald 6783a8670c Bug 1277673 - Decouple the ActorActorFront and ActorRegistryFront from the ActorActor and ActorRegistryActor respectively; r=ejpbruel 2016-06-03 10:45:10 -07:00
Eddy Bruel 47088b082e Bug 1265718 - Decouple AnimationsFront from AnimationsActor;r=jryans 2016-05-26 15:47:52 +02:00
Carsten "Tomcat" Book ce217fc28c Backed out changeset 3c599aa289d8 (bug 1265718) for timeouts in test_animation_actor-lifetime.html 2016-05-25 13:25:59 +02:00
Eddy Bruel deb0e4acfe Bug 1265718 - Decouple AnimationsFront from AnimationsActor;r=jryans 2016-05-25 10:18:27 +02:00
J. Ryan Stinnett 530b903fcf Bug 1271084 - Apply ESLint autofixes to ignored /devtools files. r=tromey
For simple rules like function spacing, we can auto-fix these across the code
base so they are followed in a consistent way.

To generate this patch, I ran:

./mach eslint devtools --no-ignore --fix

After this, I reverted any changes to third party files that we really do want
to ignore.

MozReview-Commit-ID: 6Q8BApkAW20
2016-05-18 12:49:23 -05:00
Eddy Bruel 45cf19584e Bug 1265722 - Move fronts to shared directory;r=jryans 2016-05-17 14:59:21 +02:00
Eddy Bruel 0ea1ecb6b6 Bug 1265722 - Decouple InspectorFront from InspectorActor;r=jryans 2016-05-17 14:34:40 +02:00
Sebastian Hengst 5973518cc6 Backed out changeset 92b07e6e84bf (bug 1265722) for failing test_animation_actor-lifetime.html because of undefined function InspectorFront. r=backout 2016-05-17 13:50:21 +02:00
Eddy Bruel e79d4fc43a Bug 1265722 - Decouple InspectorFront from InspectorActor;r=jryans 2016-05-17 11:14:31 +02:00
Jarda Snajdr ceb212fd44 Bug 1265729 - Decouple fronts from actors in storage inspector. r=ejpbruel 2016-04-29 04:34:00 +02:00
Chris Peterson 7309c12fd6 Bug 1160368 - Part 5: Clean up some confusing browser_storage_listings.js checks. r=jdm
Also fix a reference error about undeclared variable i.
2016-03-27 00:17:46 -07:00
Patrick Brosset 3f028a52db Bug 1206345 - Force a state update in browser_animation_reconstructState.js; r=jdescottes
This test wasn't using refreshState, instead it used getCurrentState.
What refreshState does on top of getCurrentState is it stores the new state
locally.
getCurrentState isn't meant to be called externally, it is only meant to be
an actor method interceptor that reconstructs the missing state.
So the test should have used refreshState from the start.

Turns out it worked in most cases because the animation did have a startTime
when the test retrieved it, so it had a previousStartTime.
But, if for some reason, the animation has a startTime=null when the test
starts, then the value never gets to the front, and bad things happen.

MozReview-Commit-ID: 2nEIKHMHsCS
2016-04-12 15:24:38 +02:00
Patrick Brosset 849daec464 Bug 1260680 - Filter out unwanted data in getProperties to reduce protocol traffic; r=miker
MozReview-Commit-ID: 9Gybp724gja
2016-03-30 12:12:36 +02:00
Chris Manchester a3478d13f6 Bug 1242051 - Add inter-directory test support file dependencies to ini manifests. r=gps
Previously, every test and support file would be synced to the objdir
when running any test. Now that only those support files and tests requested
are synced, we note support files required beyond those in a test's
directory in ini manifests.

MozReview-Commit-ID: EmlDz9d4lqt
2016-04-04 14:56:52 -07:00
Nicolas Chevobbe 8dedca4020 Bug 1257874 - Use getProperties instead of getFrames in animation-detail. r=pbro
Add a getProperties function to the animation actor to map KeyframeEffectReadOnly.getProperties
Call this new function in animation-detail and adapt the code as the structure
of the returned object structure is different from what getFrames returns.
Adapt a couple tests to the new object structure client-side, and a test server-side
to check getProperties returns what it should.

MozReview-Commit-ID: 2zKPEknukEK
2016-03-18 20:26:01 +01:00
Alexandre Poirot ea116bfc44 Bug 1249447 - Wait correctly for all storage creation/deletion in browser_storage_dynamic_windows.js. r=mratcliffe 2016-03-18 02:44:22 -07:00
Alexandre Poirot 33fadff349 Bug 1249447 - Prevent using CPOW and wait for indexedDB setup/clear with tasks. r=mratcliffe 2016-03-18 02:44:22 -07:00
Victor Porof 385429598e Bug 1245886 - Refactor performance tests, r=jsantell 2016-03-16 09:39:39 +01:00
Nicolas Chevobbe 6a37f750da Bug 1247243 - Animations are shown only every 2 reloads. r=pbrosset
MozReview-Commit-ID: 71XsHc9WXHw
2016-02-23 00:15:04 +01:00
Alexandre Poirot bb787b541e Bug 1245530 - Use require(Services) instead of Cu.import(Services.jsm). r=jryans 2016-02-27 04:51:10 -08:00
Hiroyuki Ikezoe 31c6f7fc9d Bug 1242872 - Part 9: Should not assume any order of animations in MurationObserver. r=pbrosset
After patch 7, the order of animations in MutationObserver has been reversed.
When we want to use the animations ordering by something, we need to sort it first.

MozReview-Commit-ID: 7xOYNsuSbvA
2016-02-19 16:43:08 +09:00
Hiroyuki Ikezoe 335902d74e Bug 1235723 - Part 2: Check that the short animation is surely finished before proceeding test. r=pbrosset
MozReview-Commit-ID: FJS8HaWPgSe
2016-02-23 10:55:25 +09:00
Hiroyuki Ikezoe 434539aa0e Bug 1235723 - Part 1: Use longer duration to avoid finishing animations at some point. r=pbrosset
MozReview-Commit-ID: 22IjzWqcgNs
2016-02-23 10:55:25 +09:00