Commit Graph
168 Commits
Author SHA1 Message Date
Samael Wang 4b7e285375 Bug 1364364 - Part 4: Add test case. r=smaug
MozReview-Commit-ID: BozQDPdx0MI
2017-08-30 17:00:12 +08:00
Ryan VanderMeulen e07311eba2 Backed out 7 changesets (bug 1364364) for causing bug 1399182.
Backed out changeset c517d8071dfb (bug 1364364)
Backed out changeset 809036cfd7d9 (bug 1364364)
Backed out changeset c394b06dc30c (bug 1364364)
Backed out changeset c5a737bbfdeb (bug 1364364)
Backed out changeset 21ee8f318a47 (bug 1364364)
Backed out changeset 074475da0f2c (bug 1364364)
Backed out changeset de6c153ec533 (bug 1364364)
2017-09-12 13:21:17 -04:00
Samael Wang b133642478 Bug 1364364 - Part 4: Add test case. r=smaug
MozReview-Commit-ID: BozQDPdx0MI
2017-08-30 17:00:12 +08:00
Christoph Kerschbaumer 529db3ab92 Bug 1397653 - Update tests within docshell/ to comply with new toplevel data: URI navigation policy. r=smaug 2017-09-10 13:22:12 +02:00
Samael Wang 35ed48783a Bug 1375833 - Part 4.1: Revert test_bug123696.html & update file_bug1326251.html. r=smaug
Revert test_bug123696.html to what it was before bug 1326251 laned. Update
file_bug1326251.html to reflect the change that static frame entries won't be
cleared on reloading.

MozReview-Commit-ID: F93ZBNv1Gj
2017-08-21 18:28:53 +08:00
Samael Wang 7c1070a2c1 Bug 1375833 - Part 3: Add test case. r=smaug
MozReview-Commit-ID: L86sMEzfU4h
2017-08-11 18:30:49 +08:00
Mike Conley e3edb3e84f Bug 1385453 - Disable tab warming in browser_bug343515.js test. r=billm
MozReview-Commit-ID: 9DOv9drNi9n
2017-08-23 16:43:55 -04:00
Henry Chang b3e9c888e8 Bug 1386391 - Poll to check if a document has loaded rather than a definite timeout. r=smaug
MozReview-Commit-ID: B293QZe3LIz
2017-08-14 10:34:04 +08:00
Christoph Kerschbaumer d3eaab7d60 Bug 1385981 - Convert docshell/test/navigation/test_sessionhistory.html to comply with new data: URI inheritance model. r=smaug 2017-08-01 10:59:05 +02:00
Boris Zbarsky e09114d150 Bug 1379762 part 2. Use a more reliable test to figure out when we can skip firing onload in nsDocumentViewer::LoadComplete. r=smaug
Unfortunately, GetRestoringDocument can be false by the time we reach
LoadComplete, if part of the restoration process managed to set up and then
remove onload blockers.  If that happens, we still don't want to fire a load
event for a document that has already has one fired.

Note that we could also use a boolean on the document to record whether we've
fired a load event, as long as we were careful to unset it when the readyState
transitions backwards from COMPLETE (e.g. document.open).  It's not clear which
approach is more robust.
2017-07-17 23:21:41 -04:00
Boris Zbarsky 593182b1c6 Bug 1379762 part 1. Don't call MediaFeaturesChanged if our override device pixel ratio is set to its current value. r=dbaron 2017-07-17 23:21:41 -04:00
Yoshi Huang 69aa4d72fe Bug 1377492 - fix mochitest-1 failure in docshell when data: URI is a unique origin. r=smaug
When we turn on the pref security.data_uri.unique_opaque_origin to make
data URI is unique origin, the following tests will fail because now
data document is treated as cross origin, so we replace data URIs with
seperate files, hence it will still in the same origin.
2017-07-12 10:35:54 +08:00
Yoshi Huang eae0e4a27e Bug 1376592 - rewrite test_triggeringprincipal_window_open.html. r=ckerschb
See the test in
http://searchfox.org/mozilla-central/rev/fdb811340ac4e6b93703d72ee99217f3b1d250ac/docshell/test/navigation/test_triggeringprincipal_window_open.html#59

If we turn on the pref, dataWin.onload won't be called as now dataWin is
cross origin, so we change it to use postMessage instead.
2017-06-30 11:06:17 -07:00
Florian Quèze d0406d270c Bug 1374282 - script generated patch to remove Task.jsm calls, r=Mossop. 2017-06-22 12:51:42 +02:00
Christoph Kerschbaumer 5452a95b49 Bug 1362993 - Rewrite gBrowser.addTab() to use BrowserTestUtils.addTab(). r=florian 2017-05-15 21:49:50 +02:00
Carsten "Tomcat" Book dfd22b262a Merge mozilla-central to mozilla-inbound 2017-03-17 14:55:15 +01:00
Kris Maglione e029920775 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
2017-03-14 21:22:06 -07:00
Brad Werth f7233d46e0 Bug 1151421 Part 3: Update tests of pageYOffset/scrollY to round off when checking expected results. r=smaug
MozReview-Commit-ID: JDS5l06FAaf
2017-03-16 12:05:56 -07:00
Florian Quèze b15de4893d Bug 1345253 - Use element.firstChild.remove() instead of element.removeChild(element.firstChild), r=jaws. 2017-03-08 10:17:52 +01:00
Frederik Braun 9bb821fea0 Bug 1337186 - rm trailing whitespaces from navigation/test_bug386782 r=smaug
MozReview-Commit-ID: 3MLyDfWrE6X
2017-02-15 11:39:01 +01:00
Frederik Braun d7982e6333 Bug 1337186 - rm data: from navigation/test_bug386782 r=smaug
MozReview-Commit-ID: GSBZaRvuVNg
2017-02-15 11:38:32 +01:00
Geoff Brown 53072e919b Bug 874423 - Skip test_bug430723.html on OSX/Win opt. r=me,a=test-only 2017-01-24 14:49:05 -05: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
Samael Wang d9154d0284 Bug 1326251 - Part 2: Add test case. r=smaug
MozReview-Commit-ID: 5YfIoH1f4fD
2017-01-24 14:58:04 +08:00
Christoph Kerschbaumer 1ab2797cdf Bug 1329288 - Test ContentPolicy blocks opening a new window. r=smaug 2017-01-22 17:42:42 +01:00
Sebastian Hengst 8900069c91 Backed out changeset 828efd8ce683 (bug 1329288) 2017-01-22 13:09:53 +01:00
Christoph Kerschbaumer dd146d3165 Bug 1329288 - Test ContentPolicy blocks opening a new window. r=smaug 2017-01-22 07:30:10 +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
Sebastian Hengst c64e9ca31d Bug 1310297 - Remove test annotations using b2g, mulet or gonk: docshell. r=RyanVM
MozReview-Commit-ID: BI6jc9bsXCE
2016-11-05 11:29:14 +01:00
Samael Wang 36ba32aa9c Bug 1300461 - UpdateIndex on LOAD_NORMAL_REPLACE, ReplaceEntry at requestedIndex when available. r=smaug 2016-09-30 11:55:10 +08:00
Christoph Kerschbaumer f4e3c21b56 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 8186f23ccb Bug 1289382 - Test TriggeringPrincipal where parent navigates iframe through window.open. r=smaug 2016-08-02 14:40:35 -07:00
Christoph Kerschbaumer b9f432231c Bug 1289818 - Test TriggeringPrincipal for a simple window.open(). r=smaug 2016-08-02 14:37:47 -07:00
Christoph Kerschbaumer ee83a7c41c Bug 1181370 - Test that triggeringPrincipal(owner) and referrer are identical for (sub) iframe navigations. r=bz 2016-07-26 12:50:40 +02:00
Mike Conley cb0ddc9b0e 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
2016-04-29 14:29:03 -04:00
Carsten "Tomcat" Book 2a562a6a7f Backed out changeset 9d903a6a12aa (bug 1276738) for test failures in test_blank_named_window.html on a CLOSED TREE 2016-06-02 08:13:16 +02:00
Mike Conley 57b92458ee 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
2016-04-29 14:29:03 -04:00
Ryan VanderMeulen fddc9b8589 Bug 1263213 - Disable test_reserved.html on debug e10s for frequent failures. 2016-04-25 21:45:46 -04:00
Ryan VanderMeulen 81b9525c52 No bug - Re-enable various tests on Windows debug e10s that no longer fail. 2016-04-15 13:26:01 -04:00
Geoff Brown 5c41c1fcf2 Bug 1251013 - Update android_version annotations in test manifests - mochitest; r=jmaher 2016-03-17 10:00:48 -06:00
Mike de Boer dcb8788693 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
Olli Pettay f79a4e30fe 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 83748b1873 Bug 1239122 - Make docshell browser-chrome tests e10s compatible. r=billm 2016-01-20 14:14:00 +01:00
Olli Pettay 83f4adb314 Bug 1237075 - Navigating from 'manual' to 'auto' session history entry should scroll the page, r=jst 2016-01-06 04:03:42 +02:00
Jonathan Griffin ebdb6b8c29 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 1d483a7a70 Bug 1155730, implement History.scrollRestoration r=jst 2015-12-26 12:59:09 +02:00
Dão Gottwald a8d2f6b90f Bug 1234520 - Disable test_bug344861.html, test_bug369370.html, test_bug741266.html on Windows 2015-12-22 13:08:39 +01:00
Olli Pettay dbb8d7e043 Bug 1003100 - pushState() in iframe fails when reloading with CTRL+F5, r=bz 2015-10-16 20:05:54 +03:00
Blake Kaplan 4dd4d64586 Bug 1197378 - Make docshell tests pass in e10s. r=billm 2015-08-21 16:21:23 -07:00
Mike Conley 523719a7f6 Bug 1114299 - Regression test. r=smaug 2015-07-17 13:51:39 -04:00