Commit Graph

842 Commits

Author SHA1 Message Date
Christoph Kerschbaumer
78d8448ba5 Bug 1352778 - Do not reset triggeringPrincipal but only principalToInherit within loadInfo when forced to. r=gijs 2017-04-03 20:06:53 +02:00
Maxim Breev
f982515e79 Add a new flag to nsIWebProgressListener for redirects (bug 1342989). r=smaug
MozReview-Commit-ID: 5q29n6d3Iz8
2017-04-01 20:07:47 +03:00
Valentin Gosu
e0f474ede9 Bug 1326175 - Stop preserving empty passwords in URLs r=mcmanus
MozReview-Commit-ID: 7wdZSJmpErF

--HG--
extra : rebase_source : 100061a5c1921f1a10cf339207548aceb3afbe49
2017-03-27 23:56:28 +02:00
Carsten "Tomcat" Book
3e0a5441c6 Merge mozilla-central to mozilla-inbound 2017-03-17 14:55:15 +01:00
Kris Maglione
9e1cbea297 Bug 1333990: Part 2b - Don't enable editor until layout has started. r=ehsan
In order to support asynchronous loading of extension content scripts, we need
to be able to exit the HTML parser flush loop immediately after inserting the
document element. Normally this doesn't cause problems, but when we enter edit
mode with an empty element selected, the editor inserts a <br> node, and a
<br> node at the start of the <html> element causes issues.

These changes solve that issue by putting off entering editor mode until we
begin laying out the document.

MozReview-Commit-ID: H2ksNz0jRxs

--HG--
extra : rebase_source : 26e0d254744363f5bd60f3b4f4df7b51c3dc446f
2017-03-14 21:22:06 -07:00
Blake Kaplan
3a0ce09963 Bug 1346286 - Remove CPOWs from browser_bug554155.js. r=Gijs
MozReview-Commit-ID: IrvBw8LNt3B

--HG--
extra : rebase_source : ad7d508c1bbb071a6a937fbe633ce71b22cdd7c9
2017-03-09 15:52:25 -08:00
Brad Werth
983df24b1c Bug 1151421 Part 3: Update tests of pageYOffset/scrollY to round off when checking expected results. r=smaug
MozReview-Commit-ID: JDS5l06FAaf

--HG--
extra : rebase_source : c7fa999490b04e591f12b3fe123d6409811f9bfe
2017-03-16 12:05:56 -07:00
Brad Werth
b1269f11fa Bug 1151421 Part 2: Add test of fractional scroll position properties. r=smaug
MozReview-Commit-ID: 4a8eQeJz7fV

--HG--
extra : rebase_source : 8074ec268965b6ccd53140e581d07b10233c13f1
2017-03-14 17:31:22 -07:00
Sebastian Hengst
327f200d1e Backed out changeset a84ec98ccaab (bug 1151421) 2017-03-14 18:45:06 +01:00
Brad Werth
8a94c7de5f Bug 1151421 Part 2: Add test of fractional scroll position properties. r=smaug
MozReview-Commit-ID: 4a8eQeJz7fV

--HG--
extra : rebase_source : 8d39a1dd41164610bb86c3340dd7fbe1a9a54857
2017-03-13 19:12:09 -07:00
Valentin Gosu
5847af980b Bug 1324243 - Normalize IPv6 r=manishearth
MozReview-Commit-ID: 1UFIdeWrz1E

--HG--
extra : rebase_source : cb7e44b0afe06426e3268e80d94a2f59af633b9b
2017-03-09 00:55:05 +01:00
Florian Quèze
9d62681259 Bug 1345253 - Use element.firstChild.remove() instead of element.removeChild(element.firstChild), r=jaws. 2017-03-08 10:17:52 +01:00
Christoph Kerschbaumer
c1f499b304 Bug 1341754: Test SetURI in Location passes triggeringPrincipal. r=smaug 2017-03-07 12:50:47 +01:00
Christoph Kerschbaumer
ba60c4b63d Bug 1341589 - Test TriggeringPrincipal on history entry for view-source loads. r=gijs 2017-03-02 17:45:24 +01:00
Masatoshi Kimura
7be7b11a1c 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

--HG--
extra : rebase_source : e8f90249454c0779d926f87777f457352961748d
2017-02-23 06:10:07 +09:00
Frederik Braun
1f33988252 Bug 1337186 - rm trailing whitespaces from navigation/test_bug386782 r=smaug
MozReview-Commit-ID: 3MLyDfWrE6X

--HG--
extra : rebase_source : fe574541057275706eb4c52e2e6522342e8ec4d4
2017-02-15 11:39:01 +01:00
Frederik Braun
f3063f9162 Bug 1337186 - rm data: from navigation/test_bug386782 r=smaug
MozReview-Commit-ID: GSBZaRvuVNg

--HG--
extra : rebase_source : f739a99b7e12d09e5ef7b27d6b26edea43ae8eeb
2017-02-15 11:38:32 +01:00
Tooru Fujisawa
ac2db69fbf Bug 1338250 - Remove remaining legacy generator from docshell/test/. r=smaug 2017-02-11 01:53:23 +09:00
Valentin Gosu
fd0c022031 Bug 1275746 - Fix tests that assume a HTTP url without a hostname is valid r=bz,MattN,jdm,markh
MozReview-Commit-ID: DzRenakrcAG
2016-07-07 16:20:47 +03:00
Geoff Brown
a0613e7f32 Bug 874423 - Skip test_bug430723.html on OSX/Win opt. r=me,a=test-only 2017-01-24 14:49:05 -05:00
Gijs Kruitbosch
8faf5c08a8 Bug 1333164 - fix invalid references to mochitest stylesheet, r=erahm
MozReview-Commit-ID: 1Xxt72jYdm7

--HG--
extra : rebase_source : 15d854ffd6a142687fe5232149a0e370f1c058c2
2017-01-24 14:24:04 +00:00
Florian Quèze
0e0865f4fc 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
Samael Wang
0ff3acc32c Bug 1326251 - Part 3: Fix broken test case. r=smaug
MozReview-Commit-ID: 9KbKIHbbbmX

--HG--
extra : rebase_source : a2cddea1890d536d5c8a4a80b8fbc626252deb2b
2017-01-18 18:09:54 +08:00
Samael Wang
e9ecfaecc0 Bug 1326251 - Part 2: Add test case. r=smaug
MozReview-Commit-ID: 5YfIoH1f4fD

--HG--
extra : rebase_source : 9e60560cfefc8129af78953f744e0f7dc917fe03
2017-01-24 14:58:04 +08:00
Gabor Krizsanits
216527edfc Bug 1303113 - Turn e10s-multi on in Nightly. r=me 2017-01-23 14:15:30 +01:00
Christoph Kerschbaumer
dd581118f0 Bug 1329288 - Test ContentPolicy blocks opening a new window. r=smaug 2017-01-22 17:42:42 +01:00
Sebastian Hengst
040a162daf Backed out changeset 828efd8ce683 (bug 1329288) 2017-01-22 13:09:53 +01:00
Christoph Kerschbaumer
5b0e184329 Bug 1329288 - Test ContentPolicy blocks opening a new window. r=smaug 2017-01-22 07:30:10 +01:00
Mark Banner
16e6d381ac Bug 503613 - Remove old 'tail =' lines from xpcshell.ini files; r=gps
MozReview-Commit-ID: 62Hp5ISxowJ

--HG--
extra : rebase_source : daa8efb3409031fea553f4fd0c9d0746e38dc308
extra : histedit_source : b4c23aacf678ba0d0ac9c09191a7c494ead11a08
2017-01-18 10:30:39 +00:00
Blake Kaplan
9b8001b7dd Bug 1330822 - Remove CPOWs from browser_loadURI.js. r=Felipe
--HG--
extra : rebase_source : d8aaa6a4e180cc416e3bb4836b3555ca4ec29985
2016-11-30 18:00:06 -08:00
Florian Quèze
85611a7b6d Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws.
--HG--
extra : rebase_source : a22344ee1569f58f1f0a01017bfe0d46a6a14602
2017-01-17 11:50:25 +01:00
Florian Quèze
fc6379e827 Bug 1329182 - remove trailing newURI null parameters in the rest of the tree, r=jaws. 2017-01-09 20:27:26 +01:00
Thomas Nguyen
0aaea58b69 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
Aman Dwivedi
76edc7645b Bug 1320663 - Stop using timers in PrivateBrowsingUtils.jsm, r=mikedeboer 2017-01-03 15:44:41 +05:30
Sebastian Hengst
d3f1bf94e1 Backed out changeset 2bd53e4e662b (bug 1303113) for various test failures in debug tests with e10s. r=backout 2017-01-03 20:53:59 +01:00
Gabor Krizsanits
6df27d5c23 Bug 1303113 - Turn e10s-multi on in Nightly. r=me 2017-01-03 18:14:50 +01:00
Samael Wang
1e9e35e6e1 Bug 1323651 - Rename Partial/GroupedSessionHistory to Partial/GroupedSHistory. r=ehsan
MozReview-Commit-ID: G2GW4ZPIfH3
2016-12-22 16:06:50 +08:00
Michael Layzell
40c2ca6442 Bug 1315105 - Part 3: Update close_dependent_tabs / grouped_shistory_crossproc test for new prerendering behavior, r=ehsan
MozReview-Commit-ID: Ic0CWUbLPuq

--HG--
extra : rebase_source : 3260db0a38e6020fa53259b98ad780d0f41f9ccc
2016-12-20 19:39:50 +08:00
Kris Maglione
7390903c01 Bug 1318388: Follow-up: Fix test crash in debug builds.
MozReview-Commit-ID: 4xuJGe6oNKC

--HG--
extra : rebase_source : e61b6dcbeca06b6f701fafe825e73cc38ff4e550
2016-12-19 12:07:45 -08:00
Kris Maglione
e6f4ea4dcb Bug 1318388: Prevent setting usePrivateBrowsing after initial document load. r=ehsan
MozReview-Commit-ID: ArmAhSWMaCJ

--HG--
extra : rebase_source : 6cf914f29092ed281a3f80cf757c1a29dc7fbac5
2016-12-18 15:07:08 -08:00
Michael Layzell
593da2333f Bug 1320391 - Part 2: Add a test that old PartialSHistories are cleaned up correctly, r=ehsan
MozReview-Commit-ID: 4Jd5UbmdEru

--HG--
extra : rebase_source : 42407f987d2b6e7c3ed3a91e9f75e3911e292091
2016-12-15 13:30:49 +08:00
Michael Layzell
8c6d67c926 Bug 1310766 - Part 2: Add a test for chrome/content navigation with GroupedSHistory, r=ehsan
MozReview-Commit-ID: 5pumQua96m3

--HG--
extra : rebase_source : 118dfd2f5f7a20db7d164f56db075c80fe0faf48
2016-12-15 13:16:27 +08:00
Gijs Kruitbosch
cb6c0c81ac Bug 1322414 - part 2,3,4: use a separate 'primary' attribute for primary child browsers, r=bz,mconley
MozReview-Commit-ID: 2yb0WGFYBsH

--HG--
extra : rebase_source : 376171077c577e41e82cec5e994c425c6d9f2d80
extra : histedit_source : 39aad91381749a263042cd0452fe32019a1974b8
2016-12-09 09:23:24 -10:00
Michael Layzell
90b728b596 Bug 1318767 - Part 4: Add a test for navigating into dead PartialSHistories, r=ehsan
MozReview-Commit-ID: LT8NeCdf3fm
2016-12-14 16:11:29 +08:00
Tooru Fujisawa
674c6d8531 Bug 1321217 - Remove legacy generator from docshell/. r=smaug 2016-12-01 18:04:50 +09:00
Geoff Brown
6ebd2eb0c4 Bug 1040769 - Enable test_bug570341.html; r=ehsan 2016-11-22 13:49:48 -07:00
Phil Ringnalda
dcbcef52c1 Bug 1040769 - disable test_bug570341.html on Android debug for constant failures 2016-11-17 21:57:10 -08:00
Blake Kaplan
eb41df1277 Bug 1311197 - Remove CPOWs from docshell browser-chrome tests. r=Gijs/felipe
MozReview-Commit-ID: G5qS7TUfvBC
2016-11-07 14:43:42 -08:00
Blake Kaplan
7982323f6d Bug 1311197 - Remove CPOWs from browser_bug655270.js. r=Gijs
MozReview-Commit-ID: 1GuTsuHMd6g
2016-11-07 14:43:41 -08:00
Sebastian Hengst
855e7a17e9 Bug 1310297 - Remove test annotations using b2g, mulet or gonk: docshell. r=RyanVM
MozReview-Commit-ID: BI6jc9bsXCE

--HG--
extra : rebase_source : 1127a829ff222a40b7b3358507c7ce3afe81ecea
2016-11-05 11:29:14 +01:00
Michael Layzell
029a7def5d Bug 1303196 - Part 3: Update the named window resolution logic to be scoped to TabGroup instead of being process-global, r=bz
MozReview-Commit-ID: FaGoj6wmEuG
2016-10-27 15:53:35 -04:00
Valentin Gosu
db9440de51 Bug 1305204 - (Part 2) Backout bug 1275746 a=backout
MozReview-Commit-ID: H8aCKdJzEbR
2016-10-23 14:24:45 +02:00
Carsten "Tomcat" Book
bbfd099b2d Merge mozilla-central to autoland 2016-10-20 17:27:57 +02:00
Bob Owen
6327ab0913 Bug 1309900 Test: Ensure cross process history works when both history entries have children. r=smaug
MozReview-Commit-ID: 1qIjyXNzws0

--HG--
extra : rebase_source : a383b47f91216784842a3934a1115f60a28c521d
2016-10-20 10:33:42 +01:00
Bill McCloskey
ef9a4d78b7 Bug 1211270 - Fix CPOW bug in browser_onbeforeunload_navigation.js (r=mrbkap) 2016-10-19 16:26:22 -07:00
Mike Conley
a99bfe13e7 Bug 1288606 - Fix intermittent orange by making sure a weakly held nsISHistoryListener doesn't get GC'd before the browser_bug670318.js completes. r=jaws
MozReview-Commit-ID: AWvpK6OpmmI

--HG--
extra : rebase_source : 40863e55308f18a6f4172fe74fad323c0ad9cc38
2016-10-11 09:43:57 -04:00
Christoph Kerschbaumer
5183f418bc Bug 1305012 - Test downgrading a new channel's principal to NullPrincipal. r=smaug 2016-10-05 21:20:38 +02:00
Samael Wang
104fe2c997 Bug 1300461 - UpdateIndex on LOAD_NORMAL_REPLACE, ReplaceEntry at requestedIndex when available. r=smaug
--HG--
extra : rebase_source : 9bb3c7488a1785ee5c4106b8e024555f31b3220c
2016-09-30 11:55:10 +08:00
Blake Kaplan
fb560b4220 Bug 1304531 - Remove CPOW usage from browser_ua_emulation.js. r=Felipe
MozReview-Commit-ID: 4RnoWuVogCT

--HG--
extra : rebase_source : d096117b65edf49a51d4fa6230cf8d61b6852b83
2016-09-20 17:19:34 -07:00
Blake Kaplan
7afea958da Bug 1304531 - Remove CPOW usage from browser_timelineMarkers-01.js. r=Felipe
MozReview-Commit-ID: Ec3py9hntta

--HG--
extra : rebase_source : a2e505f9297eede9495672bfe27943b7ca768622
2016-09-20 17:07:39 -07:00
Blake Kaplan
98dc405cb8 Bug 1304531 - Remove CPOW usage from browser_bug655273.js. r=Felipe
MozReview-Commit-ID: G27FHSB1SxF

--HG--
extra : rebase_source : ff36435f10832a7dfde60b8f1fb11b92e3dfc4cd
2016-09-20 16:58:08 -07:00
Eric Rahm
e6256c9f1a Bug 1299642 - Fix docshell errors when breaking chrome -> chrome leaks. r=ted
It appears the lambda function passed to waitForFocus goes out of
scope when the window is closed. Just pass in SimpleTest.finish
directly instead.
2016-09-15 16:43:38 -07:00
Andrew McCreight
eba50c94d8 Bug 1298456 - Make historyframes.html and test_bug590573.html use generators. r=smaug
MozReview-Commit-ID: 1Fi2UnUC36g

--HG--
extra : rebase_source : 8f4fe3e5a577bfec73e088da471f63404293621c
2016-08-24 14:13:45 -07:00
Kartikaya Gupta
1108169173 Bug 1287710 - Ensure the docshell variable doesn't point to a dead CPOW. r=me
MozReview-Commit-ID: JtJOGrcrGbU
2016-08-16 09:22:41 -04:00
Junior Hsu
5536544c0b Bug 1288049 - Canonicalize IPv4 for nsStandardURL, r=valentin 2016-08-09 03:18:00 +02:00
Christoph Kerschbaumer
f3823e7b2d Bug 1289382 - Test TriggeringPrincipal where one iframe navigates another iframe through window.open(). r=smaug 2016-08-02 14:42:34 -07:00
Christoph Kerschbaumer
df69556f81 Bug 1289382 - Test TriggeringPrincipal where parent navigates iframe through window.open. r=smaug 2016-08-02 14:40:35 -07:00
Christoph Kerschbaumer
68d0afbedc Bug 1289818 - Test TriggeringPrincipal for a simple window.open(). r=smaug 2016-08-02 14:37:47 -07:00
Christoph Kerschbaumer
caedb13ef1 Bug 1286472: Replace owner with triggeringPrincipal within docshell. r=bz 2016-07-28 09:20:41 +02:00
Christoph Kerschbaumer
670eb81ce7 Bug 1181370 - Test that triggeringPrincipal(owner) and referrer are identical for (sub) iframe navigations. r=bz 2016-07-26 12:50:40 +02:00
Till Schneidereit
f8bc4fae19 Bug 911216 - Part 30: Enable SpiderMonkey Promise implementation. r=bz,efaust,bholley,Paolo,tromey,shu
Also contains folded version of the following patches that have to land at the same time with enabling the new implementation (or be backed out at the same time, if it comes to that):

Add Promise checks to test_xrayToJS.xul. r=bholley
Change Promise debugger hook tests to use Promise ctor instead of makeFakePromise. r=shu
Change DOM interface tests to assume Promise is an ES builtin, not a DOM one. r=bz
Remove some PromiseDebugging references. r=bz
Adapt promise rejections test to new xray-unwrapping error. r=bz
Fix expectations in browser_timelineMarkers tests. r=tromey
2016-07-21 12:06:30 +02:00
Carsten "Tomcat" Book
0b2b46fcdb Merge mozilla-central to mozilla-inbound 2016-07-18 17:10:52 +02:00
Kartikaya Gupta
eb68bbaaa8 Bug 970346 - Add a DocShell attribute to override the default touch event options to a tab. r=bz
MozReview-Commit-ID: 4BdhwQRBavd
2016-07-18 10:26:38 -04:00
Carsten "Tomcat" Book
779d97cbaf Backed out changeset a80fdfc128b0 (bug 911216) for high crash-rate on developers - RyanVM request 2016-07-18 16:14:59 +02:00
Till Schneidereit
3a9eed06fe Bug 911216 - Part 30: Enable SpiderMonkey Promise implementation. r=bz,efaust,bholley,Paolo,tromey,shu
Also contains folded version of the following patches that have to land at the same time with enabling the new implementation (or be backed out at the same time, if it comes to that):

Add Promise checks to test_xrayToJS.xul. r=bholley
Change Promise debugger hook tests to use Promise ctor instead of makeFakePromise. r=shu
Change DOM interface tests to assume Promise is an ES builtin, not a DOM one. r=bz
Remove some PromiseDebugging references. r=bz
Adapt promise rejections test to new xray-unwrapping error. r=bz
Fix expectations in browser_timelineMarkers tests. r=tromey
2016-07-16 15:05:12 +02:00
Valentin Gosu
ef5a976694 Bug 1275746 - Fix tests that assume a HTTP url without a hostname is valid r=jrgm,MattN,jdm,gijs,smaug
MozReview-Commit-ID: DzRenakrcAG
2016-07-13 15:19:34 +03:00
Carsten "Tomcat" Book
c1cb5a12bd Backed out changeset 00312b136937 (bug 968273) for causing regressions 2016-06-28 10:03:25 +02:00
Bob Owen
e93ec93a47 Bug 1277475 Part 3: Ensure marquee attribute event handlers don't run when sandboxed scripts flag is set on its owning Document. r=bz
MozReview-Commit-ID: 4vWafBniv4R
2016-06-09 11:22:23 +01:00
James Andreou
14c6b15018 Bug 1277357 - Remove nsDocShell:SetUsePrivateBrowsing cpp consumers and some JS consumers r=jdm 2016-06-06 07:42:00 +02:00
Dragana Damjanovic
87fd6ae3a9 Bug 968273 - On reload load from the original uri, so that all redirects are reloader.r=mayhemer 2016-06-01 11:57:52 +02:00
Mike Conley
0c3578df60 Bug 1276738 - Tag a bunch of tests that exercise opening windows with openwindow. r=me
There are a series of tests strewn about the tree that seem to exercise window
opening in one form or another, so I thought I'd put them under a tag.

MozReview-Commit-ID: 74JwLUTzaMU

--HG--
extra : rebase_source : 87439bacd9643ab63d015f58f44af2f8a74675a0
extra : source : 9d903a6a12aa7182252ec3e220c89b569c14e11b
2016-04-29 14:29:03 -04:00
Carsten "Tomcat" Book
a91653581d Backed out changeset 9d903a6a12aa (bug 1276738) for test failures in test_blank_named_window.html on a CLOSED TREE
--HG--
extra : rebase_source : cd1218144d092a62764b014cffb6b0a92b5f9141
2016-06-02 08:13:16 +02:00
Mike Conley
0d5fa55d26 Bug 1276738 - Tag a bunch of tests that exercise opening windows with openwindow. r=me
There are a series of tests strewn about the tree that seem to exercise window
opening in one form or another, so I thought I'd put them under a tag.

MozReview-Commit-ID: 74JwLUTzaMU

--HG--
extra : rebase_source : 0c92084914ffe44a781f034b2416e17905656607
2016-04-29 14:29:03 -04:00
Wes Kocher
ae8caa1fe4 Backed out changeset 5f50f2c7e813 (bug 968273) for android mochitest failures in the test this added 2016-05-31 09:59:13 -07:00
Dragana Damjanovic
b5b5c03685 Bug 968273 - On reload load from the original uri, so that all redirects are reloader.r=mayhemer 2016-05-31 03:43:00 +02:00
Gijs Kruitbosch
23ed0206bf Bug 1273255 - Don't try alternate URIs at the end of pageload if the channel was redirected: we don't want to be applying that sort of fixup to the redirect target URI. r=smaug 2016-05-19 22:29:04 +01:00
Ryan VanderMeulen
0790ea91bd Bug 1220415 - Disable browser_timelineMarkers-02.js for frequent failures across all platforms. 2016-05-09 17:01:16 -04:00
Geoff Brown
1c9a03fe3e Bug 821821 - Backout hack and enable docshell/test/test_bug590573.html on Android; r=me 2016-04-29 13:42:01 -06:00
Ryan VanderMeulen
1b64a90f42 Bug 1263213 - Disable test_reserved.html on debug e10s for frequent failures.
--HG--
extra : histedit_source : d5849d0cb56b64a6e94478a9187319c25be62078
2016-04-25 21:45:46 -04:00
Ryan VanderMeulen
e22a2d1d81 No bug - Re-enable various tests on Windows debug e10s that no longer fail.
--HG--
extra : histedit_source : 37d53b3f1958a608e96d34799e3ff123e901aed1
2016-04-15 13:26:01 -04:00
Blake Kaplan
c4c70b48cb Bug 1237146 - Enable this now-passing test. r=billm 2016-01-05 18:09:00 +01:00
Geoff Brown
29977660c0 Bug 1251013 - Update android_version annotations in test manifests - mochitest; r=jmaher 2016-03-17 10:00:48 -06:00
Mike de Boer
2f562a286b Bug 1241930: Part 4 - convert all assertion methods used inside content tasks to the Assert.* family in docshell tests. r=mconley 2016-03-04 14:32:29 +01:00
Valentin Gosu
eb30e01d66 Bug 652186 - Fix tests involving URL backslash replacement r=bz
MozReview-Commit-ID: JgWFkJN7Mtc

--HG--
extra : rebase_source : 177a7884009a4b27d83f41fc5f1dd0d14e8c0421
2016-03-03 15:50:22 +01:00
Ryan VanderMeulen
ce54ceee90 Backed out changeset a3af36cb6d54 (bug 1237146) because the test still fails with e10s enabled. 2016-02-29 14:48:49 -05:00
Olli Pettay
9b0e1b6a77 Bug 947755, try to avoid use of setTimeout when there is an event to use, r=khuey 2016-02-13 03:40:01 +02:00
Blake Kaplan
369461b3ab Bug 1241704 - Make sure nsIWebNavigation exists on docshell. r=mccr8 2016-02-01 16:07:11 -08:00
Phil Ringnalda
a60005cc59 Bug 1241704 - skip browser_bug670318.js on Mac debug, where making it e10s-friendly rather badly broke it 2016-01-31 19:26:52 -08:00
Gijs Kruitbosch
1839ec6c66 Bug 1172165 - test changes: remove broken bit of test for view-source linking now that it is completely disallowed, and fix html parser's view-source test, r=bz
--HG--
rename : parser/htmlparser/tests/mochitest/test_viewsource.html => parser/htmlparser/tests/mochitest/file_viewsource.html
extra : commitid : IVqN6XUYvOk
extra : rebase_source : 62b723f641b2c2843080ef7f586df1236237241c
2015-12-11 08:17:56 -05:00
Chris Manchester
d6f59759cd Bug 1243096 - Remove ini manifests containing only support-files and move their contents to TEST_HARNESS_FILES. r=gps
--HG--
extra : commitid : FyLge9QyfDF
2016-01-27 17:46:34 -08:00
Patrick McManus
519de62f7c Bug 567365 - allow bfcache for no-cache/https r=jduell r=bz 2016-01-26 13:27:46 -05:00
Kris Maglione
edebd593de Bug 1239822: Part 2b - Destroy windowless browsers created for add-on SDK page workers.
--HG--
extra : commitid : 3U6icHHS9Cn
extra : rebase_source : 116b75f5beec9fab22ca7aac8542111a830875fa
2016-01-15 13:35:17 -08:00
Blake Kaplan
7fc76b31cd Bug 1239122 - Make docshell browser-chrome tests e10s compatible. r=billm
--HG--
extra : rebase_source : 6f67eb2121bc0bd4829e2784f1a6192e84b09152
2016-01-20 14:14:00 +01:00
Nick Fitzgerald
a3de787b55 Bug 1233831 - Follow up: Expand sanitizeMarkers to filter out minor GC markers; r=jsantell
Minor gc markers can show up at any time, and these tests aren't expecting them,
so we have to filter them out before testing various properties of the expected
markers.
2016-01-19 14:57:28 -08:00
Kris Maglione
acf722df18 Bug 1239822: Part 1 - Add a close method to windowless browsers, and only destroy when safe. r=bz
--HG--
extra : commitid : 77O0Cyp53O5
extra : rebase_source : 3a129236674f4aa868eafaec1a949c621cd9fae6
2016-01-15 19:23:09 -08:00
Blake Kaplan
1da07553fc Bug 1237146 - Enable this now-passing test. r=billm 2016-01-06 16:19:07 -08:00
Olli Pettay
fb35bc42f0 Bug 1237075 - Navigating from 'manual' to 'auto' session history entry should scroll the page, r=jst
--HG--
extra : rebase_source : c6d901084edf1b17e21c44515a0483c7fbcc77dd
2016-01-06 04:03:42 +02:00
Jonathan Griffin
59f626fe96 Bug 1232780 - Disable mochitests which fail on e10s so we can get that suite running, a=test-only 2016-01-05 12:02:47 -08:00
Olli Pettay
2b2b2cc690 Bug 1155730, implement History.scrollRestoration r=jst 2015-12-26 12:59:09 +02:00
Dão Gottwald
3989963e64 Bug 1234520 - Disable test_bug344861.html, test_bug369370.html, test_bug741266.html on Windows 2015-12-22 13:08:39 +01:00
Tim Nguyen
cf7f672f1c Bug 1137681 - Per-tab user agent emulation. r=bz 2015-07-21 08:42:00 +02:00
Bill McCloskey
4f99faeaed Bug 967873 - Proxy nsDocumentViewer::PermitUnload to the child process (r=Gijs) 2015-11-11 18:04:21 -08:00
Bill McCloskey
d3c47f743b Bug 967873 - Fix some recently enabled tests 2015-11-11 16:24:34 -08:00
Tom Tromey
141af2d368 Bug 1160307 - capture async stack frames on Javascript timeline markers. r=fitzgen, r=smaug r=Paolo 2015-11-05 11:31:00 +01:00
Andrew McCreight
d8c072ada0 Bug 1220732 - Enable some bc tests. r=mrbkap
--HG--
extra : rebase_source : 851b8270c99ac544a7980a3ff82cb9a59029373a
2015-11-03 09:04:00 +01:00
Bill McCloskey
792331791d Bug 967873 - browser_onbeforeunload_navigation.js fix for e10s (r=Gijs) 2015-11-04 10:56:15 -08:00
Bill McCloskey
c76ae8f933 Bug 967873 - Test changes for async removeTab (r=Gijs) 2015-11-04 10:56:15 -08:00
Bill McCloskey
de23733337 Bug 1219504 - Test changes (r=Gijs,mconley,jryans,MattN,Mossop) 2015-11-04 10:56:15 -08:00
Andrea Marchesini
9d98f9a481 Bug 1215235 - Drop support for jar: URIs by default, r=bz 2015-11-04 11:19:02 +00:00
Victor Porof
efd7b18983 Bug 1218468 - Remove worker markers on each check in browser_timelineMarkers-02.js, r=me 2015-10-28 11:08:13 +01:00
Victor Porof
9dc0ce6b1a Bug 1202657 - Add markers for workers' message passing and serialization/deserialization, r=smaug, jsantell, tromey, ejpbruel
--HG--
rename : docshell/base/timeline/OTMTMarkerReceiver.h => docshell/base/timeline/MarkersStorage.h
2015-10-21 23:10:05 +02:00
Tooru Fujisawa
66174ea819 Bug 1217315 - Remove for-each from docshell/. r=smaug
--HG--
extra : commitid : JmGDFohA4rK
2015-10-19 01:37:26 +09:00
Nicholas Hurley
1f3e7e88b7 Bug 1213443 - Parallelism for <link rel=prefetch> r=bz
--HG--
extra : rebase_source : 386f6fb7b4fb5513bb4821ba59d2d205ce9b75b4
2015-10-19 12:46:57 -07:00
Olli Pettay
9a9ce1ed03 Bug 1003100 - pushState() in iframe fails when reloading with CTRL+F5, r=bz 2015-10-16 20:05:54 +03:00
Nathan Froyd
6e137587df Bug 1207161 - fix run-by-dir leak in test_bug846906.xul; r=mccr8 2015-10-12 21:41:35 -04:00
Valentin Gosu
9b9fcccc66 Bug 1199430 - update to tests. r=gijs 2015-10-08 11:57:58 +02:00
Bill McCloskey
1b6da7ed71 Back out bug 967873 - Test changes for async removeTab 2015-10-07 11:15:11 -07:00
Bill McCloskey
919ed9ae86 Back out bug 967873 - browser_onbeforeunload_navigation.js fix for e10s 2015-10-07 11:15:11 -07:00
Carsten "Tomcat" Book
08997000eb Backed out 2 changesets (bug 1202902) to recking bug 1202902 to be able to reopen inbound on a CLOSED TREE
Backed out changeset 647025383676 (bug 1202902)
Backed out changeset d70c7fe532c6 (bug 1202902)
2015-10-07 14:03:21 +02:00
Carsten "Tomcat" Book
e7ef778c9d Backed out 1 changesets (bug 1202902) for causing merge conflicts to mozilla-central
Backed out changeset cfc1820361f5 (bug 1202902)

--HG--
extra : rebase_source : 5d3db72337754bc7ab0ed0c30b2896100411ff92
2015-10-07 12:13:45 +02:00
Shu-yu Guo
d06b6030f6 Bug 1202902 - Scripted fix the world. 2015-10-06 14:00:31 -07:00
Kaustabh Datta Choudhury
92494c4d5f Bug 1162003 - Enable run-by-dir mode for mochitest_chrome on Fx desktop debug builds. r=jmaher 2015-10-06 09:46:24 -04:00
Bill McCloskey
057e0bf85a Bug 967873 - browser_onbeforeunload_navigation.js fix for e10s (r=Gijs) 2015-10-01 21:18:06 -07:00
Bill McCloskey
633d4a3ecf Bug 967873 - Test changes for async removeTab (r=Gijs) 2015-10-01 21:18:05 -07:00
Wes Kocher
296abd21ee Merge m-c to inbound a=merge
--HG--
extra : rebase_source : 38a51b2c491658bc19cfac0d227b04ef6e5f6718
2015-09-30 14:10:21 -07:00
Gijs Kruitbosch
314c978904 Bug 1206879 - fire onlocationchange from pushState in frames when the URI changes, r=smaug
--HG--
extra : commitid : AuCEnWCXk6y
extra : rebase_source : e825b13db3edccb115b7fdd2569154bbc434cfec
2015-09-29 13:50:55 -04:00
Tooru Fujisawa
ee5f570ffb Bug 1207499 - Part 3: Remove use of expression closure from docshell/. r=bz
--HG--
extra : commitid : L3WI3cTiD8P
extra : rebase_source : fcaabc7b817c736a392b827223706df5343f2301
2015-09-21 02:36:39 +09:00
Gijs Kruitbosch
5dd3837ea4 Bug 636905 - part 3: flip prefs in tests to keep them working, r=jaws
--HG--
extra : commitid : 5ctg1uTZzZd
extra : rebase_source : 953ba9df408b24a340074abeb1a05a2c02b2bbf6
2015-09-26 15:01:51 +01:00
Kaustabh Datta Choudhury
d64ac7ea6b Bug 1162003 - Enable run-by-dir mode for mochitest_chrome on Fx desktop opt builds. r=jmaher 2015-09-23 13:39:45 -04:00
Gijs Kruitbosch
ae1ee788c9 Bug 1199289 - r=valentin,dao
--HG--
extra : commitid : Gt0ahICl0FY
extra : rebase_source : 4c21bbdc64d32ad1ea7291252632d13d1d326296
2015-09-22 16:26:15 +01:00
Shu-yu Guo
64db2267cf Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
Olli Pettay
942f1a8ca8 Bug 1186774 - Scroll position (scrollX/scrollY) should be restored after popstate, not before, r=bz
--HG--
extra : rebase_source : e5b3a1bae24adf174777d35847576c61242e221e
2015-08-28 22:25:54 +03:00
Blake Kaplan
69b300592b Bug 1197378 - Make docshell tests pass in e10s. r=billm 2015-08-21 16:21:23 -07:00
Tom Tromey
9f3b16bf4c Bug 1148593 - Create async stack in callback objects. r=bz, r=fitzgen
--HG--
extra : rebase_source : f9b507d8f005dbca6f40f510ca41a0cbb03aebf9
2015-07-24 07:01:00 -04:00
Mike Conley
d5b13cb522 Bug 1114299 - Regression test. r=smaug
--HG--
extra : commitid : 40IZTx39dDT
extra : rebase_source : 7d4406ece9cd1747d526cc065ef124db721a8a20
extra : histedit_source : 3c287ca9ec92a9612de9ddcaf65780547d707510
2015-07-17 13:51:39 -04:00
Ryan VanderMeulen
b171b787bd Backed out changesets fa9fe193778f and 3eaf867930dd (bug 1148593) for test_async_setTimeout_stack.html and test_async_setTimeout_stack_across_globals.html failures. 2015-07-17 12:37:24 -04:00
Tom Tromey
843465db8e Bug 1148593 - Create async stack in callback objects. r=bz, r=fitzgen 2015-07-17 07:48:00 -04:00
Ryan VanderMeulen
7f057e1c5f Backed out changeset 0dca237df7e2 (bug 1160307) for causing bug 1184752.
--HG--
extra : rebase_source : 56a2060af6a1d4cbb1f21665d65e50ec3b834265
2015-07-16 20:38:13 -04:00
Tom Tromey
3ff8c1f3fa Bug 1160307 - Capture async stack frames on Javascript timeline markers. r=fitzgen, r=smaug, r=Paolo 2015-07-15 12:15:00 -04:00
Geoff Brown
52d4e225a0 Bug 1026290 - Update mochitest-chrome manifests for android; r=jgriffin 2015-07-10 14:41:59 -06:00
Mike Conley
3d82028ac3 Bug 1170488 - Add browser_multiple_pushState.js regression test. r=smaug
--HG--
extra : commitid : F8FqOZql1gs
extra : rebase_source : 2cff12af1780483bc17827550cf4bd8dce2db096
2015-06-16 10:15:40 -04:00
Wes Kocher
cf559bd6b2 Merge m-c to inbound, a=merge CLOSED TREE 2015-06-10 18:38:28 -07:00
Nick Fitzgerald
c67bc82ccc Bug 1141614 - Part 5: Add a test for cycle collection markers; r=jsantell 2015-06-10 14:05:53 -07:00
Paolo Amadini
0697364b3d Bug 1158133 - Add a way to disable async stacks, and disable by default on mobile platforms. r=bent,jimb
--HG--
extra : rebase_source : 440284ded7a60d44430cd0a91fd946fa4c76c987
2015-06-09 11:17:09 +02:00
Ryan VanderMeulen
683b08ae37 Merge m-c to inbound. a=merge 2015-05-28 10:20:38 -04:00
Mark Hammond
12dee809d5 Bug 1107883 - support ipv6 URLs in the awesomebar with unified autocomplete enabled. r=mak, r=smaug 2015-05-28 17:21:58 +10:00
Ehsan Akhgari
945cfe86e7 Bug 1161916 - Increase the test timeout since it's too slow on Android 4.3 test infra 2015-05-28 09:42:51 -04:00
Ehsan Akhgari
f2fa0d9ed8 Bug 1158016 - Skip the test if the page is not loaded from the bf-cache when going back; r=bzbarsky 2015-05-28 09:42:50 -04:00
Tom Tromey
13be65d0c5 Bug 1050500 - Add callee information to Javascript timeline markers. r=smaug
--HG--
extra : rebase_source : dbd9e09496ca7c0e4f9798adf1f8f72749537d1a
2015-05-20 05:28:00 -04:00
Neil Deakin
1b08c3f007 Bug 1166269, e10s, fix and reenable browser_bug503832, r=felipe 2015-05-19 21:20:49 -04:00
Ehsan Akhgari
1a03395848 Bug 1154275 - Remove ise() in favor of is(); r=Ms2ger 2015-05-13 14:31:58 -04:00
Phil Ringnalda
4a7ce6d864 Merge m-i to m-c, a=merge 2015-05-10 09:10:19 -07:00
Geoff Brown
4bb32f5282 Bug 1140454 - Skip some tests on Android 4.3 Debug for intermittent failures; r=me,trivial 2015-05-09 20:04:44 -06:00
Jordan Santell
7b6fec2d8c Bug 922221 - implement console.timeStamp(label) to create profile timeline markers. r=khuey 2015-04-29 12:48:57 -07:00
Tom Tromey
7ad4a0d1dd Bug 1050500 - Add entry reason to timeline marker. r=jsantell, r=smaug
--HG--
extra : rebase_source : 038e4e7ff6f18c6db193ada012eb162e075d6d69
2015-04-20 07:03:00 -04:00
Gijs Kruitbosch
7f9da983fa Bug 1154245 - non-alpha paths on IP addresses with no protocol shouldn't trigger search, r=smaug
--HG--
extra : rebase_source : 8bd586b23bb56cfc26aed4f885ecee6f207d4cc1
2015-04-18 12:20:42 +01:00
Geoff Brown
d82db4ae91 Bug 1133833 - Skip a few more troublesome tests on Android 4.3; r=trivial,test-only 2015-04-21 09:30:49 -06:00
Martijn Wargers
e096ca96f0 Bug 970728 - Disable test_bug344861.html on b2g because popup window sizing doesn't work well there. r=RyanVM 2015-04-15 17:47:34 +02:00
Ms2ger
f1fc41b0e5 Bug 949614 - Use === for SimpleTest.is; r=Waldo
This is more likely to be correct, and a necessary step in case we ever want
to move to Object.is.

This keeps ise as an alias for is, and introduces is_loosely for the old
behaviour.
2015-04-14 15:28:13 +02:00
Ryan VanderMeulen
00f7cdc553 Bug 1026815 - Disable test_bug565388.xul on Linux and OSX for frequent failures. a=test-only 2015-03-31 13:54:19 -04:00
Bill McCloskey
f15599e2d9 Bug 1132072 - Tab switch refactoring (r=mconley) 2015-03-27 08:38:47 -07:00
Geoff Brown
53daff6584 Bug 1140148 - Update mochitest manifests for Android 4.3 emulator; r=dminor 2015-03-26 20:35:35 -06:00
Tim Taubert
66d529795b Bug 1100291 - Fix docshell/test/browser/browser_uriFixupIntegration.js to properly work with an async version of getShortcutOrURIAndPostData() and make it e10s compatible r=Gijs 2015-03-06 16:37:26 +01:00
Jonathan Griffin
d1c61bc9b6 Bug 1116187 - Disable failing mochitest-chrome tests for B2G, r=gbrown 2015-02-06 16:30:37 -08:00
Ryan VanderMeulen
e2754f772f Merge m-c to fx-team. a=merge
CLOSED TREE
2015-03-11 16:05:05 -04:00
Tom Tromey
8d77d6ea8a Bug 1140569 - Show async stacks attached to timeline markers. r=vporof 2015-03-11 07:44:00 -04:00
Ms2ger
4702a239cb Bug 1141190 - Remove docshell/test/moz.build; r=mshal
There is no longer a reason to define the tests in a separate moz.build file.

This also simplifies a disabling condition in the manifest.
2015-03-11 10:49:04 +01:00
Tooru Fujisawa
889e3318dc Bug 1108382 - Part 5: Do not use non-standard flag argument of String.prototype.replace in docshell/test/unit/. r=gavin 2015-03-01 09:51:33 +09:00
Alexandre Lissy
1fcf835324 Bug 1134251 - Disable broken B2G Desktop tests on Mulet. r=jmaher, r=jgilbert 2015-02-25 23:49:00 -05:00
Anish
45de248a8b Bug 1056851 - Change existing callers of SpecialPowers.setBoolPref/setIntPref/setCharPref to SpecialPowers.pushPrefEnv. r=jmaher,mwargers 2015-02-19 11:53:01 -05:00
Carsten "Tomcat" Book
c0d53e2918 Backed out changeset 6885e993936a (bug 1056851) for crashtest failures 2015-02-19 15:02:05 +01:00
Anish
e7006d8a59 Bug 1056851 - Change existing callers of SpecialPowers.setBoolPref/setIntPref/setCharPref to SpecialPowers.pushPrefEnv. r=jmaher 2015-02-19 07:26:41 -05:00
Chris Peterson
aad91c6a9d Bug 1133286 - Remove nonstandard expression closures from docshell/test. r=bz 2015-01-24 23:54:17 -08:00
Gijs Kruitbosch
130c675373 Bug 1116977 - disallow link clicks during beforeunload, r=smaug
--HG--
extra : rebase_source : 48e4d19b5f76077f91432644b22c736d06ed3218
2015-01-23 15:35:10 +00:00
Olli Pettay
5d9dc6659c Bug 1121701, don't let network connections from the previous page to disturb restoration of a page from bfcache, test, r=bz
--HG--
extra : rebase_source : 3eb9b47d274e4aa84a2d522f077112751fd6c148
2015-01-22 22:38:44 +02:00
Gavin Sharp
85abd2f149 Bug 575918: enable IPC tests on Mac since they work now, r=bsmedberg
--HG--
extra : rebase_source : 5b7214167249b3c276a9e240d867ce34193a5953
2015-01-02 17:00:20 -08:00
Tom Tromey
3da37909db Bug 1104213 - add stack traces to timeline markers. r=smaug r=vporof 2014-12-29 11:32:00 +01:00
Ryan VanderMeulen
539cbb2493 Merge inbound to m-c. a=merge 2014-12-23 13:17:16 -05:00
Gijs Kruitbosch
9fba7969d0 Bug 1083634 - entering a trailing slash after a domain should not do a search. r=smaug r=Unfocused 2014-12-22 00:03:26 +00:00
Tom Tromey
bf42323805 Bug 1112644 - make timeline tests work on e10s. r=paul 2014-12-17 09:22:00 +01:00
Tom Tromey
6b6ea7445c Bug 1066474 - Avoid races in browser_timelineMarkers-02.js test. r=paul 2014-12-17 06:58:00 -05:00
Wes Kocher
58cb48da88 Merge fx-team to m-c a=merge 2014-12-12 17:18:42 -08:00
Ehsan Akhgari
09a262787c Bug 649012 - Fail mochitest-plains which use flaky timeouts (setTimeout(x) for x > 0); r=ted
We are white-listing the existing set of tests that use setTimeout
like this.  Hopefully these tests will be investigated and fixed
in the future, so that we can narrow down the white-list.

This check is only turned on for mochitest-plain for now.
2014-12-11 13:34:40 -05:00
Tom Tromey
18bb6d0861 Bug 1050770 - Add paint details to timeline. r=smaug, r=mattwoodrow 2014-12-11 10:40:00 -05:00
Gijs Kruitbosch
acb006debe Bug 1088050 - Add a pref to disable search for single-word hosts. r=smaug
--HG--
extra : rebase_source : 129691497ef6fe5b7168391ec08097eb9b22bc3c
2014-11-16 23:01:59 +00:00
Carsten "Tomcat" Book
5969f2ac89 merge fx-team to mozilla-central a=merge 2014-11-24 14:06:00 +01:00
Tim Taubert
049737995e Bug 1077652 - Fix browser_bug441169.js to ignore loads from browsers other than the selected one r=smaug 2014-11-21 09:00:59 +01:00
Boris Zbarsky
7ee336d3de Bug 1094449. Treat @rel on anchors as a set of space-separated tokens, not a single token. r=smaug 2014-11-21 14:58:54 -05:00
Tom Tromey
986dfd2fd6 Bug 1069661 - add "detail" to timeline markers. r=smaug 2014-11-18 14:39:00 +01:00
Tom Tromey
a41ad88765 Bug 1091463 - wait for all expected markers from docshell. r=paul 2014-11-14 10:57:00 +01:00