Commit Graph

221 Commits

Author SHA1 Message Date
Justin Lebar
dc90d67bd7 Bug 669671 - When navigating to a history entry created via pushState or touched by replaceState, we should not force the load from cache. r=bz 2011-07-07 09:12:14 -04:00
Phil Ringnalda
49ca3d9624 Bug 634834 (long delayed) followup, it puts the iframe after the function for its onload, or it gets the "is not defined" error again 2011-07-04 20:53:49 -07:00
Igor Bazarny
a2f1b7e521 Bug 668513 - make the w3c tests for navigationtiming pass
r=smaug

--HG--
extra : rebase_source : 791001cf9c9fa54448d9f5f25cf92de4b8cc8d5e
2011-07-04 11:30:43 +02:00
Joe Drew
bcb9088b38 Bug 552605 - Write tests to make sure we reload images that are redirected with a Cache-Control: no-cache header. r=bz 2011-07-01 13:03:43 -04:00
Marco Bonardo
6013ac2db8 Backout bug 552605 and bug 619048 due to increase in random failures in reftests on a CLOSED TREE 2011-07-01 18:08:24 +02:00
Joe Drew
301a37eb71 Bug 552605 - Write tests to make sure we reload images that are redirected with a Cache-Control: no-cache header. r=bz 2011-06-30 21:58:36 -04:00
Igor Bazarny
39a01edf21 bug 570341 Initial implementation of web timing specification
r=smaug sr=biesi
2011-06-23 12:39:48 +02:00
Dão Gottwald
9e3c046bbe more random browser chrome test cleanup (no bug) 2011-06-11 16:54:23 +02:00
Steffen Wilberg
3b7e75b4ce Bug 435325: Offline mode error page should go online when clicking 'Try Again'. Add a goOnline() method to nsDOMWindowUtils, and call that from about:neterror in the netOffline case. ui-r=faaborg, r=bz, gavin. 2011-06-11 15:38:40 +02:00
Ehsan Akhgari
c29fd423ea Merge cedar into mozilla-central 2011-06-08 17:46:13 -04:00
Kyle Huey
d2da8f5e6c Merge m-c to cedar since I already pushed it in, and push what I actually wanted to push 2011-06-07 13:23:03 -07:00
Kyle Huey
145f013f05 Bug 662200: Regression test. 2011-06-07 13:08:07 -07:00
Justin Lebar
b195c39d86 Bug 662170 - Navigating to anchor '#' should scroll to top of the page. r=bz 2011-06-08 14:08:29 -04:00
Dão Gottwald
4e4ac318f3 Bug 658738 - remove event listeners in browser chrome tests 2011-06-07 16:45:26 +02:00
Boris Zbarsky
169ed5d1fc Bug 660404. Allow storing the previous page in bfcache even if the new one is a multipart response. r=smaug 2011-06-01 16:00:36 -04:00
Philipp von Weitershausen ext:(%2C%20Justin%20Lebar%20%3Cjustin.lebar%40gmail.com%3E)
5ae81a5495 Bug 420605 - Notify the favicon service when we do a hash navigation so fragment history entries get favicons correctly. r=sicking 2011-05-22 12:51:55 -04:00
Justin Lebar
95fbf4179e Bug 653741 - You should be able to scoll back to the current anchor by focusing the location bar and pressing <enter>. r=bz
--HG--
extra : rebase_source : fde3ce1083868e7d398c626628344bc521224666
2011-05-09 17:59:16 -04:00
Steven Michaud
3c38967408 Backed out changeset ae5b84b96fd7 (bug 570341) due to test failures DONTBUILD. a=sheriff 2011-05-24 01:54:23 -05:00
Igor Bazarny
b829003e22 bug 570341 - Initial implementation of web timing specification
r=jduell sr=biesi
2011-05-23 19:19:24 -07:00
Joel Maher
6993636556 Bug 616999. Xpcshell manifest support; manifest files. r=ted, a=test-only 2011-05-20 11:54:01 -04:00
Justin Lebar
110b9f1823 Bug 655270 - push/replaceState should update the favicon. r=mak, sr=gavin 2011-05-20 08:37:02 -04:00
Justin Lebar
00e27b8bef Bug 655273 - SHEntries created by history.pushState should have their titles set. r=sicking
--HG--
extra : rebase_source : 72b12b4f2ff34510c350dc529b736f694b35bf6e
2011-05-09 14:54:36 -04:00
Gavin Sharp
dd3b8d223c Bug 656815: make loading javascript: URIs in a docshell work for DISALLOW_INHERIT_OWNER loads, r=bz
--HG--
extra : rebase_source : 6b0e289ac80ffab967813b06e2e28f2842921b70
2011-05-13 10:40:22 -07:00
Gavin Sharp
f6fa25a9a0 Bug 656433: don't allow URIs loaded into the location bar to inherit the currently loaded document's principal, r=bz, r=dao
--HG--
extra : rebase_source : 3eed0612c5740d6a52ba5898d7ae130cfadd9641
2011-05-12 10:52:25 -07:00
Justin Lebar
f454c06deb Backing out rev 355db79ef6b6 due to orange.
--HG--
extra : rebase_source : 196fc1d1d009a9d9c02c5b2132e6d30721594fd6
2011-05-15 21:51:04 -04:00
Justin Lebar
9ce61756db Bug 655273 - SHEntries created by history.pushState should have their titles set. r=sicking 2011-05-09 14:54:36 -04:00
Boris Zbarsky
4bade4fce7 Bug 508369 part 3. Stop using timeouts in the test. r=ehsan
The zip file change is just a change to replace top.poke() with parent.poke() so that the refresh test will be useful in the harness too.
2011-05-11 11:28:53 -04:00
Boris Zbarsky
a14c392751 Bug 508369 part 2. Change the test to catch the error fixed in part 1 in the future. This is just removing an extra .parent from the scripts in anchors.html inside the zip file. r=jst 2011-05-11 11:28:53 -04:00
Boris Zbarsky
014edefda3 Bug 508369 part 1. Move the detection of loads inheriting a principal later in InternalLoad so that we catch ones that pass in a non-null owner directly. r=jst 2011-05-11 11:28:53 -04:00
Justin Lebar
8ce3ec96a2 Bug 551225 - Make pushState use structured clone. r=zpao, sicking 2011-04-24 22:30:54 -04:00
Justin Lebar
2dbe5ce82d Bug 490153 - Fix intermittent orange in test_not-opener.html. r=sicking
--HG--
extra : rebase_source : 1865a51f62271e34f4d718ad9b9ed019a5c4fdb3
2011-04-27 16:53:52 -04:00
Marco Bonardo
a75d40810e Bug 641531 - Close Places containers after use (mechanical changes)
rs=me
2011-04-23 02:09:13 +02:00
Justin Lebar
331607e5aa Bug 628069 - Add newURL, oldURL properties to hashchange event. r=smaug
--HG--
extra : rebase_source : 865194e9c50612599ad029815314c0819de60124
2011-03-31 16:30:32 -04:00
Justin Lebar
f50c4cd27d Bug 640387 - onhashchange should be fired when navigating between history entries created via history.pushState if the entries' URIs differ only in their hashes. r=smaug
--HG--
extra : rebase_source : de3b3389e1ed402362f46b4b17f7cd386aca8361
2011-03-31 12:35:04 -04:00
Ehsan Akhgari
680e9b757e Bug 649012 - Fix some flaky mochitests which rely on non-zero timeout values; rs=ted 2011-04-16 19:39:34 -04:00
Jonathan Kew
20281c115e Backed out changeset 80451fb8f11c (bug 585152) as per discussion in the bug. 2011-04-13 14:35:06 +01:00
Paul Biggar
bc3d36f617 Bug 585152 - Reland Date.now() fractional changes, along with fixed tests. (r=jwalden,dolske,gavin, rs=jwalden)
For the tests, I put a Math.floor around anything which looked like it did string concatenation. In principal that was r+ by dolske and gavin, and jwalden r+ed the extension to the rest of the tests.

Backout policy: the jsdate.cpp changes can be backed out trivially. The test changes should backout cleanly, but we're not hosed if they don't.
2010-08-06 13:35:00 -07:00
L. David Baron
52ee86d378 Backout changeset b583111a88aa (bug 585152) for causing mochitest-browser-chrome orange on opt builds. 2011-04-12 01:29:41 -07:00
Paul Biggar
c0aeeea187 Bug 585152 - Reland Date.now() fractional changes, along with fixed tests. (r=jwalden,dolske,gavin, rs=jwalden)
For the tests, I put a Math.floor around anything which looked like it did string concatenation. In principal that was r+ by dolske and gavin, and jwalden r+ed the extension to the rest of the tests.

Backout policy: the jsdate.cpp changes can be backed out trivially. The test changes should backout cleanly, but we're not hosed if they don't.
2010-08-06 13:35:00 -07:00
Boris Zbarsky
aae915ec33 Bug 629559. Clone child session history entries on anchor navigation. r=dtownsend,smaug
--HG--
rename : dom/tests/mochitest/general/historyframes.html => docshell/test/historyframes.html
rename : dom/tests/mochitest/general/test_framedhistoryframes.html => docshell/test/test_framedhistoryframes.html
rename : dom/tests/mochitest/general/test_windowedhistoryframes.html => docshell/test/test_windowedhistoryframes.html
2011-03-30 13:40:48 -04:00
Boris Zbarsky
6814200abd Bug 637644. Start layout on the new document we just created in nsGlobalWindow::SetOpenerScriptPrincipal, since if we don't do it here no one ever will. r=jst 2011-03-02 14:45:13 -05:00
Jonas Sicking
9adba11f73 Bug 635844 part 2: Update pushState to latest agreed behavior. r=jlebar a=beltzner/jst 2011-02-28 23:08:56 -08:00
Jonas Sicking
0a21ea9298 Bug 635844 part 1: Back out bug 615501 since we'll no longer fire the "initial popstate" event, and thus don't need a way to differentiate it. r=jlebar a=beltzner 2011-02-28 23:08:56 -08:00
Justin Lebar
ef161c8702 Bug 634834 - Throw an error if JSON stringification during history.push/replaceState navigates the page. r=bz, a=blocking 2011-02-18 16:15:42 -08:00
Justin Lebar ext:(%2C%20Ms2ger%20%3Cms2ger%40gmail.com%3E)
dfd1d01778 Bug 615501 - Make push/replaceState suppress the popstate-after-load event; r=sicking a=jst 2011-02-14 13:15:29 -08:00
Serge Gautherie
6fe9a94662 Bug 628890 - mochitests-2: test_bug509055.html should not call SimpleTest.finish() before it actually has; (Av1) Wrap the call in SimpleTest.executeSoon() (ftb).
r=Olli.Pettay a=(test-only).
2011-01-26 17:07:28 +01:00
Jeff Walden
15fda24aa9 Bug 497869 - Future reserved words are syntax errors in strict mode. r=brendan 2011-01-22 17:46:22 -08:00
Jeff Walden
882117c5e3 Back out everything from the last several hours for turning into a disaster zone finally ending in total orange. r=return-to-sanity 2011-01-23 03:12:28 -08:00
Jeff Walden
5ef527b523 Another round of orange fixes, sigh. r=orange yet again 2011-01-23 00:12:05 -08:00
Jeff Walden
a04ed905d9 More orange-fixing. r=yellowish-red 2011-01-22 22:52:02 -08:00