gecko-dev/toolkit/devtools/server/tests/browser
Patrick Brosset a496f99b40 Bug 1147826 - Remove deprecated TabActor reference in runAt:server GCLI commands; r=jwalker; r=miker
We used to rely on the TabActor a lot in
/toolkit/devtools/server/actors/highlighter.
This object was being passed around to various highlighter classes, helper
classes and functions.
It was a useful way to get access to the window the highlighters are shown,
listen to DOM events in that window, and also listen to tabActor's will-navigate
events.

Using this object isn't the best idea because it assumes the debugger server is
started and attached to a tab, which makes re-using highlighters outside of this
context impossible (or harder).
Plus we wanted to get rid of the tabActor reference in gcli command contexts.

This change introduces a HighlighterEnvironment that fulfills the requirements
above without relying on a tabActor.
It needs to be initialized either with a tabActor, when we have one (when using
the highlighter from the inspector panel), or with a window (which is what gcli
commands will use).

This change also fixes the highlight command and the rulers command (which
didn't work well with e10s either).

--HG--
extra : rebase_source : 461fbb722877479cbdeb1108dc7d2ca97ca68caa
2015-06-01 14:41:12 +02:00
..
.eslintrc Bug 1166189 - ESLint configuration files for devtools; r=tromey 2015-05-28 09:30:03 +02:00
animation.html Bug 1149999 - 2 - Send animation removed events to the animation-panel for re-starting transitions; r=past 2015-04-16 10:20:21 +02:00
browser_animation_actors_01.js Bug 1129454 - 1 - Adds [play|pause]All methods to the AnimationsActor to pause/play all running animations; r=miker 2015-02-12 16:28:42 +01:00
browser_animation_actors_02.js Bug 1122466 - Retrieve correct animation index from node's computed styles; r=miker 2015-02-12 07:57:00 +01:00
browser_animation_actors_03.js Bug 1122414 part 3 - Update DevTools tests to expect a name for transitions; r=pbrosset 2015-04-14 09:15:09 +09:00
browser_animation_actors_04.js Bug 1113091 - Make the AnimationPlayerActor aware of the player ready promise; r=bgrins 2015-01-09 15:21:05 +01:00
browser_animation_actors_05.js Bug 1120833 - 1 - Remove EventEmitter usage in AnimationPlayerFront 2015-03-30 11:59:46 +02:00
browser_animation_actors_06.js Bug 1120852 - 1 - Expose the animation delay on the animationplayer actor; r=bgrins 2015-01-14 14:59:38 +01:00
browser_animation_actors_07.js Bug 1122435 - Part 1: Reduce the animation player protocol traffic by only sending values that did change. r=miker 2015-01-16 01:39:00 -05:00
browser_animation_actors_08.js Bug 1129454 - 1 - Adds [play|pause]All methods to the AnimationsActor to pause/play all running animations; r=miker 2015-02-12 16:28:42 +01:00
browser_animation_actors_09.js Bug 1129454 - 1 - Adds [play|pause]All methods to the AnimationsActor to pause/play all running animations; r=miker 2015-02-12 16:28:42 +01:00
browser_animation_actors_10.js Bug 1142170 - Intermittent browser_animation_actors_10.js 2015-03-13 16:30:00 +01:00
browser_animation_actors_11.js Bug 1150090 - Intermittent browser_animation_actors_11.js; r=bgrins 2015-04-02 10:37:53 +02:00
browser_animation_actors_12.js Bug 1120339 - Add setPlaybackRate method to AnimationPlayerActor; r=past 2015-03-25 18:56:54 +01:00
browser_animation_actors_13.js Bug 1120833 - 2 - Fire events about changed animations in the AnimationsActor; r=past 2015-04-02 12:47:34 +02:00
browser_animation_actors_14.js Bug 1120833 - 2 - Fire events about changed animations in the AnimationsActor; r=past 2015-04-02 12:47:34 +02:00
browser_animation_actors_15.js Bug 1149999 - 2 - Send animation removed events to the animation-panel for re-starting transitions; r=past 2015-04-16 10:20:21 +02:00
browser_animation_actors_16.js Bug 1155651 - Return all players below a node in getAnimationPlayersForNode; r=miker 2015-04-21 09:22:30 +02:00
browser_canvasframe_helper_01.js Bug 1147826 - Remove deprecated TabActor reference in runAt:server GCLI commands; r=jwalker; r=miker 2015-06-01 14:41:12 +02:00
browser_canvasframe_helper_02.js Bug 1147826 - Remove deprecated TabActor reference in runAt:server GCLI commands; r=jwalker; r=miker 2015-06-01 14:41:12 +02:00
browser_canvasframe_helper_03.js Bug 1147826 - Remove deprecated TabActor reference in runAt:server GCLI commands; r=jwalker; r=miker 2015-06-01 14:41:12 +02:00
browser_canvasframe_helper_04.js Bug 1147826 - Remove deprecated TabActor reference in runAt:server GCLI commands; r=jwalker; r=miker 2015-06-01 14:41:12 +02:00
browser_canvasframe_helper_05.js Bug 1147826 - Remove deprecated TabActor reference in runAt:server GCLI commands; r=jwalker; r=miker 2015-06-01 14:41:12 +02:00
browser_canvasframe_helper_06.js Bug 1147826 - Remove deprecated TabActor reference in runAt:server GCLI commands; r=jwalker; r=miker 2015-06-01 14:41:12 +02:00
browser_directorscript_actors_error_events.js Bug 980481 - DirectorRegistry, DirectorManager, DirectorScript and MessagePort RemoteDebuggerServer actors. r=ochameau 2015-01-31 10:36:00 -05:00
browser_directorscript_actors_exports.js Bug 980481 - DirectorRegistry, DirectorManager, DirectorScript and MessagePort RemoteDebuggerServer actors. r=ochameau 2015-01-31 10:36:00 -05:00
browser_directorscript_actors.js Bug 980481 - DirectorRegistry, DirectorManager, DirectorScript and MessagePort RemoteDebuggerServer actors. r=ochameau 2015-01-31 10:36:00 -05:00
browser_navigateEvents.js Bug 1111276 - Replace gBrowser.selectedTab.linkedBrowser with gBrowser.selectedBrowser. r=dao 2014-12-15 22:05:46 +01:00
browser_storage_dynamic_windows.js Bug 1083989 - Adapting Devtools tests that expect Promise.jsm in the scope. r=paul 2014-10-27 22:45:03 +01:00
browser_storage_listings.js Bug 1050773 - Timeline actor pulls profiletimeline markers from all docShells; r=paul 2014-09-18 11:12:33 +02:00
browser_storage_updates.js Bug 1050773 - Timeline actor pulls profiletimeline markers from all docShells; r=paul 2014-09-18 11:12:33 +02:00
browser_timeline_actors.js Bug 1096044 - Add new actors to surface Web Animations API objects and methods to the devtools; r=harth 2014-12-11 20:08:49 +01:00
browser_timeline_iframes.js Bug 1096044 - Add new actors to surface Web Animations API objects and methods to the devtools; r=harth 2014-12-11 20:08:49 +01:00
browser_timeline.js Bug 1066474 - Make browser_timeline.js not fail intermittently. r=paul 2014-12-16 12:37:00 -05:00
browser.ini Bug 1155651 - Return all players below a node in getAnimationPlayersForNode; r=miker 2015-04-21 09:22:30 +02:00
director-script-target.html Bug 980481 - DirectorRegistry, DirectorManager, DirectorScript and MessagePort RemoteDebuggerServer actors. r=ochameau 2015-01-31 10:36:00 -05:00
head.js Bug 1139186 - 2 - Add event handling support to CanvasFrameAnonymousContentHelper; r=bgrins 2015-03-20 16:58:50 +01:00
navigate-first.html Bug 977043 - Use same ProgressListener event across actors. r=bgrins,past 2014-04-22 20:17:30 +02:00
navigate-second.html Bug 977043 - Use same ProgressListener event across actors. r=bgrins,past 2014-04-22 20:17:30 +02:00
storage-dynamic-windows.html Bug 970517 - Storage Inspector front end, r=jwalker, mratcliffe 2014-08-29 22:02:49 +05:30
storage-listings.html Bug 970517 - Storage Inspector front end, r=jwalker, mratcliffe 2014-08-29 22:02:49 +05:30
storage-secured-iframe.html Bug 970517 - Storage Inspector front end, r=jwalker, mratcliffe 2014-08-29 22:02:49 +05:30
storage-unsecured-iframe.html Bug 970517 - Storage Inspector front end, r=jwalker, mratcliffe 2014-08-29 22:02:49 +05:30
storage-updates.html
timeline-iframe-child.html Bug 1050773 - Timeline actor pulls profiletimeline markers from all docShells; r=paul 2014-09-18 11:12:33 +02:00
timeline-iframe-parent.html Bug 1050773 - Timeline actor pulls profiletimeline markers from all docShells; r=paul 2014-09-18 11:12:33 +02:00