Commit Graph

230 Commits

Author SHA1 Message Date
Jonathan Watt
2fe1c457d6 Bug 1359273 - Convert DevTools' select-arrow.svg to use context paint to improve performance. r=jryans
MozReview-Commit-ID: HYQia2EKHFS
2017-04-05 14:45:17 +01:00
Gabor Krizsanits
57873c6622 Bug 1352961 - P2: Measure for the delay before a new tab starts processing the first URL. r=mconley, data-r=bsmedberg
Opening pages in a new tab might suffer an extra delay from e10s-multi because
the new process has to start up and then run all the process / frame scripts
before it can react on the request from the parent to load the first page.

There are two code paths. Either we start the tab with a remote browser and
then the RemoteWebNavigation will send the request. Or we start with a non-remote
browser and have to change the remoteness flag on it, and then the SessionStore
will send the request.

In each cases we start the timer on the parent side, send it with the message,
and when the child receives it it stops the timer and reports the measured delay.
2017-04-25 17:11:12 +02:00
J. Ryan Stinnett
d1e2853625 Bug 1352814 - Force session history off for RDM container. r=ochameau
In bug 1313933, we removed the session store black magic that RDM used to do in
order to hide the container tab.

Unfortunately, that fix appears to have been imperfect.  Session store has a
fallback path that can still record the current URL, causing the container URL
to be recorded anyway, even though we asked nicely to please not do that.

In this change, we try a fresh approach of wedging the session history listener
for the container tab so it can't record anything.  This avoids the racy
approach that was used before bug 1313933 while still appearing to block the
container URL from being recorded.

MozReview-Commit-ID: JZTYzMAvaEM
2017-04-18 14:07:14 -05:00
Florian Queze
d3c36892fa Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Sebastian Hengst
42670ceca0 Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout 2017-04-14 23:39:22 +02:00
Florian Queze
9b4f73599f Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
J. Ryan Stinnett
1604814567 Bug 1353045 - Remove SDK usage from RDM. r=pbro
MozReview-Commit-ID: I2dodBb9NHh
2017-04-06 21:42:21 -05:00
Bill McCloskey
c0de0c00f0 Bug 1350724 - Remove telemetry for tab cache position (r=mconley)
MozReview-Commit-ID: 5yJUeC2HxPs
2017-04-03 19:41:13 -07:00
Mats Palmgren
a064938f08 Bug 1333482 part 7 - [css-ui] Amend DevTools themes with 'appearance:none' where needed so that they'll work with the pref on/off. r=dholbert
MozReview-Commit-ID: DCSg7qlyyJa
2017-03-23 22:11:26 -07:00
Patrick Brosset
3118619a9a Bug 1301015 - Re-enable some devtools tests on e10s-multi; r=krizsa
Some devtools tests had been forced to run in e10s with just 1
content process in bug 1301340 and bug 1303113 because they were
failing.
Now there seems to have been enough e10s messaging fixes that these
tests work again. It seems safe to re-enable multi-content-processes
for them now.

MozReview-Commit-ID: ENfDdIXvIAI
2017-03-20 14:05:21 +01:00
Michelangelo De Simone
1d0cfa59bf Bug 1341928 - Tag the Geolocation test suite. r=jdm
MozReview-Commit-ID: 9bNXMQNsL1a
2017-02-22 15:49:59 -08:00
Wes Kocher
6688da2973 Bug 1072859 - ESLint followup a=bustage
MozReview-Commit-ID: Kpz7RiG1Wb9
2017-03-08 16:45:44 -08:00
Michelangelo De Simone
d6becc214e Bug 1072859 - Disable Geolocation on non-secure origins. r=jdm
MozReview-Commit-ID: KnHOb0aN4nE
2017-03-06 14:10:13 -08:00
Tim Nguyen
45d7843a53 Bug 1341045 - Make sure RDM close icon is centered within button. r=jryans
MozReview-Commit-ID: 5nlucwAe51L
2017-02-25 15:42:31 +00:00
Tim Nguyen
88f4f845d8 Bug 1341045 - Use checked class instead of introducing active class. r=jryans
MozReview-Commit-ID: 6fC7hVRSvjh
2017-02-25 15:42:26 +00:00
Tim Nguyen
545e82dfd3 Bug 1341045 - Remove broken CSS overrides from responsive.html. r=jryans
MozReview-Commit-ID: KCb8G3agjE4
2017-02-25 15:42:20 +00:00
J. Ryan Stinnett
09b0b09808 Bug 1342962 - Hide intermediate states when toggling RDM. r=ochameau
MozReview-Commit-ID: AZ9bVv15YxJ
2017-03-01 17:20:34 -06:00
J. Ryan Stinnett
072a538af1 Bug 1338599 - Default custom devices to enabled in RDM. r=gl
MozReview-Commit-ID: HAkhcKZhLVt
2017-03-01 17:57:24 -06:00
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
Julian Descottes
e893a48d9d Bug 1339783 - use theme-toolbar-hover for accordion header background on hover;r=gl
Move toolbar only variable toolbar-tab-hover to variables.css and reuse it in
accordion.

MozReview-Commit-ID: KgBLlYIYlrr
2017-02-22 16:55:05 +01:00
J. Ryan Stinnett
da3326855b Bug 1339155 - Tweak RDM font size to fit add device UI. r=gl
MozReview-Commit-ID: FwGrcV17rXM
2017-02-13 14:13:19 -06:00
J. Ryan Stinnett
1f81faff72 Bug 1338604 - Tell manager when custom devices are removed. r=gl
The action creator for removing custom devices calls the one for remove device
association directly, which skips the step of also messaging the manager.

I've made the simplest change to fix just this issue, which moves the message
sending into the action creator for this one case.  Bug 1332754 will apply the
same approach to other messages (they aren't causing issues yet since they are
not called from other action creators in the same way).

MozReview-Commit-ID: AICcT2vG1wl
2017-02-10 14:51:26 -06:00
J. Ryan Stinnett
e450b03956 Bug 1321675 - Move device adder below devices. r=gl
This gets closer to Helen's mockup.  The spacing is a bit tight.  When adjusting
the modal size, I used the most popular DevTools screen resolution (1366 x 768)
as a reference.

MozReview-Commit-ID: 4EjJKKhuxpA
2017-02-07 16:57:03 -06:00
J. Ryan Stinnett
9feb55bdf0 Bug 1321675 - Add / remove custom devices in RDM. r=gl
MozReview-Commit-ID: E84zxk9n1AL
2017-02-03 17:09:01 -06:00
J. Ryan Stinnett
7bc8eb23cb Bug 1321675 - Rename removeDevice to removeDeviceAssoc. r=gl
MozReview-Commit-ID: 1UMUfX23zUb
2017-02-03 17:23:49 -06:00
J. Ryan Stinnett
9cd7e01f8f Bug 1321675 - Show device details in tooltip. r=gl
MozReview-Commit-ID: LxxaoBBQCUU
2017-02-02 17:38:57 -06:00
J. Ryan Stinnett
414a61e09e Bug 1321675 - Add form to device modal for adding devices. r=gl
MozReview-Commit-ID: 2CejxW5VuqK
2017-01-30 18:26:12 -06:00
J. Ryan Stinnett
00d77953b9 Bug 1313933 - Explicitly bypass history when loading RDM UI. r=ochameau
By using `LOAD_FLAGS_BYPASS_HISTORY`, we can tell session history explicitly to
ignore the entry for the container UI (which is meant to remain hidden from the
user).

This allows us to remove the horrible racy hack that attempted to have the same
effect.

MozReview-Commit-ID: LnhJpO9UbNI
2017-01-27 16:03:04 -06:00
J. Ryan Stinnett
9ae1a8519a Bug 1313933 - Cleanup logging in RDM tab remoteness test. r=ochameau
MozReview-Commit-ID: LSZGbhd6wg7
2017-01-26 16:27:07 -06: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
J. Ryan Stinnett
6fd0214526 Bug 1319950 - Only clear properties on resize if device is active. r=gl
If a device is active, remove it on resize.  If not, leave device properties
alone, so that things like touch simulation stay enabled when resizing without
a device.

MozReview-Commit-ID: Hvo6AdTJRBJ
2017-01-20 17:08:48 -06:00
J. Ryan Stinnett
3854af5904 Bug 1319950 - Use consistent naming with viewport properties. r=gl
Use "change" instead of "update" terminology with viewport properties.
Remove redundant "viewport" word from viewport changes.

MozReview-Commit-ID: HSFLiZyTVYy
2017-01-19 16:56:39 -06:00
J. Ryan Stinnett
86e623c22e Bug 1319950 - Wrap dPR state in object for consistency. r=gl
MozReview-Commit-ID: ERiDO14wGUz
2017-01-09 19:29:53 -06:00
J. Ryan Stinnett
05973e89d8 Bug 1319950 - DPR watching should move to actor. r=jryans
MozReview-Commit-ID: KcPhlh5uYJO
2017-01-09 18:47:38 -06:00
J. Ryan Stinnett
2a0afbb653 Bug 1331601 - RDM browser_device_change.js fix for subpixel size. r=jryans
MozReview-Commit-ID: 4fzMjF2O338
2017-01-19 16:28:50 -06:00
J. Ryan Stinnett
c1fa5f4a29 Bug 1331601 - Copy tab listener state flags in RDM. r=ochameau
When starting and stopping RDM, we need want to ensure tab listener state flags
are preserved for the tab involved, which is a bit tricky with the tab dance
RDM is doing.

The state flags ensure the browser will call the correct handlers when switching
tabs to update the primary browser UI.  For example, this is needed to correctly
update the enabled state of the view source command for the current tab.

MozReview-Commit-ID: 7lKY0DKxgJH
2017-01-19 13:25:14 -06:00
J. Ryan Stinnett
1cc668c246 Bug 1331601 - Restore remoteType on RDM close. r=ochameau
In bug 1318767, `updateBrowserRemoteness` was changed to take the `remoteType`
as part of an options argument, but the RDM call site wasn't updated.

MozReview-Commit-ID: 8GSSwicaHvz
2017-01-18 17:06:55 -06:00
Mark Banner
55868dde7c Bug 503613 - Remove old 'tail =' lines from xpcshell.ini files; r=gps
MozReview-Commit-ID: 62Hp5ISxowJ
2017-01-18 10:30:39 +00:00
Julian Descottes
6bc1ac086a Bug 1315922 - fix react/prop-types issues in client/responsive.html;r=jryans
MozReview-Commit-ID: LYLdsqLyU1K
2016-11-08 11:34:35 +01:00
Christoph Kerschbaumer
81c125990e Bug 1329032 - Extend loadURIWithOptions by a triggeringPrincipal. r=bz,gijs 2017-01-18 08:24:55 +01:00
Wes Kocher
aa51fd7f3a Backed out 2 changesets (bug 1329032) for failures a=backout
Backed out changeset 16c4f0df527d (bug 1329032)
Backed out changeset 54f7bfe3ca11 (bug 1329032)

MozReview-Commit-ID: ChGyTdJvT8N
2017-01-17 14:08:10 -08:00
Christoph Kerschbaumer
1e6a940fa1 Bug 1329032 - Extend loadURIWithOptions by a triggeringPrincipal. r=bz,gijs 2017-01-17 21:52:01 +01:00
Joel Maher
0f0373cde1 Bug 1330325 - add BUG_COMPONENT to devtools/* files. r=jryans
MozReview-Commit-ID: Bd0ca7f6QE6
2017-01-13 08:40:35 -05:00
Sebastian Hengst
c6d9ef3e98 Backed out changeset 6bc38f188ef2 (bug 1330099) for devtools failures. r=backout 2017-01-11 23:21:56 +01:00
Tim Nguyen
548b6bdbef Bug 1330099 - Enable object-shorthand eslint rule. r=jryans
MozReview-Commit-ID: 3wA25rfznBv
2017-01-11 21:22:15 +00:00
J. Ryan Stinnett
f3a6ce50ca Bug 1274855 - Fix mouse event races in RDM mouse resize test. r=ochameau
MozReview-Commit-ID: G0S7e8sPbHX
2017-01-09 20:09:47 -06:00
Gabriel Luong
230810ace9 Bug 1319619 - Move RDM dimension controls above the viewport. r=jryans 2017-01-09 16:39:27 -05:00
Florian Quèze
361ec85a2e Bug 1329182 - remove trailing newURI null parameters in devtools/, r=jaws. 2017-01-09 20:27:26 +01:00
djmdev
c4a90bde66 Bug 1325567 - Added tooltip to rotate viewport button. r=jryans 2017-01-05 01:59:08 +05:30
Thomas Nguyen
82e1caab63 Bug 1304623 - Create a pref to control the default referrer policy - part 3. r=bkelly
MozReview-Commit-ID: 1A6IHPeNYBQ
2017-01-05 11:29:56 +08:00