Geoff Brown
78ad3423b1
Bug 1393441
- Disable test_bug293235.xul for on-going frequent intermittent failures; r=me,test-only
2017-11-09 09:33:03 -07:00
Andrew Osmond
0e2b74f9d2
Bug 1404422 - Part 2. Make chrome test ignore generic, unrelated chrome URLs from events. r=tnikkel
2017-11-01 06:59:10 -04:00
Edouard Oger
76547f53cc
Bug 1395460 p1 - Remove usages of about:accounts. r=tcsc
...
MozReview-Commit-ID: APdGc9avJDw
--HG--
extra : rebase_source : aaa788be5251607ebedcb5b690da0e2a1a64e2cb
2017-10-24 14:05:52 -04:00
Sebastian Hengst
93903f0306
Backed out 2 changesets (bug 1395460) for eslint failure at browser/components/uitour/UITour.jsm:556 (no return value from arrow function). r=backout on a CLOSED TREE
...
Backed out changeset 0bc6d186d609 (bug 1395460)
Backed out changeset 6c028123001d (bug 1395460)
2017-10-26 23:33:04 +02:00
Edouard Oger
58876ecbe9
Bug 1395460 p1 - Remove usages of about:accounts. r=tcsc
...
MozReview-Commit-ID: APdGc9avJDw
--HG--
extra : rebase_source : 9da1cea9fb6494c057bc6587a7bcbdb4ac127448
2017-10-24 14:05:52 -04:00
Peter Van der Beken
c705293c1c
Bug 1383059 - Remove instanceof for supplemental interfaces. Part 1: add Window.isChromeWindow and switch |instanceof [nsIDOM]ChromeWindow| to use it instead. r=bz.
...
--HG--
extra : rebase_source : 1efc83abae922c1a7b7eb855fd10a6333615044b
extra : source : 32277b160af4739c812ca2750a39ca111b16ea69
2017-10-06 13:47:27 +02:00
Samael Wang
6ee7658d7e
Bug 1328501 - Part 2: Add test case. r=smaug
...
MozReview-Commit-ID: HpsK5HeHRO0
--HG--
extra : rebase_source : d6896ddcb938c377a9e0ca26c70782cf974dad3e
2017-09-11 18:09:18 +08:00
Samael Wang
c4ecad6c4b
Bug 1364364 - Part 5.2: Remove browser.sessionhistory.cache_subframes and fix test cases relying on it. r=smaug
...
browser.sessionhistory.cache_subframes has been disabled for 12yrs. It's not
actually maintained and it leaks content viewers. Using this unreliable feature
in test cases is a bad practice, so remove the pref completely and fix existing
test cases.
MozReview-Commit-ID: 3tQLpsqmmaq
--HG--
extra : rebase_source : 3e5094fed014a5d152e85f21b6de796a9a7abaa9
2017-09-05 16:02:04 +08:00
Samael Wang
f094864c63
Bug 1364364 - Part 4: Add test case. r=smaug
...
MozReview-Commit-ID: BozQDPdx0MI
--HG--
extra : rebase_source : 773d6b97b6fe45eea7faa734799205b004f05ce6
2017-08-30 17:00:12 +08:00
Ryan VanderMeulen
68c8008faf
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)
--HG--
rename : dom/indexedDB/test/bfcache_page1.html => dom/indexedDB/test/bfcache_iframe1.html
rename : dom/indexedDB/test/bfcache_page2.html => dom/indexedDB/test/bfcache_iframe2.html
rename : dom/media/webspeech/synth/test/file_bfcache_page1.html => dom/media/webspeech/synth/test/file_bfcache_frame.html
rename : dom/media/webspeech/synth/test/file_bfcache_page2.html => dom/media/webspeech/synth/test/file_bfcache_frame2.html
rename : dom/workers/test/WorkerDebugger_frozen_window1.html => dom/workers/test/WorkerDebugger_frozen_iframe1.html
rename : dom/workers/test/WorkerDebugger_frozen_window2.html => dom/workers/test/WorkerDebugger_frozen_iframe2.html
rename : dom/workers/test/suspend_window.html => dom/workers/test/suspend_iframe.html
2017-09-12 13:21:17 -04:00
Samael Wang
a175a57a4e
Bug 1364364 - Part 5.2: Remove browser.sessionhistory.cache_subframes and fix test cases relying on it. r=smaug
...
browser.sessionhistory.cache_subframes has been disabled for 12yrs. It's not
actually maintained and it leaks content viewers. Using this unreliable feature
in test cases is a bad practice, so remove the pref completely and fix existing
test cases.
MozReview-Commit-ID: 3tQLpsqmmaq
--HG--
extra : rebase_source : ce6e27c7d422f32dec858712eba5ed8011ee8039
2017-09-05 16:02:04 +08:00
Samael Wang
f9a1a3b070
Bug 1364364 - Part 4: Add test case. r=smaug
...
MozReview-Commit-ID: BozQDPdx0MI
--HG--
extra : rebase_source : 861931ed42bd00cb698e051818d98808d828d65e
2017-08-30 17:00:12 +08:00
Christoph Kerschbaumer
7aa9de237b
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
Wes Kocher
bf3d38a14c
Bug 1396926 - Update BUG_COMPONENT for the new component r=KWierso
...
MozReview-Commit-ID: 85zVvwDVQvu
--HG--
extra : rebase_source : 777df029c0b5167292cb7b3b1ab087b702a4154d
extra : source : 5c3e698a52dda9a2508ccda8963809d47d882c0a
2017-09-06 00:10:01 -07:00
Samael Wang
437fb82030
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
--HG--
extra : rebase_source : e6573c38d03656a41b5e016bc402ef0c579a1797
2017-08-21 18:28:53 +08:00
Samael Wang
4c4325a56c
Bug 1375833 - Part 3: Add test case. r=smaug
...
MozReview-Commit-ID: L86sMEzfU4h
--HG--
extra : rebase_source : da7c3919a2ce66fc2fa9e8cf09f826a2e463d1b3
2017-08-11 18:30:49 +08:00
Mike Conley
a48193a566
Bug 1385453 - Disable tab warming in browser_bug343515.js test. r=billm
...
MozReview-Commit-ID: 9DOv9drNi9n
--HG--
extra : rebase_source : f7927107e5374404f2043550e0cd1c9ee46f5991
2017-08-23 16:43:55 -04:00
Joel Maher
b97e05e9b4
Bug 1386393 - remove old docshell/test/unit/test_bug414201_jfif.js. rs=paolo
...
MozReview-Commit-ID: A5Ip1e8Fw2r
2017-08-22 15:45:39 -04:00
Masatoshi Kimura
9ab81a1042
Bug 1389723 - Remove @deprecated nsIMIMEInputStream.addContentLength. r=dragana
...
MozReview-Commit-ID: 9b45aozatin
--HG--
extra : rebase_source : 636da171929fe6ecd69de5c68d9ed4064a3a7b09
2017-08-12 13:34:02 +09:00
Carsten "Tomcat" Book
bcbc42d4e3
Merge mozilla-central to mozilla-inbound
2017-08-15 13:09:01 +02:00
Yoshi Huang
60b7d9f697
Bug 1390398: fix failures on windows for new data: URI inheritance model. r=smaug
2017-08-15 18:09:28 +08:00
Henry Chang
9e499caed6
Bug 1386391 - Poll to check if a document has loaded rather than a definite timeout. r=smaug
...
MozReview-Commit-ID: B293QZe3LIz
--HG--
extra : rebase_source : ae336c328b48799a3a952f8d14cb8532fc179a58
extra : source : ee4a89243a26456b495737d889402619d3e186cc
2017-08-14 10:34:04 +08:00
Valentin Gosu
3b95ce67d2
Bug 1380617 - Fix tests that use nsIURI.host expecting unicode domain name r=smaug,honzab
...
MozReview-Commit-ID: GKnbpc8GMb2
2017-08-09 17:44:06 +02:00
Christoph Kerschbaumer
2e072b2667
Bug 1387812 - Convert docshell/test/test_bug694612.html to comply with new data: URI inheritance model. r=smaug
2017-08-06 12:13:08 +02:00
Masatoshi Kimura
8b713b2b0f
Bug 1375125 - Stop using nsILocalFile in the tree. r=froydnj
...
This mechanically replaces nsILocalFile with nsIFile in
*.js, *.jsm, *.sjs, *.html, *.xul, *.xml, and *.py.
MozReview-Commit-ID: 4ecl3RZhOwC
--HG--
extra : rebase_source : 412880ea27766118c38498d021331a3df6bccc70
2017-08-04 17:49:22 +09:00
Yoshi Huang
bf7f152bbe
Bug 1384825 : update browser_loadDisallowInherit.js for new data: URI origin model. r=smaug
...
Configured browser_loadDisallowInherit.js to run with legacy data: URI
behavior, also write a new browser_dataURI_unique_opaque_origin.js for
the new behavior.
2017-08-03 09:35:45 +08:00
Christoph Kerschbaumer
c9a21fe70b
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
Christoph Kerschbaumer
913d05755a
Bug 1385824 - Convert docshell/test/test_bug675587.html to comply with new data: URI inheritance model. r=smaug
2017-08-01 10:59:42 +02:00
Yoshi Huang
a4f1345f5b
Bug 1383011 : rewrite test_principalInherit.xul. r=smaug
...
Use legacy data: URI behavior to make this test simpler.
If we were to use a new document for the iframe, we need to figure out
how to do postMessage from content side to a XUL window
2017-07-24 10:01:51 +08:00
Boris Zbarsky
8fd50f23d4
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
24a1bc48da
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
Junior Hsu
ab6f1793a2
Bug 1373198 - Part 8: disable rcwn for dom mochitest tests which require deterministic cache behavior, r=smaug
2017-07-11 20:11:00 +02:00
Junior Hsu
daf1b50996
Bug 1373198 - Part 3-1: disable rcwn for dom mochitest tests which require deterministic cache behavior, r=bz
2017-07-11 02:04:00 +02:00
Yoshi Huang
71b8c7686e
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
c6b138004a
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
2924991bf6
Bug 1368456 - remove Promise.jsm imports in tests, r=mconley.
2017-06-23 11:25:52 +02:00
Florian Quèze
66f6d259bc
Bug 1374282 - script generated patch to remove Task.jsm calls, r=Mossop.
2017-06-22 12:51:42 +02:00
Geoff Brown
c353084858
Bug 1333702 - Allow assertion in test_bug385434.html; r=jmaher
...
Intermittent assertions observed for several months.
2017-06-02 08:46:06 -06:00
Ben Kelly
e89c30f6c4
Bug 1363829 P9 Make docshell chrome tests wait for next paint to avoid races. r=smaug
2017-05-31 17:13:19 -07:00
Geoff Brown
061c806f3d
Bug 1300351 - Fix non-standard manifest annotation; r=me,test-only
...
Just introduced this - did not put spaces in the right place.
2017-05-15 16:17:02 -06:00
Geoff Brown
0f0c36efe3
Bug 1300351 - Disable browser_onbeforeunload_navigation.js on non-debug windows; r=jmaher
2017-05-15 16:02:02 -06:00
Christoph Kerschbaumer
e4f38c8d7c
Bug 1362993 - Rewrite gBrowser.addTab() to use BrowserTestUtils.addTab(). r=florian
2017-05-15 21:49:50 +02:00
Christoph Kerschbaumer
8972930163
Bug 1363687 - Have gBrowser.loadOneTab() provide a valid triggeringPrincipal. r=gijs
2017-05-11 08:43:54 +02:00
Wes Kocher
1b5ad2c128
Merge inbound to central, a=merge
...
MozReview-Commit-ID: DfRZi0gKjit
2017-05-10 16:48:03 -07:00
Gijs Kruitbosch
faf81a4714
Bug 1087380 - avoid alternate (www....com) URI fixup for localhost and items with ports, r=bz
...
MozReview-Commit-ID: HB9SxRSWnz
--HG--
extra : rebase_source : 99a9708588b277e31c8082b9579371609fc658d1
2017-05-06 19:59:24 +01:00
Christoph Kerschbaumer
ebc12ce415
Bug 1359204 - Test view-source can open link is not blocked by security policies. r=gijs
2017-05-10 18:43:22 +02:00
Samael Wang
d158894b17
Bug 1347823 - Part 3: Add a test case. r=smaug
...
MozReview-Commit-ID: 9zwD0m1tknN
--HG--
extra : rebase_source : e98798b8d224596468c096ef8b69c7c67e6241ac
2017-04-28 17:01:48 +08:00
Mike Conley
a6486de489
Bug 1336763 - Wait for the browser to say it can go back before going back in browser_grouped_shistory_dead_navigate.js test. r=mystor
...
This test was accidentally taking advantage of the fact that closing a tab will result
in a nested event loop while waiting for the permitUnload messages to be sent back and
forth from the content process. This meant that the message that tells the parent that
the browser (which is having its history set) can now go back had a chance to be received
by the parent.
With the patches in bug 1336763, we're no longer spinning the event loop if the closing
tab doesn't have a beforeunload event handler in it, so we need to wait for the browser
to report that it can go back before actually sending it back in order to avoid a
test failure.
MozReview-Commit-ID: Lpl55iErrvf
--HG--
extra : rebase_source : 87b2d6a0fb448f729b82860de9d17c0db26097e7
2017-04-27 15:07:55 -04:00
Florian Queze
37ff4fc7cc
Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws.
2017-04-14 21:51:38 +02:00
Sebastian Hengst
a07223d699
Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout
2017-04-14 23:39:22 +02:00