Commit Graph
662 Commits
Author SHA1 Message Date
Daisuke Akatsuka 5aebd04bc4 Bug 1407945: Add a test for the tooltip in RDM. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D38827
2019-07-29 08:32:46 +00:00
Bogdan Tara 7c2c63917b Backed out 2 changesets (bug 1407945) for failures on browser_tooltip.js CLOSED TREE
Backed out changeset 2ea007508cd3 (bug 1407945)
Backed out changeset 43553c5c7033 (bug 1407945)
2019-07-29 09:16:30 +03:00
Daisuke Akatsuka e883120f6f Bug 1407945: Add a test for the tooltip in RDM. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D38827
2019-07-29 02:29:44 +00:00
Barret Rennie d7117f2c60 Bug 1562821 - Mirror RemoteWebNavigation state from the <xul:browser> to the <iframe mozbrowser> when in RDM r=ochameau
In the last patch of this series, I forgot to sync `remoteWebNavigationImpl`
state in the progress listener. This patch corrects that.

Differential Revision: https://phabricator.services.mozilla.com/D39395
2019-07-25 20:14:56 +00:00
Hiroyuki Ikezoe a9149d2db0 Bug 1498729 - Fix meta viewport content to not scale the document in browser_touch_simulation.js. r=mtigley
The test is supposed that the document is not scalable at all when
"minimum-scale=maximum-scale" is set in the viewport meta content, but it's
actually invalid.  A correct content is assumed "minimum-scale=1,maximum-scale=1"
so that the document is not scaled at all.

The reason why this check has passed is that "user-scalable=no" which is set
right before this check remains in cache so that the content of the meta
viewport becomes "user-scalable=no,minimum-scale=maximum-scale" which means the
document is not scalable.  But we are going to fix this weird behavior in this
commit series so that we are no longer able to rely on the cached
"user-scalable=no" value.

Differential Revision: https://phabricator.services.mozilla.com/D38919
2019-07-25 14:22:57 +00:00
Andreea Pavel 8e0ddb50ed Merge mozilla-inbound to mozilla-central. a=merge 2019-07-25 08:59:39 +03:00
Barret Rennie 3d99704f60 Bug 1562821 - Mirror state from the <xul:browser> to the <iframe mozbrowser> when in RDM r=ochameau
As part of bug 1510569, the majority of the `nsIWebProgress` event listeners
have moved from the `WebProgressChild`/`RemoteWebProgress` to the
`BrowserChild`/`BrowserParent`. In responsive design mode, the
`RemoteWebProgress` previously would update the state of the `<iframe
mozbrowser>` with document URI and title which would be mirrored back to the
`<xul:browser>` when leaving RDM. However, the event handlers in the
`BrowserParent` call directly into the `<xul:browser>`, skipping the `<iframe
mozbrowser>` entirely. Therefore, when RDM is shut down, old state will be
mirroed to the `<xul:browser>`, leaving it in an inconsistent state. We now
mirror the state from the `<xul:browser>` to the `<iframe mozbrowser>` with an
`nsIWebProgressListener` so that the `<iframe mozbrowser>` will not clobber the
`<xul:browser>`'s state when leaving RDM.

Differential Revision: https://phabricator.services.mozilla.com/D38918
2019-07-24 17:00:16 +00:00
Cosmin Sabou 14f55a2259 Backed out 2 changesets (bug 1407945) for devtools failures on browser_tooltip.js.
Backed out changeset 1160c6868061 (bug 1407945)
Backed out changeset 359eec53f12e (bug 1407945)
2019-07-23 19:39:41 +03:00
Daisuke Akatsuka 84487a42c7 Bug 1407945: Add a test for the tooltip in RDM. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D38827
2019-07-23 13:54:32 +00:00
Kris Maglione 0f4a61c1c2 Bug 1566952: Part 1 - Annotate mochitests that crash with Fission enabled. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D38725
2019-07-17 13:37:48 -07:00
Julian Descottes a333666ab9 Bug 1486717 - Do not emit contextmenu from parentprocess if target is the RDM iframe r=mconley,mtigley
Differential Revision: https://phabricator.services.mozilla.com/D37691
2019-07-18 16:46:59 +00:00
Kris Maglione 9f00b7395d Bug 1566182: Annotate mochitests that fail with Fission enabled. r=mccr8
My preference was to annotate most of the failing tests with `fail-if` so that
if they start passing, the `fail-if` needs to be removed and they need to keep
passing. That doesn't work for tests that timeout, or which trigger failures
from their cleanup functions, however, so those tests need skip-if. And tests
with fail in their cleanup functions likely leave the browser in an
inconsistent state for subsequent tests, anyway, so really should be skipped
regardless.

There are some remaining tests which still fail because of crashes. I chose
not to skip them here, but to fix the crashes in separate bugs instead.

Differential Revision: https://phabricator.services.mozilla.com/D38247
2019-07-15 16:19:32 -07:00
Thomas Nguyen ee02fbe71a Bug 1554947 - Update saveURL to use referrerInfo class instead of referrer and referrerr policy r=Gijs,snorp
Differential Revision: https://phabricator.services.mozilla.com/D33939
2019-07-16 17:59:28 +00:00
Florens Verschelde 6846eb59f2 Bug 1566135 - Remove devtools-separator margin variables; r=ntim
Differential Revision: https://phabricator.services.mozilla.com/D38105
2019-07-16 06:22:12 +00:00
Yash Johar 6e0dbe763b Bug 1535254 - Update RDM rotate and touch icons to a Photon style. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D32790
2019-07-06 14:37:17 +00:00
arthur.iakab 21f8d052a5 Backed out 2 changesets (bug 1552168) for causing mochitest crashes on test_menubar.xul CLOSED TREE
Backed out changeset 83590619ce06 (bug 1552168)
Backed out changeset 7ff83cc5d33a (bug 1552168)
2019-07-03 16:08:23 +03:00
Sebastian Streich 6348409050 Bug 1552168 - Fix Tests that rely on data_uri.unique_opaque_origin r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D35006
2019-07-03 10:23:46 +00:00
Florens Verschelde c0138e66da Bug 1559081 - Fix RDM toolbar height to match the toolbox; r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D35088
2019-06-19 17:18:20 +00:00
Jean-Yves Avenard b5a253c7fa Bug 1556131 - P2. Don't attempt to needlessly change preference during test. r=bradwerth
In an attempt to reduce intermittent failures, the pref apz.keyboard.enabled is set to false. However, this preference is only ever read once, on startup before any JS test has a chance to run and modify the pref..

It doesn't do what it was thought to do.

Differential Revision: https://phabricator.services.mozilla.com/D34860
2019-06-13 15:55:48 +00:00
Barret Rennie adf0740fc0 Bug 1510569 - Port Content:LoadURIResult message to IPDL r=mconley
The `WebProgress#sendLoadCallResult` method only existed to send a empty async
message and was only called from the `WebNavigationChild`. Since
`WebNavigationChild` is in the process of being removed, it makes sense to
inline the replaced method into its call site.

Differential Revision: https://phabricator.services.mozilla.com/D34566
2019-06-13 21:00:34 +00:00
Barret Rennie 116492e86b Bug 1510569 - Port onLocationChange notifications inside WebProgressChild.jsm to C++ r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D34563
2019-06-13 21:08:40 +00:00
Narcis Beleuzu e491374825 Backed out 5 changesets (bug 1510569) for bustages on BrowserChild.cpp . CLOSED TREE
Backed out changeset 4f0f5351be8b (bug 1510569)
Backed out changeset 14bbe0916bdd (bug 1510569)
Backed out changeset 19e734aeffa9 (bug 1510569)
Backed out changeset abb51690fd32 (bug 1510569)
Backed out changeset 1bf1907ee0c9 (bug 1510569)
2019-06-13 22:08:23 +03:00
Barret Rennie b80a8add2f Bug 1510569 - Port Content:LoadURIResult message to IPDL r=mconley
The `WebProgress#sendLoadCallResult` method only existed to send a empty async
message and was only called from the `WebNavigationChild`. Since
`WebNavigationChild` is in the process of being removed, it makes sense to
inline the replaced method into its call site.

Differential Revision: https://phabricator.services.mozilla.com/D34566
2019-06-13 17:55:04 +00:00
Barret Rennie e63f01338e Bug 1510569 - Port onLocationChange notifications inside WebProgressChild.jsm to C++ r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D34563
2019-06-13 17:54:23 +00:00
Edwin Gao a48c9ad3a9 Bug 1555454 - migrate mochitest-devtools-chrome to macosx1014 r=gbrown
Changes:
- migrate `mochitest-devtools-chrome` to macosx1014

Differential Revision: https://phabricator.services.mozilla.com/D34753
2019-06-12 21:21:32 +00:00
Micah Tigley 650c084d72 Bug 1556533 - Fix RDM simulating orientationchange event when the page is refreshed. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D33734
2019-06-08 21:35:42 +00:00
Bogdan Tara cae644d5ae Backed out changeset f4ea30c29aa7 (bug 1556533) for browser_orientationchange_event.js failures CLOSED TREE 2019-06-07 04:54:14 +03:00
Micah Tigley fe18dc1d5c Bug 1556533 - Fix RDM simulating orientationchange event when the page is refreshed. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D33734
2019-06-07 00:00:55 +00:00
Bogdan Tara bf5e2495a2 Backed out changeset 91643c6f9a42 (bug 1556533) for es lint failure CLOSED TREE 2019-06-07 00:22:18 +03:00
Micah Tigley e4d1e3eb06 Bug 1556533 - Fix RDM simulating orientationchange event when the page is refreshed. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D33734
2019-06-06 19:18:16 +00:00
Micah Tigley 420b30e8cf Bug 1351487 - Part 2: Add tests for ensuring that window screen sizing values reported in RDM are correct. r=bradwerth
Depends on D32410

Differential Revision: https://phabricator.services.mozilla.com/D33678
2019-06-05 00:29:36 +00:00
Brad Werth 6889d845d4 Bug 1555511 Part 4: Add a test of resizing a document with meta viewport minimum-scale. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D33100
2019-06-04 22:25:12 +00:00
Brad Werth d9edbde0c9 Bug 1555511 Part 3: Refactor viewport resize test helper functions. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D33362
2019-06-04 22:25:08 +00:00
Andreea Pavel 78a7cf71f7 Backed out 4 changesets (bug 1555511) for failing dt at browser_boxmodel_pseudo-element.js on a CLOSED TREE
Backed out changeset e0cd61fa79ed (bug 1555511)
Backed out changeset 8c6e5561abed (bug 1555511)
Backed out changeset 2a85e3af81bb (bug 1555511)
Backed out changeset 262d2cad6407 (bug 1555511)
2019-06-05 11:53:38 +03:00
Brad Werth 306e87a197 Bug 1555511 Part 4: Add a test of resizing a document with meta viewport minimum-scale. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D33100
2019-06-04 22:25:12 +00:00
Brad Werth 6805fa9827 Bug 1555511 Part 3: Refactor viewport resize test helper functions. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D33362
2019-06-04 22:25:08 +00:00
Mihai Alexandru Michis 90f30a2289 Backed out 4 changesets (bug 1555511) for devtools failures at browser_viewport_resizing_minimum_scale.js CLOSED TREE
Backed out changeset 80b9b4eb8305 (bug 1555511)
Backed out changeset d9ce18a4d7cd (bug 1555511)
Backed out changeset 5e9e587d0622 (bug 1555511)
Backed out changeset 24e136f27469 (bug 1555511)
2019-06-04 12:43:01 +03:00
Brad Werth fba44063de Bug 1555511 Part 4: Add a test of resizing a document with meta viewport minimum-scale. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D33100
2019-06-03 18:28:54 +00:00
Brad Werth 0167855712 Bug 1555511 Part 3: Refactor viewport resize test helper functions. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D33362
2019-06-03 18:28:42 +00:00
Micah Tigley 5caa6d2cdb Bug 1554695 - RDM reports incorrect angle when rotated. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D33546
2019-06-03 20:24:02 +00:00
Gurzau Raul 096ce3ed07 Backed out 4 changesets (bug 1555511) for failing at browser_viewport_resizing_minimum_scale.js
Backed out changeset 6988b151bbe7 (bug 1555511)
Backed out changeset aa1c32a38785 (bug 1555511)
Backed out changeset 999f3af17edf (bug 1555511)
Backed out changeset 1069871269f7 (bug 1555511)
2019-06-03 03:25:58 +03:00
Brad Werth 8b7eae76ae Bug 1555511 Part 4: Add a test of resizing a document with meta viewport minimum-scale. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D33100
2019-05-31 22:11:46 +00:00
Brad Werth 1aeb9da7c4 Bug 1555511 Part 3: Refactor viewport resize test helper functions. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D33362
2019-05-31 22:11:24 +00:00
Micah Tigley be45184a02 Bug 1107456 - Part 2: Test that RDM's viewport's outer size values remain unaffected at different zoom levels. r=bradwerth
Depends on D32778

Differential Revision: https://phabricator.services.mozilla.com/D33239
2019-05-31 17:45:21 +00:00
yulia d6c65c3294 Bug 1042642 - use EventEmitter instead of eventSource on the DebuggerClient; r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D29371
2019-05-29 15:51:28 +00:00
Tom Ritter 8ceb7d4934 Bug 1539595 - Rename Priveleged Content Process to PrivlegedAbout Content Process r=mconley,flod
We do this because we will be introducing more privileged content processes
and we want to be able to distinguish them.

Differential Revision: https://phabricator.services.mozilla.com/D30274
2019-05-29 11:31:31 +00:00
Sebastian Hengst 3a5c93d421 Backed out 4 changesets (bug 1539595) for build bustage in nsAboutRedirector.cpp. CLOSED TREE
Backed out changeset 2b0bb889b087 (bug 1539595)
Backed out changeset 95f0b82ec253 (bug 1539595)
Backed out changeset 6310e6dabceb (bug 1539595)
Backed out changeset ba3e353c6957 (bug 1539595)
2019-05-28 19:49:17 +02:00
Tom Ritter 62be8b57fc Bug 1539595 - Rename Priveleged Content Process to PrivlegedAbout Content Process r=mconley,flod
We do this because we will be introducing more privileged content processes
and we want to be able to distinguish them.

Differential Revision: https://phabricator.services.mozilla.com/D30274
2019-05-28 14:19:11 +00:00
Micah Tigley 88420b1463 Bug 1352070 - Part 2: RDM tests for ensuring that the values for the selected device's outerHeight/outerWidth properties are correct. r=bradwerth
Depends on D32253

Differential Revision: https://phabricator.services.mozilla.com/D32352
2019-05-24 16:58:53 +00:00
Barret Rennie 422b75a792 Bug 1510569 - Port onStateChange notifications inside WebProgressChild.jsm to C++ r=baku,kmag
We now also only access the document when the state is
nsIWebProgress::STATE_STOP. The comments in the previous code indicated that
touching the document inside the event handler when the state is not STATE_STOP
would result in the content creating a new about:blank document to retrieve the
values from. However, it then went on to do this in another location, causing a
document to be created whenever we received an onStateChange event. This should
no longer occur.

Differential Revision: https://phabricator.services.mozilla.com/D28125
2019-05-23 18:49:08 +00:00