Closed Bug 1429254 Opened 6 years ago Closed 6 years ago

Style sheet could not be loaded in the Style Editor when reload page

Categories

(DevTools :: Style Editor, defect, P1)

defect

Tracking

(firefox-esr52 unaffected, firefox57 unaffected, firefox58 unaffected, firefox59 verified)

VERIFIED FIXED
Firefox 59
Tracking Status
firefox-esr52 --- unaffected
firefox57 --- unaffected
firefox58 --- unaffected
firefox59 --- verified

People

(Reporter: magicp.jp, Assigned: jryans, NeedInfo)

References

Details

(Keywords: regression)

Attachments

(2 files)

Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:59.0) Gecko/20100101 Firefox/59.0 ID:20180109100117

Steps to reproduce:
1. Launch Nightly build (20180109100117)
2. Go to https://bugzilla.mozilla.org
3. Open Style Editor (Shift+F7)
4. Reload the page

Actual results:
"Style sheet could not be loaded when reload page..." notification appear and the following errors are logged in the browser console.

Error writing response to: getText  protocol.js:1118
<unavailable>  protocol.js:964
Protocol error (unknownError): this.str.substring is not a function  StyleSheetEditor.jsm:300
Protocol error (unknownError): this.str.substring is not a function  StyleEditorUI.jsm:247
Error writing response to: getText  protocol.js:1118
<unavailable>  protocol.js:964
Protocol error (unknownError): this.str.substring is not a function  StyleSheetEditor.jsm:300
Protocol error (unknownError): this.str.substring is not a function  StyleEditorUI.jsm:247
Error writing response to: getText  protocol.js:1118
<unavailable>  protocol.js:964
Protocol error (unknownError): this.str.substring is not a function  StyleSheetEditor.jsm:300
Protocol error (unknownError): this.str.substring is not a function  StyleEditorUI.jsm:247
Error writing response to: getText  protocol.js:1118
<unavailable>  protocol.js:964
Protocol error (unknownError): this.str.substring is not a function  StyleSheetEditor.jsm:300
Protocol error (unknownError): this.str.substring is not a function  StyleEditorUI.jsm:247


Expected results:
Works fine without error.

Regression range:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=c2e1ad141fd7e257b4a099812acdfdcf576afa0c&tochange=e188cb9fe8f5f3e73e06a13cdebde190b142d432
Blocks: 1306892
Has Regression Range: --- → yes
Has STR: --- → yes
Flags: needinfo?(jryans)
Assignee: nobody → jryans
Status: NEW → ASSIGNED
Flags: needinfo?(jryans)
Priority: -- → P1
Comment on attachment 8941484 [details]
Bug 1429254 - Expand long strings when fetching from network monitor.

https://reviewboard.mozilla.org/r/211758/#review217558

Thanks a lot for the fix, and for including a test.
Fixes both the StyleEditor and Inspector issues.
Attachment #8941484 - Flags: review?(jdescottes) → review+
Pushed by jryans@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/59a75c1808ec
Expand long strings when fetching from network monitor. r=jdescottes
https://hg.mozilla.org/mozilla-central/rev/59a75c1808ec
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 59
This bug fix was verified in the latest Nightly build (20180111100722). Thanks!
Status: RESOLVED → VERIFIED
Depends on: 1431758
Product: Firefox → DevTools

Bug occurs in v85.0. Where's the fix?
Note: Running local server (localhost:3000) but occurs on other sites too.

Steps to reproduce:

  1. Open/load site.
  2. Open developer tools.
  3. Reload page.

"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:85.0) Gecko/20100101 Firefox/85.0"

Flags: needinfo?(jryans)

@dajoyce, I can't reproduce the reported issue using STRs from comment #0, so this seems to be fixed.
If you still see a problem (perhaps using different steps to reproduce) please file a new bug:
https://bugzilla.mozilla.org/enter_bug.cgi?product=DevTools&component=Style%20Editor

Thank you.
Honza

Flags: needinfo?(jryans)

This bug has been closed for 3 years. Maybe it regressed, but we have automated tests for it.
You are probably experiencing a different issue, and we need more information to investigate.

Can you please file a new bug, with more detailed STRs, especially what happens after "Reload page".
Do you see an error message? What is missing? etc...

Thanks

Flags: needinfo?(dajoyce.br)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: