Closed
Bug 892240
Opened 12 years ago
Closed 12 years ago
Work - NewUI - Add tests for trimming and formatting of the URI
Categories
(Firefox for Metro Graveyard :: App Bar, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 26
People
(Reporter: jwilde, Assigned: rsilveira)
References
Details
(Whiteboard: feature=work)
Attachments
(1 file, 3 obsolete files)
13.17 KB,
patch
|
sfoster
:
review+
|
Details | Diff | Splinter Review |
Currently, we're missing this
Reporter | ||
Updated•12 years ago
|
Depends on: 883390
Summary: Add tests for trimming and formatting of the URI → Work - NewUI - Add tests for trimming and formatting of the URI
Reporter | ||
Updated•12 years ago
|
Status: NEW → ASSIGNED
Reporter | ||
Comment 1•12 years ago
|
||
Probably want to wait on reviewing this until all of the but 883394 patches land, but just to get it up here.
Attachment #774999 -
Flags: review?(jmathies)
Reporter | ||
Comment 2•12 years ago
|
||
Re-exporting. Sorry for the bugspam.
Attachment #774999 -
Attachment is obsolete: true
Attachment #774999 -
Flags: review?(jmathies)
Attachment #775001 -
Flags: review?(jmathies)
Reporter | ||
Comment 3•12 years ago
|
||
Unbitrotted and should apply against today's m-c.
Attachment #775001 -
Attachment is obsolete: true
Attachment #775001 -
Flags: review?(jmathies)
Attachment #776534 -
Flags: review?(jmathies)
![]() |
||
Comment 4•12 years ago
|
||
Comment on attachment 776534 [details] [diff] [review]
tests
Review of attachment 776534 [details] [diff] [review]:
-----------------------------------------------------------------
Don't see any issue here and these run fine on my surface pro. Not sure about the urlbar.xml edits though, don't really know that code at all.
::: browser/metro/base/tests/mochitest/browser_urlbar_highlightURLs.js
@@ +47,5 @@
> + setUp: setUp,
> + tearDown: tearDown,
> + run: function () {
> + let testcases = [
> + "<https://>mozilla.org",
slick!
Attachment #776534 -
Flags: review?(jmathies) → review+
Reporter | ||
Comment 5•12 years ago
|
||
Comment on attachment 776534 [details] [diff] [review]
tests
Review of attachment 776534 [details] [diff] [review]:
-----------------------------------------------------------------
Bringing sfoster on to look at the urlbar.xml stuff. :D
Attachment #776534 -
Flags: review?(sfoster)
Comment 6•12 years ago
|
||
Comment on attachment 776534 [details] [diff] [review]
tests
Review of attachment 776534 [details] [diff] [review]:
-----------------------------------------------------------------
Overall looks great. We talked in channel about the touch/copy behavior - I was not able to copy the full url when I browsed to a page and touched in the urlbar to select, long press on selection and then copy.
Also, I ran the full testsuite and the test files seperately. In the full test suite run, I got a test failure caused by an "Already Loading" exception in browser_urlbar_trimURLs.js, but when I ran it again it didn't reproduce.
Attachment #776534 -
Flags: review?(sfoster) → feedback+
Updated•12 years ago
|
Whiteboard: feature=work → feature=work [preview]
Updated•12 years ago
|
Whiteboard: feature=work [preview] → feature=work [preview-triage]
Updated•12 years ago
|
Whiteboard: feature=work [preview-triage] → feature=work
Reporter | ||
Comment 7•12 years ago
|
||
The touch/copy behavior was fixed in bug 894715. As for the "already loading" exception, it looks like we get that out of more tests than just these, and there may be an issue related to the proxy system in the test runner?
I won't have more cycles to work on this and see whether this is the case this summer, though.
Reporter | ||
Updated•12 years ago
|
Assignee: jwilde → nobody
Assignee | ||
Comment 8•12 years ago
|
||
unbitrotting again. All passed on a couple of local runs. Created a try run:
https://tbpl.mozilla.org/?tree=Try&rev=675b1f5bb7d1
I didn't look into what the urlbar changes are doing though.
Assignee: nobody → rsilveira
Attachment #776534 -
Attachment is obsolete: true
Attachment #801928 -
Flags: review?(sfoster)
Comment 9•12 years ago
|
||
Comment on attachment 801928 [details] [diff] [review]
Tests v2
Review of attachment 801928 [details] [diff] [review]:
-----------------------------------------------------------------
Looks good, has a green try run and worked locally on my build also.
::: browser/metro/base/content/bindings/urlbar.xml
@@ +432,5 @@
> <!-- Entering editing mode -->
>
> + <handler event="focus" phase="capturing">
> + <![CDATA[
> + this.beginEditing();
Doesn't seem to hurt or help with bug 903866 FWIW, but keeps better track of state within the binding.
Attachment #801928 -
Flags: review?(sfoster) → review+
Assignee | ||
Comment 10•12 years ago
|
||
Comment 11•12 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 26
![]() |
||
Comment 12•12 years ago
|
||
I think we should disable this test unless an easy fix for bug 915620 is apparent.
Depends on: 915620
Comment 13•12 years ago
|
||
I'm in the tests today, I'll take a quick look at 915620.
You need to log in
before you can comment on or make changes to this bug.
Description
•